/* ============================================
   Rev. John Joseph Hayab — Leadership Platform
   Section-Specific Styles
   ============================================ */

/* ========================
   NAVIGATION
   ======================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-nav);
    transition: all 0.4s var(--ease-out);
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav.scrolled::before {
    opacity: 1;
}

.nav.scrolled {
    height: var(--nav-height-scrolled);
    box-shadow: var(--shadow-md);
}

.nav-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-xl);
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
}

.nav-logo-accent {
    color: var(--color-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-cta {
    margin-left: var(--space-4);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background-color: var(--color-cream);
        flex-direction: column;
        padding: var(--space-8);
        gap: var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease-out);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        margin-left: 0;
    }
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Left - Content */
.hero-content {
    padding-right: var(--space-8);
}

.hero-badge {
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
    perspective: 500px;
}

/* Character animation for title */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-60deg);
    transform-origin: center bottom;
    animation: charReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Hayab accent shimmer applied to each char */
.hero-title-accent .char {
    background: linear-gradient(120deg,
            var(--color-secondary) 0%,
            #e8d59a 40%,
            var(--color-secondary) 50%,
            #e8d59a 60%,
            var(--color-secondary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: charReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards, shimmerChar 3s ease-in-out 1s infinite;
}

@keyframes shimmerChar {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-title-accent {
    display: block;
}

.hero-role {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: var(--space-6);
    position: relative;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    line-height: var(--leading-relaxed);
    max-width: 520px;
    margin-bottom: var(--space-10);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    padding-top: var(--space-10);
    border-top: 1px solid var(--color-gray-200);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.hero-stat-label {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

/* Hero Right - Image Carousel */
.hero-visual {
    position: relative;
    height: 650px;
}

.hero-image-carousel {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-image-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 60%,
            rgba(26, 35, 50, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.carousel-slide {
    position: absolute;
    inset: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 2;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: var(--color-secondary);
    width: 30px;
}

/* Hero Text Carousel - Premium Animations */
.hero-text-carousel {
    position: relative;
    display: block;
    overflow: hidden;
}

.hero-text-carousel .text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    filter: blur(8px);
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.7s;
    pointer-events: none;
    z-index: 1;
}

.hero-text-carousel .text-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
    z-index: 2;
}

/* Exiting slide animation */
.hero-text-carousel .text-slide.exiting {
    opacity: 0;
    transform: translateY(-20px);
    filter: blur(4px);
}

/* Badge subtle pulse */
.hero-text-carousel .hero-badge {
    margin-bottom: 0;
}

.hero-text-carousel .hero-badge.text-slide.active {
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(196, 163, 90, 0);
    }

    50% {
        box-shadow: 0 0 20px 2px rgba(196, 163, 90, 0.3);
    }
}

.hero-text-carousel .hero-role {
    margin-bottom: 0;
}

/* Role underline animation */
.hero-text-carousel .hero-role.text-slide.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    animation: underlineGrow 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes underlineGrow {
    to {
        width: 140px;
    }
}

.hero-text-carousel .hero-description {
    margin-bottom: 0;
}

/* Container sizing for text carousels */
#heroBadgeCarousel {
    min-height: 32px;
    margin-bottom: var(--space-6);
}

#heroRoleCarousel {
    min-height: 40px;
    margin-bottom: var(--space-4);
}

#heroDescCarousel {
    min-height: 90px;
    margin-bottom: var(--space-10);
}

/* Hero title shimmer effect */
.hero-title-accent {
    background: linear-gradient(120deg,
            var(--color-secondary) 0%,
            #d4b76a 25%,
            var(--color-secondary) 50%,
            #d4b76a 75%,
            var(--color-secondary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Decorative Elements */
.hero-decor {
    position: absolute;
    pointer-events: none;
}

.hero-decor-1 {
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-full);
    opacity: 0.2;
}

.hero-decor-2 {
    bottom: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    opacity: 0.1;
    border-radius: var(--radius-lg);
    transform: rotate(45deg);
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 450px;
        margin-bottom: var(--space-8);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .hero-stat-number {
        font-size: var(--text-2xl);
    }
}

/* ========================
   ABOUT SECTION
   ======================== */

.about {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4a35a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.about-content {
    padding-left: var(--space-8);
}

.about-text {
    margin-bottom: var(--space-8);
}

.about-text p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,
            var(--color-secondary) 0%,
            var(--color-accent) 100%);
    border-radius: var(--radius-full);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-8);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) - 6px);
    top: 0;
    width: 15px;
    height: 15px;
    background-color: var(--color-secondary);
    border: 3px solid var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.timeline-desc {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .about-content {
        padding-left: 0;
    }

    .about-image-accent {
        width: 150px;
        height: 150px;
        bottom: -15px;
        right: -15px;
    }
}

/* ========================
   LEADERSHIP SECTION
   ======================== */

.leadership {
    background-color: var(--color-cream);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.leadership-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.leadership-card:hover::before {
    transform: scaleX(1);
}

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.leadership-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-cream), var(--color-cream-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.leadership-card:hover .leadership-icon {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    color: var(--color-white);
}

.leadership-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.leadership-role {
    font-size: var(--text-sm);
    color: var(--color-secondary);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-4);
}

.leadership-desc {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    margin-bottom: 0;
    line-height: var(--leading-relaxed);
}

@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   PEACEBUILDING SECTION
   ======================== */

.peacebuilding {
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.peacebuilding::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(196, 163, 90, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.peacebuilding .section-title {
    color: var(--color-white);
}

.peacebuilding .section-subtitle {
    color: var(--color-gray-300);
}

.peace-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.peace-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
}

.peace-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-secondary);
    transform: translateY(-5px);
}

.peace-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.peace-title {
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.peace-desc {
    color: var(--color-gray-300);
    margin-bottom: 0;
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .peace-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   PUBLIC VOICE SECTION
   ======================== */

.public-voice {
    background-color: var(--color-white);
}

.voice-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.voice-content {
    padding-right: var(--space-8);
}

.voice-quote {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-style: italic;
    color: var(--color-primary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    position: relative;
    padding-left: var(--space-8);
}

.voice-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: var(--text-6xl);
    color: var(--color-secondary);
    opacity: 0.3;
    line-height: 1;
}

.voice-topics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.voice-topic {
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-cream);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-charcoal);
    transition: all 0.3s ease;
}

.voice-topic:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.voice-image {
    position: relative;
}

.voice-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.voice-image-main img {
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .voice-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .voice-content {
        padding-right: 0;
        order: 2;
    }

    .voice-image {
        order: 1;
    }
}

/* ========================
   YOUTH & COMMUNITY SECTION
   ======================== */

.youth {
    background-color: var(--color-cream);
}

.youth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.youth-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.youth-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.youth-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-5xl);
    color: var(--color-secondary);
}

.youth-card-content {
    padding: var(--space-6);
}

.youth-card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.youth-card-desc {
    color: var(--color-gray-600);
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .youth-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .youth-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   MEDIA SECTION
   ======================== */

.media-section {
    background-color: var(--color-white);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.media-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.media-card:hover img {
    transform: scale(1.1);
}

.media-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(26, 35, 50, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    transition: background 0.3s ease;
}

.media-card:hover .media-card-overlay {
    background: linear-gradient(180deg,
            rgba(26, 35, 50, 0.4) 0%,
            rgba(26, 35, 50, 0.95) 100%);
}

.media-card-type {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-2);
}

.media-card-title {
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: 0;
    line-height: var(--leading-snug);
}

.media-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 64px;
    height: 64px;
    background-color: var(--color-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: var(--text-xl);
    opacity: 0;
    transition: all 0.4s var(--ease-out);
}

.media-card:hover .media-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   PARTNERSHIPS SECTION
   ======================== */

.partnerships {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.partners-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.partners-info {
    padding-right: var(--space-8);
}

.partners-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.partner-category {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.partner-category:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.partner-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: var(--text-xl);
}

.partner-text {
    font-weight: var(--font-medium);
    color: var(--color-charcoal);
}

/* Contact Form */
.contact-form-card {
    background-color: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-2xl);
}

.contact-form-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.contact-form-subtitle {
    color: var(--color-gray-600);
    margin-bottom: var(--space-8);
}

@media (max-width: 1024px) {
    .partners-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .partners-info {
        padding-right: 0;
    }
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-top: var(--space-20);
    padding-bottom: var(--space-8);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    margin-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer-logo-accent {
    color: var(--color-secondary);
}

.footer-mission {
    color: var(--color-gray-400);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.footer-column-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: var(--color-gray-400);
    font-size: var(--text-base);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-gray-500);
    font-size: var(--text-sm);
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}