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

/* Copyright Protection - Disable text selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Allow text selection in form inputs */
input, textarea, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent image selection and dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

:root {
    --color-bg-main: rgb(250, 249, 248); /* Clean light background */
    --color-bg-secondary: #E3E6E8; /* Pearl Silver */
    --color-accent-blush: #F7D9E1; /* Venus Blush */
    --color-cta: #ed4c02; /* Primary CTA Orange */
    --color-warm-beige: #EADDC8; /* Jupiter’s Warm Beige */
    --color-text: #000000;
    --radius-lg: 14px;
    --radius-md: 10px;
    --shadow-soft: 0 6px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 28px rgba(0,0,0,0.08);
    --spacing-section: clamp(2rem, 4vw, 4rem);
}

body {
    font-family: 'Inter', 'Inter Fallback';
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 400;
    background-color: var(--color-bg-main);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    color: var(--color-text);
    z-index: 1000;
    transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease, border-radius 300ms ease, top 300ms ease;
}

header.nav-floating {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, calc(100% - 3rem));
    background: rgba(224, 231, 235, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 14px;
}

.navbar {
    padding: 0.5rem 2.5rem;
}

.navbar-brand.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text) !important;
    text-decoration: none;
}

.navbar-toggler {
    border-color: rgba(0,0,0,0.2);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(208, 230, 242, 0.5);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 51, 51, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-links {
    gap: 1.5rem;
    list-style: none;
    margin-bottom: 0;
}

.nav-links .nav-link {
    color: var(--color-text) !important;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 0;
}
.nav-links .nav-link:hover {
    color: var(--color-accent-blush) !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
    }
    .nav-links {
        gap: 0;
    }
    .nav-links .nav-link {
        color: var(--color-text);
    }
}

.hero {
    background: rgb(250, 249, 248);
    color: var(--color-text);
    min-height: 520px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero p {
    font-size: 0.95rem;
    margin: 0 0 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img,
.hero-image video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-container {
    display: flex;
    align-items: center;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-split .hero-content {
    text-align: left;
    max-width: none;
}

.hero-visual {
    position: relative;
    height: clamp(280px, 36vw, 420px);
    background-image: url('teacher.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Client logo marquee under hero */
.client-marquee {
    overflow: visible;
    background: linear-gradient(135deg, #fafafa 0%, #f8f9fa 100%);
    padding: 3rem 0;
    position: relative;
}

.client-marquee::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(237, 76, 2, 0.2) 50%, transparent 100%);
}

.client-marquee .container {
    padding-top: 0;
    padding-bottom: 0;
}

.client-marquee-header {
    text-align: center;
    margin-bottom: 2rem;
}

.client-marquee-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #666;
    font-weight: 600;
    margin: 0;
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
}

.client-marquee-label::before,
.client-marquee-label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-cta) 0%, transparent 100%);
}

.client-marquee-label::before {
    left: -45px;
}

.client-marquee-label::after {
    right: -45px;
    background: linear-gradient(90deg, transparent 0%, var(--color-cta) 100%);
}

.client-marquee-inner {
    position: relative;
    background: transparent;
    border: none;
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
}

.client-marquee-inner::before,
.client-marquee-inner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 1;
    pointer-events: none;
}

.client-marquee-inner::before {
	left: 0;
	background: linear-gradient(to right, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
}

.client-marquee-inner::after {
	right: 0;
	background: linear-gradient(to left, #fafafa 0%, rgba(250, 250, 250, 0) 100%);
}

.client-marquee-track {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    animation: marquee-scroll 25s linear infinite;
}

.client-marquee-track:hover {
    animation-play-state: paused;
}

.client-logo-pill {
    min-width: 140px;
    max-width: 160px;
    height: 70px;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(237, 76, 2, 0.12);
    border-color: rgba(237, 76, 2, 0.2);
}

.client-logo-pill img {
    display: block;
    max-height: 36px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
}

.client-logo-pill:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .client-marquee {
        padding: 2rem 0;
    }
    
    .client-marquee-label::before,
    .client-marquee-label::after {
        display: none;
    }
    
    .client-logo-pill {
        min-width: 110px;
        max-width: 130px;
        height: 60px;
        padding: 0.6rem 1.2rem;
    }
    
    .client-logo-pill img {
        max-height: 30px;
    }
}

.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    border: 1px solid rgba(227, 230, 232, 0.6);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.chip i {
    color: #000;
}

.cta-button.pill {
    border-radius: 999px;
    padding: 0.9rem 1.75rem;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 991px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
    .hero-split .hero-content {
        text-align: center;
    }
    .hero-visual {
		height: 320px;
        order: -1;
    }
}

.cta-button {
    display: inline-block;
    background: var(--color-cta);
    color: var(--color-text);
    padding: 0.85rem 2.1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(237, 76, 2, 0.25);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.25rem 0 1.75rem;
}

.cta-button.ghost {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: none;
    position: relative;
}

.cta-button.ghost:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(237, 76, 2, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta-educators {
    background: linear-gradient(135deg, #ed4c02 0%, #ff6b35 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(237, 76, 2, 0.15);
}

.cta-educators:hover {
    background: linear-gradient(135deg, #c0d8eb 0%, #f9fbff 100%);
}

/* Approach section */
.approach-section {
    background: #fff;
    text-align: left;
}

.about-section {
	background: #fff;
	text-align: left;
	margin-top: 0;
	padding-top: 100px;
	min-height: 100vh;
}

/* Reduce top padding for about-section when it's not the first section on homepage */
#institutions.about-section,
.about-section + .about-section {
	padding-top: 0;
	min-height: auto;
}

.about-section .container {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

/* Ensure body background matches about section */
body:has(.about-section) {
    background: #fff;
}

/* Ensure body background matches institutions page */
body:has(.institutions-hero) {
    background: #fff;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    text-align: left;
    color: var(--color-cta);
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.section-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-cta) 0%, #ff6b35 100%);
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    margin-bottom: 0.85rem;
    text-align: left;
    font-weight: 700;
    color: #14151b;
    line-height: 1.2;
}

.section-lead {
    max-width: 820px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5d6e;
    margin-bottom: 2rem;
    text-align: left;
}

.about-body {
    font-size: 0.97rem;
    color: #333;
}

.about-body p {
    margin-bottom: 1rem;
}

/* Why Institutions Trust Ave - styled points */
.trust-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.25rem 1.3rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.trust-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-cta) 0%, #ff6b35 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-point:hover::before {
    transform: scaleY(1);
}

.trust-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 76, 2, 0.1);
    border-color: rgba(237, 76, 2, 0.15);
}

.trust-point-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 76, 2, 0.08) 0%, rgba(237, 76, 2, 0.04) 100%);
    color: var(--color-cta);
    transition: all 0.3s ease;
}

.trust-point:hover .trust-point-icon {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.trust-point-icon i {
    font-size: 1.15rem;
}

.trust-point-text h3 {
    margin: 0 0 0.3rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: #14151b;
}

.trust-point-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #5a5d6e;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .trust-points {
        grid-template-columns: 1fr;
    }
}

.callback-strip {
    text-align: center;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    margin-top: 0;
}

.callback-strip .callback-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.6rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.callback-strip .callback-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    border: 1px solid transparent;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.callback-strip .callback-separator {
    margin: 0 0.6rem;
    color: rgba(15, 23, 42, 0.45);
}

/* Educator callback strip (inside testimonials) */
#testimonials .callback-strip .callback-primary {
    background: var(--color-cta);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

#testimonials .callback-strip .callback-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

#testimonials .callback-strip .callback-secondary {
    color: var(--color-cta);
    border-color: rgba(237, 76, 2, 0.28);
    background: #ffffff;
}

#testimonials .callback-strip .callback-secondary:hover {
    background: rgba(237, 76, 2, 0.06);
}

#testimonials .callback-strip .callback-separator {
    color: rgba(255, 255, 255, 0.7);
}

/* Institutions callback strip (bottom of page) */
section.callback-strip {
    background: var(--color-bg-main);
    border-top: none;
    border-bottom: none;
    padding: 1rem 0;
}

section.callback-strip .container {
    padding: 1rem 1.5rem;
}

section.callback-strip .callback-primary {
    background: #1f2933;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

section.callback-strip .callback-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

section.callback-strip .callback-secondary {
    color: #1f2933;
    border-color: rgba(31, 41, 51, 0.22);
    background: #ffffff;
}

section.callback-strip .callback-secondary:hover {
    background: rgba(31, 41, 51, 0.06);
}

/* Callback modal */
.callback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
    z-index: 1050;
}

.callback-modal.is-open {
    display: flex;
}

.callback-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
}

.callback-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 2rem 2.25rem 2.25rem;
    max-width: 540px;
    width: 100%;
    max-height: 92vh;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
    z-index: 1;
}

/* Landscape layout for educator modal with more fields */
#callback-modal-educator .callback-modal-dialog {
    max-width: 920px;
    padding: 2.5rem 3rem 2.75rem;
}

#callback-modal-educator .callback-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}

#callback-modal-educator .form-actions {
    grid-column: 1 / -1;
}

.callback-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.55);
}

.callback-modal h2 {
    font-size: 1.45rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.callback-modal-subtitle {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.65);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.callback-form .form-row {
    display: flex;
    flex-direction: column;
}

.callback-form label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.callback-form input[type="text"],
.callback-form input[type="email"],
.callback-form input[type="tel"] {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
}

.callback-form input:focus {
    outline: none;
    border-color: var(--color-cta);
    box-shadow: 0 0 0 1px rgba(237, 76, 2, 0.15);
}

.callback-form .form-actions {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-end;
}

.callback-form .required {
    color: #e11d48;
    margin-left: 0.15rem;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 600px) {
    .callback-modal-dialog {
        margin: 0 1rem;
        padding: 1.25rem 1rem 1.5rem;
    }

    .callback-modal h2 {
        font-size: 1.1rem;
    }

    /* Stack educator form fields vertically on mobile */
    #callback-modal-educator .callback-modal-dialog {
        max-width: 100%;
        padding: 1.5rem 1.25rem 1.75rem;
    }

    #callback-modal-educator .callback-form {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
}

/* Approach Steps - Horizontal Single Row */
.approach-steps {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(250,249,248,0.8) 100%);
    border-radius: 18px;
    border: 1px solid rgba(237, 76, 2, 0.08);
}

.approach-step {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}

.approach-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(237, 76, 2, 0.1);
    border-color: rgba(237, 76, 2, 0.2);
}

.approach-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}

.approach-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #14151b;
    line-height: 1.3;
}

.approach-step-text {
    font-size: 0.9rem;
    color: #5a5d6e;
    line-height: 1.6;
    margin: 0;
}

.approach-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-cta);
    font-weight: 300;
    flex: 0 0 auto;
}

/* Legacy approach grid styles (keep for other pages if needed) */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.approach-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-main) 100%);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    height: 100%;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(237, 76, 2, 0.08);
    border-color: rgba(237, 76, 2, 0.15);
}

.approach-card::after {
    display: none;
}

.approach-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    color: #14151b;
    font-weight: 600;
}

.approach-card p {
    margin: 0;
    font-size: 0.97rem;
    position: relative;
    z-index: 2;
    color: #5a5d6e;
    line-height: 1.65;
}

.approach-card-body {
	flex: 1 1 auto;
	position: relative;
    z-index: 2;
}

.approach-card-image {
    position: relative;
	flex: 0 0 38%;
	min-height: 140px;
	border-radius: 12px;
	background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 1;
    mask-image: none;
    -webkit-mask-image: none;
    transition: transform 0.3s ease;
}

.approach-card:hover .approach-card-image {
    transform: scale(1.02);
}

.approach-card-image--interview {
    background-image: url('How_We_Elevate_Educators/interview.jpg');
}

.approach-card-image--cv {
    background-image: url('How_We_Elevate_Educators/cv_cover_letter.jpg');
}

.approach-card-image--spoken {
    background-image: url('How_We_Elevate_Educators/spoken_english.jpg');
}

.approach-card-image--community {
    background-image: url('How_We_Elevate_Educators/community.jpg');
}

@media (max-width: 768px) {
    .approach-steps {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .approach-step-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
        margin: 0;
    }

    .approach-card {
        flex-direction: column;
    }

    .approach-card-image {
        flex-basis: auto;
        width: 100%;
        min-height: 180px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 10rem 3.5rem;
    width: 100%;
}

section {
    margin-bottom: calc(var(--spacing-section) * 0.5);
}

/* Center key sections for a focused layout */
section,
.services-grid,
.pipeline,
.testimonials,
.gallery,
.cta-section,
#contact {
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--color-text);
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--color-bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(227, 230, 232, 0.5);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    margin-top: 0;
}

ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.pipeline {
    background: var(--color-bg-secondary);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    border: 1px solid rgba(227, 230, 232, 0.5);
}

.pipeline ol {
    margin-left: 2rem;
}

.pipeline li {
    margin-bottom: 1rem;
    font-weight: 500;
}

.clients-section {
    background: var(--color-bg-main);
    overflow: hidden;
}

.clients-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.clients-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.clients-slider {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.clients-slider::-webkit-scrollbar {
    display: none;
}

.clients-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.clients-track {
    display: flex;
    gap: 3rem;
    width: fit-content;
    justify-content: center;
    padding: 0 1rem;
}

.client-item {
    flex-shrink: 0;
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.client-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.client-logo {
    width: 80px;
    height: 80px;
    background: var(--color-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.client-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.clients-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.client-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.client-dot:hover {
    background: var(--color-accent-blush);
    transform: scale(1.2);
}

.client-dot.active {
    background: var(--color-cta);
    transform: scale(1.3);
}

.testimonials {
    background: var(--color-warm-beige);
    border-radius: 10px;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Horizontal testimonials carousel */
.testimonial-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 0 0.5rem;
}

.testimonial-card {
    min-width: clamp(280px, 60vw, 360px);
    scroll-snap-align: start;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: rgba(0,0,0,0.25);
    opacity: 1;
    position: absolute;
    top: 0;
    left: 1rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-accent-blush);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

/* Dark testimonials section */
.testimonials-section.testimonials-dark {
    background: linear-gradient(135deg, #1a1b23 0%, #14151b 100%);
    color: #f5f5f6;
    position: relative;
    overflow: hidden;
}

.testimonials-section.testimonials-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(237, 76, 2, 0.3) 50%, transparent 100%);
}

.testimonials-section.testimonials-dark .section-kicker,
.testimonials-section.testimonials-dark .section-title {
    text-align: center;
}

.testimonials-section.testimonials-dark .section-kicker {
    color: rgba(237, 76, 2, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.testimonials-section.testimonials-dark .section-title {
    color: #e1e2ea;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.testimonials-dark .testimonial-card {
    background: rgba(31, 33, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.testimonials-dark .testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 4rem;
    color: rgba(237, 76, 2, 0.15);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonials-dark .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 76, 2, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.testimonials-dark .testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #e1e2ea;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonials-dark .testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials-dark .testimonial-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.testimonials-dark .testimonial-role {
    font-size: 0.85rem;
    color: #a0a3b8;
}

/* Institutions Empowerment Section */
.institutions-empowerment {
    background: var(--color-bg-main);
}

.institutions-empowerment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.empowerment-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.empowerment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cta) 0%, #ff6b35 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.empowerment-card:hover::before {
    transform: scaleX(1);
}

.empowerment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(237, 76, 2, 0.12);
    border-color: rgba(237, 76, 2, 0.2);
}

.empowerment-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(237, 76, 2, 0.1) 0%, rgba(237, 76, 2, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.empowerment-card:hover .empowerment-icon {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    transform: scale(1.05);
}

.empowerment-icon i {
    font-size: 1.5rem;
    color: var(--color-cta);
    transition: color 0.3s ease;
}

.empowerment-card:hover .empowerment-icon i {
    color: #ffffff;
}

.empowerment-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #14151b;
    margin-bottom: 0.75rem;
}

.empowerment-description {
    color: #5a5d6e;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .institutions-empowerment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .empowerment-card {
        padding: 1.75rem 1.5rem;
    }
}

.gallery {
    width: 100%;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}

.gallery-item:nth-child(1) .gallery-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-item:nth-child(2) .gallery-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gallery-item:nth-child(3) .gallery-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gallery-item:nth-child(4) .gallery-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gallery-item:nth-child(5) .gallery-placeholder {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gallery-item:nth-child(6) .gallery-placeholder {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Auto-show overlay on mobile when in viewport */
.gallery-item.in-view .gallery-overlay {
    transform: translateY(0);
}

@media (min-width: 1025px) {
    /* On desktop, remove auto-show effect to keep hover-only */
    .gallery-item.in-view .gallery-overlay {
        transform: translateY(100%);
    }
    
    .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
    }
}

.gallery-overlay h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.gallery-overlay p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-section {
    background: var(--color-cta);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-secondary {
    background: white;
    color: var(--color-text);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 1px solid var(--color-bg-secondary);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    background: var(--color-accent-blush);
    border-color: var(--color-accent-blush);
}

#contact {
    text-align: center;
}

#contact h2 {
    margin-bottom: 1rem;
}

#contact > p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--color-bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: left;
    border: 1px solid rgba(227, 230, 232, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-bg-secondary);
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-cta);
}

button[type="submit"] {
    width: 100%;
    background: var(--color-cta);
    color: var(--color-text);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

button[type="submit"]:hover {
    background: var(--color-accent-blush);
}

/* Educator Page Styles */
.educator-hero {
    background: rgb(250, 249, 248);
    padding: 1.5rem 0 1rem;
    text-align: left;
}

.educator-hero h1 {
    margin-bottom: 1rem;
}

.educator-hero .subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0;
}

.educator-hero .tagline {
    margin-top: 0.5rem;
	max-width: 640px;
}

.educator-hero-cta {
    margin-top: 1.75rem;
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    box-shadow: 0 6px 18px rgba(237, 76, 2, 0.25);
    position: relative;
    overflow: hidden;
}

.educator-hero-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.educator-hero-cta:hover::before {
    width: 400px;
    height: 400px;
}

.educator-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(237, 76, 2, 0.35);
}

.educator-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
}

.educator-hero-content {
	max-width: 640px;
}

.educator-hero-visual {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

/* Educator Collage Layout */
.educator-collage {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 480px;
    margin: 0 auto;
}

.collage-image {
    position: absolute;
    overflow: hidden;
    background: #e8e8e8;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collage-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(237, 76, 2, 0.18);
    z-index: 10;
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Image 1 – Large left, portrait */
.collage-image-1 {
    width: 240px;
    height: 320px;
    top: 30px;
    left: 0;
    border-radius: 120px 120px 40px 120px;
    z-index: 3;
}

/* Image 2 – Top right, smaller portrait */
.collage-image-2 {
    width: 200px;
    height: 195px;
    top: 0;
    right: 20px;
    border-radius: 100px 100px 40px 100px;
    z-index: 2;
}

/* Image 3 – Bottom right, portrait */
.collage-image-3 {
    width: 215px;
    height: 275px;
    bottom: 0;
    right: 10px;
    border-radius: 40px 40px 110px 40px;
    z-index: 3;
}

/* Decorative accent circles */
.educator-collage::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(237, 76, 2, 0.1), rgba(255, 107, 53, 0.08));
    border-radius: 50%;
    top: -15px;
    right: 0px;
    z-index: 0;
}

.educator-collage::after {
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(237, 76, 2, 0.07), rgba(255, 107, 53, 0.05));
    border-radius: 50%;
    bottom: -10px;
    left: -10px;
    z-index: 0;
}

.educator-stats {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.educator-stats .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 249, 248, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.educator-stats .stat-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cta) 0%, #ff6b35 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.educator-stats .stat-item:hover::before {
    transform: scaleX(1);
}

.educator-stats .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(237, 76, 2, 0.12);
    border-color: rgba(237, 76, 2, 0.2);
}

.educator-stats .stat-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: #666;
    font-weight: 600;
}

.educator-stats .stat-value {
    font-weight: 700;
    color: #14151b;
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    .educator-hero-layout {
        grid-template-columns: 1fr;
    }

    .educator-hero {
        text-align: center;
    }

    .educator-hero .subtitle {
        margin: 0 auto;
    }

    .educator-stats {
        justify-content: center;
    }

    .educator-hero-visual {
        min-height: 350px;
    }

    /* Adjust collage for mobile */
    .educator-collage {
        max-width: 320px;
        height: 360px;
    }

    .collage-image-1 {
        width: 180px;
        height: 240px;
        top: 20px;
    }

    .collage-image-2 {
        width: 155px;
        height: 155px;
        right: 10px;
    }

    .collage-image-3 {
        width: 165px;
        height: 210px;
        right: 5px;
    }

    .educator-collage::before,
    .educator-collage::after {
        display: none;
    }
}

.educator-programs-section {
    background: #ffffff;
    text-align: left;
}

.educator-programs-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.program-slides {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-main) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.75rem;
    position: sticky;
    top: 7rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.program-slides::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-cta) 0%, #ff6b35 100%);
}

.program-slides-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-cta);
    margin-bottom: 1.25rem;
    font-weight: 700;
    padding-left: 0.75rem;
}

.program-slide-controls {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.program-slide-number {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background: white;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-slide-number:hover {
    background: rgba(237, 76, 2, 0.08);
    border-color: rgba(237, 76, 2, 0.3);
    transform: translateY(-1px);
}

.program-slide-number.active {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    color: #fff;
    border-color: var(--color-cta);
    box-shadow: 0 4px 12px rgba(237, 76, 2, 0.25);
}

.program-slide-panels {
    min-height: 180px;
    position: relative;
}

.program-slide-panel {
    display: none;
}

.program-slide-panel.active {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Text side */
.slide-text {
    flex: 1;
    min-width: 0;
}

/* Image side */
.slide-img-frame {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.slide-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(237,76,2,0.12) 0%, transparent 60%);
    border-radius: 16px;
    pointer-events: none;
}

.slide-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.program-slide-panel.active .slide-bg-img {
    transform: scale(1.04);
}

.program-slide-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #14151b;
    line-height: 1.3;
}

.program-slide-tagline {
    font-size: 0.95rem;
    color: #5a5d6e;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.program-slide-features {
    margin-left: 1.25rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.program-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.program-list-item {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-main) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.25rem 1.5rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.program-list-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cta) 0%, #ff6b35 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-list-item:hover::before {
    transform: scaleX(1);
}

.program-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(237, 76, 2, 0.1);
    border-color: rgba(237, 76, 2, 0.15);
}

.program-card-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.program-card-media {
    flex: 0 0 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(237, 76, 2, 0.1) 0%, rgba(237, 76, 2, 0.05) 100%);
    border: 1px solid rgba(237, 76, 2, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-list-item:hover .program-card-media::after {
    opacity: 0.15;
}

.program-card-body {
    flex: 1 1 auto;
    text-align: left;
}

.program-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.program-list-item h3 {
    margin: 0;
    font-size: 1rem;
}

.program-card-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #171820;
    white-space: nowrap;
}

.program-card-mode {
    display: inline-block;
    margin-top: 0.45rem;
    margin-bottom: 0.1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-cta);
    background: rgba(237, 76, 2, 0.08);
    border-radius: 50px;
    padding: 0.18rem 0.65rem;
}

.program-list-item ul {
    margin-left: 1.1rem;
    margin-top: 0.35rem;
    font-size: 0.85rem;
}

.feature-desc {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(23, 24, 32, 0.55);
    margin-top: 0.1rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .educator-programs-layout {
        grid-template-columns: 1fr;
    }

    .program-slide-panel.active {
        flex-direction: column;
    }

    .slide-img-frame {
        width: 100%;
        height: 160px;
    }

    .program-slides {
        padding: 1.5rem;
        position: static;
        top: auto;
    }

    .program-card-inner {
        align-items: center;
    }
}

.pricing-section {
    padding: 0 0 1.5rem;
    text-align: left;
}

/* Institutions page */
.institutions-hero {
    background: #ffffff;
    text-align: left;
    margin: 0;
    padding-top: 100px;
    position: relative;
}

.institutions-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: #ffffff;
    z-index: -1;
}

.institutions-hero .container {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.institutions-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.institutions-hero-content h1 {
    font-size: clamp(2rem, 3.1vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.institutions-hero-tagline {
    max-width: 560px;
    margin-bottom: 1.5rem;
    color: #555;
}

.institutions-hero-aside {
    display: flex;
    justify-content: flex-end;
}

.institutions-hero-note {
    background: var(--color-bg-main);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    max-width: 320px;
}

.institutions-foundation {
    background: #ffffff;
    text-align: left;
}

.institutions-foundation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.institutions-block {
    background: linear-gradient(135deg, #fafafa 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 2rem 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.institutions-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-cta) 0%, #F88D58 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.institutions-block:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.institutions-block:hover::before {
    transform: scaleY(1);
}

.institutions-block-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(237, 76, 2, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.institutions-block-icon i {
    font-size: 1.4rem;
    color: var(--color-cta);
}

.institutions-block h2 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    font-weight: 600;
    color: #111827;
}

.institutions-block p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.institutions-offerings {
    background: #f5f4f2;
    text-align: left;
}

.institutions-offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.institutions-offer {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.institutions-offer:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
    border-color: rgba(237, 76, 2, 0.2);
}

.institutions-offer-number {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(237, 76, 2, 0.08);
    line-height: 1;
}

.institutions-offer-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(237, 76, 2, 0.1) 0%, rgba(248, 141, 88, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.institutions-offer-icon i {
    font-size: 1.6rem;
    color: var(--color-cta);
}

.institutions-offer h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #111827;
}

.institutions-offer p {
    margin: 0;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
}

.institutions-why {
	background: linear-gradient(135deg, #fafafa 0%, #f4f6f8 100%);
	text-align: left;
}

.institutions-why-header {
	text-align: left;
	max-width: none;
	margin: 0 0 2.5rem;
}

.institutions-why-intro {
	margin: 0.75rem 0 0;
	font-size: 1rem;
	color: #4b5563;
	max-width: none;
}

.institutions-why-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.institutions-why-feature {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	padding: 1.75rem 1.5rem;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.institutions-why-feature::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--color-cta) 0%, #F88D58 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.institutions-why-feature:hover {
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

.institutions-why-feature:hover::before {
	transform: scaleX(1);
}

.institutions-why-feature-icon {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	position: relative;
}

.institutions-why-feature-icon i {
	font-size: 1.5rem;
	color: var(--color-cta);
}

.institutions-why-feature h3 {
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
	font-weight: 600;
	color: #111827;
}

.institutions-why-feature p {
	margin: 0;
	font-size: 0.92rem;
	color: #4b5563;
	line-height: 1.6;
}

.institutions-trust {
    background: #f5f4f2;
    text-align: left;
}

.institutions-contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 1.75rem 2rem;
}

.institutions-contact {
    text-align: left;
}

@media (max-width: 992px) {
    .institutions-hero-layout {
        grid-template-columns: 1fr;
    }

    .institutions-hero-aside {
        justify-content: flex-start;
    }

    .institutions-foundation-grid,
    .institutions-offerings-grid,
    .institutions-why-features {
        grid-template-columns: 1fr;
    }

    .institutions-contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Educators – comparison table */
.pricing-compare-header {
    text-align: center;
    margin-bottom: 1.75rem;
    position: relative;
}

.pricing-compare-header::after {
    content: "";
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cta) 0%, #ff6b35 100%);
    border-radius: 2px;
}

.pricing-compare-title {
    font-size: clamp(1.75rem, 2.4vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    color: #14151b;
}

.pricing-compare-subtitle {
    color: #5a5d6e;
    margin: 0;
    font-size: 1.05rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(23, 24, 32, 0.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.comparison-table thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.comparison-table th,
.comparison-table td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(23, 24, 32, 0.08);
    vertical-align: middle;
    font-size: 0.85rem;
}

.comparison-table thead th {
    font-weight: 700;
    color: #171820;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 12px;
    padding-bottom: 12px;
}

.comparison-table tbody th,
.comparison-table thead th:first-child {
    width: 44%;
    text-align: left;
}

.comparison-table td {
    text-align: center;
}

.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:nth-child(odd) {
    background: rgba(23, 24, 32, 0.02);
}

.comparison-table tbody tr:hover {
    background: rgba(237, 76, 2, 0.04);
}

.comparison-table .comparison-price-row th,
.comparison-table .comparison-price-row td {
    font-weight: 700;
}

.comparison-table .is-yes {
    color: #1f9d55;
    font-size: 1rem;
}

.comparison-table .is-no {
    color: rgba(23, 24, 32, 0.28);
    font-size: 0.95rem;
}

.comparison-table tfoot td {
    background: #fff;
}

.comparison-table tfoot th,
.comparison-table tfoot td {
    border-bottom: none;
}

/* Row highlight when plan is selected */
.comparison-table tbody tr.row-highlighted {
    background: rgba(237, 76, 2, 0.07) !important;
}
.comparison-table tbody tr.row-highlighted th {
    color: #111;
    font-weight: 600;
}

/* ── Pricing pills above table ── */
.pricing-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.pricing-pill {
    background: #fff;
    border: 1.5px solid rgba(23,24,32,0.12);
    border-radius: 14px;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    min-width: 130px;
    max-width: 200px;
    position: relative;
    transition: all 0.25s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pricing-pill:hover {
    border-color: var(--color-cta);
    box-shadow: 0 4px 16px rgba(237,76,2,0.12);
    transform: translateY(-2px);
}

.pricing-pill.active {
    border-color: var(--color-cta);
    background: linear-gradient(135deg, rgba(237,76,2,0.06) 0%, rgba(255,107,53,0.04) 100%);
    box-shadow: 0 4px 20px rgba(237,76,2,0.15);
}

.pill-featured {
    border-color: var(--color-cta);
    background: linear-gradient(135deg, rgba(237,76,2,0.05) 0%, rgba(255,107,53,0.03) 100%);
}

.pill-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-cta);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    white-space: nowrap;
}

.pill-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pill-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pill-cta {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-cta);
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pricing-pill:hover .pill-cta,
.pricing-pill.active .pill-cta {
    opacity: 1;
}

/* Get Started button below comparison table */
.table-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.table-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.pricing-card-featured {
    background: linear-gradient(135deg, #D0E6F2 0%, rgba(247, 217, 225, 0.4) 100%);
    border-color: var(--color-cta);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-cta);
    color: var(--color-text);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 1rem;
    text-align: center;
}

.pricing-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.period {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--color-cta);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features-group {
    text-align: left;
}

.pricing-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin: 0 0 0.25rem;
}

.pricing-features-missing li {
    color: #777;
}

.pricing-features-missing i {
    color: #ccc;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.5rem;
    border: 2px solid var(--color-cta);
    background: white;
    color: var(--color-cta);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    color: #ffffff;
    border-color: var(--color-cta);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(237, 76, 2, 0.25);
}

.pricing-cta-featured {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    border-color: var(--color-cta);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(237, 76, 2, 0.2);
}

.pricing-cta-featured:hover {
    background: linear-gradient(135deg, #d94402 0%, #ff6b35 100%);
    border-color: #d94402;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 76, 2, 0.3);
}

.educator-hero,
.pricing-section {
    margin-bottom: 1.5rem;
}

.educator-hero .container,
.pricing-section .container {
    padding-top: 5.5rem;
    padding-bottom: 1rem;
}

/* Educator Testimonials Section */
.educator-testimonials-section {
    background: var(--color-bg-main);
    padding: 2.5rem 0 4rem;
    text-align: left;
}

.educator-testimonials-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
}

.educator-testimonials-track-outer {
    overflow: hidden;
    flex: 1;
}

.educator-testimonials-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
}

.edu-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.edu-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.edu-slider-dot.active {
    background: var(--color-cta);
    transform: scale(1.3);
}

.edu-slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(237, 76, 2, 0.3);
    background: #fff;
    color: var(--color-cta);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.edu-slider-btn:hover {
    background: var(--color-cta);
    color: #fff;
    border-color: var(--color-cta);
}

.edu-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.educator-testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Slider: show 3 cards at once */
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
    position: relative;
}

.educator-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-cta);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.educator-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(237, 76, 2, 0.1);
}

.educator-testimonial-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(237, 76, 2, 0.15);
    flex-shrink: 0;
}

.educator-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.educator-testimonial-quote {
    font-size: 0.93rem;
    line-height: 1.75;
    color: #444;
    margin: 0;
    flex: 1;
}

.educator-testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.educator-testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #14151b;
}

.educator-testimonial-role {
    font-size: 0.8rem;
    color: var(--color-cta);
}

@media (max-width: 768px) {
    .educator-testimonial-card {
        flex: 0 0 100%;
    }

    .educator-testimonials-section {
        padding: 3.5rem 0 3rem;
    }

    .edu-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* Educator CTA Section */
.educator-cta-section {
    background: linear-gradient(135deg, #fafafa 0%, #f8f9fa 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.educator-cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(237, 76, 2, 0.2) 50%, transparent 100%);
}

.educator-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.educator-cta-title {
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #14151b;
    margin-bottom: 1.75rem;
    line-height: 1.3;
}

.educator-cta-button {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff6b35 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    box-shadow: 0 6px 18px rgba(237, 76, 2, 0.25);
    font-size: 1rem;
}

.educator-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(237, 76, 2, 0.35);
}

@media (max-width: 768px) {
    .educator-cta-section {
        padding: 3rem 0;
    }
    
    .educator-cta-title {
        margin-bottom: 1.5rem;
    }
}

/* Responsive Pricing */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card-featured {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-featured {
        grid-column: auto;
        max-width: 100%;
    }

    .educator-hero {
        padding: 3rem 0 2rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }
}

footer {
    background: var(--color-bg-secondary);
    color: var(--color-text);
    text-align: center;
    padding: 0.9rem 1rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

footer .container {
    padding: 0.75rem 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    color: var(--color-text);
    font-size: 1.1rem;
}

.footer-social a:hover {
    color: var(--color-cta);
}

/* Minimal motion & reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Subtle shimmer for hero CTA */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 800ms ease;
}

.cta-button:hover::after {
    left: 140%;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Tablet and below */
@media (max-width: 1024px) {
    .container {
        padding: 3rem 1.5rem;
    }

    .services-grid,
    .testimonial-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .navbar {
        padding: 1rem;
    }

    .navbar-brand.logo {
        display: flex;
        align-items: center;
        padding: 0;
    }

    .brand-image {
        /* height: 40px; */
        /* width: 1px; */
        display: block;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
        background-attachment: scroll;
    }

    .client-marquee-inner {
        width: 100%;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
    }

    .container {
        padding: 2rem 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .pipeline {
        padding: 1.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonials {
        padding: 2rem 1rem;
    }

    .testimonials h2 {
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-secondary {
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    input, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    section {
        margin-bottom: 2rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cta-button,
    .cta-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .service-card,
    .testimonial-card,
    .pipeline {
        padding: 1.2rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    .gallery-overlay h3 {
        font-size: 1rem;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-info h4 {
        font-size: 0.95rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1.5rem;
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        text-align: left;
    }

    .hero-image {
        order: 0;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}
