/* CSS Variables */
:root {
    --primary-color: #00d26a;
    /* Bright Green from screenshot */
    --primary-dark: #00a855;
    --secondary-color: #0a1a1a;
    /* Dark Green/Black background */
    --text-color: #e0e0e0;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --black: #000000;
    --card-bg: #112222;
    /* Slightly lighter than secondary for cards */
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.site-logo {
    height: 50px;
    width: auto;
    display: block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.logo-icon {
    background-color: var(--primary-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1rem;
    border-radius: 4px;
}

.logo-text span {
    color: var(--primary-color);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    z-index: 1001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px 20px;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
        width: 100%;
    }

    .header-cta {
        display: none;
        /* Hide desktop CTA in header, might put in menu or footer */
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 700px;
    background-image: url('https://images.unsplash.com/photo-1509391366360-fe5bb65858c2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 210, 106, 0.1);
    color: #4ade80;
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(0, 210, 106, 0.2);
}

.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 10px var(--primary-color);
}

.hero-section h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-section h1 .highlight {
    color: var(--primary-color);
    font-style: italic;
    display: block;
    margin: 10px 0;
}

.hero-description {
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-description p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-card p {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

.stats-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--white);
    width: 100%;
}

.stats-footer p {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stats-footer i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Foundation Section */
.foundation-section {
    padding: 100px 0;
    background-color: var(--white);
    color: var(--secondary-color);
}

.foundation-content p {
    color: #475569;
    /* Slate grey for readability on white */
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.foundation-list li span {
    color: #64748b;
}

.foundation-vision {
    font-weight: 600;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 30px;
    font-size: 1.1rem;
}

.section-badge {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    background-color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 4px;
}

.foundation-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.foundation-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.foundation-list strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.foundation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.foundation-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .foundation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.foundation-vision {
    font-weight: 600;
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-top: 30px;
}

/* Programs Section */
.programs-section {
    padding: 100px 0;
    background-color: var(--secondary-light);
    /* Charcoal Light */
    color: var(--white);
}

.card-list {
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.card-list li {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

.programs-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.programs-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--white);
}

.programs-section .section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.program-card {
    background-color: var(--secondary-color);
    /* Darker Charcoal */
    padding: 40px 20px;
    border-radius: 12px;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.program-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding: 0;
}

.program-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 700;
}

.program-card p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin: 0;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--white);
    color: var(--secondary-color);
    text-align: center;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(0, 210, 106, 0.2);
    margin-bottom: 20px;
}

.testimonial-section blockquote {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    color: var(--primary-color);
    font-weight: 700;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonial-section blockquote {
        font-size: 1.4rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
}

.cta-content {
    background: linear-gradient(135deg, #00d26a 0%, #00a855 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 210, 106, 0.2);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(10, 26, 26, 0.8);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-light-outline {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--white);
}

.btn-light-outline:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: variable;
        /* typo fix in brain, just use wrap or column if needed but flex-direction variable isn't valid, let's stick to flex row as default is fine or column for mobile */
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 30px;
    font-size: 0.9rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-links-group h4,
.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    color: var(--text-muted);
}

.footer-links-group a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 4px;
    color: var(--white);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #666;
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #666;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* Programs Page Styling */
.programs-hero {
    padding: 80px 0 60px;
    background-color: #f8fdfa;
    /* Very light tint */
    text-align: center;
}

.programs-badge {
    display: inline-block;
    background-color: rgba(0, 210, 106, 0.15);
    color: var(--primary-color);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programs-hero h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: 800;
}

.programs-hero h1 .highlight {
    color: var(--primary-color);
}

.programs-hero p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Detailed Programs Grid */
.programs-detailed-section {
    padding: 60px 0 100px;
    background-color: #f8fdfa;
}

.programs-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-detail-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: all var(--transition-speed);
    overflow: hidden;
    /* Ensure image zoom stays within card */
}

.program-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.program-image {
    width: calc(100% + 80px);
    margin: -40px -40px 30px -40px;
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-detail-card:hover .program-image img {
    transform: scale(1.1);
}

.pd-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 210, 106, 0.15);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.program-detail-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.program-detail-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pd-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.pd-tags span {
    background-color: #f5f5f5;
    color: #555;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.pd-stat {
    border-top: 1px solid #eee;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.pd-stat-label {
    color: #888;
}

.pd-stat-value {
    color: var(--primary-color);
    font-weight: 700;
}

/* Institutional Section */
.institutional-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
    color: var(--white);
}

.institutional-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.institutional-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.institutional-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.institutional-buttons {
    display: flex;
    gap: 15px;
}

.institutional-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inst-stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.inst-stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.inst-stat-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


@media (max-width: 992px) {
    .programs-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .institutional-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .programs-detailed-grid {
        grid-template-columns: 1fr;
    }

    .programs-hero h1 {
        font-size: 2.2rem;
    }

    .institutional-buttons {
        flex-direction: column;
    }

    .institutional-stats {
        grid-template-columns: 1fr 1fr;
        /* Keep 2 cols on mobile for stats often looks better than 1 stack */
    }
}

/* Projects Page Styling (Blue Theme) */
:root {
    --projects-blue: #1a56db;
    --projects-blue-light: #eef2ff;
    --projects-text: #1f2937;
}

.page-projects body {
    background-color: #f9fafb;
    color: var(--projects-text);
}

.btn-blue {
    background-color: var(--projects-blue);
    color: var(--white);
    border: 2px solid var(--projects-blue);
}

.btn-blue:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    color: var(--white);
}

/* Projects Hero */
.projects-hero {
    padding: 80px 0 60px;
    background-color: var(--projects-blue-light);
    text-align: center;
}

.hero-badge-blue {
    display: inline-block;
    background-color: #dbeafe;
    color: var(--projects-blue);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.projects-hero h1 {
    font-size: 3.5rem;
    color: #111827;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-blue {
    color: var(--projects-blue);
}

.projects-hero p {
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.hero-stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    background-color: #dbeafe;
    color: var(--projects-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 16px;
}

.hero-stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.hero-stat-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Featured Projects */
.featured-projects {
    padding: 60px 0;
}

.projects-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--projects-blue);
    color: var(--white);
    border-color: var(--projects-blue);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.badge-agri {
    background-color: #10b981;
}

.badge-health {
    background-color: #ef4444;
}

.badge-edu {
    background-color: #3b82f6;
}

.badge-infra,
.badge-gov {
    background-color: #8b5cf6;
    /* Purple for Gov/Infra */
}

.badge-water {
    background-color: #06b6d4;
    /* Cyan for Water */
}

.badge-comm {
    background-color: #f59e0b;
    /* Orange for Commercial */
}

.project-content {
    padding: 24px;
}

.project-location {
    font-size: 0.8rem;
    color: var(--projects-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-link:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.projects-pagination {
    text-align: center;
    margin-top: 40px;
}

.projects-pagination p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.btn-outline-blue {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.btn-outline-blue:hover {
    background-color: var(--secondary-light);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Map Section */
.map-section {
    background-color: var(--secondary-color);
    /* Charcoal */
    color: var(--white);
    padding: 80px 0;
}

.map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.map-text ul {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-text li {
    display: flex;
    gap: 15px;
}

.map-text .mf-icon {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-placeholder {
    background-color: var(--secondary-light);
    border-radius: 12px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.map-pin {
    position: absolute;
    top: 40%;
    left: 60%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Project Gallery */
.gallery-section {
    padding: 100px 0;
    background-color: #f9fafb;
}

.gallery-badge {
    display: inline-block;
    background-color: var(--projects-blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cat {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--projects-blue);
    background: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    display: align-self-start;
    margin-bottom: 12px;
    width: fit-content;
}

.gallery-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Project CTA Blue -> Red/Charcoal */
.project-cta-blue {
    background-color: var(--secondary-dark);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.project-cta-blue h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.project-cta-blue p {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--text-muted);
}

.cta-blue-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-white {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-white:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-blue-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-blue-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Minimal Footer */
.minimal-footer {
    background-color: var(--white);
    border-top: 1px solid #e2e8f0;
    padding: 80px 0 40px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-main .logo-wrapper-dark {
    margin-bottom: 20px;
}

.footer-desc-mini {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col-links h4,
.footer-col-social h4,
.footer-col-newsletter h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-vertical a {
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links-vertical a:hover {
    color: var(--primary-color);
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Newsletter Mini Form */
.footer-col-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.newsletter-mini-form .input-group-mini {
    display: flex;
    background: #f1f5f9;
    border-radius: 30px;
    padding: 5px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.newsletter-mini-form .input-group-mini:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 210, 106, 0.1);
}

.newsletter-mini-form input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.newsletter-mini-form input:focus {
    outline: none;
}

.btn-blue-mini {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-blue-mini:hover {
    background-color: #00b159;
}

.footer-copyright {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}


@media (max-width: 992px) {
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-hero h1 {
        font-size: 2.5rem;
    }

    .projects-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Impact Page Styling */
.page-impact body {
    background-color: var(--bg-color);
}

/* Impact Hero */
.impact-hero {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
}

.impact-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.impact-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.impact-hero h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.impact-hero .text-primary {
    color: var(--primary-color);
}

.impact-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 500px;
}

.btn-dark {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-dark:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
}

.impact-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-graphic {
    font-size: 300px;
    color: var(--primary-light);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Impact Stats */
.impact-stats-section {
    padding: 20px 0 80px;
    margin-top: -40px;
    /* Overlap hero slightly or just pull up */
    position: relative;
    z-index: 10;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.impact-stat-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid var(--border-color);
}

.is-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.impact-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 4px;
    line-height: 1;
}

.impact-stat-card p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.is-bar {
    height: 6px;
    background-color: var(--bg-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.is-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.is-fill-red {
    background-color: var(--accent-blue);
}

.is-note {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Climate Mitigation */
.climate-mitigation {
    padding: 80px 0;
    background-color: var(--white);
}

.climate-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.climate-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.climate-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.climate-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.climate-benefits li {
    display: flex;
    gap: 16px;
}

.cb-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.climate-benefits strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.climate-benefits span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.chart-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.chart-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.chart-legend {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.dot-gray {
    background-color: var(--text-muted);
}

.dot-green {
    background-color: var(--primary-color);
}

.mock-chart-row {
    margin-bottom: 24px;
}

.mock-chart-row>span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.chart-bar-group {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
}

.bar-gray {
    background-color: var(--text-muted);
}

.bar-green {
    background-color: var(--primary-color);
}

.chart-val {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* IDP Support Gallery */
.idp-support-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.section-header-center p {
    color: var(--text-muted);
}

.idp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.idp-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.idp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.idp-card:hover img {
    transform: scale(1.05);
}

.idp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    color: var(--white);
}

.idp-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 12px;
}

.idp-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.idp-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Regional Distribution */
.regional-dist-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
    color: var(--white);
}

.regional-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.regional-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.regional-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.regional-item {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.r-count {
    color: var(--primary-color);
    font-weight: 700;
    font-family: monospace;
}

.regional-map-visual {
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.8;
}

.regional-map-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.2);
}

/* Impact CTA */
.impact-cta {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.cta-badge {
    display: inline-block;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 4px;
}

.impact-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.impact-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-outline-dark {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Dark Footer */
.dark-footer {
    background-color: var(--secondary-color);
    padding: 60px 0 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand-dark {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-nav-dark {
    display: flex;
    gap: 60px;
}

.fn-col h4 {
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fn-col a {
    display: block;
    color: #cbd5e1;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.fn-col a:hover {
    color: var(--primary-color);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.75rem;
}

.footer-social-dark a {
    color: #94a3b8;
    margin-left: 20px;
    font-size: 1rem;
}

.footer-social-dark a:hover {
    color: var(--white);
}

@media (max-width: 992px) {

    .impact-hero-layout,
    .climate-layout,
    .regional-layout {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .impact-hero-visual {
        order: -1;
        height: 300px;
    }

    .impact-hero-content {
        text-align: center;
    }

    .impact-hero p {
        margin: 0 auto 32px;
    }

    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .idp-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styling */
.page-contact body {
    background-color: #f8fafc;
}

/* Contact Hero */
.contact-hero {
    padding: 80px 0 60px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
}

.contact-badge {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    border: 1px solid var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    color: #0f172a;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.1);
}

.btn-block {
    width: 100%;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.ic-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.info-card p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
}

.highlight-card {
    background-color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
}

.highlight-card h4 {
    color: var(--white);
}

.regional-office-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.regional-office-list li {
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    gap: 8px;
}

.regional-office-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* Map Section */
.contact-map-section {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.map-container {
    height: 100%;
    width: 100%;
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay-card {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-overlay-card h5 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.map-overlay-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2 {
    font-size: 2.25rem;
    color: #0f172a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faq-item h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 700;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        order: 2;
    }

    .contact-info-wrapper {
        order: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        grid-template-columns: 1fr;
    }

    .map-overlay-card {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
    }
}

/* Governance Page Styling */
.page-governance body {
    background-color: #fcfcfc;
}

/* Governance Hero */
.governance-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    text-align: left;
}

.governance-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    max-width: 800px;
}

.highlight-red {
    color: #dc2626;
}

.governance-hero p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    line-height: 1.6;
}

/* Org Structure Chart Section */
.org-structure-section {
    padding: 60px 0 100px;
    background-color: #ffffff;
}

.org-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 60px;
}

.org-level {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    z-index: 2;
}

.connector-line {
    width: 2px;
    height: 30px;
    background-color: #cbd5e1;
}

.org-box {
    padding: 16px 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    position: relative;
}

.org-role-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.box-red {
    background-color: #dc2626;
    color: var(--white);
}

.box-red h3 {
    font-size: 1.1rem;
    margin: 0;
}

.box-white-red {
    background-color: var(--white);
    border: 2px solid #dc2626;
    color: #0f172a;
}

.box-white-red .org-role-label {
    color: #dc2626;
}

.box-white-red h3 {
    font-size: 1.1rem;
    margin: 0;
}

.box-red-large {
    background-color: #dc2626;
    color: var(--white);
    padding: 24px 40px;
}

.box-red-large h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.box-red-large p {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.box-blue {
    background-color: #0ea5e9;
    color: var(--white);
}

.box-blue h3 {
    font-size: 1.1rem;
    margin: 0;
}

/* Horizontal Connectors */
.connector-lines-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.h-line {
    width: 2px;
    height: 30px;
    background-color: #cbd5e1;
}

.v-lines-4 {
    display: flex;
    justify-content: space-between;
    width: 80%;
    /* Adjust based on container width */
    max-width: 1000px;
    position: relative;
    height: 20px;
}

.v-lines-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12.5%;
    /* Center of first col roughly */
    right: 12.5%;
    /* Center of last col roughly */
    height: 1px;
    background-color: #cbd5e1;
    border-top: 2px solid #cbd5e1;
}

.v-lines-4 span {
    width: 2px;
    height: 100%;
    background-color: #cbd5e1;
    display: block;
    position: relative;
    /* We need 4 vertical lines dropping down */
}

/* Adjustments for connector logic requires precise grid matching, simplified visually for CSS only */
.v-lines-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 20px;
    margin-bottom: 20px;
    /* Space before cards */
}

/* We need a horizontal bar connecting the centers of these columns */
.v-lines-4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: #cbd5e1;
}

/* And vertical droppers for each */
.v-lines-4>span {
    display: block;
    height: 30px;
    width: 2px;
    background-color: #cbd5e1;
    margin: 0 auto;
}

/* Level 5 Dept Grid */
.level-5 {
    width: 100%;
    margin-top: 0;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.dept-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    text-align: left;
    border-top: 4px solid;
}

.dept-card:nth-child(1) {
    border-color: #0ea5e9;
}

/* Engineering Blue */
.dept-card:nth-child(2) {
    border-color: #0ea5e9;
}

/* Blue */
.dept-card:nth-child(3) {
    border-color: #0ea5e9;
}

/* Blue */
.dept-card:nth-child(4) {
    border-color: #0ea5e9;
}

/* Blue */

.dept-icon {
    width: 32px;
    height: 32px;
    background-color: #0ea5e9;
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.dept-card:nth-child(4) .dept-icon {
    background-color: #0ea5e9;
    /* Or distinct color? */
}

.dept-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.dept-card p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.4;
}

.dept-card ul {
    list-style: none;
    padding: 0;
}

.dept-card li {
    font-size: 0.75rem;
    color: #0ca5e9;
    /* Blue text */
    margin-bottom: 4px;
    position: relative;
    padding-left: 12px;
}

.dept-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0ca5e9;
}

/* Transparency Section */
.transparency-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.transparency-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge-red {
    display: inline-block;
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    background-color: #fef2f2;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.transparency-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 40px;
    line-height: 1.1;
}

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.compliance-item {
    display: flex;
    gap: 20px;
}

.ci-icon {
    width: 48px;
    height: 48px;
    background-color: #e0f2fe;
    /* Light blue */
    color: #0284c7;
    /* Darker blue */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.compliance-item h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 6px;
    font-weight: 700;
}

.compliance-item p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.transparency-image .image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.transparency-image img {
    width: 100%;
    display: block;
}

.quote-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 30px 30px;
    color: var(--white);
    text-align: center;
}

.quote-overlay p {
    font-size: 1.1rem;
    font-style: italic;
    font-family: serif;
    /* Differentiate quote */
    margin-bottom: 12px;
    line-height: 1.4;
}

.quote-overlay span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Governance CTA */
.governance-cta {
    padding: 80px 0;
    background-color: #f8fafc;
}

.cta-box-dark {
    background-color: #0f172a;
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    color: var(--white);
    background-image: radial-gradient(circle at top right, #1e293b, #0f172a);
}

.cta-box-dark h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box-dark p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-red {
    background-color: #dc2626;
    color: var(--white);
    border: 2px solid #dc2626;
}

.btn-red:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Footer Gov */
.dark-footer-gov {
    background-color: #020617;
    /* Very dark slate */
    padding: 40px 0;
    color: #64748b;
    font-size: 0.8rem;
}

.footer-gov-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gov-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.gov-links a {
    color: #94a3b8;
    margin: 0 15px;
    font-weight: 600;
}

.gov-links a:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .transparency-layout {
        grid-template-columns: 1fr;
    }

    .dept-grid {
        grid-template-columns: 1fr 1fr;
    }

    .v-lines-4 {
        display: none;
        /* Hide complex connectors on mobile */
    }

    .connector-lines-horizontal {
        display: none;
    }

    /* Stack cards simply */
    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .dept-grid {
        grid-template-columns: 1fr;
    }

    .footer-gov-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons-row {
        flex-direction: column;
    }
}


/* About Page Styling */
.page-about body {
    background-color: #ffffff;
}

/* About Hero */
.about-hero {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.established-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ef4444;
    /* Red */
    background-color: #fef2f2;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-italic-red {
    color: #ef4444;
    font-style: italic;
}

.about-hero p {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.about-hero .btn-red {
    background-color: #ef4444;
    color: var(--white);
    border: 2px solid #ef4444;
}

.about-hero .btn-red:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.about-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ongoing-project-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.op-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ef4444;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.ongoing-project-card p {
    font-size: 0.9rem;
    color: #0f172a;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

/* Institutional Commitment */
.institutional-commitment {
    padding: 80px 0;
    background-color: #f8fafc;
}

.commitment-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
}

.commitment-text p {
    margin-bottom: 24px;
}

/* Vision Mission */
.vision-mission-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    padding: 60px 40px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.card-vision {
    background-color: #0044cc;
    /* Deep Blue from screenshot */
    color: var(--white);
}

.card-mission {
    background-color: #fff1f2;
    /* Light Pinkish/White */
    color: #0f172a;
    border: 1px solid #ffe4e6;
}

.vm-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.card-vision .vm-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.card-mission .vm-icon {
    background-color: #fee2e2;
    color: #ef4444;
}

.vm-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Core Values */
.core-values-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.title-underline-red {
    width: 60px;
    height: 4px;
    background-color: #ef4444;
    margin: 16px auto 0;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.vc-icon {
    width: 40px;
    height: 40px;
    background-color: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1rem;
}

.value-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

/* Regional Footprint */
.regional-footprint {
    padding: 80px 0;
    background-color: #ffffff;
}

.footprint-header {
    margin-bottom: 50px;
    max-width: 600px;
}

.footprint-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.footprint-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.location-item.active,
.location-item:hover {
    background-color: #fef2f2;
    border-color: #fef2f2;
}

.loc-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
}

.location-item.active .loc-num {
    color: #ef4444;
}

.location-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.location-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.footprint-map {
    background-color: #f8fafc;
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* About CTA Dark */
.about-cta-dark {
    padding: 100px 0;
    background-color: #0f172a;
    /* Dark Navy */
    text-align: center;
    color: var(--white);
}

.cta-content-center h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-content-center p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.btn-red-large {
    display: inline-block;
    background-color: #ef4444;
    color: var(--white);
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-red-large:hover {
    background-color: #dc2626;
    color: var(--white);
}

.location-links li {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.location-links i {
    color: #ef4444;
    margin-right: 8px;
}

@media (max-width: 992px) {
    .about-hero-layout {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .footprint-content {
        grid-template-columns: 1fr;
    }

    .footprint-map {
        order: -1;
        height: 300px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   GLOBAL RESPONSIVENESS OVERHAUL
   ========================================== */

/* Tablet & Smaller Desktop (1024px) */
@media (max-width: 1024px) {
    :root {
        --container-width: 95%;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        gap: 20px;
        padding: 40px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 600px;
        padding: 100px 0;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-section h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero-description {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .foundation-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .foundation-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        order: -1;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Large (480px) */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 30px 20px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* Mobile Small (360px) */
@media (max-width: 360px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-title h2,
    .foundation-content h2,
    .programs-section .section-header h2 {
        font-size: 1.8rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }
}

/* Smooth Image Scaling */
img {
    height: auto;
    max-width: 100%;
}

/* Typography Scalability */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* Prevent Overflow */
body,
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Go to Top Button */
#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    align-items: center;
    justify-content: center;
}

#goTopBtn:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Newsletter Feedback Messages */
.newsletter-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    display: none;
}

.newsletter-message.success {
    background-color: rgba(0, 210, 106, 0.2);
    color: #00d26a;
    border: 1px solid rgba(0, 210, 106, 0.3);
}

.newsletter-message.error {
    background-color: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.newsletter-message.info {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Minimal/Gov Newsletter Adjustments */
.footer-newsletter-mini #newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.gov-newsletter #newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 5px 15px;
    margin-top: 15px;
}

.gov-newsletter input {
    background: transparent;
    border: none;
    color: white;
    padding: 8px;
    width: 100%;
}

.gov-newsletter button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}