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

:root {
    --primary: #2E7D32;       /* Vibrant Environmental Green */
    --primary-dark: #1B5E20;  /* Deep Green */
    --secondary: #FDD835;     /* Yellow Accent */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #111;
}

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

/* Header Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 10px 5%;
}

.header-logo img {
    height: 60px;
    transition: 0.3s;
}

.site-header.scrolled .header-logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--white);
    text-transform: capitalize;
    padding: 10px 0;
}

.site-header.scrolled .nav-links a {
    color: var(--text-main);
}

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

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--text-main) !important;
    padding: 10px 20px;
    display: block;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary) !important;
    border-left-color: var(--primary);
}

/* Buttons & Heartbeat */
.btn-donate {
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 30px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
    animation: heartbeat 2s infinite;
}

.btn-donate:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

@keyframes heartbeat {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

.site-header.scrolled .menu-toggle {
    color: var(--text-main);
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 70px 5% 30px;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.footer-col p {
    color: #d1e2d6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1e2d6;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a3c4b0;
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/bg-15.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.page-banner h1 {
    font-size: 3rem;
    color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s ease;
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--text-main) !important; font-size: 1.2rem; }
    .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 20px; }
    .nav-links li:hover .dropdown-menu { display: block; }
}
