/* ===== Shree Ji Classes — design system ===== */
:root {
    --indigo: #4f46e5;
    --indigo-dark: #3730a3;
    --amber: #f59e0b;
    --ink: #1e2230;
    --body: #4b5168;
    --line: #e6e8f0;
    --bg: #f6f7fb;
    --card: #ffffff;
    --ok: #16a34a;
    --err: #dc2626;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(31, 38, 75, .08);
    --shadow-lg: 0 20px 50px rgba(31, 38, 75, .14);
    --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--ink); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
a { color: var(--indigo); text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: #8a90a6; }
.center { text-align: center; }
section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--body); margin-top: 8px; }
.eyebrow {
    display: inline-block; font-family: 'Poppins'; font-weight: 600;
    color: var(--indigo); letter-spacing: .12em; text-transform: uppercase;
    font-size: .78rem; margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Poppins'; font-weight: 600; font-size: .98rem;
    padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .35); }
.btn-primary:hover { background: var(--indigo-dark); box-shadow: 0 10px 26px rgba(79, 70, 229, .45); }
.btn-amber { background: var(--amber); color: #1f2937; box-shadow: 0 8px 20px rgba(245, 158, 11, .35); }
.btn-amber:hover { background: #d97f06; color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .15); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .25); }
.btn-outline { background: #fff; color: var(--indigo); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--indigo); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn[disabled] { opacity: .65; cursor: not-allowed; }

/* ===== Header / Nav ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--indigo), #7c3aed);
    color: #fff; font-family: 'Poppins'; font-weight: 700; font-size: 1.05rem;
}
.brand-text strong { display: block; font-family: 'Poppins'; color: var(--ink); font-size: 1.08rem; }
.brand-text small { color: #8a90a6; font-size: .76rem; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
    font-family: 'Poppins'; font-weight: 500; font-size: .94rem;
    color: var(--body); padding: 10px 14px; border-radius: 10px;
}
.site-nav a:hover { color: var(--indigo); background: #eef0fb; }
.site-nav a.is-active { color: var(--indigo); background: #eef0fb; }
.nav-cta { color: #fff !important; margin-left: 8px; }
.nav-cta:hover { background: var(--indigo-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    background: radial-gradient(1200px 500px at 80% -10%, #6d5cf0 0%, transparent 60%),
                linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);
    color: #fff; padding: 84px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; right: -120px; bottom: -120px;
    width: 360px; height: 360px; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero p.lead { font-size: 1.12rem; color: #e6e3ff; max-width: 520px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
    background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3);
    padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px; padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; margin-bottom: 16px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-stats div strong { display: block; font-family: 'Poppins'; font-size: 2rem; color: #fff; }
.hero-stats div span { color: #d8d4ff; font-size: .85rem; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: #eef0fb; color: var(--indigo); font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .96rem; }

.section-alt { background: #fff; }

/* ===== Course cards ===== */
.course-card { position: relative; overflow: hidden; }
.course-card .ribbon {
    position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
    background: var(--amber); color: #1f2937; font-size: .72rem; font-weight: 700;
    padding: 5px 40px; font-family: 'Poppins';
}
.course-card ul { margin: 16px 0; }
.course-card ul li { padding: 6px 0 6px 26px; position: relative; font-size: .94rem; }
.course-card ul li::before {
    content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700;
}
.price { font-family: 'Poppins'; font-weight: 700; color: var(--ink); font-size: 1.5rem; }
.price small { color: #8a90a6; font-weight: 500; font-size: .85rem; }

/* ===== Syllabus tabs ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.tab-btn {
    font-family: 'Poppins'; font-weight: 600; font-size: .92rem;
    padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line);
    background: #fff; color: var(--body); cursor: pointer; transition: .15s;
}
.tab-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.tab-btn.active { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.tab-panel { display: none; animation: fade .3s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.syllabus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.syllabus-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.syllabus-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.syllabus-box h3 .pill { background: #eef0fb; color: var(--indigo); font-size: .72rem; font-family: 'Poppins'; padding: 4px 10px; border-radius: 999px; margin-left: auto; }
.syllabus-box ol { padding-left: 20px; color: var(--body); }
.syllabus-box ol li { padding: 5px 0; font-size: .95rem; }

/* ===== Steps ===== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; box-shadow: var(--shadow); }
.step::before {
    counter-increment: step; content: counter(step);
    width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: #fff;
    display: grid; place-items: center; font-family: 'Poppins'; font-weight: 700; margin-bottom: 14px;
}

/* ===== Testimonials ===== */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), #7c3aed); color: #fff; display: grid; place-items: center; font-family: 'Poppins'; font-weight: 700; }
.who small { color: #8a90a6; }

/* ===== Page banner ===== */
.page-banner {
    background: linear-gradient(135deg, #4f46e5, #6d28d9); color: #fff;
    padding: 60px 0; text-align: center;
}
.page-banner h1 { color: #fff; }
.page-banner p { color: #e6e3ff; margin: 6px 0 0; }
.breadcrumb { font-size: .85rem; color: #cfc9ff; margin-top: 10px; }
.breadcrumb a { color: #fff; }

/* ===== Forms ===== */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: 'Poppins'; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
    font-family: 'Inter'; font-size: .96rem; color: var(--ink); background: #fcfcff;
    transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error-msg { color: var(--err); font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field.invalid .error-msg { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.check input { width: auto; }
.form-note { font-size: .85rem; color: #8a90a6; margin-top: 14px; text-align: center; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; background: #eef0fb; color: var(--indigo); display: grid; place-items: center; flex-shrink: 0; font-size: 1.2rem; }
.info-list strong { display: block; color: var(--ink); font-family: 'Poppins'; font-size: .95rem; }
.map-frame { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 24px; }

/* ===== CTA strip ===== */
.cta-strip { background: linear-gradient(135deg, #f59e0b, #f97316); color: #1f2937; border-radius: 22px; padding: 48px; text-align: center; }
.cta-strip h2 { color: #1f2937; }
.cta-strip p { color: #4a3f1f; max-width: 560px; margin: 10px auto 24px; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: 'Poppins'; font-weight: 600; color: var(--ink); font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.faq-q span.plus { color: var(--indigo); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q span.plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 24px; color: var(--body); }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 20px; }

/* ===== Toast ===== */
.toast {
    position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(120px);
    background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 12px;
    font-weight: 500; box-shadow: var(--shadow-lg); z-index: 200; opacity: 0;
    transition: transform .35s ease, opacity .35s ease; max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--err); }

/* ===== WhatsApp float ===== */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px;
    background: #25d366; color: #fff; border-radius: 50%; display: grid; place-items: center;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .5); z-index: 120; transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Footer ===== */
.site-footer { background: #161a2b; color: #aeb3c9; padding: 60px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.brand--footer .brand-text strong { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links li { padding: 6px 0; }
.footer-links a, .site-footer .muted { color: #aeb3c9; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #262b40; padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .contact-grid, .syllabus-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    section { padding: 52px 0; }
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 20px 20px; box-shadow: var(--shadow);
        transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
    }
    .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .site-nav a { padding: 14px 10px; border-radius: 8px; }
    .nav-cta { text-align: center; margin: 8px 0 0; }
    .grid-3, .grid-4, .grid-2, .form-row, .steps, .footer-grid { grid-template-columns: 1fr; }
    .cta-strip { padding: 32px 22px; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}
