/* =========================================================
   AI for Indian Doctors Landing Page — styles.css
   Light, trust-first medical palette with subtle AI glow
   ========================================================= */

:root {
    /* Brand palette (trusty medical teal + AI blue) */
    --brand-600: #0ea5b7;
    /* teal */
    --brand-700: #0b7f8c;
    --ai-600: #2563eb;
    /* blue */
    --ai-700: #1d4ed8;

    /* Neutral UI */
    --bg: #f6fafb;
    /* very light teal tint */
    --panel: #ffffff;
    --soft: #f3f7fb;
    /* light blue tint */
    --text: #0f172a;
    /* slate-900 */
    --muted: #64748b;
    /* slate-500 */
    --border: #e2e8f0;
    /* slate-200 */

    /* Shadows / radius */
    --r-xl: 28px;
    --r-lg: 20px;
    --r-md: 16px;
    --shadow: 0 18px 55px rgba(15, 23, 42, .08);
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, .06);

    /* Gradients */
    --grad: linear-gradient(135deg, var(--brand-600), var(--ai-600));
    --grad-soft: radial-gradient(900px 450px at 10% 10%, rgba(14, 165, 183, .18), transparent 55%),
        radial-gradient(800px 380px at 90% 30%, rgba(37, 99, 235, .14), transparent 60%),
        linear-gradient(180deg, #ffffff, var(--bg));
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilities */
.bg-soft {
    background: var(--bg) !important;
}

.section-pad {
    padding: 64px 0;
}

.shadow-soft {
    box-shadow: var(--shadow-sm);
}

.rounded-5 {
    border-radius: var(--r-xl) !important;
}

.rounded-4 {
    border-radius: var(--r-lg) !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------------------------------------------------------
   Bootstrap tweaks (keep it minimal)
--------------------------------------------------------- */
.btn {
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    border: 0 !important;
    background: var(--grad) !important;
    box-shadow: 0 12px 26px rgba(14, 165, 183, .22);
}

.btn-primary:hover {
    filter: brightness(1.02);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .18);
    transform: translateY(-1px);
}

.btn-outline-dark {
    border-color: rgba(15, 23, 42, .18) !important;
    color: var(--text) !important;
    background: rgba(255, 255, 255, .65) !important;
    backdrop-filter: blur(10px);
}

.btn-outline-dark:hover {
    border-color: rgba(15, 23, 42, .28) !important;
    background: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.badge {
    border-radius: 999px;
    padding: .5rem .7rem;
    font-weight: 700;
    letter-spacing: .2px;
}

/* ---------------------------------------------------------
   Sticky CTA Bar
--------------------------------------------------------- */
.sticky-cta-bar {
    position: sticky;
    top: 0;
    z-index: 1035;
    background: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(226, 232, 240, .85);
    backdrop-filter: blur(14px);
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--grad);
    box-shadow: 0 0 0 6px rgba(14, 165, 183, .12);
}

/* ---------------------------------------------------------
   Top strip
--------------------------------------------------------- */
.top-strip {
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero-section {
    background: var(--grad-soft);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: "";
    position: absolute;
    inset: -120px -80px auto -80px;
    height: 320px;
    background: radial-gradient(closest-side, rgba(14, 165, 183, .18), transparent 70%);
    pointer-events: none;
}

.hero-section h1 {
    letter-spacing: -.02em;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 18px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

.mini-ic {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 12px 26px rgba(14, 165, 183, .18);
}

.mini-txt .fw-bold {
    font-size: .96rem;
    line-height: 1.1;
}

.hero-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-placeholder {
    background:
        radial-gradient(700px 220px at 25% 0%, rgba(14, 165, 183, .22), transparent 60%),
        radial-gradient(700px 240px at 90% 30%, rgba(37, 99, 235, .18), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(243, 247, 251, .9));
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.play-badge {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 16px 40px rgba(37, 99, 235, .18);
}

.price-pill {
    background: rgba(14, 165, 183, .10);
    border: 1px solid rgba(14, 165, 183, .22);
    border-radius: 999px;
    padding: 8px 12px;
}

/* Countdown */
.countdown-wrap {
    border-top: 1px dashed rgba(226, 232, 240, .9);
    padding-top: 12px;
}

.countdown {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cd-box {
    flex: 1 1 70px;
    min-width: 70px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.cd-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.cd-lbl {
    font-size: .74rem;
    color: var(--muted);
    margin-top: 3px;
}

/* ---------------------------------------------------------
   Trust strip
--------------------------------------------------------- */
.trust-strip {
    background: rgba(255, 255, 255, .85);
    border-top: 1px solid rgba(226, 232, 240, .85);
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(226, 232, 240, .85);
}

.trust-item i {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, .10);
    color: var(--ai-700);
}

/* ---------------------------------------------------------
   Problem cards / placeholders
--------------------------------------------------------- */
.problem-card {
    display: flex;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.pc-ic {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    height: 420px;
    background:
        radial-gradient(700px 240px at 20% 0%, rgba(14, 165, 183, .18), transparent 60%),
        radial-gradient(700px 260px at 90% 40%, rgba(37, 99, 235, .14), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(243, 247, 251, .95));
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: var(--shadow-sm);
}

.image-placeholder-sm {
    height: 170px;
    background:
        radial-gradient(420px 160px at 20% 0%, rgba(14, 165, 183, .16), transparent 60%),
        radial-gradient(420px 160px at 90% 40%, rgba(37, 99, 235, .12), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(243, 247, 251, .95));
    border: 1px solid rgba(226, 232, 240, .9);
}

/* ---------------------------------------------------------
   Feature cards
--------------------------------------------------------- */
.feature-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 22px;
    padding: 18px 18px;
    height: 100%;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    transition: transform .14s ease, box-shadow .14s ease;
}

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

.fc-ic {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 183, .10);
    color: var(--brand-700);
    margin-bottom: 10px;
    border: 1px solid rgba(14, 165, 183, .18);
}

/* ---------------------------------------------------------
   Deliverables
--------------------------------------------------------- */
.deliverable-list .d-item {
    display: flex;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    margin-bottom: 10px;
}

.d-ic {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 16px 40px rgba(14, 165, 183, .16);
}

/* ---------------------------------------------------------
   Curriculum modules
--------------------------------------------------------- */
.module-card {
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 22px;
    padding: 18px 18px;
    height: 100%;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.module-card ul {
    padding-left: 18px;
    color: var(--muted);
}

.module-card li {
    margin: 6px 0;
}

.badge.bg-dark-subtle {
    background: rgba(15, 23, 42, .06) !important;
    border: 1px solid rgba(15, 23, 42, .12);
}

/* ---------------------------------------------------------
   Reviews placeholder
--------------------------------------------------------- */
.review-card {
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

/* ---------------------------------------------------------
   FAQ accordion polish
--------------------------------------------------------- */
.accordion-item {
    border-radius: 18px !important;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, .9) !important;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
    margin-bottom: 10px;
}

.accordion-button {
    font-weight: 800;
    color: var(--text);
    background: rgba(255, 255, 255, .92);
}

.accordion-button:not(.collapsed) {
    background: rgba(14, 165, 183, .08);
    color: var(--text);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(14, 165, 183, .18);
}

/* ---------------------------------------------------------
   Enroll section
--------------------------------------------------------- */
.enroll-section {
    background:
        radial-gradient(900px 420px at 15% 20%, rgba(14, 165, 183, .18), transparent 58%),
        radial-gradient(900px 420px at 90% 30%, rgba(37, 99, 235, .14), transparent 60%),
        linear-gradient(180deg, #ffffff, var(--bg));
}

.enroll-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.form-side {
    background: rgba(243, 247, 251, .92);
    border-left: 1px solid rgba(226, 232, 240, .9);
}

@media (max-width: 991px) {
    .form-side {
        border-left: 0;
        border-top: 1px solid rgba(226, 232, 240, .9);
    }
}

.price-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(14, 165, 183, .08);
    border: 1px solid rgba(14, 165, 183, .20);
}

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

.tick-list li {
    padding: 9px 0;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
}

.tick-list i {
    margin-top: 3px;
}

.divider {
    height: 1px;
    background: rgba(226, 232, 240, .9);
}

/* Forms */
.form-control {
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, .95);
}

.form-control:focus {
    border-color: rgba(14, 165, 183, .45);
    box-shadow: 0 0 0 4px rgba(14, 165, 183, .14);
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, .9);
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
}

.footer-link:hover {
    color: var(--text);
}

.social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .05);
    border: 1px solid rgba(15, 23, 42, .08);
    color: var(--text);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
}

.social:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

/* ---------------------------------------------------------
   Modal
--------------------------------------------------------- */
.modal-content {
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: var(--shadow);
}

/* ---------------------------------------------------------
   Mobile spacing
--------------------------------------------------------- */
@media (max-width: 576px) {
    .section-pad {
        padding: 52px 0;
    }

    .hero-section .container {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .cd-box {
        min-width: 64px;
    }
}

/* ---------------------------------------------------------
   Reduced motion support
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }

    .feature-card,
    .btn,
    .social {
        transition: none !important;
    }
}

/* =========================================================
   Mobile-only: Full-screen checkout mode for #enroll
   - Clean white, no hazy gradients
   - Form becomes full screen card
   ========================================================= */
@media (max-width: 576px) {

    /* Make enroll section look like a standalone page */
    #enroll.enroll-section {
        padding: 0 !important;
        background: #ffffff !important;
    }

    /* Remove container padding so it looks app-like */
    #enroll .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Remove outer spacing */
    #enroll .row.justify-content-center {
        margin: 0 !important;
    }

    /* Make the card full screen, flat */
    #enroll .enroll-card {
        border-radius: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
        min-height: 100vh;
    }

    /* Hide left side (price/benefits) on mobile to reduce clutter */
    #enroll .enroll-card .col-lg-6:first-child {
        display: none !important;
    }

    /* Form becomes full screen */
    #enroll .form-side {
        background: #ffffff !important;
        border-left: 0 !important;
        border-top: 0 !important;
        min-height: 100vh;
        padding: 22px 18px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Make form elements bigger and cleaner */
    #enroll .form-label {
        font-weight: 800;
        color: var(--text);
    }

    #enroll .form-control.form-control-lg {
        height: 54px;
        font-size: 16px;
    }

    #enroll #addToCartButton {
        height: 54px;
        border-radius: 16px;
        font-size: 16px;
    }

    /* Clean up small text spacing */
    #enroll .small.text-muted {
        font-size: 12px;
        line-height: 1.35;
    }
}

/* Instructor image frame */
.image-frame {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, .9);
    padding: 10px;
    overflow: hidden;
}

.image-frame img {
    border-radius: 22px;
    object-fit: cover;
}

/* Mobile polish */
@media (max-width: 576px) {
    .image-frame {
        padding: 6px;
    }
}