:root {
    --primary-color: #1a5e3a; /* Deep green */
    --accent-color: #178a76; /* Warm teal */
    --accent-hover: #126e5e;
    --bg-light: #f4f7f6;
    --text-dark: #1a2521;
    --text-light: #4a5d55;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.2rem; font-weight: 600; color: var(--primary-color); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links li {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
}
.nav-links li:hover .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    width: 100%;
}
.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: block;
    color: var(--text-dark);
}
.dropdown-menu li a::after {
    display: none;
}
.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}
.nav-links li > a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--accent-color);
}
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}
.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    background: url('assets/hero.png') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 94, 58, 0.8), rgba(23, 138, 118, 0.6));
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}
.hero-content h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}
.hero-content .btn-primary {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Generic Section Padding */
.section-padding {
    padding: 5rem 0;
}
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
}
.page-header h1 {
    margin-bottom: 0.5rem;
}
.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* At a Glance */
.glance-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    border-top: 5px solid var(--accent-color);
}
.glance-card p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.8;
}

/* Core Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.pillar-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    height: 100%;
}
.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(23, 138, 118, 0.2);
}
.pillar-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(23, 138, 118, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.pillar-card:hover .pillar-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Split Grid for About Page */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.registration-data {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}
.registration-data h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th, .data-table td {
    padding: 1rem 0;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.data-table tr:last-child th, .data-table tr:last-child td {
    border-bottom: none;
}
.data-table th {
    color: var(--text-dark);
    font-weight: 600;
    width: 45%;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.objective-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    align-items: flex-start;
}
.objective-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
.objective-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(23, 138, 118, 0.15);
    line-height: 1;
    min-width: 40px;
    font-family: 'Outfit', sans-serif;
}
.objective-content p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* Projects Section */
.featured-project {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
    margin-bottom: 5rem;
}
.featured-img {
    height: 100%;
    min-height: 350px;
    background: url('assets/project.png') center/cover no-repeat;
}
.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.badge {
    display: inline-block;
    background: rgba(23, 138, 118, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.featured-content h2 {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--accent-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.project-sponsor {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.project-card p {
    margin-bottom: 0;
    flex-grow: 1;
}

/* Board of Directors */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}
.board-member {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}
.board-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}
.member-avatar {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--bg-light);
    border-bottom: 3px solid var(--accent-color);
}
.member-info {
    padding: 1.5rem;
}
.member-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}
.member-role {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #111a15;
    color: #aebdb5;
    padding: 4rem 0 1.5rem;
    margin-top: auto;
}
.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.8rem;
}
.footer-col ul li a {
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.footer-col p {
    margin-bottom: 0.8rem;
}
.footer-col i {
    margin-right: 10px;
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
.footer-bottom a {
    transition: var(--transition);
}
.footer-bottom a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .split-grid, .featured-project {
        grid-template-columns: 1fr;
    }
    .featured-img {
        min-height: 300px;
    }
    .glance-card {
        margin-top: -2rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-links li {
        text-align: center;
    }
    .nav-links li a {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid #eee;
    }
    .nav-links li a::after {
        display: none;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        display: none;
        padding: 0;
    }
    .nav-links li:hover .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }
    .dropdown-menu.active {
        display: block;
    }
    .mobile-toggle {
        display: block;
    }
    .navbar .btn-primary {
        display: none;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-padding {
        padding: 3.5rem 0;
    }
    .page-header {
        padding: 3rem 0;
        margin-bottom: 3rem;
    }
}

.nav-logo { height: 35px; width: auto; vertical-align: middle; margin-right: 8px; border-radius: 50%; }
.footer-logo { height: 30px; width: auto; vertical-align: middle; margin-right: 8px; border-radius: 50%; }
