/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Extracted from Logo Identity */
    --color-primary: #476A7D;
    /* Slate Blue from Logo Name */
    --color-secondary: #A4C685;
    /* Sage Green from Logo Main */
    --color-cta: #A4C685;
    /* Sage Green */
    --color-accent: #3A5766;
    /* Deeper Blue for hover */

    --color-text-dark: #2C3E50;
    --color-text-light: #ffffff;
    --color-text-muted: #666666;
    --color-bg-light: #D8E0DC;
    /* Muted Gray-Green - darker background with theme accent */
    --color-bg-dark: #476A7D;
    --color-border: #DDE4E8;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    background-color: #E8EDEA;
}

body.page-loaded {
    opacity: 1;
}

.watermark-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5000px;
    overflow: hidden;
    z-index: 99;
    pointer-events: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 16px 56px rgba(71, 106, 125, 0.2);
    transition: all var(--transition-normal);
    border-bottom: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-md);
    height: 100px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and name */
    text-decoration: none;
    height: 100%;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-main {
    height: 70%;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text-img {
    height: clamp(20px, 3.5vh, 35px);
    /* Dynamic height based on viewport, with min/max limits */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-top: 0;
    display: block;
    /* Ensure it's not hidden */
    opacity: 1;
    /* Ensure it's fully visible */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xs);
    align-items: center;
}

.nav-link {
    color: var(--color-text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 0.8rem;
    position: relative;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: rgba(164, 198, 133, 0.1);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
    background-color: rgba(164, 198, 133, 0.15);
}

.nav-link.active::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: all var(--transition-normal);
    border-radius: 3px;
}

/* Navigation CTA Button */
.btn-nav-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(71, 106, 125, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(71, 106, 125, 0.4);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.btn-nav-cta::after {
    display: none;
}

/* Enhanced mobile menu */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 var(--spacing-sm);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .menu-close-btn {
        display: block;
        position: fixed;
        top: 25px;
        right: 25px;
        background: white;
        border: 1px solid var(--color-border);
        font-size: 1.5rem;
        color: var(--color-primary);
        cursor: pointer;
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        line-height: 1;
        transition: all var(--transition-fast);
        z-index: 1001;
        border-radius: 50%;
        box-shadow: var(--shadow-md);
    }

    .menu-close-btn:hover {
        transform: rotate(90deg);
        background: var(--color-primary);
        color: white;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 300px;
        background: white;
        flex-direction: column;
        padding: 100px var(--spacing-md) var(--spacing-md);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        margin-bottom: var(--spacing-xs);
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0.8rem 1rem;
        text-align: left;
        font-size: 0.9rem;
    }

    .btn-nav-cta {
        width: 100%;
        text-align: center;
        margin-top: var(--spacing-md);
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}


/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background: #004d00;
    padding-bottom: var(--spacing-xl);
    padding-left: 15px;
    margin-top: 100px;
}

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

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

.carousel-slide.active {
    opacity: 1;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.carousel-slide.active img {
    transform: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: var(--color-secondary);
    color: var(--color-text-dark);
    border-color: var(--color-secondary);
}

.prev-btn {
    left: var(--spacing-md);
}

.next-btn {
    right: var(--spacing-md);
}

.carousel-indicators {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.indicator.active,
.indicator:hover {
    background: var(--color-secondary);
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(30, 48, 58, 0.82) 0%, rgba(30, 48, 58, 0.55) 45%, rgba(30, 48, 58, 0.15) 100%);
}

.about-image {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: var(--color-text-light);
    max-width: 800px;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 700;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    opacity: 1;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-text-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 100, 0, 0.5);
}

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

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    padding: var(--spacing-xl) 0;
    background: transparent;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: 0;
}

.services-section .section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: normal;
    margin-bottom: 0;
}

.services-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: 0;
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-nav-btn {
    display: none;
}

.service-card-duplicate {
    display: none;
}

@media (max-width: 768px) {
    .services-section {
        padding: var(--spacing-lg) 0;
    }

    .services-wrapper {
        padding: 0 var(--spacing-sm);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-card {
        max-width: 100%;
    }

    .logo-main {
        height: 67.5%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        margin-top: 100px;
        padding-bottom: var(--spacing-lg);
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .hero-content {
        max-width: 100%;
        padding: var(--spacing-md);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-image-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
    flex-shrink: 0;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.08);
}

.service-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.service-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
    text-align: left;
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef6ec;
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    flex-shrink: 0;
}

.service-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.service-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin: 0;
    text-transform: none;
    flex: 1;
}

.service-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .service-image-wrapper {
        height: 200px;
    }

    .service-image-wrapper img {
        object-fit: contain;
    }

    .service-content {
        padding: var(--spacing-sm);
    }

    .service-header {
        gap: var(--spacing-xs);
    }

    .service-title {
        font-size: 1.05rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .service-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .service-icon {
        width: 24px;
        height: 24px;
    }

    .service-icon-img {
        width: 28px;
        height: 28px;
    }
}

.placeholder-image-bottom {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-image-bottom span {
    color: #999;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: var(--spacing-lg) 0;
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: center;
}

.about-image {
    order: -1;
}

.about-text {
    padding: var(--spacing-md);
    padding-right: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 600;
}

.section-subtitle-large {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-img-placeholder {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-image {
        order: 0;
    }

    .about-text {
        padding: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .about-text .section-title {
        font-size: 1rem;
    }

    .section-subtitle-large {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-img-placeholder {
        max-height: 300px;
    }
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio-section {
    height: 90vh;
    padding: 36px 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.portfolio-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding: 0 36px;
}

.portfolio-section .section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: normal;
}

.portfolio-grid {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portfolio-grid::-webkit-scrollbar {
    display: none;
}

.portfolio-row {
    height: 40vh;
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.portfolio-row-2 {
    height: 35vh;
}

.portfolio-row::-webkit-scrollbar {
    display: none;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: visible;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.portfolio-img {
    max-height: 40vh;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.portfolio-row-2 .portfolio-img {
    max-height: 35vh;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .portfolio-section {
        height: auto;
        min-height: 75vh;
        padding: var(--spacing-lg) 0;
    }

    .portfolio-section .section-header {
        text-align: center;
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-md);
        width: 100%;
    }

    .portfolio-section .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-grid {
        flex-direction: column;
        gap: var(--spacing-md);
        height: auto;
    }

    .portfolio-row {
        height: 35vh;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-item {
        height: 100%;
        overflow: visible;
    }

    .portfolio-img {
        max-height: 35vh;
        height: auto;
        width: auto;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: transparent;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contact-section .section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: normal;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-form-wrapper {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.google-form-iframe {
    width: 100%;
    height: 824px;
    border: none;
    border-radius: var(--radius-sm);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-section {
        padding: var(--spacing-lg) 0;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .google-form-iframe {
        height: 700px;
    }

    .contact-info {
        display: none;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: var(--spacing-md) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
    display: block;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-title {
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-secondary);
    color: var(--color-text-dark);
    transform: translateY(-3px);
}

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

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation animations */
@keyframes navItemAppear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-desktop .nav-link {
    animation: navItemAppear 0.3s ease forwards;
}

.nav-desktop .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-desktop .nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-desktop .nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-desktop .nav-link:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-desktop .nav-link:nth-child(5) {
    animation-delay: 0.5s;
}

.nav-desktop .nav-link:nth-child(6) {
    animation-delay: 0.6s;
}

.nav-desktop .nav-link:nth-child(7) {
    animation-delay: 0.7s;
}

.nav-desktop .nav-link:nth-child(8) {
    animation-delay: 0.8s;
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-sm) 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xs);
        text-align: center;
        align-items: start;
    }

    .footer-section {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-logo-img {
        height: 40px;
        margin: 0 auto 0;
    }

    .footer-text {
        font-size: 0.75rem;
        margin-top: var(--spacing-xs);
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-xs);
    }

    .footer-links li {
        margin-bottom: var(--spacing-xs);
    }

    .social-links {
        justify-content: center;
        gap: var(--spacing-xs);
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.75rem;
        padding-top: var(--spacing-xs);
    }
}

/* ===================================
   RESPONSIVE NAVIGATION
   =================================== */
.menu-close-btn {
    display: none;
}

@media (max-width: 768px) {
    .nav-content {
        height: 100px;
        transition: height 0.3s ease;
    }

    .navbar.scrolled .nav-content {
        height: 50px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .menu-close-btn {
        display: block;
        position: fixed;
        top: 30px;
        right: 25px;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--color-primary);
        cursor: pointer;
        padding: var(--spacing-xs);
        width: 40px;
        height: 40px;
        line-height: 1;
        transition: top 0.3s ease, transform var(--transition-fast);
        z-index: 1001;
    }

    .navbar.scrolled .menu-close-btn {
        top: 15px;
    }

    .menu-close-btn:hover {
        transform: rotate(90deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: white;
        flex-direction: column;
        padding: 100px var(--spacing-md) var(--spacing-md);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        margin-bottom: var(--spacing-sm);
    }

    .btn-nav-cta {
        width: 100%;
        text-align: center;
        margin-top: var(--spacing-sm);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

.contact-form input,
.contact-form textarea,
.contact-form button,
.form-group label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-weight: 500;
}

.footer,
.footer-links a,
.footer-text,
.footer-bottom p,
.footer h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.footer h3 {
    font-weight: 700;
}



/* ===================================
   PAGE HEADERS & DYNAMIC CONTENT
   =================================== */
.page-header {
    margin-top: 100px;
    background: var(--color-bg-dark);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin: 0;
}

.page-content {
    min-height: 50vh;
}

.page-section {
    margin-bottom: var(--spacing-xl);
}

.page-section .section-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.section-image {
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Error State */
.content-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--color-text-muted);
    background: rgba(200, 0, 0, 0.05);
    border: 1px dashed rgba(200, 0, 0, 0.3);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.content-error .error-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.content-error .error-message {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.content-error .error-retry-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.content-error .error-retry-btn:hover {
    background: var(--color-secondary);
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}

.content-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    color: var(--color-text-muted);
}

.content-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-sm);
}

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

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
}

/* =========================================
   SECTION TYPES - Dynamic Page Content
   ========================================= */

/* Image + Text Section */
.image-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.image-text-section.image-text-reverse {
    direction: rtl;
}

.image-text-section.image-text-reverse > * {
    direction: ltr;
}

.image-text-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.image-text-content {
    padding: var(--spacing-md);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.card-item {
    background: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.card-description {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-style-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

.cta-style-secondary {
    background: var(--color-secondary);
    color: white;
}

.cta-style-accent {
    background: var(--color-light);
    border: 2px solid var(--color-primary);
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

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

.cta-style-accent .btn {
    background: var(--color-primary);
    color: white;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-xs);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Image Gallery Grid */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.9rem;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.contact-info-section .contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-light);
    border-radius: var(--radius-md);
}

.contact-info-section .contact-item svg {
    color: var(--color-primary);
}

/* Stats Grid Section */
.stats-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Testimonials */
.testimonials-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-item {
    background: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-quote {
    margin-bottom: var(--spacing-md);
}

.quote-icon {
    color: var(--color-primary);
    opacity: 0.3;
    width: 32px;
    height: 32px;
    margin-bottom: var(--spacing-sm);
}

.testimonial-quote p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-dark);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    color: var(--color-dark);
}

.testimonial-author span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    margin-top: var(--spacing-md);
    color: var(--color-text-muted);
    text-align: center;
}

/* Timeline */
.timeline-section {
    position: relative;
    padding: var(--spacing-lg) 0;
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: var(--spacing-md);
}

.timeline-item.left {
    padding-right: var(--spacing-xl);
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    top: var(--spacing-md);
}

.timeline-item.left .timeline-marker {
    right: -8px;
}

.timeline-item.right .timeline-marker {
    left: -8px;
}

.timeline-content {
    background: var(--color-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.timeline-year {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.timeline-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    text-align: center;
    background: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.team-member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-image.placeholder {
    background: var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image.placeholder svg {
    width: 48px;
    height: 48px;
    color: var(--color-text-muted);
}

.team-member-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-member-role {
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.team-member-bio {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Hero Banner Section */
.hero-banner-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-xl);
    color: white;
}

.hero-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.hero-banner-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

/* Dividers */
.divider-line {
    border-top: 1px solid var(--color-border);
}

.divider-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.divider-dots span {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.divider-spacer {
    background: transparent;
}

.spacing-small {
    margin: var(--spacing-md) 0;
}

.spacing-medium {
    margin: var(--spacing-xl) 0;
}

.spacing-large {
    margin: var(--spacing-xxl) 0;
}

/* Responsive adjustments for section types */
@media (max-width: 768px) {
    .image-text-section {
        grid-template-columns: 1fr;
    }

    .image-text-section.image-text-reverse {
        direction: ltr;
    }

    .timeline-section::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: var(--spacing-md) !important;
        text-align: left !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-marker {
        left: 12px !important;
        right: auto !important;
    }

    .hero-banner-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   CLICKABLE SERVICE CARDS
   =================================== */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link .service-card {
    cursor: pointer;
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all var(--transition-fast);
}

.service-card-link:hover .service-learn-more {
    color: var(--color-secondary);
    gap: 0.75rem;
}

.learn-more-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-card-link:hover .learn-more-icon {
    transform: translateX(4px);
}

/* ===================================
   INITIATIVES SECTION
   =================================== */
.initiatives-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
}

.initiatives-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.initiatives-section .section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.initiatives-wrapper {
    position: relative;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.initiative-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.initiative-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.initiative-card-link:hover .initiative-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.initiative-image-wrapper {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
    flex-shrink: 0;
}

.initiative-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.initiative-card-link:hover .initiative-image-wrapper img {
    transform: scale(1.08);
}

.initiative-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.initiative-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
    text-align: left;
}

.initiative-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.initiative-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #8fb96e 100%);
    border-radius: var(--radius-md);
    color: white;
    flex-shrink: 0;
}

.initiative-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.initiative-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.initiative-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.initiative-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.initiative-learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all var(--transition-fast);
}

.initiative-card-link:hover .initiative-learn-more {
    color: var(--color-secondary);
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .initiatives-section {
        padding: var(--spacing-lg) 0;
    }

    .initiatives-wrapper {
        padding: 0 var(--spacing-sm);
    }

    .initiatives-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .initiative-card {
        max-width: 100%;
    }

    .initiative-image-wrapper {
        height: 160px;
    }

    .initiative-content {
        padding: var(--spacing-sm);
    }

    .initiative-header {
        gap: var(--spacing-xs);
    }

    .initiative-title {
        font-size: 1.05rem;
    }

    .initiative-description {
        font-size: 0.9rem;
    }

    .initiative-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .initiative-icon {
        width: 24px;
        height: 24px;
    }
}

/* ===================================
   PARTNERSHIPS SECTION
   =================================== */
.partnerships-section {
    padding: var(--spacing-xl) 0;
    background: transparent;
}

.partnerships-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.partnerships-section .section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.partnerships-wrapper {
    position: relative;
}

.partnerships-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.partnerships-grid > * {
    flex: 0 1 300px;
}

.partnership-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.partnership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.partnership-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.partnership-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: var(--radius-md);
    color: white;
    flex-shrink: 0;
}

.partnership-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.partnership-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.partnership-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.partnership-description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .partnerships-section {
        padding: var(--spacing-lg) 0;
    }

    .partnerships-wrapper {
        padding: 0 var(--spacing-sm);
    }

    .partnerships-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .partnership-card {
        padding: var(--spacing-sm);
    }

    .partnership-header {
        gap: var(--spacing-xs);
    }

    .partnership-title {
        font-size: 1.05rem;
    }

    .partnership-description {
        font-size: 0.85rem;
    }

    .partnership-icon-wrapper {
        width: 42px;
        height: 42px;
    }

    .partnership-icon {
        width: 22px;
        height: 22px;
    }
}
/* Vertical spacing for subpage content (class was used but never defined) */
.section-padding {
    padding: var(--spacing-lg) 0;
}

/* Hide the social block until real profile URLs replace the "#" placeholders */
.footer-section:has(.social-links):not(:has(.social-link:not([href="#"]))) {
    display: none;
}

/* Keep hero text clear of the carousel arrows */
@media (min-width: 769px) {
    .hero {
        padding-left: 90px;
    }
}

/* Hide carousel controls when there is only one slide */
.hero:not(:has(.carousel-slide + .carousel-slide)) .carousel-btn,
.hero:not(:has(.carousel-slide + .carousel-slide)) .carousel-indicators {
    display: none;
}
