/* Color Variables - Authentic Logo Colors */
:root {
    /* Primary Navy Blues from Logo Analysis */
    --navy-blue-primary: #2E2F4C;      /* Main navy - RGB(46, 47, 76) */
    --navy-blue-secondary: #2D2E4C;    /* Slightly darker - RGB(45, 46, 76) */
    --navy-blue-deep: #262847;         /* Deep navy - RGB(38, 40, 71) */
    --navy-blue-rich: #272948;         /* Rich navy - RGB(39, 41, 72) */
    --navy-blue-variant: #2E2F4D;      /* Variant navy - RGB(46, 47, 77) */

    /* Legacy variables for compatibility */
    --navy-blue: #2E2F4C;
    --text-dark: #2E2F4C;

    /* Supporting Colors */
    --cream: #F7EEDB;
    --golden-yellow: #ECAF2A;
    --medium-gray: #908986;
    --white: #ffffff;
    --text-light: #908986;
    --border-color: #F7EEDB;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #ECAF2A;

    /* Enhanced Gradients using Logo Colors */
    --gradient-navy: linear-gradient(135deg, #2E2F4C 0%, #262847 100%);
    --gradient-navy-rich: linear-gradient(135deg, #2D2E4C 0%, #272948 100%);
    --gradient-navy-deep: linear-gradient(135deg, #262847 0%, #272948 100%);
    --gradient-gold: linear-gradient(135deg, #ECAF2A 0%, #f4c347 100%);
    --gradient-cream: linear-gradient(135deg, #F7EEDB 0%, #faf5e8 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-navy-rich);
    color: var(--white);
    border-color: var(--navy-blue-primary);
    box-shadow: 0 4px 15px rgba(38, 40, 71, 0.3);
}

.btn-primary:hover {
    background: var(--navy-blue-deep);
    border-color: var(--navy-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 40, 71, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-blue-primary);
    border-color: var(--navy-blue-primary);
}

.btn-secondary:hover {
    background: var(--gradient-gold);
    color: var(--navy-blue-primary);
    border-color: var(--golden-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 175, 42, 0.3);
}

/* Secondary button styling for apply section - match primary button style */
.apply-section .btn-secondary {
    background: var(--gradient-navy-rich);
    color: var(--white);
    border-color: var(--navy-blue-primary);
    box-shadow: 0 4px 15px rgba(38, 40, 71, 0.3);
}

.apply-section .btn-secondary:hover {
    background: var(--navy-blue-deep);
    border-color: var(--navy-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 40, 71, 0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navy-blue);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(38, 40, 71, 0.4);
    border-bottom: 2px solid var(--golden-yellow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-logo-text {
    color: var(--cream);
    font-family: var(--font-serif);
}

.nav-logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.nav-logo-text p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--golden-yellow);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--golden-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--navy-blue-primary) !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(236, 175, 42, 0.3);
}

.nav-cta:hover {
    background: var(--golden-yellow);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 175, 42, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Background Slideshow */
.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

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

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.stat p {
    color: #666666;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.25rem;
    color: #2c3e50;
}

.faq-icon {
    font-size: 1.5rem;
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
}

/* Requirements Section */
.requirements-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.requirements-main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'PT Serif', serif;
}

.requirements-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.requirement-block {
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.requirement-header {
    background-color: #f4c430;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.requirement-header .requirement-icon {
    font-size: 1.2rem;
}

.requirement-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.requirement-text {
    padding: 1.5rem;
    background-color: white;
}

.requirement-text p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.requirement-text strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Requirements CTA Section */
.requirements-cta {
    background-color: #f5e6a3;
    padding: 4rem 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.requirements-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.wheat-decorations {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.wheat-left, .wheat-right {
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
    color: #8b7355;
}

.wheat-left {
    left: 2rem;
    transform: rotate(-15deg);
}

.wheat-right {
    right: 2rem;
    transform: rotate(15deg);
}

.requirements-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'PT Serif', serif;
}

.requirements-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

.requirements-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.requirements-cta-buttons .btn {
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-overlay {
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.8);
        padding: 1rem;
    }

    .impact-mosaic {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .impact-card {
        min-height: 200px;
    }



    .stats-card .stat-number {
        font-size: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }

    .logo-card img {
        max-width: 100px;
        max-height: 100px;
    }

    .logo-text h3 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.85rem;
    }

    /* Requirements Section Mobile */
    .requirements-main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .requirements-content {
        padding: 0 1rem;
    }

    .requirement-header {
        padding: 0.75rem 1rem;
    }

    .requirement-header h3 {
        font-size: 1rem;
    }

    .requirement-text {
        padding: 1rem;
    }

    .requirements-cta {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .requirements-cta h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .requirements-cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

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

    .requirements-cta-buttons .btn {
        min-width: 250px;
        width: 100%;
        max-width: 300px;
    }

    .wheat-left, .wheat-right {
        font-size: 2.5rem;
    }

    .wheat-left {
        left: 0.5rem;
    }

    .wheat-right {
        right: 0.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--gradient-navy-rich);
    color: #ffffff !important;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(236, 175, 42, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--white);
}

.testimonial-author h4 {
    color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    opacity: 0.8;
    font-size: 0.9rem;
    color: #ffffff !important;
}

/* Force all testimonial text to be white */
.testimonials-section * {
    color: #ffffff !important;
}

.testimonials-section h2,
.testimonials-section h3,
.testimonials-section h4,
.testimonials-section p,
.testimonials-section span,
.testimonials-section div {
    color: #ffffff !important;
}



/* About Foundation Section */
.about-foundation-section {
    padding: 8rem 0 5rem 0;
    background-color: var(--white);
    min-height: 60vh;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.foundation-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.foundation-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Board Section */
.board-section {
    padding: 5rem 0;
    background-color: var(--cream);
}

.board-section .section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.board-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--golden-yellow);
    transition: transform 0.3s ease;
}

.board-member:hover .member-img {
    transform: scale(1.05);
}

.member-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--medium-gray);
    font-size: 1rem;
    font-style: italic;
}

/* Impact Section - Mosaic Layout */
.impact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.impact-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}



.impact-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(46, 47, 76, 0.15);
}

/* Cream Cards */
.cream-card {
    background: var(--gradient-cream);
    padding: 2rem;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(236, 175, 42, 0.2);
}

.cream-card h3 {
    color: var(--navy-blue-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.impact-list {
    list-style: none;
    padding: 0;
}

.impact-list li {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.colleges-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.colleges-list div {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Statistics Card */
.stats-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-blue-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Testimonial Cards */
.testimonial-card {
    text-align: left;
    justify-content: space-between;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-author strong {
    color: var(--navy-blue-primary);
    font-weight: 600;
}

/* Image Cards */
.image-card {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    max-height: 350px;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-card:hover img {
    transform: scale(1.05);
}

/* Logo Card */
.logo-card {
    background: var(--navy-blue);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cream);
    position: relative;
    border: 2px solid var(--golden-yellow);
}

.logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(236, 175, 42, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.logo-card img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.logo-card:hover img {
    transform: scale(1.1);
}

.logo-text {
    position: relative;
    z-index: 1;
}

.logo-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cream);
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    margin: 0;
    color: var(--golden-yellow);
}



/* Application Section */
.apply-section {
    padding: 5rem 0;
    background: var(--gradient-cream);
    color: var(--navy-blue-primary);
    text-align: center;
    position: relative;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(236, 175, 42, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.apply-content {
    max-width: 600px;
    margin: 0 auto;
}

.apply-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.apply-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-blue-primary);
    text-decoration: underline;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-blue-primary);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background-color: var(--golden-yellow);
    color: var(--navy-blue-primary);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #d4a535;
    transform: translateY(-2px);
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: var(--cream);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--golden-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-large {
    text-align: center;
}

.footer-logo-large-img {
    height: 120px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo-large-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--golden-yellow);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--golden-yellow);
    transform: translateX(5px);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(236, 175, 42, 0.3);
    color: var(--medium-gray);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .scroll-to-top,
    .hero-buttons,
    .apply-buttons {
        display: none !important;
    }

    .hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .testimonials-section {
        background: white !important;
        color: black !important;
    }

    .apply-section {
        background: white !important;
        color: black !important;
    }

    .footer {
        background: white !important;
        color: black !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 6rem 0 4rem 0;
        text-align: center;
        min-height: 80vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .stat {
        flex: 1;
        min-width: 100px;
        padding: 1rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    /* Background slideshow mobile adjustments */
    .hero-bg-slide {
        background-position: center center;
        background-size: cover;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-mosaic {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mosaic-item {
        min-height: 200px;
    }

    .mosaic-item.large {
        grid-column: 1;
        grid-row: auto;
    }

    /* About Page Mobile Styles */
    .about-foundation-section {
        padding: 6rem 0 3rem 0;
    }

    .page-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .foundation-content p {
        font-size: 1rem;
        text-align: left;
    }

    .board-section {
        padding: 3rem 0;
    }

    .board-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .board-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .board-member {
        padding: 1.5rem;
    }

    .member-img {
        width: 120px;
        height: 120px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .nav-logo-text {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo-section {
        order: 1;
        margin-bottom: 1rem;
    }

    .footer-links-section {
        order: 2;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo-large-img {
        height: 80px;
    }
}
