:root {
    --primary: #1E73BE;
    --accent: #FFC107;
    --background: #f5f7fb;
    --surface: #ffffff;
    --text: #1f2630;
    --muted: #6c757d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: var(--background);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
}

a:hover {
    color: #175a9f;
}

.navbar {
    background: rgba(255, 255, 255, 0.96) !important;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
}

.nav-logo {
    width: clamp(150px, 14vw, 182px);
    height: auto;
    object-fit: contain;
    max-height: 64px;
    border-radius: 0;
    background: transparent;
}

.footer-logo {
    width: clamp(160px, 16vw, 198px);
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link {
    color: #5d6876;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary);
}

.btn-primary,
.btn-enroll {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(30, 115, 190, 0.16);
}

.btn-primary:hover,
.btn-enroll:hover {
    background-color: #155b97;
    border-color: #155b97;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: rgba(30, 115, 190, 0.9);
}

.btn-outline-primary:hover {
    background: rgba(30, 115, 190, 0.08);
}

section {
    padding: 80px 0;
}

.hero,
.hero-section {
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(30, 115, 190, 0.12), transparent 50%);
    pointer-events: none;
}

.hero h1,
.hero h2,
.hero h3 {
    font-family: 'Poppins', sans-serif;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.02;
}

.hero p {
    font-size: 1.05rem;
    color: var(--muted);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1E73BE;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
}

.hero-card,
.card,
.feature-card,
.testimonial-card,
.category-card,
.teacher-card {
    background: var(--surface);
    border: none;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 2rem;
}

.hero-visual {
    position: relative;
}

.hero-visual .hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-subtitle {
    color: var(--muted);
    max-width: 620px;
}

.feature-card,
.category-card,
.teacher-card,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.category-card:hover,
.teacher-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--primary);
    font-size: 1.4rem;
}

.course-card {
    padding: 2rem;
}

.course-card-premium {
    padding: 0;
    overflow: hidden;
}

.course-card-image-wrap {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.course-card-image {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.teacher-card img {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    object-fit: cover;
    height: 260px;
}

.teacher-card .teacher-avatar img,
.teacher-card img.teacher-photo {
    width: 104px;
    height: 104px;
    border-radius: 50% !important;
    border: 4px solid #fff;
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(19, 44, 77, 0.12);
}

.teacher-card .card-body {
    padding: 1.75rem;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-card p {
    color: #495057;
}

.testimonial-rating {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.cta-banner {
    background: linear-gradient(135deg, #1E73BE, #FFC107);
    color: #fff;
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
}

.cta-banner h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.footer-dark {
    background: #172035;
    color: rgba(255, 255, 255, 0.8);
}

.footer-dark a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-dark a:hover {
    color: #ffc107;
}

.footer-dark .footer-title {
    color: #fff;
    margin-bottom: 1rem;
}

.whatsapp-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.whatsapp-btn::before {
    content: '💬';
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

/* Trust Section Styles */
.trust-item {
    text-align: center;
    padding: 2rem 1rem;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Test Prep Section Styles */
.test-prep .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* About Section Styles */
.about-image img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Teachers Section Styles */
.teacher-avatar {
    margin-bottom: 1.5rem;
}

.teacher-stats {
    margin-top: 1rem;
}

.teacher-stats .stat small {
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .trust-item {
        padding: 1.5rem 0.5rem;
    }

    .trust-icon {
        font-size: 2rem;
    }

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

/* Curriculum Section Styles */
.curriculum-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.curriculum-icon {
    text-align: center;
}

/* Founder Section Styles */
.founder-quote {
    position: relative;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* How It Works Section Styles */
.step-card {
    padding: 2rem 1rem;
}

.step-number {
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(30, 115, 190, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Free Demo Section Styles */
.demo-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.demo-features .feature-icon {
    min-width: 24px;
}

/* Videos Section Styles */
.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-play-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-overlay {
    opacity: 1;
}

.video-thumbnail img {
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-trigger {
    background: transparent;
}

.video-trigger,
.video-trigger:hover {
    color: inherit;
    text-decoration: none;
}

/* Stats Section Styles */
.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Features */
.hero-features .badge {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.hero-badge-static {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1E73BE;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
}

/* CTA Features */
.cta-features .d-flex {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Max width utility */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.footer-links li a {
    text-decoration: none;
}

.cms-rich-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.course-listing-card {
    border-radius: 20px;
}

.standards-page {
    background:
        radial-gradient(circle at top right, rgba(255, 193, 7, 0.18), transparent 25%),
        linear-gradient(180deg, #f9fbff 0%, #f3f7fc 100%);
}

.standards-hero {
    padding: 110px 0 80px;
}

.standards-eyebrow,
.standards-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.standards-hero-copy {
    color: #4f5d6c;
    font-size: 1.05rem;
    max-width: 36rem;
}

.standards-trust {
    row-gap: 0.75rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(17, 37, 63, 0.08);
    color: #35516f;
    font-weight: 600;
}

.standards-hero-visual {
    position: relative;
    padding: 1rem;
}

.hero-glow {
    position: absolute;
    inset: 8% 14% auto auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.25);
    filter: blur(18px);
}

.standards-hero-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 26px 60px rgba(18, 43, 70, 0.16);
}

.standards-hero-card img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.standards-hero-stat {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    background: rgba(17, 37, 63, 0.82);
    color: #fff;
    backdrop-filter: blur(10px);
}

.standards-card {
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 31, 54, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standards-card:hover,
.compliance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 48px rgba(15, 31, 54, 0.14);
}

.standards-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(30, 115, 190, 0.14), rgba(255, 193, 7, 0.18));
    font-size: 1.8rem;
}

.standards-icon-sm {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    border-radius: 16px;
}

.standards-mission {
    padding: 4rem 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, #165b98 0%, #1e73be 50%, #f0ad00 100%);
    box-shadow: 0 26px 60px rgba(22, 91, 152, 0.26);
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
}

.compliance-timeline {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.compliance-timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(30, 115, 190, 0.25), rgba(255, 193, 7, 0.4));
}

.compliance-item {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.compliance-step {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(22, 47, 77, 0.12);
}

.compliance-card {
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 31, 54, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compliance-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    color: #4f5d6c;
}

.compliance-list li:last-child {
    margin-bottom: 0;
}

.compliance-list li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.18);
}

.penalty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.2);
    color: #7a5a00;
    font-weight: 700;
    font-size: 0.92rem;
}

.standards-cta {
    padding: 3.5rem 2rem;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(15, 31, 54, 0.08);
}

.teaching-standards-preview {
    position: relative;
    overflow: hidden;
}

.teaching-standards-preview::before {
    content: '';
    position: absolute;
    inset: auto -5% 0 auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.12), transparent 68%);
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .standards-hero {
        padding: 90px 0 65px;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .navbar .navbar-nav {
        text-align: center;
    }

    .hero::before {
        display: none;
    }

    .standards-hero-card img {
        min-height: 320px;
    }

    .standards-mission,
    .standards-cta {
        padding: 2.5rem 1.25rem;
    }

    .compliance-timeline::before {
        left: 19px;
    }

    .compliance-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 1rem;
    }

    .compliance-step {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.8rem;
    }
}
