* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFFFFF;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
}

.nav-progress-bar {
    position: relative;
    width: 100%;
    height: 100%;
}

.nav-progress-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ff4f01;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
    will-change: transform;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 10px;
    padding-inline: clamp(16px, 3vw, 28px);
}

/* Equal left/right halves so logo inset matches nav inset (flex alone skews when column widths differ) */
@media (min-width: 769px) {
    .nav-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        column-gap: clamp(16px, 2vw, 28px);
    }

    .nav-logo {
        justify-self: start;
    }

    .nav-links {
        justify-self: end;
    }
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #146387;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
    padding: 0;
    transform: scale(1.6);
    transform-origin: left center;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4f01;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #ff4f01;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* Sticky section container - each section stacks on top of the previous on scroll */
.scroll-section {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Section content entrance - Framer-style: container fades in, then children stagger */
.scroll-section .section-content {
    opacity: 0;
    transform: translateY(56px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-section.section-entered .section-content {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for direct children (Framer-style cascade) */
.scroll-section .section-content > * {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-section.section-entered .section-content > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-section.section-entered .section-content > *:nth-child(1) { transition-delay: 0.08s; }
.scroll-section.section-entered .section-content > *:nth-child(2) { transition-delay: 0.16s; }
.scroll-section.section-entered .section-content > *:nth-child(3) { transition-delay: 0.24s; }
.scroll-section.section-entered .section-content > *:nth-child(4) { transition-delay: 0.32s; }
.scroll-section.section-entered .section-content > *:nth-child(5) { transition-delay: 0.4s; }
.scroll-section.section-entered .section-content > *:nth-child(6) { transition-delay: 0.48s; }
.scroll-section.section-entered .section-content > *:nth-child(7) { transition-delay: 0.56s; }
.scroll-section.section-entered .section-content > *:nth-child(8) { transition-delay: 0.64s; }
.scroll-section.section-entered .section-content > *:nth-child(9) { transition-delay: 0.72s; }
.scroll-section.section-entered .section-content > *:nth-child(10) { transition-delay: 0.8s; }
.scroll-section.section-entered .section-content > *:nth-child(n+11) { transition-delay: 0.88s; }

/* Hero content doesn't use section-content entrance (has its own fadeInUp); ensure hero isn't affected */
.hero .hero-content {
    opacity: 1;
    transform: none;
}

/* Vision wrapper - controls scroll space for sticky section */
.vision-wrapper {
    position: relative;
    width: 100%;
}

/* Courses wrapper - controls scroll space for sticky section */
.courses-wrapper {
    position: relative;
    width: 100%;
}

/* Partners, Services, Inspiration, Team wrappers - scroll space for stacked sections */
.partners-wrapper,
.services-wrapper,
.inspiration-wrapper,
.team-wrapper {
    position: relative;
    width: 100%;
}

/* Override overflow for courses section to allow scrolling */
.courses-section {
    overflow: visible !important;
}

.hero {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease;
    animation: zoomIn 20s ease-out infinite alternate;
}

.hero-bg-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.hero-bg-slide--1 {
    background-image: linear-gradient(
        rgba(255, 250, 240, 0.2) 0%,
        rgba(240, 245, 255, 0.15) 50%,
        rgba(250, 245, 235, 0.25) 100%
    ),
    url('../media/background1.webp');
}

.hero-bg-slide--2 {
    background-image: linear-gradient(
        rgba(255, 250, 240, 0.2) 0%,
        rgba(240, 245, 255, 0.15) 50%,
        rgba(250, 245, 235, 0.25) 100%
    ),
    url('../media/background2.webp');
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #1a1a1a;
    padding: 20px;
    padding-top: clamp(12px, 3vh, 36px);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
}

.logo {
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: -3px;
    margin-top: 100px;
    color: #ff6f21;
    display: flex;
    align-items: center;
    justify-content: center; 
    flex-wrap: wrap;
}

.logo-letter {
    display: inline-block;
    animation: letterRegenerate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, letterBreathe 3s ease-in-out 2s infinite;
    opacity: 0;
}

.logo-space {
    display: inline-block;
    width: 0.3em;
}

/* Staggered animation delays for each letter (letters are at odd positions due to spaces) */
.logo-letter:nth-child(1) { animation-delay: 0s, 2s; }      /* R */
.logo-letter:nth-child(3) { animation-delay: 0.1s, 2s; }     /* E */
.logo-letter:nth-child(5) { animation-delay: 0.2s, 2s; }     /* G */
.logo-letter:nth-child(7) { animation-delay: 0.3s, 2s; }     /* E */
.logo-letter:nth-child(9) { animation-delay: 0.4s, 2s; }     /* N */
.logo-letter:nth-child(11) { animation-delay: 0.5s, 2s; }    /* R */
.logo-letter:nth-child(13) { animation-delay: 0.6s, 2s; }    /* I */
.logo-letter:nth-child(15) { animation-delay: 0.7s, 2s; }    /* S */
.logo-letter:nth-child(17) { animation-delay: 0.8s, 2s; }    /* I */
.logo-letter:nth-child(19) { animation-delay: 0.9s, 2s; }   /* N */
.logo-letter:nth-child(21) { animation-delay: 1s, 2s; }      /* G */

.logo-img-hero {
    height: 120px;
    width: auto;
    display: block;
    max-width: 100%;
}

/* Hero taglines: swap with background slides (image 1 ↔ tagline--1, image 2 ↔ tagline--2) */
.hero-tagline-stack {
    position: relative;
    flex: 1;
    align-self: stretch;
    width: 100%;
    min-height: min(52vh, 520px);
    animation: fadeInUp 1s 0.4s ease both;
}

.hero-tagline {
    position: absolute;
    left: 50%;
    margin: 0;
    max-width: min(94vw, 920px);
    padding: 0 12px;
    box-sizing: border-box;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease;
    pointer-events: none;
}

.hero-tagline.is-active {
    opacity: 1;
    z-index: 2;
}

/* Slide 1: centered as a block */
.hero-tagline--1 {
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Slide 2: fill tagline stack; centered horizontally; nudged slightly down */
.hero-tagline--2 {
    top: 0;
    bottom: 0;
    transform: translate(-50%, clamp(1rem, 3vh, 2.75rem));
}

/* Slide 1: no fill — teal type only */
.hero-tagline--1 {
    text-align: center;
    white-space: nowrap;
}

.hero-tagline-blob {
    display: inline-block;
    max-width: 100%;
}

.hero-tagline-blob-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    color: #005b7f;
    text-align: center;
    font-size: 3.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-tagline-line1,
.hero-tagline-line2 {
    display: block;
    margin: 0;
    max-width: 100%;
    line-height: 1.18;
}

.hero-tagline-line1 {
    font-size: 1.06em;
    font-weight: 800;
}

.hero-tagline-line2 {
    font-size: 0.92em;
    font-weight: 700;
}

/* Slide 2: REGENRISING (top) + tagline (bottom), equal 1fr space above/below */
/* font-size matches .hero-tagline-blob-inner so --2-main can use same em scale as .hero-tagline-line2 */
.hero-tagline--2 {
    display: grid;
    grid-template-rows: 1fr auto auto 1fr;
    justify-items: center;
    align-items: center;
    width: 100%;
    max-width: min(94vw, 920px);
    text-align: center;
    font-size: 3.3rem;
}

.hero-tagline--2-brand {
    grid-row: 2;
    align-self: end;
    margin: clamp(2.9rem, 6vh, 3.75rem) 0 0;
    padding-bottom: clamp(0.65rem, 1.8vh, 1.1rem);
    font-size: clamp(2.15rem, 4.4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #146387;
}

.hero-tagline--2-main {
    grid-row: 3;
    align-self: start;
    justify-self: center;
    max-width: 100%;
    margin: 0;
    padding-top: clamp(2.5rem, 7vh, 4.75rem);
    font-size: 0.92em;
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
    color: #ff6f21;
    white-space: nowrap;
}

/* REGENRISING only (slide 2 / background 2): per-character reveal */
.hero-tagline--2-brand .hero-tw-char {
    display: inline-block;
    opacity: 0;
    animation: heroTwChar 0.12s ease forwards;
    animation-delay: calc(var(--tw, 0) * 0.028s);
}

@keyframes heroTwChar {
    from {
        opacity: 0;
        transform: translateY(0.08em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero taglines: centered and responsive on small screens */
@media (max-width: 768px) {
    .hero-content {
        padding: 16px;
    }
    .hero-tagline-stack {
        min-height: min(48vh, 420px);
    }
    .hero-tagline--1 {
        white-space: normal;
    }
    .hero-tagline-blob-inner {
        font-size: 1.5rem;
    }
    .hero-tagline--2 {
        font-size: 1.5rem;
    }
    .hero-tagline--2-main {
        white-space: normal;
    }
    .hero-tagline--2-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 12px;
    }
    .hero-tagline-blob-inner {
        font-size: 1.3rem;
    }
    .hero-tagline--2 {
        font-size: 1.3rem;
    }
    .hero-tagline--2-brand {
        font-size: 1.28rem;
    }
}

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

/* Hero Logo Animation - Individual Letters */
@keyframes letterRegenerate {
    0% {
        opacity: 0;
        transform: scale(0.2) translateY(60px) rotateX(90deg);
        filter: blur(10px) brightness(0.3);
    }
    40% {
        opacity: 0.5;
        transform: scale(0.7) translateY(20px) rotateX(20deg);
        filter: blur(5px) brightness(0.6);
    }
    70% {
        opacity: 0.9;
        transform: scale(1.1) translateY(-8px) rotateX(-5deg);
        filter: blur(2px) brightness(0.9);
    }
    85% {
        transform: scale(0.95) translateY(3px) rotateX(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg);
        filter: blur(0) brightness(1);
    }
}

@keyframes letterBreathe {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.03) translateY(-2px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeInUp 1s 0.8s ease both;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-right: 5px solid #ff6f21;
    border-bottom: 5px solid #ff6f21;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    border-color: #ff6f21;
    transform: rotate(45deg) scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Vision Section */
.vision-section {
    z-index: 2;
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    min-height: auto;
    align-items: flex-start;
    overflow: visible;
}

.section-content {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.vision-section .section-content {
    padding: 60px 40px 80px 40px;
}

.courses-section .section-content {
    padding-bottom: 60px;
    min-height: calc(3 * 660px + 200px);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
    color: #146387;
    line-height: 1.1;
    position: relative;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff4f01, #ff6f21);
    border-radius: 2px;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 20px;
    align-items: center;
}

.vision-chart {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vision-video {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.chart-item {
    margin-bottom: 30px;
}

.chart-label {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-bar {
    height: 40px;
    background: linear-gradient(90deg, #2E7D32, #4CAF50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-weight: 600;
    animation: expandBar 1s ease both;
}

@keyframes expandBar {
    from { width: 0; }
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}


.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 20px
        );
    opacity: 0.3;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.stat-icon .material-icons-outlined {
    font-size: 3.5rem;
    color: #ff4f01;
    opacity: 1;
    font-weight: 300;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: #666;
}

/* Courses Section */
.courses-section {
    z-index: 3;
    background: #fff;
    border-radius: 0;
    min-height: auto;
    align-items: flex-start;
    overflow: visible;
    height: auto;
}

/* Ensure courses section has enough height for all cards */
.courses-section {
    min-height: calc(3 * 660px + 200px);
}

.course-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    position: relative;
    contain: layout style paint;
}

.course-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    contain: layout style;
}

.course-card {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky overlap effect - each card has higher z-index */
.course-card-wrapper:nth-child(1) .course-card {
    z-index: 1;
}

.course-card-wrapper:nth-child(2) .course-card {
    z-index: 2;
}

.course-card-wrapper:nth-child(3) .course-card {
    z-index: 3;
}

.course-card-wrapper:nth-child(4) .course-card {
    z-index: 4;
}

.course-card-wrapper:nth-child(5) .course-card {
    z-index: 5;
}

.course-card-wrapper:nth-child(6) .course-card {
    z-index: 6;
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.4s ease;
}

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

.course-info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    width: 450px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.course-card:hover .course-info {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Alternate left and right positioning, centered vertically */
.course-card-wrapper:nth-child(odd) .course-info {
    left: 50px;
    transform: translateY(-50%) translateZ(0);
}

.course-card-wrapper:nth-child(even) .course-info {
    right: 50px;
    left: auto;
    transform: translateY(-50%) translateZ(0);
}

.course-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #146387;
    line-height: 1.2;
}

.course-desc {
    font-size: 1rem;
    margin-bottom: 24px;
    color: #666;
    line-height: 1.7;
}

.course-learn-more {
    display: inline-block;
    color: #ff4f01;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.course-learn-more:hover {
    color: #ff6f21;
    border-bottom-color: #ff4f01;
    transform: translateX(4px);
}

/* Partners Section */
.partners-section {
    z-index: 4;
    background: #FFFFFF;
    border-radius: 0;
    box-shadow: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.partner-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.partner-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.partner-desc {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}


/* Services Section */
.services-section {
    z-index: 5;
    background: white;
    border-radius: 40px 40px 0 0;
    min-height: 100vh;
}

.services-intro {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 28px;
    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 600;
    color: #333;
}

/* 3 tiles row 1, 2 centered on row 2 (6-column grid, each tile spans 2) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 24px;
    margin-top: 24px;
}

.service-item {
    grid-column: span 2;
    justify-self: center;
    text-align: center;
    padding: 0;
    transition: transform 0.3s ease;
    border-radius: 20px;
    width: 100%;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item:nth-child(4) {
    grid-column: 2 / 4;
}

.service-item:nth-child(5) {
    grid-column: 4 / 6;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-image {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 4 / 3;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    vertical-align: top;
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 12px 0 0;
    text-align: center;
    color: #146387;
    line-height: 1.35;
    max-width: 100%;
    padding: 0 2px;
}

.service-desc {
    color: #666;
    line-height: 1.7;
    text-align: left;
    flex-grow: 1;
}

/* Inspiration Section */
.inspiration-section {
    z-index: 6;
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    min-height: auto;
    position: relative;
    align-items: flex-start;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.inspiration-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

.inspiration-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    display: block;
    object-fit: cover;
    vertical-align: top;
}

.inspiration-content {
    display: flex;
    flex-direction: column;
}

.inspiration-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.inspiration-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.inspiration-text p {
    margin-bottom: 20px;
}

.inspiration-text p:last-child {
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    z-index: 7;
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    min-height: 100vh;
    position: relative;
}

.team-section .section-content {
    padding-bottom: 60px;
}

.team-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 72px;
    margin-top: 40px;
}

.team-row {
    display: grid;
    gap: 40px;
}

.team-founders {
    grid-template-columns: repeat(2, 1fr);
}

.team-mentors {
    grid-template-columns: repeat(3, 1fr);
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}


.team-photo {
    width: 100%;
    height: 350px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: inline-block;
    transition: transform 0.4s ease;
}

.team-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}

.team-role {
    color: #2E7D32;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.team-bio-short {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: left;
    flex-grow: 1;
    max-height: 140px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.team-bio-short::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.team-card {
    cursor: pointer;
    position: relative;
}

.team-expand-indicator {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.team-card:hover .team-expand-indicator {
    color: #ff4f01;
}

/* Team Modal */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-modal.active {
    display: flex;
    opacity: 1;
}

.team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.team-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.team-modal.active .team-modal-content {
    transform: scale(1) translateY(0);
}

.team-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: all 0.3s ease;
    color: #333;
}

.team-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.team-modal-body {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.team-modal-photo {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.team-modal-info {
    flex: 1;
}

.team-modal-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.team-modal-role {
    color: #2E7D32;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.team-modal-bio {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 25px;
}

.team-modal-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0077b5;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid #0077b5;
}

.team-modal-linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.team-modal-linkedin svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .team-modal-body {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .team-modal-photo {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        font-size: 4rem;
    }
    
    .team-modal-name {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .team-modal-role {
        text-align: center;
    }
    
    .team-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #3a8376 0%, #2d6b60 100%);
    color: white;
    position: relative;
    z-index: 9;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff4f01, transparent);
}

.footer-main {
    padding: 60px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 300px;
    flex-wrap: wrap;
}

.footer-section {
    text-align: left;
    flex: 1 1 280px;
    max-width: 500px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff4f01;
}

.contact-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
}

.contact-person {
    flex: 1 1 0;
    min-width: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border-left: 3px solid #ff4f01;
    transition: all 0.3s ease;
}

.contact-person:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.contact-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.contact-email {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-email:hover {
    color: #ff6f21;
}

.contact-email svg {
    opacity: 0.7;
}

.contact-phone {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.contact-phone:hover {
    color: #ff6f21;
}

.contact-phone svg {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #1a1a1a;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 79, 1, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    color: #ff4f01;
    background: rgba(255, 79, 1, 0.1);
    border-color: #ff4f01;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 79, 1, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 20px 30px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 56px;
    }
    
    .footer-section {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-list {
        flex-direction: column;
    }
    
    .contact-person {
        text-align: left;
        min-width: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Menu backdrop overlay - using body pseudo-element */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
        backdrop-filter: blur(2px);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-content {
        padding-block: 15px;
        padding-inline: 20px;
    }
    
    .logo-img-hero { 
        height: 80px;
    }
    
    .logo-img {
        height: 48px;
        transform: scale(1.55);
        transform-origin: left center;
    }
    .section-title { font-size: 2.5rem; }
    .vision-grid { grid-template-columns: 1fr; }
    .inspiration-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats { grid-template-columns: 1fr; }
    .course-grid { 
        gap: 40px;
    }
    
    .courses-section .section-content {
        min-height: 0;
    }
    
    .course-card {
        height: 500px;
        max-width: 100%;
    }
    
    .course-info {
        width: calc(100% - 40px);
        max-width: 450px;
        top: 50% !important;
        bottom: auto !important;
        left: 20px !important;
        right: auto !important;
        transform: translateY(-50%) !important;
        padding: 30px;
    }
    
    .course-title {
        font-size: 1.8rem;
    }
    
    .course-desc {
        font-size: 1.1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-item,
    .service-item:nth-child(4),
    .service-item:nth-child(5) {
        grid-column: auto;
    }
    .team-founders,
    .team-mentors {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .section-content { padding: 60px 20px; }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nav-content {
        padding-block: 12px;
        padding-inline: 16px;
    }
    
    .logo-img {
        height: 42px;
        transform: scale(1.45);
        transform-origin: left center;
    }
    
    .logo-img-hero {
        height: 64px;
    }
    
    .section-title {
        font-size: 1.85rem;
        margin-bottom: 36px;
    }
    
    .section-title::after {
        bottom: -12px;
        width: 40px;
        height: 3px;
    }
    
    .section-content {
        padding: 40px 16px;
    }
    
    .vision-section .section-content {
        padding: 40px 16px 56px;
    }
    
    .courses-section .section-content {
        min-height: 0;
        padding-bottom: 40px;
    }
    
    .vision-grid {
        gap: 24px;
        margin-top: 24px;
    }
    
    .vision-chart {
        padding: 24px;
    }
    
    .vision-video {
        min-height: 240px;
    }
    
    .chart-label {
        font-size: 1rem;
    }
    
    .chart-bar {
        height: 32px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
    
    .vision-text {
        font-size: 1rem;
    }
    
    .stats {
        gap: 16px;
        margin-top: 24px;
    }
    
    .stat-item {
        padding: 28px 20px;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
    }
    
    .stat-icon .material-icons-outlined {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .course-card {
        height: 420px;
    }
    
    .course-info {
        width: calc(100% - 24px);
        left: 12px !important;
        padding: 20px;
    }
    
    .course-title {
        font-size: 1.45rem;
    }
    
    .course-desc {
        font-size: 0.95rem;
    }
    
    .footer-main {
        padding: 32px 16px 24px;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .footer-section h3 {
        font-size: 1.15rem;
        margin-bottom: 14px;
    }
    
    .footer-bottom {
        padding: 20px 16px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .contact-person {
        padding: 12px;
    }
    
    .contact-name {
        font-size: 0.9rem;
    }
    
    .contact-email,
    .contact-phone {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .scroll-indicator {
        bottom: 24px;
    }
    
    .scroll-arrow {
        width: 32px;
        height: 32px;
        border-right-width: 4px;
        border-bottom-width: 4px;
    }
    
    .team-modal-body {
        padding: 24px 16px;
        gap: 20px;
    }
    
    .team-modal-photo {
        width: 140px;
        height: 140px;
        font-size: 3rem;
    }
    
    .team-modal-name {
        font-size: 1.35rem;
    }
    
    .team-modal-role {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .team-modal-bio {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .team-modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }
    
    .contact-modal {
        max-width: 100%;
        margin: 0 12px;
        border-radius: 16px;
    }
    
    .contact-modal-header {
        padding: 20px 20px 0;
    }
    
    .contact-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .contact-form {
        padding: 20px;
        gap: 14px;
    }
    
    .contact-form label {
        font-size: 0.85rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .contact-form button[type="submit"] {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Contact modal (course pages) */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.contact-modal-overlay.active .contact-modal {
    transform: scale(1);
}
.contact-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.contact-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.contact-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    color: #666;
    transition: background 0.2s, color 0.2s;
}
.contact-modal-close:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}
.contact-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff4f01;
    box-shadow: 0 0 0 3px rgba(255, 79, 1, 0.15);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form button[type="submit"] {
    background: #ff4f01;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.contact-form button[type="submit"]:hover {
    background: #ff6f21;
    transform: translateY(-1px);
}
.contact-form button[type="submit"]:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}
.contact-form-success {
    padding: 16px 0;
    color: #146387;
    font-weight: 600;
    font-size: 1.05rem;
}
.contact-us-btn {
    display: inline-block;
    background: #ff4f01;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact-us-btn:hover {
    background: #ff6f21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 79, 1, 0.3);
}
