/* =========================================================
   REGIS INNOVATION CENTER - ABOUT PAGE CSS
   Beautiful, Animated, and Responsive Design
   ========================================================= */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #1b1b1b;
    background: #fafafa;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================================
   ABOUT HERO BANNER SECTION
   ========================================================= */

.about-hero-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.about-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(241, 196, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 43, 73, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #002B49;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-family: 'Georgia', serif;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
}

/* =========================================================
   HERO SECTION - ANIMATED INTRODUCTION
   ========================================================= */

.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(27, 27, 27, 0.6) 40%, rgba(0, 0, 0, 0.8) 100%),
        radial-gradient(ellipse at center top, rgba(241, 196, 0, 0.1) 0%, transparent 70%),
        url('../about1.jpg') center/cover no-repeat fixed;
    color: white;
    overflow: hidden;
    background-attachment: fixed;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(241, 196, 0, 0.15), rgba(241, 196, 0, 0.08));
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(241, 196, 0, 0.2);
    box-shadow: 
        0 8px 32px rgba(241, 196, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.floating-element:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 5%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-60px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) scale(1.05);
        opacity: 0.4;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 40px;
    margin: 0 auto;
    animation: bannerFadeIn 1.2s ease-out;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid rgba(241, 196, 0, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F1C400;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    opacity: 0;
    animation: slideUpFade 1.2s ease-out 0.1s forwards;
    text-shadow: 0 3px 15px rgba(241, 196, 0, 0.4);
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0;
    animation: slideUpFade 1.2s ease-out 0.3s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #F1C400, #ffffff, #F1C400);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 500px;
    margin: 15px auto 25px;
    opacity: 0;
    animation: slideUpFade 1.2s ease-out 0.6s forwards;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    opacity: 0;
    animation: slideUpFade 1.2s ease-out 0.9s forwards;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 10px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #F1C400;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(241, 196, 0, 0.3);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* =========================================================
   SECTION ANIMATIONS AND BASE STYLES
   ========================================================= */

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, #F1C400 0%, #e6b800 50%, #F1C400 100%);
    color: #1b1b1b;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 12px 30px;
    border-radius: 30px;
    margin-bottom: 25px;
    box-shadow: 
        0 10px 30px rgba(241, 196, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.section-eyebrow:hover::before {
    left: 100%;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #F1C400 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(241, 196, 0, 0.2);
    line-height: 1.2;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MISSION SECTION - ELEGANT GRID LAYOUT
   ========================================================= */

/* =========================================================
   LETTER FROM THE DIRECTOR SECTION - PREMIUM ENHANCED DESIGN WITH READ MORE
   ========================================================= */

.director-letter-section {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, #f8f9fa 0%, #ffffff 25%, #f1f3f4 50%, #ffffff 75%, #f8f9fa 100%),
        radial-gradient(circle at 20% 30%, rgba(241, 196, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(241, 196, 0, 0.02) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.director-letter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F1C400' fill-opacity='0.015'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.director-letter-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(241, 196, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatReverse 15s ease-in-out infinite;
    pointer-events: none;
}

/* Read More Feature Styles */
.letter-preview {
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.read-more-container {
    text-align: center;
    margin: 40px 0 20px;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.read-more-btn {
    background: linear-gradient(135deg, #F1C400 0%, #e6b800 100%);
    border: none;
    color: #1b1b1b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(241, 196, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #f5d442 0%, #F1C400 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(241, 196, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(241, 196, 0, 0.2);
}

.read-more-btn .btn-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
}

.read-more-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.read-more-btn.expanded .btn-text::after {
    content: 'Show Less';
}

.read-more-btn.expanded .btn-text {
    position: relative;
}

.read-more-btn.expanded .btn-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

/* Expandable Content Styles */
.letter-expandable,
.secondary-expandable {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateY(-20px);
}

.letter-expandable.expanded,
.secondary-expandable.expanded {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

.expandable-content {
    padding-top: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    transition-delay: 0.2s;
}

.letter-expandable.expanded .expandable-content,
.secondary-expandable.expanded .expandable-content {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth text reveal animation */
.expandable-content .letter-paragraph {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.letter-expandable.expanded .expandable-content .letter-paragraph,
.secondary-expandable.expanded .expandable-content .letter-paragraph {
    opacity: 1;
    transform: translateY(0);
}

.letter-expandable.expanded .expandable-content .letter-paragraph:nth-child(1) {
    transition-delay: 0.3s;
}

.letter-expandable.expanded .expandable-content .letter-paragraph:nth-child(2) {
    transition-delay: 0.4s;
}

.letter-expandable.expanded .expandable-content .letter-paragraph:nth-child(3) {
    transition-delay: 0.5s;
}

.letter-expandable.expanded .expandable-content .letter-paragraph:nth-child(4) {
    transition-delay: 0.6s;
}

/* Creative expanding border effect */
.letter-content.expanding {
    position: relative;
}

.letter-content.expanding::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #F1C400, transparent, #F1C400);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 0.8s ease-in-out forwards;
}

@keyframes borderGlow {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Director image animation when expanding */
.director-image.expanding {
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Fade effect for preview when expanded */
.letter-content.expanded .letter-preview {
    position: relative;
}

.letter-content.expanded .letter-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
    opacity: 0;
    animation: fadeInGradient 0.6s ease-in-out 0.4s forwards;
}

@keyframes fadeInGradient {
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-5px) rotate(1deg); }
    66% { transform: translateY(3px) rotate(-1deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
}

.letter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* equal columns */
    gap: 48px; /* slightly tighter to reclaim width */
    align-items: start;
    max-width: 1400px; /* wider container */
    margin: 0 auto;
    padding: 0 24px; /* less inner padding to increase usable width */
    position: relative;
    z-index: 2;
}

/* =========================================================
   GRONOWSKI INNOVATION INCUBATOR LAB - MAGAZINE LAYOUT
   ========================================================= */
.gronowski-lab-section {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    padding: 60px 0 40px;
}

.lab-container {
    max-width: 1400px;
}

.lab-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* slight bias to text side like the sample */
    gap: 48px;
    align-items: start;
}

/* Golden stacked title block with animations */
.lab-title-block {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.lab-title-line {
    display: inline-block;
    background: #F1C400;
    color: #ffffff; /* white text on golden background */
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.6rem;
    padding: 10px 14px;
    line-height: 1;
    border-radius: 4px;
    width: fit-content;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.6s ease-out forwards;
}

.lab-title-line:nth-child(1) { animation-delay: 0.3s; }
.lab-title-line:nth-child(2) { animation-delay: 0.5s; }
.lab-title-line:nth-child(3) { animation-delay: 0.7s; }

.lab-text {
    color: #2d2d2d;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out 0.9s forwards;
}

.community-text-container {
    background: linear-gradient(135deg, rgba(241, 196, 0, 0.08) 0%, rgba(241, 196, 0, 0.03) 100%);
    border-left: 4px solid #F1C400;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-text-container:hover {
    box-shadow: 0 12px 32px rgba(241, 196, 0, 0.15);
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(241, 196, 0, 0.12) 0%, rgba(241, 196, 0, 0.05) 100%);
}

/* Animations for images and sections */
.lab-top-image {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease-out 0.6s forwards;
}

.lab-section-two {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 1.2s forwards;
}

/* Animation keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lab-lead {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #F1C400;
    text-shadow: 0 1px 3px rgba(241, 196, 0, 0.2);
}

.lab-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
    color: #444;
}

.lab-text p:not(.lab-lead) {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.lab-right {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 28px;
}

/* =========================================================
   STUDENT RUN PROGRAMME - NEW CAROUSEL DESIGN
   ========================================================= */

.student-carousel-new {
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease-out 0.6s forwards;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
}

.carousel-track-new {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.carousel-slide-new {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: #000;
    aspect-ratio: 16 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide-new.active {
    opacity: 1;
}

.carousel-slide-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-nav-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(241, 196, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #002B49;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.carousel-nav-new:hover {
    background: rgba(241, 196, 0, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(241, 196, 0, 0.5);
}

.carousel-nav-new:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev-new {
    left: -25px;
}

.carousel-next-new {
    right: -25px;
}

.carousel-nav-new svg {
    width: 26px;
    height: 26px;
}

.carousel-indicators-new {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(241, 196, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #F1C400;
    width: 30px;
    border-radius: 5px;
}

.carousel-indicator:hover:not(.active) {
    background: rgba(241, 196, 0, 0.6);
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide-new {
        aspect-ratio: 4 / 3;
    }
    
    .carousel-nav-new {
        width: 45px;
        height: 45px;
    }
    
    .carousel-prev-new {
        left: 10px;
    }
    
    .carousel-next-new {
        right: 10px;
    }
    
    .carousel-nav-new svg {
        width: 20px;
        height: 20px;
    }
}

/* Vertical separator for spacing */
.lab-separator {
    height: 40px; /* vertical spacing */
}

/* Second section: large image left, text right */
.lab-section-two {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Make image column larger - equal to text */
    gap: 32px;
    align-items: start;
}

.lab-left-image {
    position: relative;
}

.lab-left-image img {
    width: 100%;
    aspect-ratio: 4 / 3; /* Exact same proportions as top image */
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: auto; /* Ensure same height calculation as top image */
}

.lab-image-caption {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Ensure all lab images have identical sizing */
.lab-top-image img,
.lab-left-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: auto;
    border: 1px solid #F1C400;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lab-top-image:hover img,
.lab-left-image:hover img {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(241, 196, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(241, 196, 0, 0.1);
}

.lab-top-image img,
.lab-bottom-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    object-fit: cover;
    aspect-ratio: 4 / 3; /* Consistent aspect ratio for all images */
}

/* Keep images landscape and visually similar to sample */
.lab-top-image img { 
    aspect-ratio: 4 / 3; 
}

.lab-right-text p {
    margin: 12px 0;
    color: #2d2d2d;
    font-family: 'Georgia', serif;
    line-height: 1.75;
    font-size: 1.05rem;
}

.lab-bottom-caption {
    position: absolute;
    right: 12px;
    bottom: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Responsive behavior */
@media (max-width: 1024px) {
    .lab-grid { 
        grid-template-columns: 1fr; 
        gap: 32px; 
    }
    .lab-container { 
        padding: 0 20px; 
    }
    .lab-title-line { 
        font-size: 1.4rem; 
    }
    .lab-section-two {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .lab-separator {
        height: 30px; /* Less spacing on mobile */
    }
}

@media (max-width: 600px) {
    .lab-title-line { font-size: 1.2rem; }
    .lab-top-image img { aspect-ratio: 3 / 2; }
    .lab-bottom-image img { aspect-ratio: 3 / 2; }
}

.letter-content {
    opacity: 1; /* remove entrance animation */
    transform: none;
    transition: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 50px 44px;
    border: 1px solid rgba(241, 196, 0, 0.12);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(241, 196, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.letter-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 196, 0, 0.02) 0%, transparent 50%, rgba(241, 196, 0, 0.01) 100%);
    border-radius: 25px;
    z-index: -1;
}

/* animate-in no longer needed */

.letter-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.letter-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F1C400, transparent);
    border-radius: 2px;
}

.letter-title {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F1C400 0%, #e6b800 50%, #F1C400 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    text-shadow: 0 4px 20px rgba(241, 196, 0, 0.2);
    position: relative;
}

.letter-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(241, 196, 0, 0.1), transparent, rgba(241, 196, 0, 0.1));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

.director-name {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    position: relative;
    padding: 10px 20px;
    background: rgba(241, 196, 0, 0.05);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(241, 196, 0, 0.1);
}

.letter-text {
    color: #333;
    line-height: 1.8;
    position: relative;
}

.letter-paragraph {
    font-size: 1.05rem;
    margin-bottom: 22px;
    text-align: justify;
    color: #2d2d2d;
    font-family: 'Georgia', serif;
    line-height: 1.85;
    padding: 12px 0;
    border-left: 3px solid transparent;
    transition: none; /* remove hover motion */
    position: relative;
}

/* Remove hover movement */
.letter-paragraph:hover {
    border-left-color: transparent;
    padding-left: 0;
    background: transparent;
    border-radius: 0;
}

.letter-paragraph strong {
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.letter-paragraph:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(241, 196, 0, 0.05) 0%, rgba(241, 196, 0, 0.02) 100%);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(241, 196, 0, 0.1);
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.letter-paragraph:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 0, 0.1), transparent);
    transition: left 0.8s ease;
}

.letter-paragraph:first-child:hover::before {
    left: 100%;
}

.letter-paragraph:first-child strong {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.highlight-text {
    font-style: italic;
    font-size: 1.3rem;
    margin: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, #F1C400 0%, #e6b800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    position: relative;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(241, 196, 0, 0.1);
    background-color: rgba(241, 196, 0, 0.03);
    box-shadow: 
        0 10px 30px rgba(241, 196, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.highlight-text::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 3rem;
    color: rgba(241, 196, 0, 0.3);
    font-family: 'Georgia', serif;
}

.highlight-text::after {
    content: '"';
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 3rem;
    color: rgba(241, 196, 0, 0.3);
    font-family: 'Georgia', serif;
}

.director-image {
    opacity: 1; /* no entrance animation */
    transform: none;
    transition: none;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(241, 196, 0, 0.12);
    box-shadow: 
        0 24px 80px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(241, 196, 0, 0.06);
}

.director-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(241, 196, 0, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(241, 196, 0, 0.1) 100%);
    border-radius: 35px;
    z-index: -1;
    opacity: 0;
    animation: borderShimmer 3s ease-in-out infinite;
}

@keyframes borderShimmer {
    0%, 100% { opacity: 0; transform: rotate(0deg); }
    50% { opacity: 0.7; transform: rotate(1deg); }
}

/* animation variant removed */

.director-photo {
    width: 100%;
    aspect-ratio: 3 / 2; /* keep landscape orientation */
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 5px 20px rgba(241, 196, 0, 0.1);
    margin-bottom: 25px;
    transition: none; /* remove hover scale */
    position: relative;
    overflow: hidden;
}

.director-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

/* neutralize hover */
.director-photo:hover::before { left: -100%; }
.director-photo:hover { transform: none; box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.18),
        0 5px 20px rgba(241, 196, 0, 0.1);
}
.letter-text-secondary { margin-top: 24px; }
.letter-text-secondary .letter-paragraph { margin-bottom: 18px; }

.image-caption {
    text-align: center;
    padding: 20px 0;
    background: rgba(241, 196, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(241, 196, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.image-caption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F1C400, transparent);
}

.image-caption p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

/* =========================================================
   STUDENT IMPACT SECTION - RICH CONTENT LAYOUT
   ========================================================= */

.student-impact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.impact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.impact-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.impact-text.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.impact-block {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border-left: 4px solid #F1C400;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.impact-block:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(241, 196, 0, 0.1);
}

.impact-block h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 15px;
}

.impact-block p {
    color: #666;
    line-height: 1.7;
}

.impact-visual {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.impact-visual.animate-in {
    opacity: 1;
    transform: scale(1);
}

.student-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.student-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.student-photo:hover .photo-overlay {
    transform: translateY(0);
}

.student-photo:hover img {
    transform: scale(1.1);
}

.overlay-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =========================================================
   IMPACTING STUDENTS SECTION - SOPHISTICATED HORIZONTAL SCROLL
   ========================================================= */

.impacting-students-section {
    background: #1b1b1b;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Header Section with Navigation */
/* =========================================================
   IMPACTING STUDENTS SECTION - REDESIGNED WITH ANIMATIONS
   ========================================================= */

.impacting-header-section-new {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.impact-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: floatAnimation 20s ease-in-out infinite;
}

.floating-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #F1C400, #ffd700);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #002B49, #004d7a);
    top: 50%;
    right: -50px;
    animation-delay: 3s;
}

.floating-shape.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #F1C400, #e6b800);
    bottom: -100px;
    left: 40%;
    animation-delay: 6s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.impact-header-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
}

.impact-eyebrow {
    display: inline-block;
    color: #F1C400;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 24px;
    border: 2px solid #F1C400;
    border-radius: 50px;
    background: rgba(241, 196, 0, 0.05);
}

.impact-main-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.title-word {
    display: inline-block;
    color: #002B49;
    margin: 0 0.2em;
}

.title-word.highlight {
    color: #F1C400;
    position: relative;
}

.impact-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* =========================================================
   PHONE SHOWCASE - BEAUTIFUL MOCKUP WITH AUTO-SCROLLING VIDEOS
   ========================================================= */

.phone-showcase-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Beautiful Phone Mockup */
.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 340px;
    height: 680px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.video-feed {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.video-item.active {
    opacity: 1;
}

.student-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Wrapper and Play Button */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
    transition: all 0.5s ease;
    opacity: 1;
    visibility: visible;
    padding: 0;
    pointer-events: auto;
    outline: none;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.video-wrapper.playing .video-play-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

.video-play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    display: block;
}

.phone-home-button {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* Student Info Display */
.student-info-display {
    position: relative;
    min-height: 300px;
}

.info-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.info-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(241, 196, 0, 0.2);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.student-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F1C400, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #002B49;
    box-shadow: 0 8px 20px rgba(241, 196, 0, 0.3);
}

.student-details {
    flex: 1;
}

.student-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #002B49;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.business-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #F1C400;
    margin-bottom: 12px;
}

.business-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Business Feature Card - Stories Page Style */
.business-feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid #F1C400;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(241, 196, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    text-align: center;
}

.business-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(241, 196, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(241, 196, 0, 0.1);
}

.feature-logo-small {
    margin: 0 auto 25px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-logo-small img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.feature-business-name {
    font-size: 2rem;
    font-weight: 700;
    color: #002B49;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    text-align: left;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 968px) {
    .phone-showcase-container {
        grid-template-columns: 1fr;
        gap: 50px;
        justify-items: center;
    }
    
    .phone-frame {
        width: 300px;
        height: 600px;
    }
    
    .student-info-display {
        width: 100%;
        max-width: 500px;
    }
    
    .business-feature-card {
        padding: 35px 30px;
    }
    
    .feature-logo-small {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .feature-business-name {
        font-size: 1.6rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .impact-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .impact-main-title {
        font-size: 2.5rem;
    }
    
    .impacting-header-section-new {
        padding: 80px 0;
    }
}

/* Keep old section for backwards compatibility */
.impacting-header-section {
    background: #f5f5f5;
    padding: 80px 0 40px;
    position: relative;
    z-index: 10;
}

/* Sophisticated Edge-Triggered Navigation */
.edge-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.edge-nav-trigger {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: transparent;
}

.edge-nav-trigger.left {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.edge-nav-trigger.right {
    right: 0;
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.edge-nav-trigger:hover {
    opacity: 1;
}

.edge-nav-trigger.disabled {
    pointer-events: none;
    opacity: 0 !important;
}

.edge-nav-arrow {
    background: rgba(241, 196, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #1b1b1b;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(241, 196, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(0.8);
    opacity: 0.7;
}

.edge-nav-trigger:hover .edge-nav-arrow {
    transform: scale(1);
    opacity: 1;
    background: rgba(241, 196, 0, 1);
    box-shadow: 
        0 12px 40px rgba(241, 196, 0, 0.4),
        0 0 0 1px rgba(241, 196, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 30px rgba(241, 196, 0, 0.3);
}

.edge-nav-arrow svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.edge-nav-trigger:hover .edge-nav-arrow svg {
    transform: scale(1.1);
}

/* Sophisticated pulse animation for discovery */
.edge-nav-arrow::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(241, 196, 0, 0.4);
    border-radius: 50%;
    animation: discoverPulse 3s ease-in-out infinite;
    opacity: 0;
}

.edge-nav-trigger:hover .edge-nav-arrow::before {
    animation: none;
    opacity: 0;
}

@keyframes discoverPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #1b1b1b;
}

.scroll-track {
    display: flex;
    height: 100%;
    width: 300vw; /* Exactly 3 panels � 100vw each */
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1); /* More sophisticated easing */
    will-change: transform;
}

/* Individual Impact Panels */
.impact-panel {
    min-width: 100vw;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end; /* Move content to bottom */
    justify-content: flex-start; /* Move content to left */
    overflow: hidden;
    padding: 0 0 80px 60px; /* Add padding for bottom-left positioning */
}

.panel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.impact-panel.active .panel-image {
    transform: scale(1);
}

.impact-panel.active .panel-image img {
    filter: brightness(0.8) contrast(1.15);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(27, 27, 27, 0.2) 30%,
        rgba(0, 0, 0, 0.1) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

/* Enhanced bottom overlay for text readability */
.image-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.8) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 1;
}

/* Panel Content */
.panel-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
    padding: 0;
    color: white;
    text-align: left;
    transform: translateY(60px) scale(0.95);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    align-self: flex-end; /* Ensure it stays at bottom */
}

.impact-panel.active .panel-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.4s;
}

.content-tag {
    display: inline-block;
    background: rgba(241, 196, 0, 0.9);
    color: #1b1b1b;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(241, 196, 0, 0.3);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.impact-panel.active .content-tag {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.6s;
}

.panel-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: 'Georgia', serif;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.impact-panel.active .panel-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.8s;
}

.panel-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 500px; /* Limit text width for better readability */
}

.impact-panel.active .panel-text {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 1s;
}

/* Panel Statistics */
.panel-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    transform: translateY(40px) scale(0.9);
    opacity: 0;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.impact-panel.active .panel-stats {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 1.2s;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    background: rgba(241, 196, 0, 0.2);
    border-color: rgba(241, 196, 0, 0.5);
    transform: translateY(-3px);
}

.stat-number {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #F1C400;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(241, 196, 0, 0.4);
}

.stat-plus,
.stat-unit {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #F1C400;
    text-shadow: 0 2px 10px rgba(241, 196, 0, 0.4);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    font-weight: 500;
}

/* Progress Bar */
.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #F1C400, #e6b800);
    width: 25%;
    transition: width 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 0 20px rgba(241, 196, 0, 0.5);
}

/* Sophisticated Animation Keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .impacting-header-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 20px;
    }
    
    .impact-panel {
        padding: 0 0 60px 40px; /* Adjust padding for tablets */
    }
    
    .panel-title {
        font-size: 2.5rem;
    }
    
    .panel-text {
        font-size: 1rem;
        max-width: 450px;
    }
    
    .panel-content {
        max-width: 500px;
    }
    
    .panel-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 12px 18px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .impacting-title-line {
        font-size: 1.8rem;
        padding: 10px 16px;
    }
    
    .impact-panel {
        padding: 0 0 40px 30px; /* Adjust padding for mobile */
    }
    
    .panel-title {
        font-size: 2rem;
    }
    
    .panel-text {
        font-size: 0.95rem;
        max-width: 400px;
        line-height: 1.4;
    }
    
    .panel-stats {
        flex-direction: column;
        gap: 15px;
        max-width: 200px;
    }
    
    .stat-item {
        min-width: auto;
        padding: 10px 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .edge-navigation {
        /* Ensure edge navigation still works on mobile */
    }
    
    .edge-nav-trigger {
        width: 80px; /* Smaller trigger areas on mobile */
    }
    
    .edge-nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .edge-nav-arrow svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .impacting-header-section {
        padding: 60px 0 30px;
    }
    
    .impact-panel {
        padding: 0 0 30px 20px; /* Minimal padding for small screens */
    }
    
    .panel-content {
        max-width: 350px;
    }
    
    .content-tag {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .panel-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
        line-height: 1.1;
    }
    
    .panel-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-width: 320px;
    }
    
    .panel-stats {
        margin-top: 20px;
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .edge-nav-trigger {
        width: 60px;
    }
    
    .edge-nav-arrow {
        width: 45px;
        height: 45px;
    }
}

/* =========================================================
   PROGRAMS SECTION - CARD GRID WITH ANIMATIONS
   ========================================================= */

/* =========================================================
   ECOSYSTEM SECTION - BEAUTIFUL 3 CARD LAYOUT
   ========================================================= */

.programs-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #002B49 0%, #001a2e 50%, #002B49 100%);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(241, 196, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(241, 196, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.programs-section .container {
    position: relative;
    z-index: 2;
}

.programs-section .section-eyebrow {
    color: #F1C400;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.programs-section .section-title {
    color: white;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.programs-section .section-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.ecosystem-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}

.ecosystem-card[data-aos="fade-up"] {
    animation-delay: 0s;
}

.ecosystem-card[data-aos-delay="100"] {
    animation-delay: 0.1s;
}

.ecosystem-card[data-aos-delay="200"] {
    animation-delay: 0.2s;
}

.ecosystem-card[data-aos-delay="300"] {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecosystem-card:hover {
    transform: translateY(-15px);
    border-color: rgba(241, 196, 0, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ecosystem-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 43, 73, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    transition: opacity 0.4s ease;
}

.ecosystem-card:hover .card-overlay {
    opacity: 0.6;
}

.card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(241, 196, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(241, 196, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.ecosystem-card:hover .card-icon {
    transform: translate(-50%, -50%) scale(1.15) rotate(10deg);
    background: rgba(241, 196, 0, 0.25);
    border-color: rgba(241, 196, 0, 0.6);
}

.card-icon svg {
    color: #F1C400;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.card-content {
    padding: 35px 30px;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #F1C400;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #F1C400, #e6b800);
    color: #002B49;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 196, 0, 0.3);
}

.card-feature-list {
    margin-bottom: 25px;
    display: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #F1C400, #e6b800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #002B49;
    flex-shrink: 0;
}

.card-stat {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #F1C400;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #F1C400, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ecosystem-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .programs-section {
        padding: 80px 0;
    }
    
    .ecosystem-grid {
        margin-top: 50px;
    }
    
    .card-image-wrapper {
        height: 220px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* =========================================================
   FACILITIES SECTION - SPLIT LAYOUT
   ========================================================= */

.facilities-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.facilities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.facilities-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.facilities-text.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.facility-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 196, 0, 0.1);
}

.feature-item i {
    color: #F1C400;
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: #1b1b1b;
}

.facilities-visual {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.facilities-visual.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.facility-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.facility-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 196, 0, 0.8), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.facility-showcase:hover .facility-overlay {
    opacity: 1;
}

.overlay-stats {
    display: flex;
    gap: 40px;
    text-align: center;
}

.overlay-stat {
    color: white;
}

.overlay-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.overlay-stat .stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   SUCCESS STORIES PREVIEW SECTION
   ========================================================= */

.success-preview-section {
    padding: 120px 0;
    background: white;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.success-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.success-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(241, 196, 0, 0.15);
}

.success-image {
    height: 200px;
    overflow: hidden;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.1);
}

.success-content {
    padding: 30px;
}

.success-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 15px;
}

.success-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-impact {
    display: inline-block;
}

.impact-label {
    background: linear-gradient(135deg, #F1C400, #e6b800);
    color: #1b1b1b;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
}

.success-action {
    text-align: center;
    margin-top: 60px;
}

/* =========================================================
   CTA SECTION - CALL TO ACTION
   ========================================================= */

.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1b1b1b 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-description {
    font-size: 1.2rem;
    color: #002B49;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-description.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-actions.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   BUTTONS - PRIMARY AND SECONDARY
   ========================================================= */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.primary-button {
    background: linear-gradient(135deg, #F1C400, #e6b800);
    color: #1b1b1b;
    box-shadow: 0 8px 25px rgba(241, 196, 0, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(241, 196, 0, 0.4);
}

.secondary-button {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS
   ========================================================= */

@media (max-width: 1024px) {
    .hero-video-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-video-overlay {
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .hero-video-section {
        height: 70vh;
        min-height: 450px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-video-overlay {
        padding-bottom: 50px;
        align-items: center;
        justify-content: center;
    }

    .about-hero {
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .page-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 15px;
        padding: 15px 10px;
        flex-wrap: wrap;
        margin-top: 15px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-unit {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .mission-section {
        padding: 80px 0;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 50px;
    }
    
    .mission-text {
        padding: 35px 25px;
    }
    
    .lead-paragraph {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .mission-text p {
        font-size: 1rem;
    }
    
    .highlight-card {
        padding: 30px 25px;
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
    }
    
    .highlight-card h3 {
        font-size: 1.2rem;
    }
    
    .director-letter-section {
        padding: 80px 0;
    }
    
    .letter-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .letter-content {
        padding: 40px 30px;
    }
    
    .letter-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .letter-paragraph {
        font-size: 0.95rem;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .letter-paragraph:first-child {
        font-size: 1rem;
        padding: 20px;
    }
    
    .highlight-text {
        font-size: 1.1rem;
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .director-image {
        order: -1;
        margin-bottom: 40px;
        padding: 20px;
    }
    
    .director-photo {
        max-width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        margin: 0 auto 20px;
        display: block;
        border-radius: 16px;
    }
    
    .image-caption {
        padding: 15px 0;
    }
    
    .image-caption p {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-eyebrow {
        font-size: 0.75rem;
        padding: 10px 25px;
        letter-spacing: 2px;
    }
    
    .floating-element {
        display: none;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .mission-grid,
    .impact-content,
    .facilities-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-features {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-video-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }
    
    .hero-cta-btn {
        padding: 16px 32px;
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .hero-video-overlay {
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .lead-paragraph {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .mission-section,
    .student-impact-section,
    .programs-section,
    .facilities-section,
    .success-preview-section,
    .cta-section {
        padding: 80px 0;
    }
}

/* =========================================================
   FOUNDERS TESTIMONIALS SECTION - REBUILT
   ========================================================= */

.founders-testimonials-section {
    background: linear-gradient(135deg, #002B49 0%, #001a2e 50%, #002B49 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.testimonials-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(241, 196, 0, 0.2);
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    padding: 60px 80px;
    gap: 60px;
    transition: all 0.3s ease;
}

.testimonial-item.active {
    display: flex;
}

.testimonial-image {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #F1C400;
    box-shadow: 0 20px 40px rgba(241, 196, 0, 0.3);
    transition: transform 0.3s ease;
}

.testimonial-image:hover img {
    transform: scale(1.02);
}

.testimonial-text {
    flex: 1;
    color: white;
    padding-left: 40px;
}

.quote-symbol {
    font-size: 4rem;
    color: #F1C400;
    line-height: 1;
    opacity: 0.7;
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
}

.quote-content {
    font-size: 1.6rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.author-info {
    border-top: 1px solid rgba(241, 196, 0, 0.3);
    padding-top: 30px;
}

.author-name {
    font-size: 1.5rem;
    color: #F1C400;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.author-role {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 15px 0;
}

.achievement {
    background: linear-gradient(135deg, #F1C400 0%, #FFD700 100%);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: #F1C400;
    box-shadow: 0 0 15px rgba(241, 196, 0, 0.5);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-wrapper {
        padding: 0 20px;
    }
    
    .testimonials-slider {
        height: 500px;
    }
    
    .testimonial-item {
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
        text-align: center;
    }
    
    .testimonial-text {
        padding-left: 0;
    }
    
    .testimonial-image {
        max-width: 250px;
    }
    
    .testimonial-image img {
        height: 200px;
    }
    
    .quote-content {
        font-size: 1.3rem;
    }
}