﻿html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll on html */
    width: 100%;
    max-width: 100%;
    /* Prevent nested scroll chaining on mobile */
    overscroll-behavior-y: none;
}

/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    max-width: 100vw;
    position: relative;
    overscroll-behavior-y: contain; /* keep scroll with main page */
}

*, *::before, *::after {
    box-sizing: border-box; /* Ensure padding and borders don't add to width */
    max-width: 100%; /* Prevent any element from being wider than viewport */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 0 15px; /* Add padding for mobile */
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    position: relative; /* Needed for canvas positioning */
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #194a7a 0%, #476f95 25%, #7593af 50%, #476f95 75%, #194a7a 100%);
    overflow: hidden; /* Hide anything that goes outside the hero section */
    width: 100%;
    max-width: 100vw;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Place canvas behind content */
    max-width: 100vw;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2; /* Ensure content is above canvas */
    width: 100%;
    max-width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out, subtlePulse 4s ease-in-out infinite 2s;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.hero-title-line {
    display: block;
}

@media (min-width: 769px) {
    .hero-title-line {
        display: inline;
    }
    
    .hero-title-line:first-child::after {
        content: " ";
    }
}

.hero p {
    font-size: 1.2rem;
    margin: 0 auto 2.75rem;
    max-width: 720px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
    color: rgba(255, 255, 255, 0.82);
}

/* Hero CTA Buttons */
.cta-buttons {
    display: flex !important;
    gap: 16px;
    justify-content: center;
    margin-top: 2.5rem;
    position: relative;
    z-index: 999 !important;
    pointer-events: auto;
    visibility: visible !important;
}

.btn-primary {
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #194a7a;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1000 !important;
    pointer-events: auto;
    visibility: visible !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

/* Hero CTA Section */
.hero-cta {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    z-index: 2;
    position: relative;
}

.cta-button {
    position: relative;
    display: inline-block;
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    isolation: isolate;
}

.cta-button .cta-shadow,
.cta-button .cta-edge,
.cta-button .cta-front {
    border-radius: 12px;
}

.cta-button .cta-shadow,
.cta-button .cta-edge {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-button .cta-shadow {
    background: linear-gradient(180deg, rgba(9, 25, 45, 0.35), rgba(12, 35, 63, 0.45));
    transform: translateY(6px);
    filter: blur(0.6px);
    transition: transform 280ms cubic-bezier(0.3, 0.7, 0.4, 1.2);
    z-index: -2;
}

.cta-button .cta-edge {
    background: linear-gradient(150deg, hsl(213, 55%, 26%) 0%, hsl(215, 62%, 22%) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: -1;
}

.cta-button .cta-front {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 38px;
    background: linear-gradient(140deg, #77b4f8 0%, #4d86cf 45%, #2d5b94 100%);
    color: #ffffff;
    transform: translateY(-6px);
    transition: transform 280ms cubic-bezier(0.3, 0.7, 0.4, 1.2), background 200ms ease;
    text-align: center;
    min-width: 220px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-button:hover .cta-shadow {
    transform: translateY(9px);
}

.cta-button:hover .cta-front {
    transform: translateY(-9px);
    background: linear-gradient(140deg, #8ac6ff 0%, #5d97de 45%, #3266a7 100%);
}

.cta-button:active .cta-shadow {
    transform: translateY(5px);
    transition: transform 80ms ease;
}

.cta-button:active .cta-front {
    transform: translateY(-4px);
    transition: transform 80ms ease;
}

.cta-button:focus-visible .cta-front {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.cta-text {
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.15px;
}

@media (max-width: 640px) {
    .hero p {
        font-size: 1.05rem;
        margin: 0 auto 2.25rem;
    }

    .cta-button .cta-front {
        padding: 16px 28px;
        min-width: 0;
        width: 100%;
    }

    .cta-text {
        font-size: 1.18rem;
    }

    .hero-cta {
        margin-top: 2.5rem;
        gap: 0.75rem;
    }
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1000 !important;
    pointer-events: auto;
    visibility: visible !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 1);
}

/* Enhanced Hero Styles */
.hero-enhanced {
    background: linear-gradient(135deg, #0f2744 0%, #1a3a5c 25%, #2d5a87 50%, #1a3a5c 75%, #0f2744 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 134, 207, 0.6) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: glowFloat1 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(119, 180, 248, 0.5) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: glowFloat2 10s ease-in-out infinite;
}

@keyframes glowFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes glowFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out, badgePulse 3s ease-in-out infinite 2s;
}

.badge-icon {
    display: flex;
    color: #fbbf24;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

/* Enhanced Hero Title */
.hero-enhanced .hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-title-highlight {
    color: rgba(255, 255, 255, 0.95);
    display: block;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #77b4f8 0%, #a8d4ff 50%, #77b4f8 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero CTA Row Layout */
.hero-enhanced .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Call Button */
.hero-call-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.hero-call-button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-8deg); }
    20% { transform: rotate(8deg); }
    30% { transform: rotate(-8deg); }
    40% { transform: rotate(8deg); }
    50%, 100% { transform: rotate(0deg); }
}

.call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.call-label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.call-number {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Trust Signals */
.hero-trust-signals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Mobile Responsive for Enhanced Hero */
@media (max-width: 768px) {
    .hero-enhanced .hero-title {
        font-size: 2.5rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .hero-glow-1, .hero-glow-2 {
        width: 300px;
        height: 300px;
        filter: blur(60px);
    }

    .hero-enhanced .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 10px;
    }

    .hero-call-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-trust-signals {
        gap: 1rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-enhanced .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .hero-trust-signals {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
}

.faq h2 {
    text-align: center;
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #7bb3f0);
    border-radius: 2px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e8ecf0;
    transition: all 0.3s ease;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-item:hover {
    background: rgba(74, 144, 226, 0.02);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.05);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #4a90e2;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(248, 249, 252, 0.5);
}

.accordion-body.active {
    max-height: none !important;
    padding: 1.5rem 2rem 2rem 2rem;
}

.accordion-body p {
    margin: 0.5rem 0;
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0 0.5rem;
}

/* Animation for smooth reveal */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-body.active p {
    animation: fadeInDown 0.3s ease 0.1s both;
}

/* Mobile responsiveness for FAQ */
@media (max-width: 768px) {
    .faq {
        padding: 3rem 0;
    }
    
    .faq h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .accordion {
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .accordion-header {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .accordion-body.active {
        max-height: none !important;
        padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    }
}

/* Enhanced FAQ Styles */
.faq-enhanced {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-enhanced h2 {
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.faq-enhanced h2::after {
    display: none;
}

.faq-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 450px;
    margin: 0 auto;
}

.faq-enhanced .accordion {
    max-width: 720px;
    margin: 0 auto;
}

.faq-enhanced .accordion-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-enhanced .accordion-item:hover {
    border-color: #cbd5e1;
}

.faq-enhanced .accordion-item.active {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}

.faq-enhanced .accordion-header {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-enhanced .accordion-header::after {
    display: none !important;
}

.accordion-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 50%;
    color: #3b82f6;
    transition: all 0.2s;
}

.faq-enhanced .accordion-item.active .accordion-icon {
    background: #3b82f6;
    color: #fff;
}

.accordion-question {
    flex: 1;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.4;
}

.accordion-chevron {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.2s;
}

.faq-enhanced .accordion-item.active .accordion-chevron {
    background: #3b82f6;
    color: #fff;
    transform: rotate(180deg);
}

.faq-enhanced .accordion-body {
    display: none;
    padding: 0 20px 20px 72px;
    border-top: 1px solid #f1f5f9;
}

.faq-enhanced .accordion-item.active .accordion-body {
    display: block;
}

.faq-enhanced .accordion-body p {
    margin: 0;
    padding-top: 16px;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq-enhanced {
        padding: 3.5rem 0;
    }

    .faq-enhanced .accordion {
        margin: 0 1rem;
    }

    .faq-enhanced .accordion-header {
        padding: 16px;
        gap: 12px;
    }

    .accordion-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .accordion-icon svg {
        width: 16px;
        height: 16px;
    }

    .accordion-question {
        font-size: 0.95rem;
    }

    .accordion-chevron {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .faq-enhanced .accordion-body {
        padding: 0 16px 16px 62px;
    }

    .faq-enhanced .accordion-body p {
        padding-top: 14px;
    }
}

/* New FAQ Section Styles */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-section-header h2 {
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: none;
}

.faq-section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-accordion:hover {
    box-shadow: 0 4px 16px rgba(71, 111, 149, 0.12);
    border-color: #cbd5e1;
}

.faq-accordion.expanded {
    border-color: #476f95;
    box-shadow: 0 8px 24px rgba(71, 111, 149, 0.15);
}

.faq-question-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.faq-accordion:hover .faq-question-wrapper,
.faq-accordion.expanded .faq-question-wrapper {
    background-color: #f8fafc;
}

.faq-question-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.faq-q-mark {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #476f95;
    padding: 20px;
    padding-right: 0;
    min-width: 50px;
}

.faq-question-text {
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
    padding: 20px;
    margin: 0;
    transition: color 0.2s ease;
}

.faq-accordion:hover .faq-question-text,
.faq-accordion.expanded .faq-question-text {
    color: #194a7a;
}

.faq-chevron {
    padding: 20px;
    color: #476f95;
    transition: transform 0.4s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-accordion.expanded .faq-chevron {
    transform: rotate(180deg);
    color: #194a7a;
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #ffffff;
}

.faq-answer-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    padding: 0 24px 24px 70px;
    margin: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 3.5rem 0;
    }

    .faq-section-header h2 {
        font-size: 1.8rem;
    }

    .faq-section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .faqs-container {
        margin: 0 1rem;
    }

    .faq-accordion {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .faq-q-mark {
        font-size: 1.1rem;
        padding: 16px;
        padding-right: 0;
        min-width: 42px;
    }

    .faq-question-text {
        font-size: 0.95rem;
        padding: 16px;
        padding-left: 12px;
    }

    .faq-chevron {
        padding: 16px;
    }

    .faq-chevron svg {
        width: 20px;
        height: 20px;
    }

    .faq-answer-text {
        font-size: 0.95rem;
        padding: 0 16px 20px 54px;
        padding-top: 16px;
    }
}

@media (max-width: 480px) {
    .faq-section-header h2 {
        font-size: 1.5rem;
    }

    .faq-q-mark {
        font-size: 1rem;
        padding: 14px;
        padding-right: 0;
        min-width: 38px;
    }

    .faq-question-text {
        font-size: 0.9rem;
        padding: 14px;
        padding-left: 10px;
    }

    .faq-chevron {
        padding: 14px;
    }

    .faq-answer-text {
        padding: 0 14px 18px 48px;
        padding-top: 14px;
        font-size: 0.9rem;
    }
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: #f9f9f9;
}

.reviews h2 {
    text-align: center;
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.reviews h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #7bb3f0);
    border-radius: 2px;
}

.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.review-slide {
    display: none;
    text-align: center;
    padding: 2rem 2rem 3.5rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
    height: 320px;
    overflow: hidden;
}

.review-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.review-slide p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1workshoprem;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 170px;
}

.review-slide span {
    font-weight: bold;
    color: rgba(71, 111, 149, 0.85); /* slightly lighter blue */
    font-size: 1rem;
    position: absolute;
    bottom: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    text-align: center;
}

/* Subtle blue course label at top-right of review */
.review-slide .course-label {
    font-size: 0.75rem;
    color: rgba(71, 111, 149, 0.75);
    background: rgba(71, 111, 149, 0.06);
    border: 1px solid rgba(71, 111, 149, 0.15);
    border-radius: 5px;
    padding: 2px 6px;
    position: absolute;
    top: 12px;
    right: 12px;
    font-weight: 600;
    font-family: inherit;
}

/* Submit review button styling */
.submit-review-btn {
    display: inline-block;
    font-size: 0.9rem;
    color: #476f95;
    background: rgba(71, 111, 149, 0.05);
    border: 1px solid rgba(71, 111, 149, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    background: rgba(71, 111, 149, 0.1);
    border-color: rgba(71, 111, 149, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71, 111, 149, 0.15);
}

.reviews-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0.5rem 0;
}

.review-prev, .review-next {
    background: #476f95;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-prev:hover, .review-next:hover {
    background: #194a7a;
    transform: translateY(-2px);
}

.review-dots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background: #476f95;
    transform: scale(1.2);
}

/* Review pause/play button */
.review-pause-play {
    background: transparent;
    color: #476f95;
    border: 2px solid #476f95;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-pause-play:hover {
    background: #476f95;
    color: white;
    transform: translateY(-2px);
}

.review-pause-play svg {
    width: 16px;
    height: 16px;
}

/* Review controls container */
.review-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Review progress bar */
.review-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #476f95;
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10;
    border-radius: 0 0 10px 10px;
}

.reviews-slider.paused .review-progress-bar {
    transition: none;
}

/* Active dot animation */
.review-dot.active::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #476f95;
    z-index: -1;
    opacity: 0.3;
    animation: reviewRipple 2s ease-out infinite;
}

@keyframes reviewRipple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Dynamic Review Modal Styles */
.review-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.55);
    overflow-y: auto;
    padding: 16px;
}

.review-modal-container {
    background: #fff;
    width: fit-content;
    min-width: 320px;
    max-width: min(90vw, 600px);
    margin: 40px auto;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-height: calc(100vh - 80px);
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.review-modal-course {
    font-weight: 700;
    color: #374151;
    font-size: 0.95rem;
    flex: 1;
    margin-right: 16px;
    line-height: 1.3;
}

.review-modal-close {
    font-size: 22px;
    line-height: 1;
    padding: 4px 8px;
    flex-shrink: 0;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.review-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.review-modal-content {
    padding: 18px;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.review-modal-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #111827;
    margin-bottom: 12px;
    word-wrap: break-word;
    hyphens: auto;
}

.review-modal-name {
    font-weight: 600;
    color: #475569;
}

/* Mobile styles for review modal */
@media (max-width: 768px) {
    .review-modal-overlay {
        padding: 8px;
    }
    
    .review-modal-container {
        margin: 20px auto;
        min-width: 280px;
        max-width: 95vw;
    }
    
    .review-modal-header {
        padding: 12px 16px;
    }
    
    .review-modal-content {
        padding: 16px;
    }
    
    .review-modal-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .review-modal-course {
        font-size: 0.9rem;
    }
    
    /* Workshop video thumbnails mobile improvements */
    .workshop-video-section {
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .workshop-video-preview {
        width: 100px !important;
        height: 56px !important;
    }
    
    .workshop-video-thumbnail {
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .workshop-play-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    
    .workshop-video-title {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    
    .workshop-video-thumbnail {
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .workshop-play-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }
    
    .workshop-video-title {
        font-size: 0.8rem !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsive adjustments for reviews */
@media (max-width: 768px) {
    .reviews-slider {
        margin: 0 1rem;
    }
    
    .review-slide {
        padding: 1.5rem 1.5rem 3.5rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .review-slide p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        margin-top: 2rem;
    }
    
    .review-controls {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .reviews-navigation {
        margin-top: 0;
        padding: 0.5rem 1rem;
    }
    
    .review-prev, .review-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .review-pause-play {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .review-pause-play svg {
        width: 14px;
        height: 14px;
    }
    
    .review-dots {
        gap: 0.3rem;
        max-width: calc(100vw - 140px); /* Account for arrow buttons */
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.5rem 0;
    }
    
    .review-dots::-webkit-scrollbar {
        display: none;
    }
    
    .review-dot {
        flex-shrink: 0;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin: 0 auto 2.25rem;
    }
    .review-slide {
        padding: 1.25rem 1.25rem 3.5rem 1.25rem;
        margin: 0;
    }
    
    .review-slide p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        margin-top: 2rem;
    }
}

.reviews .swiper-container {
    width: 100%;
    padding: 2rem 0;
    overflow: visible;
    margin: 0 auto;
}

/* About the Course Section */
.about {
    padding: 4rem 0;
    background: #fff;
}

.about-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about h2 {
    text-align: center;
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #7bb3f0);
    border-radius: 2px;
}

.about-subheading {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.about-video {
    flex: none;
    max-width: 400px;
    position: relative;
    margin: 0 auto;
}

.course-details {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.course-week {
    background: #f9f9f9;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
}

.course-week-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
}

.course-week-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #476f95;
    transition: transform 0.3s ease;
}

.course-week-header.active .toggle-icon {
    transform: rotate(45deg);
}

.course-week-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.course-week-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.about-text {
    flex: 1;
}

.about-video {
    flex: 1;
    max-width: 400px; /* Adjust as needed */
    position: relative;
}

.video-wrapper video {
    width: 100%;
    border-radius: 15px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
    transition: transform 0.4s ease;
}

.video-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    max-width: 300px; /* Making videos smaller */
    margin: 0 auto; /* Centering the smaller videos */
}

.video-wrapper:hover video {
    transform: scale(1.05);
}

.video-wrapper video {
    display: block;
    width: 100%;
}

/* Video thumbnail image styles */
.video-wrapper .video-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.video-wrapper:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
}

.play-button-svg {
    width: 80px;
    height: 80px;
    fill: white;
    transition: transform 0.3s ease;
}

.play-button-container:hover .play-button-svg {
    transform: scale(1.1);
}

.play-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    cursor: pointer;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.play-button-svg .stroke-solid {
    stroke-dashoffset: 0;
    stroke-dasharray: 300;
    stroke-width: 4px;
    transition: stroke-dashoffset 1s ease, opacity 1s ease;
    stroke: #E2E8F0; /* Lighter gray for better visibility */
}

.play-button-svg .stroke-dotted {
    opacity: 0;
    stroke-dasharray: 4, 5;
    stroke-width: 1px;
    transform-origin: 50% 50%;
    animation: spin 4s infinite linear;
    transition: opacity 1s ease, stroke-width 1s ease;
    stroke: #E2E8F0; /* Lighter gray for better visibility */
}

.play-button-svg .icon {
    transform-origin: 50% 50%;
    transition: transform 200ms ease-out;
    fill: #E2E8F0; /* Lighter gray for better visibility */
}

.play-button-container:hover .stroke-solid {
    opacity: 0;
    stroke-dashoffset: 300;
}

.play-button-container:hover .stroke-dotted {
    stroke-width: 4px;
    opacity: 1;
}

.play-button-container:hover .icon {
    transform: scale(1.05);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Video Modal Styles */
.video-modal-container {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s;
}

.video-modal-content {
    position: relative;
    width: 45%; /* 50% smaller than before */
    max-width: 300px; /* 50% of previous 600px */
    animation: zoomIn 0.5s;
}

#modal-video {
    width: 100%;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -45px;
    right: -10px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
    text-align: center;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.about-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

/* My Story Section */
.story {
    padding: 4rem 0;
    background: #f9f9f9;
}

.story .container {
    max-width: 800px;
}

.story h2 {
    text-align: center;
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.story h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #7bb3f0);
    border-radius: 2px;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.story-text {
    flex: 1;
    text-align: left;
}

.story-video {
    flex: 1;
    margin: 0 auto;
    position: relative;
}

.story-video video {
    width: 100%;
    border-radius: 10px;
}

.story p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.video-container {
    margin-top: 2rem;
    position: relative;
}

.video-container video {
    width: 100%;
    max-width: 400px; /* Adjust as needed for portrait video */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* Available Courses Section */
.courses {
    padding: 4rem 0;
    background: #fff;
}

.courses h2 {
    text-align: center;
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.courses h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #7bb3f0);
    border-radius: 2px;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.group-course {
    background: #fff;
    border: 2px solid #f0f0f0;
    order: 1; /* Show first */
}

.other-courses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    order: 2; /* Show after group course */
    margin-top: 1rem;
}

.course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-top-color 0.3s ease;
    border: 1px solid #f1f5f9;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
    border-top-color: #476f95;
}

/* Highlighted card (Very Popular) - no hover line */
.course-card--highlighted:hover {
    border-color: #4e429b;
    border-top-color: transparent;
}

.course-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.course-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.course-card .course-subtitle {
    font-style: italic;
    color: #476f95;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    border-left: 3px solid #476f95;
    padding-left: 12px;
}

.course-card .course-description {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.course-card .course-description:last-of-type {
    margin-bottom: 1.5rem;
}

/* ========================================
   Card Snippet Carousel (for One-to-One card)
   Pause-and-switch animation with white bubbles
   ======================================== */
.card-snippet-carousel {
    margin: 0.75rem 0 1rem;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.snippet-slideshow {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snippet-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.snippet-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.snippet-bubble {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 12px 18px;
    font-size: 0.875rem;
    color: #475569;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.snippet-slideshow:hover .snippet-bubble {
    border-color: #476f95;
    box-shadow: 0 4px 12px rgba(71,111,149,0.12);
}

.snippet-carousel-link {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #476f95;
    text-decoration: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.snippet-carousel-link:hover {
    text-decoration: underline;
    color: #194a7a;
}

/* Empty state */
.card-snippet-carousel.carousel-empty {
    text-align: center;
    padding: 14px 16px;
}

.card-snippet-carousel.carousel-empty span {
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
}

/* Slideshow dots indicator */
.snippet-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.snippet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.snippet-dot.active {
    background: #476f95;
    transform: scale(1.2);
}

/* ========================================
   Group Course Snippets Carousel (Homepage)
   ======================================== */
.group-snippets-carousel {
    position: relative;
    margin: 1.25rem 0;
    padding: 16px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.group-snippets-carousel::before,
.group-snippets-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.group-snippets-carousel::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
}

.group-snippets-carousel::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
}

.group-snippets-track {
    display: flex;
    gap: 12px;
    animation: scroll-group-snippets 35s linear infinite;
    width: max-content;
    padding: 0 8px;
}

.group-snippets-track:hover {
    animation-play-state: paused;
}

.group-snippet-chip {
    flex-shrink: 0;
    padding: 12px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #475569;
    font-style: italic;
    white-space: nowrap;
    max-width: 480px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.group-snippet-chip:hover {
    border-color: #476f95;
    box-shadow: 0 4px 10px rgba(71,111,149,0.12);
    transform: translateY(-1px);
}

.group-snippets-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #476f95;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.group-snippets-link:hover {
    text-decoration: underline;
}

/* Empty state */
.group-snippets-carousel.group-snippets-empty {
    text-align: center;
    padding: 16px;
}

.group-snippets-carousel.group-snippets-empty p {
    color: #94a3b8;
    font-style: italic;
    margin: 0 0 8px;
    font-size: 0.9rem;
}

@keyframes scroll-group-snippets {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for group snippets */
@media (max-width: 768px) {
    .group-snippets-carousel {
        margin: 1rem 0;
        padding: 12px 0;
    }

    .group-snippet-chip {
        padding: 10px 16px;
        font-size: 0.85rem;
        max-width: 380px;
    }

    .group-snippets-carousel::before,
    .group-snippets-carousel::after {
        width: 24px;
    }
}

/* Course card layout improvements */
.course-card {
    display: flex;
    flex-direction: column;
}

.course-content {
    flex-grow: 1;
}

.course-price {
    color: #476f95;
    font-weight: 700;
    float: right;
    font-size: 1.1rem;
}

.group-course {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.group-course:hover {
    border-color: #476f95;
    box-shadow: 0 12px 40px rgba(71, 111, 149, 0.1);
}

/* Calendar Styles */
.calendar-container {
    margin: 1.5rem 0;
    position: relative;
}

/* Ensure navigation buttons are hidden on desktop */
.calendar-nav {
    display: none !important;
}

.calendar-header h4 {
    text-align: center;
    color: #476f95;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.calendar-months {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 1rem;
    justify-content: center;
}

.calendar-months::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.month-calendar {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    flex: 0 0 280px; /* Fixed width, no shrinking */
    min-width: 280px;
    max-width: 280px;
}

/* Calendar Navigation Buttons */
.calendar-nav {
    display: none; /* Hidden on desktop by default */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(71, 111, 149, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hide navigation buttons on desktop screens */
@media (min-width: 769px) {
    .calendar-nav {
        display: none !important;
    }
}

.calendar-nav:hover {
    background: rgba(71, 111, 149, 1);
    transform: translateY(-50%) scale(1.1);
}

.calendar-nav.prev {
    left: -20px;
}

.calendar-nav.next {
    right: -20px;
}

.calendar-nav svg {
    width: 20px;
    height: 20px;
}

.month-header {
    background: #476f95;
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-weight: bold;
    font-size: 1rem;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f5f5f5;
    padding: 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 0.85rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 35px;
}

.calendar-day.header {
    font-weight: bold;
    color: #666;
    background: #f8f9fa;
    cursor: default;
    font-size: 0.75rem;
}

.calendar-day.other-month {
    color: #ccc;
    background: #fafafa;
}

.calendar-day.past-date {
    color: #ccc;
    background: #f9f9f9;
}

.calendar-day.course-date {
    color: white;
    font-weight: bold;
    border: 2px solid transparent;
}

.calendar-day:hover:not(.header):not(.past-date) {
    background: #f0f8ff;
}

/* Course Schedule */
.course-schedule {
    padding: 1rem 0;
}

/* Compact Course Group Styles */
.course-group-compact {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #476f95;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.course-group-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-header-compact {
    flex: 1;
}

.course-header-compact h5 {
    margin: 0 0 0.5rem 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.course-summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.session-count {
    font-weight: 600;
    color: #476f95;
    font-size: 0.9rem;
}

.date-range {
    color: #333;
    font-size: 0.9rem;
}

.schedule-info {
    color: #666;
    font-size: 0.85rem;
}

.course-btn-compact {
    padding: 10px 20px;
    border: 2px solid #476f95;
    background: transparent;
    color: #476f95;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.course-btn-compact:hover:not(:disabled) {
    /* Hover effects handled by JavaScript for dynamic colors */
    transform: translateY(-2px);
}

.course-btn-compact:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Legacy course group styles - kept for backward compatibility */
.course-group {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #476f95;
}

.course-group h5 {
    margin: 0 0 0.25rem 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.color-indicator {
    width: 10px; /* Reduced from 12px */
    height: 10px; /* Reduced from 12px */
    border-radius: 50%;
    display: inline-block;
}

.session-list {
    margin-bottom: 0.75rem; /* Reduced from 1rem */
}

.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0; /* Reduced from 0.5rem */
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem; /* Slightly smaller text */
}

.session-item:last-child {
    border-bottom: none;
}

.session-date {
    font-weight: 500;
    color: #333;
}

.session-time {
    color: #666;
    font-size: 0.85rem; /* Slightly smaller */
}

/* Course Features */
.course-features ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.course-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.course-features li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Course Buttons */
.course-btn {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #476f95;
    background: transparent;
    color: #476f95;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.course-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.course-btn:hover::before {
    left: 100%;
}

.course-btn:hover {
    background: #476f95;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(71, 111, 149, 0.3);
}

.course-btn.primary {
    background: #476f95;
    color: white;
    font-weight: 700;
}

.course-btn.primary:hover {
    background: #194a7a;
    box-shadow: 0 10px 30px rgba(25, 74, 122, 0.4);
}

/* Course Buttons Container */
.course-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
    align-items: center; /* center children when they have fixed width */
}

/* Info Button */
.info-btn {
    width: 100%;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    background: rgba(71, 111, 149, 0.05);
    color: #476f95;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    text-decoration: none;
}

.info-btn::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* Info circle icon (stroke #476f95) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23476f95' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.info-btn:hover::before {
    /* Darker on hover (stroke #194a7a) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.info-btn:hover {
    background: rgba(71, 111, 149, 0.1);
    border-color: #476f95;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(71, 111, 149, 0.15);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(71, 111, 149, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact h2 {
    color: #194a7a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #7bb3f0);
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #476f95;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #476f95, #5a7fb8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.contact-details a {
    color: #476f95;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #194a7a;
    text-decoration: underline;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #476f95, #5a7fb8);
    border-radius: 16px 16px 0 0;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #476f95;
    box-shadow: 0 0 0 3px rgba(71, 111, 149, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #476f95 0%, #5a7fb8 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(71, 111, 149, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(71, 111, 149, 0.4);
    background: linear-gradient(135deg, #194a7a 0%, #476f95 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

/* Form Confirmation */
.form-confirmation {
    display: none;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    margin-top: 1rem;
    animation: slideInUp 0.5s ease;
}

.form-confirmation.show {
    display: block;
}

.confirmation-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.form-confirmation h3 {
    color: #166534;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.form-confirmation p {
    color: #166534;
    margin: 0;
    line-height: 1.6;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-header {
        margin-bottom: 3rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background: #194a7a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #d1dbe4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Mobile Footer Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .footer-links li {
        flex: 0 0 auto;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
        display: block;
        white-space: nowrap;
    }
    
    .footer p {
        font-size: 0.85rem;
        margin: 0;
        text-align: center;
        padding: 0 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .footer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Pop-up Modal Styles */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.popup-content h3 {
    margin-top: 0;
    color: #476f95;
}

.popup-content p {
    line-height: 1.6;
    color: #333;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #333;
}

/* Video Heading */
.video-heading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    color: #476f95;
}

/* About the Course Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.workshop-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workshop-card {
    padding: 1.5rem;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.workshop-card p {
    margin: 1rem 0;
    line-height: 1.6;
}

.workshop-card ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.about-video {
    text-align: center;
}

.video-caption {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content,
    .story-content {
        flex-direction: column;
    }

    .about-video,
    .story-video {
        margin-top: 2rem;
    }

    /* Hero section mobile adjustments */
    .hero {
        padding-left: 20px;
        padding-right: 20px;
        width: 100vw;
        max-width: 100%;
        position: relative;
    }
    
    #particle-canvas {
        width: 100% !important;
        max-width: 100vw;
        left: 0;
        right: 0;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        padding: 0 20px !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
        -moz-hyphens: none !important;
        text-align: center !important;
        max-width: 100% !important;
        white-space: normal !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-title-line {
        display: block !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-title-line:last-child {
        margin-bottom: 0 !important;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 2rem;
        text-align: center;
        max-width: 100%;
    }
}

/* Extra small mobile phones */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem !important;
        padding: 0 15px !important;
    }
    
    .hero-title-line {
        margin-bottom: 0.3rem !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        padding: 0 15px !important;
    }
}

@media (max-width: 768px) {    
    .cta-buttons {
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Reviews section mobile optimization */
    .reviews {
        padding: 2rem 0;
    }

    .reviews h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* Mobile carousel adjustments */
    .reviews .swiper-container {
        width: 100%;
        padding: 1rem 0;
        margin: 0;
        overflow: hidden; /* Prevent horizontal overflow */
    }

    .reviews .swiper-slide {
        width: 280px !important; /* Smaller width for mobile */
        padding: 1.5rem;
        height: 300px; /* Reduced height for mobile */
        min-height: 300px;
        max-height: 300px;
        margin: 0 5px; /* Reduced margin */
    }

    .reviews .swiper-slide p {
        max-height: 170px; /* Adjusted for smaller mobile cards */
        margin-bottom: 0.8rem;
        font-size: 0.9rem; /* Slightly smaller text on mobile */
    }

    /* Navigation buttons for mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }

    /* Mobile video adjustments */
    .video-wrapper {
        max-width: 280px !important; /* Slightly larger for better visibility */
        margin: 0 auto !important;
    }

    .video-wrapper video {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover !important;
        border-radius: 15px !important;
    }

    .video-wrapper .video-thumbnail {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover !important;
        border-radius: 15px !important;
        cursor: pointer !important;
    }

    .play-button-container {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    .play-button-svg {
        width: 60px !important;
        height: 60px !important;
        filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)) !important;
    }

    /* Mobile video modal adjustments */
    .video-modal-content {
        width: 90%;
        max-width: 350px; /* Reasonable size for mobile */
        margin: 0 auto;
    }

    .close-modal {
        top: -40px;
        right: 0;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }

    /* Ensure no horizontal overflow on mobile */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 95%;
        padding: 0 20px;
        max-width: 100%;
    }

    /* Prevent any element from causing horizontal scroll */
    * {
        max-width: 100%;
    }

    /* Fix any potential overflow elements */
    .hero, .about, .story, .courses, .reviews, .faq, .contact {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* About section mobile adjustments */
    .about {
        padding: 1rem 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .about h2 {
        font-size: 2rem;
    }

    .course-week-header {
        padding: 1rem;
    }

    .course-week-header h3 {
        font-size: 1.1rem;
    }

    /* Mobile Calendar Responsive Design - Carousel Style */
    .calendar-container {
        position: relative;
        margin: 1rem 0;
        overflow: hidden;
    }
    
    .calendar-months {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* Show one full calendar plus edges of adjacent ones */
        padding: 0 3rem; /* Space for navigation buttons */
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }
    
    .calendar-months::-webkit-scrollbar {
        display: none;
    }
    
    .month-calendar {
        flex: 0 0 calc(100vw - 10rem); /* Smaller width to avoid arrow overlap */
        min-width: calc(100vw - 10rem);
        max-width: calc(100vw - 10rem);
        scroll-snap-align: center;
        margin-right: 1rem; /* Gap between calendars for peek effect */
    }
    
    .calendar-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative; /* Changed from absolute to relative */
        top: auto; /* Reset top positioning */
        transform: none; /* Remove transform */
        background: rgba(255, 255, 255, 0.9);
        color: #476f95;
        border: 2px solid rgba(71, 111, 149, 0.3);
        border-radius: 20px;
        padding: 8px 12px;
        cursor: pointer;
        z-index: 15;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        font-size: 12px;
        font-weight: 500;
        min-width: 60px;
        text-align: center;
        backdrop-filter: blur(10px);
        margin: 0 5px; /* Add some spacing between buttons */
    }

    .calendar-nav:hover {
        background: rgba(71, 111, 149, 0.1);
        border-color: rgba(71, 111, 149, 0.6);
        transform: scale(1.05);
    }
    
    /* Position navigation buttons between title and calendar */
    .calendar-container {
        position: relative;
    }
    
    .calendar-nav.prev,
    .calendar-nav.next {
        position: static; /* Remove absolute positioning */
        left: auto;
        right: auto;
    }
    
    /* Style the button container on mobile */
    .calendar-container {
        display: flex;
        flex-direction: column;
    }
    
    /* Group the navigation buttons */
    .calendar-nav.prev,
    .calendar-nav.next {
        display: inline-flex;
    }
    
    /* Hide navigation buttons and rearrange layout */
    .calendar-header {
        order: 1;
    }
    
    .calendar-nav {
        order: 2;
        align-self: center;
        margin: 10px 0;
    }
    
    .calendar-months {
        order: 3;
    }
    
    .calendar-nav.prev {
        left: 0.5rem;
    }
    
    .calendar-nav.next {
        right: 0.5rem;
    }
}

/* Mobile Calendar Navigation - Show between title and calendar */
@media (max-width: 768px) {
    .calendar-navigation {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin: 10px 0;
        flex-direction: row; /* Ensure side-by-side layout */
    }
    
    .calendar-nav {
        display: inline-flex !important; /* Use inline-flex for better side-by-side behavior */
        align-items: center;
        justify-content: center;
        position: static !important;
        background: rgba(255, 255, 255, 0.9);
        color: #476f95;
        border: 2px solid rgba(71, 111, 149, 0.3);
        border-radius: 20px;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 500;
        min-width: 70px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        flex-shrink: 0; /* Prevent buttons from shrinking */
    }
    
    .calendar-nav:hover {
        background: rgba(71, 111, 149, 0.1);
        border-color: rgba(71, 111, 149, 0.6);
        transform: scale(1.05);
    }
    
    .calendar-nav.prev,
    .calendar-nav.next {
        position: static;
        left: auto;
        right: auto;
        transform: none;
        width: auto;
        height: auto;
    }
    
    /* Hide buttons when they can't be used */
    .calendar-nav.hidden {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .calendar-months {
        padding: 0 2.5rem; /* Smaller padding on very small screens */
    }
    
    .month-calendar {
        flex: 0 0 calc(100vw - 6rem);
        min-width: calc(100vw - 6rem);
        max-width: calc(100vw - 6rem);
    }
    
    .calendar-nav {
        width: 40px;
        height: 40px;
    }
    
    .calendar-nav.prev {
        left: 0.25rem;
    }
    
    .calendar-nav.next {
        right: 0.25rem;
    }
    
    .calendar-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .calendar-day {
        min-height: 28px;
        font-size: 0.75rem;
    }
    
    .month-header {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Courses section mobile adjustments */
    .courses {
        padding: 2rem 0;
    }

    .courses h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .other-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    .course-card h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .course-buttons-container {
        gap: 6px;
        margin-top: 12px;
    }

    .course-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .info-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .calendar-months {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .month-calendar {
        font-size: 0.8rem;
    }

    .calendar-day {
        font-size: 0.75rem;
        min-height: 30px;
    }

    .calendar-day.header {
        font-size: 0.7rem;
    }

    .month-header {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .course-schedule {
        padding: 0.5rem 0;
    }

    /* Compact course groups for mobile */
    .course-group-compact {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .course-header-compact {
        text-align: center;
    }

    .course-summary {
        align-items: center;
        text-align: center;
    }

    .course-btn-compact {
        width: 100%;
        padding: 12px;
    }

    .course-group {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }

    .session-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem; /* Reduced gap */
        padding: 0.2rem 0;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtlePulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.02);
    }
}

/* About the Course Section */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.workshop-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workshop-card {
    padding: 1.5rem;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.workshop-card p {
    margin: 1rem 0;
    line-height: 1.6;
}

.workshop-card ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.about-video {
    text-align: center;
}

/* Philosophy Section */
.philosophy-section {
    margin: 2rem 0 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(71, 111, 149, 0.03) 0%, rgba(232, 242, 247, 0.5) 100%);
    border-radius: 12px;
    border: 1px solid rgba(71, 111, 149, 0.08);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.philosophy-text h3 {
    color: #476f95;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.philosophy-text p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.philosophy-quote {
    display: flex;
    justify-content: center;
    align-items: center;
}

.einstein-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
}

.einstein-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.einstein-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #476f95;
    box-shadow: 0 4px 12px rgba(71, 111, 149, 0.2);
    transition: transform 0.3s ease;
}

.einstein-image:hover {
    transform: scale(1.05);
}

.einstein-fact {
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.philosophy-quote blockquote {
    margin: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-style: italic;
    color: #34495e;
    line-height: 1.5;
    font-size: 0.9rem;
    border-left: 4px solid #476f95;
    box-shadow: 0 2px 8px rgba(71, 111, 149, 0.1);
}

.philosophy-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #476f95;
    font-weight: 600;
    font-style: normal;
}

@media (max-width: 768px) {
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .philosophy-section {
        margin: 1.5rem 0 3rem 0;
        padding: 1.5rem;
    }
    
    .philosophy-text h3 {
        font-size: 1.2rem;
    }
    
    .einstein-container {
        max-width: 100%;
    }
}

/* ===== NEW WORKSHOP SECTION STYLES ===== */
/* Workshop Grid Layout - Three side-by-side containers */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
    width: 100%;
    align-items: stretch;
    overflow: visible;
    overscroll-behavior: none;
    touch-action: pan-y;
}

@media (max-width: 768px) {
    .workshop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1rem 0;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior: none !important;
    }

    .workshop-container {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior: none !important;
    }

    .workshop-card {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior: none !important;
    }
}

/* Workshop Container - For floating title effect */
.workshop-container {
    position: relative;
    margin-top: 2.5rem; /* Space for floating title */
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    overscroll-behavior: none;
    touch-action: pan-y;
}

/* Floating Title Above Container */
.floating-title {
    position: absolute;
    top: -1.5rem;
    left: 1rem;
    background: #476f95;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(71, 111, 149, 0.3);
    margin: 0;
}

/* Workshop Card Styling - Match website theme */
.workshop-card {
    background: #fff;
    padding: 2.5rem 1.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    overflow: visible;
    overscroll-behavior: none;
    touch-action: pan-y;
}

.workshop-card > * {
    flex-shrink: 0;
}

.workshop-card .workshop-features {
    flex-grow: 0;
}

/* Push snippet widget and everything below to bottom of card */
.workshop-card .da-snippetCard {
    margin-top: auto;
}

/* Fixed distance between widget and tags for consistent alignment */
.workshop-card .workshop-tags {
    margin-top: 16px;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Workshop Card Color Themes - Match website colors */
.workshop-1 {
    border-left: 4px solid #476f95;
}

.workshop-2 {
    border-left: 4px solid #5a7fb8;
}

.workshop-3 {
    border-left: 4px solid #476f95;
}

/* Workshop Content */
.workshop-subtitle {
    color: #476f95;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workshop-description {
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.workshop-features { list-style: disc; padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.workshop-features li { color: #34495e; font-size: 0.9rem; margin-bottom: 0.5rem; overflow: visible; }



/* Workshop Tags - Website theme colors */
.workshop-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.tag-1 {
    background: linear-gradient(135deg, #476f95, #5a7fb8);
}

.tag-2 {
    background: linear-gradient(135deg, #5a7fb8, #6d8ccc);
}

.tag-3 {
    background: linear-gradient(135deg, #476f95, #4a6b8a);
}

.tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(71, 111, 149, 0.3);
}

/* Course Benefits Section */
.course-benefits {
    text-align: center;
    margin: 5rem 0 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(71, 111, 149, 0.05) 0%, rgba(232, 242, 247, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid rgba(71, 111, 149, 0.1);
}

.benefits-subtitle {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.benefits-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.benefit-tag {
    background: linear-gradient(135deg, #476f95, #5a7fb8);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(71, 111, 149, 0.3);
    transition: all 0.3s ease;
}

.benefit-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71, 111, 149, 0.4);
}

/* Course Video Section */
.course-video-section {
    text-align: center;
    margin-top: 3rem;
}

.course-video-section .video-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.video-caption {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Comprehensive Mobile Overflow Prevention */
@media (max-width: 768px) {
    /* Aggressive overflow prevention */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* Force all elements to respect viewport width */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Container constraints */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
        overflow-x: hidden !important;
    }

    /* Section constraints */
    section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 1rem 10px !important;
    }

    /* Hero section mobile constraints */
    .hero {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 80px 10px 20px 10px !important;
    }

    /* Canvas constraints */
    #particle-canvas {
        max-width: 100vw !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Grid and card constraints */
    .course-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Workshop grid needs visible overflow to prevent scroll trapping */
    .workshop-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .course-card, .workshop-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        /* Ensure cards never become their own scrolling containers */
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        touch-action: pan-y !important;
    }

    /* Workshop containers mobile fix */
    .workshop-container {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overscroll-behavior: none !important;
    }

    /* Form constraints */
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Text wrapping to prevent overflow */
    h1, h2, h3, h4, h5, h6, p, span, div, li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* Image constraints */
    img, video {
        max-width: 100% !important;
        height: auto !important;
    }

    /* FAQ constraints */
    .faq-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Navbar constraints */

}

/* ========================================
   Workshop Snippet Flip Widget
   ======================================== */
.da-snippetCard {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15,23,42,.06);
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.da-titleRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
}

.da-title {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.da-snippetBox {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(15,23,42,.015), transparent);
    overflow: hidden;
}

.da-quote {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #1e293b;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Limit to 3 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.da-quote::before {
    content: "\201C";
    color: rgba(37,99,235,.5);
    font-size: 16px;
    margin-right: 4px;
    vertical-align: -1px;
}

.da-quote::after {
    content: "\201D";
    color: rgba(37,99,235,.5);
    font-size: 16px;
    margin-left: 4px;
    vertical-align: -1px;
}

/* Flip animation */
.da-flipWrap {
    perspective: 800px;
}

.da-flip {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 650ms ease;
    min-height: 50px;
}

.da-flip.da-isFlipped {
    transform: rotateX(180deg);
}

.da-face {
    backface-visibility: hidden;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.da-face .da-quote {
    width: 100%;
}

.da-back {
    transform: rotateX(180deg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .da-flip {
        transition: none !important;
    }
}

/* ========================================
   Flip Card with Read Reviews Link Variant
   ======================================== */
.da-reviews-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #476f95;
    text-decoration: none;
}

.da-reviews-link:hover {
    text-decoration: underline;
    color: #194a7a;
}

.da-snippet-empty {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    font-size: 0.85rem;
    margin: 0;
    padding: 10px 0;
}

/* ========================================
   Enhanced Flip Card Styling for Homepage
   (Matches course landing page appearance)
   ======================================== */
.snippets-mobile-only .da-snippetCard {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.snippets-mobile-only .da-titleRow {
    justify-content: center;
    margin-bottom: 12px;
}

.snippets-mobile-only .da-title {
    font-size: 12px;
    color: #476f95;
    font-weight: 700;
}

.snippets-mobile-only .da-snippetBox {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.snippets-mobile-only .da-quote {
    text-align: center;
    color: #1e293b;
}

.snippets-mobile-only .da-quote::before,
.snippets-mobile-only .da-quote::after {
    color: #2563eb;
}

.snippets-mobile-only .da-reviews-link {
    margin-top: 14px;
    padding-top: 14px;
    font-size: 0.8rem;
    color: #476f95;
}

/* ========================================
   Responsive Snippet Display Wrappers
   (For group sections: mobile flip, desktop scroll)
   ======================================== */
.snippets-mobile-only {
    display: block;
}

.snippets-desktop-only {
    display: none;
}

@media (min-width: 769px) {
    .snippets-mobile-only {
        display: none;
    }
    .snippets-desktop-only {
        display: block;
    }
}



