/* --- Variables & Reset --- */
:root {
    --deep-blue: #0b3d91; 
    --yellow: #ffc107;    
    --red: #d32f2f;       
    --text-dark: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b71c1c;
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--text-dark);
}

.btn-yellow:hover {
    background-color: #ffca28;
}

.btn-outline {
    border: 2px solid var(--yellow);
    color: var(--yellow);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--yellow);
    color: var(--deep-blue);
}

.btn-secondary {
    background-color: var(--deep-blue);
    color: var(--white);
}

/* --- Header / Navigation --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px; 
    max-width: 1400px;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img.navbar-logo {
    height: 110px; 
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    padding: 10px;
    display: block;
}

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

/* --- Dropdown Menu (Fixed and Clean) --- */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    overflow: hidden; /* Prevents elements from moving outside */
    z-index: 999;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.dropdown-content li:last-child a {
    border-bottom: none;
}

.dropdown-content li a:hover {
    background-color: #f1f5f9;
    color: var(--deep-blue);
    padding-left: 25px; /* Small sliding effect */
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Section (Slider) --- */
.hero {
    position: relative;
    height: 80vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 145, 0.7); 
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero .highlight {
    color: var(--yellow);
}

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

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Impact Section --- */
.impact-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 800;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.impact-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.impact-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.impact-card h3 {
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.impact-card p {
    padding: 0 15px;
    font-size: 0.9rem;
}

/* --- Featured Projects (Wider Container) --- */
.project-container {
    max-width: 1500px; 
    margin: 0 auto;
    padding: 0 20px;
}

.projects-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.project-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 400px; 
}

.project-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.project-overlay p {
    margin-bottom: 15px;
    max-width: 600px;
}

/* --- Emotional CTA / Leave No Child Behind --- */
.cta-section {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    border-radius: 10px;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--yellow);
}

.cta-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* --- Footer --- */
footer {
    background-color: #0a2a66;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img.footer-logo-img {
    height: 130px; 
    width: auto;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-contact {
    text-align: right;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 100px; 
        padding: 0 20px;
    }

    .logo img.navbar-logo {
        height: 80px; 
    }

    .nav-right {
        gap: 15px;
    }

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

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

    /* Mobile Dropdown Fix */
    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 10px 10px 10px 20px;
        display: none;
        background-color: transparent; 
        border-left: 2px solid var(--deep-blue);
        margin-top: 5px;
        margin-left: 10px;
        overflow: visible; 
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content li a {
        padding: 8px 0;
        border-bottom: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }

    .donate-btn {
        display: none; 
    }

    .hero {
        height: 60vh;
        padding: 40px 0;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content, .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image, .cta-image {
        width: 100%;
    }

    .cta-text .btn {
        margin-bottom: 20px;
    }

    .project-overlay h3 {
        font-size: 1.4rem;
    }

    .project-banner {
        height: 300px;
    }

    .footer-links, .footer-contact {
        text-align: center;
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .footer-logo {
        width: 100%;
        text-align: center;
    }
}
/* --- Variables & Reset --- */
:root {
    --deep-blue: #0b3d91; 
    --yellow: #ffc107;    
    --red: #d32f2f;       
    --text-dark: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b71c1c;
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--text-dark);
}

.btn-yellow:hover {
    background-color: #ffca28;
}

.btn-outline {
    border: 2px solid var(--yellow);
    color: var(--yellow);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--yellow);
    color: var(--deep-blue);
}

.btn-secondary {
    background-color: var(--deep-blue);
    color: var(--white);
}

/* ============================================== */
/* NEW NAVBAR & FOOTER (Added at bottom to override bootstrap) */
/* ============================================== */
.new-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

.new-header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px; 
    max-width: 1400px;
    padding: 0 40px;
}

.new-header .logo {
    display: flex;
    align-items: center;
}

.new-header .logo img.navbar-logo {
    height: 110px; 
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.new-header .nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.new-header .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.new-header .nav-links > li {
    position: relative;
}

.new-header .nav-links a {
    font-weight: 600;
    padding: 10px;
    display: block;
    color: var(--text-dark);
}

.new-header .nav-links a:hover {
    color: var(--deep-blue);
}

.new-header .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    overflow: hidden;
    z-index: 999;
}

.new-header .dropdown:hover .dropdown-content {
    display: block;
}

.new-header .dropdown-content li {
    margin: 0;
}

.new-header .dropdown-content li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.new-header .dropdown-content li:last-child a {
    border-bottom: none;
}

.new-header .dropdown-content li a:hover {
    background-color: #f1f5f9;
    color: var(--deep-blue);
    padding-left: 25px;
}

.new-header .mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.new-header .btn-primary {
    background-color: var(--red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.new-header .btn-primary:hover {
    background-color: #b71c1c;
    color: white;
}

/* --- NEW FOOTER OVERRIDES --- */
.new-footer {
    background-color: #0a2a66;
    color: var(--white);
    padding: 60px 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.new-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.new-footer-logo img {
    height: 130px; 
    width: auto;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.new-footer-links {
    display: flex;
    gap: 20px;
}

.new-footer-links a {
    color: white;
    text-decoration: none;
}

.new-footer-links a:hover {
    color: var(--yellow);
}

.new-footer-contact {
    text-align: right;
    font-size: 0.9rem;
}

.new-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- MOBILE NAV OVERRIDES --- */
@media (max-width: 768px) {
    .new-header .nav-container {
        height: 100px; 
        padding: 0 20px;
    }

    .new-header .logo img.navbar-logo {
        height: 80px; 
    }

    .new-header .nav-right {
        gap: 15px;
    }

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

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

    .new-header .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 10px 10px 10px 20px;
        display: none;
        background-color: transparent; 
        border-left: 2px solid var(--deep-blue);
        margin-top: 5px;
        margin-left: 10px;
        overflow: visible; 
    }

    .new-header .dropdown:hover .dropdown-content {
        display: block;
    }

    .new-header .dropdown-content li a {
        padding: 8px 0;
        border-bottom: none;
    }
    
    .new-header .mobile-menu-icon {
        display: block;
    }

    .new-header .donate-btn {
        display: none; 
    }

    /* New Footer Mobile */
    .new-footer-links, .new-footer-contact {
        text-align: center;
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .new-footer-logo {
        width: 100%;
        text-align: center;
    }
}