@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-green: #00cc6c;
    --secondary-orange: #f15a24;
    --dark-bg: #1a1a1a;
    --black: #000000;
    --white: #ffffff;
    --text-grey: #333333;
    --light-grey: #f7f7f7;
    --font-main: 'Manrope', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tricolor-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
    display: flex;
}
.tricolor-bar .saffron { background: #FF9933; flex: 1; }
.tricolor-bar .white { background: #FFFFFF; flex: 1; }
.tricolor-bar .green { background: #138808; flex: 1; }

body {
    font-family: var(--font-main);
    color: var(--text-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    transition: 0.3s;
}

header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px;
}

header.scrolled .nav-links a {
    color: var(--black);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-btn {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700 !important;
}

.donate-btn:hover {
    background: #00b35e;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 900px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.about-us-link {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-us-link::after {
    content: '→';
    font-size: 1.4rem;
}

/* Trending Bar */
.trending-bar {
    background: var(--secondary-orange);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.trending-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 30s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Sections */
section {
    padding: 80px 5%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.paisley-bg {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300cc6c' fill-opacity='0.03'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4h2c-2.21 0-4-1.79-4-4zm25.534 8.286c-2.14 0-3.887 1.747-3.887 3.887 0 2.14-1.747 3.887-3.887 3.887H20c3.314 0 6-2.686 6-6 0-3.314 2.686-6 6-6h7.534c-1.07 0-1.943.873-1.943 1.943 0 1.07.873 1.943 1.943 1.943zm-4.775-8.88c.343 0 .683.044 1.01.13 1.15.305 2.01 1.347 2.01 2.584 0 1.49-1.21 2.7-2.7 2.7H20c1.49 0 2.7-1.21 2.7-2.7 0-1.237.86-2.279 2.01-2.584.327-.086.667-.13 1.01-.13h5.534c2.81 0 5.1-2.29 5.1-5.1h2c0 3.921-3.179 7.1-7.1 7.1h-5.534zM23.013 4l-.013.003V0h15.737c-1.222 1.273-1.97 3.016-1.97 4.937 0 3.832 3.105 6.937 6.937 6.937h1.013c1.793 0 3.247 1.454 3.247 3.247s-1.454 3.247-3.247 3.247H48c3.314 0 6-2.686 6-6 0-3.314-2.686-6-6-6-3.314 0-6-2.686-6-6h-2c0 4.418 3.582 8 8 8 1.105 0 2-.895 2-2 0-1.105-.895-2-2-2-4.418 0-8-3.582-8-8H23.013zM18 20c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4h2c-2.21 0-4-1.79-4-4z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.register-box {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-category {
    color: var(--secondary-orange);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--primary-green);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* Mobile Responsiveness */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

header.scrolled .hamburger {
    color: var(--black);
}

@media (max-width: 980px) {
    section {
        padding: 50px 5%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--black);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .register-box {
        padding: 30px;
    }
}
