/* ─── CSS RESET & VARIABLES ─────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #fff;
    --white: #ffffff;
    --primary: #5340b0;
    --primary-dk: #5340b0;
    --accent: #6c5ce7;
    --green: #22C55E;
    --text: #1a1a2e;
    --card-title-color: #07050F;
    --muted: #6b7280;
    --border: #E0E0E0;
    --footer-bg: #2A205A;
    --btn-bg: #5340B0;
    --card-shadow: 0 2px 16px rgba(60, 40, 170, .08);
    --radius: 16px;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    /* background: linear-gradient(to bottom, #c6bfe6 0%, #ffffff 55%); */
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 1px;
    /* max-width: 1920px; */
}

.main-content {
    max-width: 1720px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #c6bfe6 0%, #ffffff 55%);

}

/* ─── NAV ────────────────────────────────────────────────── */
nav {

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 120px 12px;
    /* fixed: was 48px 120px which overflowed 64px height */
    /* height: 64px; */
    margin-bottom: 40px;
    top: 0;
    z-index: 100;
}



.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
    /* letter-spacing: -0.5px; */
}

.logo-img {
    width: 100%;
    /* height: 34px; */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin-bottom: 0px;
}

.nav-links a {
    text-decoration: none;
    color: #0A0A0A;
    font-weight: 500;
    font-size: 16px;
    transition: color .2s;
    line-height: 150%;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    width: 140px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.btn-login:hover {
    background: var(--primary-dk);
}

/* ── Hamburger (hidden on desktop) ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile drawer (hidden by default) ── */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    padding: 8px 20px 20px;
    position: relative;
    z-index: 99;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: #0A0A0A;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-of-type {
    border-bottom: none;
}

.mobile-nav .btn-login {
    margin-top: 14px;
    width: 100%;
}

.mobile-title {
    display: none;
}

.desktop-title {
    display: block;
}

/* ─── MAIN LAYOUT ───────────────────────────────────────── */
.page-wrap {
    margin: 16px 120px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}
.page-content{
     margin: 16px 120px;
}
/* ─── CARD BASE ─────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 20px 24px;
    margin-bottom: 16px;
}

/* .card:last-child {
    margin-bottom: 0;
} */

.card-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 8px;
    color: var(--card-title-color);
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--card-title-color);
}

.shipping-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    color: #3D3D3D;
}

.shipping-desc {
    font-size: 14px;
    color: #3D3D3D;
    margin-bottom: 16px;
}

/* ─── COURSE DETAILS ────────────────────────────────────── */
.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist li {
    display: flex;
    align-items: self-start;
    gap: 6.4px;
    font-size: 13px;
    color: #0A0A0A;
    /* letter-spacing: 2%; */
}

.checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%230A0A0A' stroke-width='2' fill='transparent'/%3E%3Cpath d='M8 12l3 3 5-5' stroke='%230A0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
    margin-top: 4px;
}

/* ─── FEATURE PILLS ─────────────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 16px;
    border-bottom: 1.2px solid #E0E0E0;
}


.feature-pill img {
    width: 35px;
    height: 25px;
    margin-bottom: 8px;
    display: block;
}

.feature-pill .f-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    line-height: 18.4px;
    margin-bottom: 2px;
    color: #0A0A0A;
}

.feature-pill .f-desc {
    font-weight: 400;
    font-size: 10px;
    color: #3D3D3D;
    line-height: 100%;
    /* letter-spacing: 2%; */
}

/* ─── ADD-ONS ───────────────────────────────────────────── */
.addons-section {
    padding-top: 16px;
}

.addons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.addon-card {
    border: 0.8px solid var(--border);
    border-radius: 9.6px;
    padding: 12px;
    position: relative;
    transition: border-color .2s;
}

.addon-card h4 {
    color: #07050F;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    margin-bottom: 6px;
    max-width: 90%;
}

.addon-card p {
    font-weight: 400;
    font-size: 14px;
    color: #7A7A7A;
    line-height: 1.4;
    /* letter-spacing: 2%; */
    margin-bottom: 8px;
}

.addon-save {
    font-size: 12px;
    line-height: 16px;
    color: var(--green);
    font-weight: 500;
    display: flex;
    align-items: self-start;
    gap: 4px;
    margin-bottom: 12px;
}

.addon-save::before {
    content: "";
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #22C55E;
    border-radius: 50%;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%2322C55E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px;
    display: inline-block;
}

.addon-price {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 24px;
    color: var(--primary);
}

.addon-price s {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
}

.addon-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 2px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.addon-check.checked {
    background: var(--primary);
}

.addon-check.checked::after {
    content: "✓";
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* ─── SHIPPING ───────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 11px;
    color: #999999;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 12px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text);
    outline: none;
    transition: border-color .2s;
    background: var(--white);
    width: 100%;
    height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.phone-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.phone-row .form-group {
    flex: 1;
}

.same-number {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
    cursor: pointer;
}

.floating-group {
    position: relative;
}

.floating-group input,
.floating-group select,
.floating-group textarea {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 12px 8px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text);
    outline: none;
    transition: 0.3s ease;
    background: var(--white);
    width: 100%;
    height: 52px;
}

.floating-group label {
    position: absolute;
    left: 12px;
    top: 16px;
    font-size: 13px;
    color: var(--muted);
    background: transparent;
    padding: 0 4px;
    transition: 0.3s ease;
    pointer-events: none;
}

.floating-group input:focus+label,
.floating-group input:not(:placeholder-shown)+label,
.floating-group select:focus+label,
.floating-group select:valid+label,
.floating-group textarea:focus+label,
.floating-group textarea:not(:placeholder-shown)+label {
    top: 6px;
    font-size: 8px;
}

.floating-group textarea {
    min-height: 70px;
    resize: vertical;
    padding-top: 22px;
}

.floating-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 48px;
    background-image: url("assets/img/down.png");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    cursor: pointer;
}

.floating-group select:focus {
    background-image: url("assets/img/up.png");
}

/* ─── RIGHT SIDEBAR ─────────────────────────────────────── */
.sidebar {
    position: sticky;
    top: 88px;
}

.discount-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    border: 1.2px solid transparent;
    background-image:
        linear-gradient(var(--white), var(--white)),
        linear-gradient(to right, #5340B0, #BE44A0);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Shadow with 50% transparency (#80 = 50% alpha) */
    box-shadow: 0 4px 16px #8477C680;
}

.discount-card h3 {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 9px;
    color: #3D3D3D;
}

.coupon-input-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.coupon-input-wrap input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
}

.coupon-input-wrap input:focus {
    border-color: var(--primary);
}

.btn-apply {
    background: transparent;
    border: none;
    /* border-bottom: 1px solid var(--primary); */
    color: var(--primary);
    /* padding: 9px 16px; */
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}

.btn-apply:hover {
    color: var(--primary);
}

.available-coupons h4 {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
    /* letter-spacing: 2%; */
    font-weight: 500;
}

.coupon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #faf7fc;
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.coupon-tag {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
}

.coupon-code {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.coupon-applied {
    display: flex;
    align-items: flex-start;

    gap: 6px;
}

.discount-applied {
    color: #22C55F !important;
}


.coupon-row .btn-apply {
    border: none;
    background: transparent;
    color: var(--primary);
    /* border-bottom: 1px solid var(--primary); */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0px;
    line-height: 150%;
    text-decoration: underline solid;
}

.summary-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    /* border: 1px solid var(--primary); */
}

.summary-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;

    /* Gradient border */
    border: 0.8px solid;
    background-image:
        linear-gradient(var(--white), var(--white)),
        linear-gradient(to right, #5340B0, #BE44A0);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Shadow with 50% transparency (#80 = 50% alpha) */
    box-shadow: 0 4px 16px #8477C680;
}

.summary-card h3 {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 9.6px;
    color: #3D3D3D;
}

.course-badge {
    background: linear-gradient(90deg, #5340b02b, #be449f2b);
    border-radius: 9.6px;
    padding: 8px 12px;
    margin-bottom: 16px;
    border: 1px solid var(--primary);
}

.course-badge h4 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    /* letter-spacing: 2%; */
    margin-bottom: 6px;
}

.badge-meta {
    display: block;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
}

.badge-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-meta .label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    /* letter-spacing: 2%; */
    color: #5C5C5C;
}

.summary-lines {
    border-top: 1.2px solid #E0E0E0;
    padding-top: 14px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
    color: #5C5C5C;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    border-top: 1.2px solid #E0E0E0;
    margin-top: 10px;
    padding-top: 12px;
    padding-bottom: 15px;
    letter-spacing: -0.29px;
    color: #0A0A0A;
}

.discount-line span:last-child {
    color: #22C55F;
    font-weight: 600;
}

.savings-badge {
    background: #21C45D1A;
    border: 1px solid #21C45D33;
    color: #21C45D;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    padding: 5px 12px;
    border-radius: 999px;
    margin: 4px 0 10px;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0px;
    font-size: 14px;
    color: #3D3D3D;
}

.terms-check input {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.terms-check a {
    color: var(--primary);
    text-decoration: underline;
}

.btn-pay {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    letter-spacing: 0.3px;
}

.btn-pay:hover {
    background: var(--primary-dk);
    transform: translateY(-1px);
}

.btn-pay:active {
    transform: translateY(0);
}

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-section {
    background: var(--white);
    margin: 16px 120px;
    text-align: center;
    padding: 54px 0px;
}

.testimonials-section h2 {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.testimonials-section h2 span {
    background: linear-gradient(90deg, #5340B0, #BE44A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.testimonials-section .sub {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* max-width: 1100px; */
    margin: 0 auto 40px;
}

.t-card {
    background: #ffffff;
    border: 1px solid #EDEEF0;
    border-radius: 16px;
    padding: 12px 16px;
    min-height: 192px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.t-card .quote-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    color: #e5e7eb;
    line-height: 1;
}

.t-stars {
    color: #f8b509;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.t-text {
    font-size: 13px;
    color: #3D3D3D;
    margin-bottom: 18px;
    line-height: 1.6;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.t-avatar {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.t-name {
    font-weight: 700;
    font-size: 14px;
}

.t-city {
    font-size: 12px;
    color: var(--muted);
}

.t-score {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 20px;
    color: #EB7903;
    margin-left: auto;
    text-align: right;
}

.t-college {
    font-size: 12px;
    color: var(--muted);
    line-height: 150%;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 256px;
    height: 44px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}

.btn-cta-primary:hover {
    background: var(--primary-dk);
}

.talk-to-mentor {
    background: #f2f0fa;
    width: 256px;
    height: 44px;
    padding: 12px 24px;
    border: 1.2px solid var(--primary);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--primary);
    gap: 8px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 600;
    cursor: pointer;
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
    background: var(--footer-bg);
    color: #B8B8B8;
    padding: 40px 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #2d2b40;
    /* max-width: 1440px; */
    margin: 0 auto;
}

.footer-brand .logo {
    color: #fff;
    font-size: 20px;
    margin-bottom: 14px;
    display: inline-flex;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: #9ca3af;
    max-width: 240px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #2d2b40;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: all .2s;
}

.social-links a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.social-links img {
    width: 38px;
    height: 38px;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #fff;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-bottom-container {
    /* max-width: 1440px; */
    margin: 0 auto;
    border-top: 1px solid #453696;
    background: var(--footer-bg);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.contact-item img {
    width: 16px;
    height: 16px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item .icon {
    color: var(--accent);
    margin-top: 2px;
}

.quick-query input,
.quick-query textarea {
    width: 100%;
    border: 1px solid #2d2b40;
    border-radius: 8px;
    padding: 10px 12px;
    color: #e5e7eb;
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    margin-bottom: 10px;
}

.quick-query textarea {
    height: 100px;
    resize: none;
}

.quick-query input:focus,
.quick-query textarea:focus {
    border-color: var(--accent);
}

.btn-send {
    background: #fff;
    color: var(--primary);
    width: 160px;
    height: 44px;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    line-height: 19px;
    cursor: pointer;
    float: right;
    transition: background .2s;
}

/* .btn-send:hover {
    background: var(--primary-dk);
} */

.app-row {
    /* max-width: 1440px; */
    margin: 0 auto;
    text-align: center;
    padding: 28px 0 40px;
    border-bottom: 1px solid #2d2b40;
}

.app-row p {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 150%;
    font-weight: 600;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.app-buttons img {
    width: 16px;
    height: 16px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 6px;
    width: 160px;
    height: 44px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    cursor: pointer;
    border: none;
    background: var(--btn-bg);
    color: var(--white);
    transition: opacity .2s;
}

.app-btn:hover {
    opacity: .85;
}

.footer-bottom-content {
    /* max-width: 1440px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 80px 24px;
    font-size: 14px;
    color: #A196D9;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #A196D9;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #A196D9;
}

/* ─── TOAST ─────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #1a1a2e;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
    transform: translateY(80px);
    opacity: 0;
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #16a34a;
}

.toast.error {
    background: #dc2626;
}

.discount-box {
    width: 100%;
    max-width: 420px;
    height: 58px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    margin-bottom: 16px;
}

.discount-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #666;
    background: transparent;
    font-family: sans-serif;
}

.discount-box input::placeholder {
    color: #8a8a8a;
}

.discount-box button {
    border: none;
    background: transparent;
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    /* padding-left: 12px; */
}


/* ═══════════════════════════════════════════════════════════
       RESPONSIVE — device breakpoints only, no structural change
       ═══════════════════════════════════════════════════════════ */

/* ── Large desktop (≤1280px) ── */
@media (max-width: 1280px) {
    nav {
        padding: 0 48px;
    }

    .page-wrap {
        margin: 16px 48px;
    }
}

/* ── Tablet landscape (≤1100px) ── */
@media (max-width: 1100px) {
    nav {
        padding: 0 32px;
    }

    .page-wrap {
        margin: 16px 32px;
        grid-template-columns: 1fr 320px;
        gap: 20px;
    }

    .testimonials-section {

        margin: 16px 32px;
        text-align: center;

    }


    .footer-grid {
        gap: 32px;
    }

    .footer-col h4 {
        font-size: 20px;
    }

    .addon-price {
        font-size: 20px;
    }
}

/* ── Tablet portrait (≤900px) ── */
@media (max-width: 900px) {

    /* Nav: hide links, show hamburger */
    nav {
        padding: 0 20px;
        height: 56px;
        margin-bottom: 0;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-login {
        display: none;
    }

    /* shown inside mobile drawer instead */

    /* Layout */
    .page-wrap {
        margin: 12px 16px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sidebar {
        position: static;
        margin-top: 0;
    }

    /* Addons: 2 columns on tablet */
    .addons {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-section {
        padding: 50px 24px 44px;
        margin: 0;
    }

    .testimonials-section h2 {
        font-size: 26px;
    }

    /* Footer */
    footer {
        padding: 40px 24px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }

    .footer-col h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    /* Discount box full width */
    .discount-box {
        max-width: 100%;
    }
}

/* ── Mobile large (≤640px) ── */
@media (max-width: 640px) {
    nav {
        padding: 32px 16px 12px;
        /* height: 52px; */
    }

    .page-wrap {
        margin: 40px 24px;
    }

    /* Cards */
    .card {
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .card-title {
        font-size: 20px;
    }

    /* Features: 2 cols */
    .features {
        /* grid-template-columns: 1fr 1fr; */
        display: flex;
        /* align-items: center; */
        justify-content: center;
        gap: 12px;
    }

    /* Addons: single column */
    .addons {
        grid-template-columns: 1fr;
    }

    /* Form rows stack */
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Testimonials: single column */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-section {

        padding: 40px 16px 36px;
        margin: 0;
    }

    .testimonials-section h2 {
        font-size: 22px;
    }

    .mobile-title {
        display: block;
    }

    .desktop-title {
        display: none;
    }

    /* Footer: single column */
    footer {
        padding: 32px 16px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-col ul li a {
        font-size: 14px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary {
        width: 100%;
        max-width: 300px;
    }

    .talk-to-mentor {
        width: 100%;
        max-width: 300px;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* Discount card */
    .discount-card {
        padding: 16px;
    }

    .summary-card {
        padding: 16px;
    }

    .discount-box {
        height: 52px;
    }

    .discount-box input {
        font-size: 14px;
    }

    .discount-box button {
        font-size: 14px;
    }

    /* Toast */
    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        text-align: center;
    }

    .logo-img {
        width: 200px;
        /* height: 34px; */
    }

    .feature-pill {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* content top */
        text-align: center;
        height: 100%;
        /* equal height */

    }
    .coupon-row {
    margin-bottom: 8px;
}
.coupon-applied {
    display: block; 
     align-items: flex-start;
    gap: 6px;
}
.app-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}
.app-btn {
   height: 40px;
    padding: 6px 0px; 
    font-size: 10px;
}
.footer-bottom-content {
    display: block;
    align-items: center;
    padding: 10px 20px;
    font-size: 10px;
    color: #A196D9;
    flex-wrap: wrap;
    gap: 10px;
}
.page-content{
     margin: 0px;
}
}

/* ── Mobile small (≤400px) ── */
@media (max-width: 400px) {
    .page-wrap {
        /* margin: 8px 8px; */
        margin: 40px 24px;
    }

    .card {
        padding: 14px 12px;
    }

    .card-title {
        font-size: 20px;
        border-bottom: none;
    }

    .feature-pill .f-title {
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 0px;
    }

    .addon-card h4 {
        font-size: 14px;
    }

    .addon-price {
        font-size: 18px;
    }

    .addon-card p {
        font-size: 12px;
    }

    .btn-pay {
        font-size: 15px;
        padding: 12px;
    }

    .coupon-tag {
        font-size: 12px;
    }

    .coupon-code {
        font-size: 10px;
    }

    .testimonials-section h2 {
        font-size: 19px;
    }

    /* .app-btn {
        width: 140px;
        font-size: 12px;
    } */

    .footer-col h4 {
        font-size: 15px;
    }

    .floating-group input,
    .floating-group select,
    .floating-group textarea {
        font-size: 13px;
    }
}

/* ── Ensure floating label textarea height on all sizes ── */
.floating-group textarea {
    height: auto;
    min-height: 80px;
}

/* ── Prevent overflow on any screen ── */
img {
    max-width: 100%;
}

.addon-toggle-arrow{
    display: none;
}

/* ── MOBILE COLLAPSIBLE ADDON (≤640px only) ── */
@media (max-width: 640px) {

    .addons {
        grid-template-columns: 1fr;
        /* stack cards */
    }

    .addon-card {
        position: relative;
    }

    /* Hide body content by default on mobile */
    .addon-card .addon-card-body {
        display: none;
    }

    .addon-card.mobile-open .addon-card-body {
        display: block;
    }

    /* Header row: checkbox → title → arrow */
    .addon-card-header {
        display: flex;
        align-items: self-start;
        gap: 8px;
        cursor: pointer;
        padding: 2px 0;
    }

    /* Move the existing addon-check inside header */
    .addon-card-header .addon-check {
        position: static;
        /* override absolute from desktop */
        flex-shrink: 0;
    }

    .addon-card-header h4 {
        flex: 1;
        margin: 0;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0px;
        margin-bottom: 8px;
    }

    .addon-toggle-arrow {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        /* border: 1.5px solid var(--border); */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 12px;
        color: var(--primary);
        transition: transform .25s;
    }

    .addon-card.mobile-open .addon-toggle-arrow {
        transform: rotate(180deg);
        border-color: var(--primary);
    }

    /* Hide the absolute-positioned check on mobile (moved into header) */
    .addon-card>.addon-check {
        display: none;
    }

    /* Hide the h4 that's outside the header on mobile */
    .addon-card>h4 {
        display: none;
    }
}


/* ── Desktop: default behaviour unchanged ── */
/* State + City = 2-col row, Pincode = full row with max-width:260px */

/* ── Mobile only ── */
@media (max-width: 640px) {

    /* State takes full row alone */
    .form-row:has(.city-field) {
        grid-template-columns: 1fr;   /* State full width */
    }

    /* Hide city from the State row on mobile */
    .city-field {
        display: none;
    }

    /* Pincode row becomes 2-col: City + Pincode */
    .pincode-row {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Inject City back before Pincode using a clone via JS */
    .pincode-row .city-mobile-clone {
        display: block;
    }

    /* Remove desktop max-width on pincode input for mobile */
    .pincode-row input {
        max-width: 100% !important;
    }
    .btn-send {
    width: 100%;
}
}


/* =========================
   Mobile Sticky Bottom Card
========================= */

.mobile-sticky-card {
    position: fixed;
    left: 0;
    bottom: -120px;
    width: 100%;
    background: #ffffff;
    padding: 12px 24px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 9999;
    transition: all 0.4s ease;
    display: none;
    border-radius:16px 16px 0 0;
}

/* Show on Scroll */
.mobile-sticky-card.show {
    bottom: 0;
}

/* Checkbox */
.sticky-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.sticky-checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--primary);
}

.sticky-checkbox label {
    font-size: 14px;
    color: #3D3D3D;
    line-height: 1.4;
}

.sticky-checkbox a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

/* Button */
.sticky-pay-btn {
    width: 100%;
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 9.6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.sticky-pay-btn:hover {
    opacity: 0.9;
}

/* Mobile Only */
@media (max-width: 768px) {
    .mobile-sticky-card {
        display: block;
    }

    /* body {
        padding-bottom: 120px;
    } */
}
