/* =====================================================================
   Talim theme — brings the legacy inner pages (Bootstrap + per-page CSS)
   in line with the new home page design. Loaded after every page's own
   CSS by frontend.layouts.master.
   ===================================================================== */

/* Design tokens: most pages read these variables, so remapping them
   re-colours the bulk of the site at once. */
:root {
    --primary: #005c32;
    --hover: #014a28;
    --secondary: #d3af5e;
    --navbar: #005c32;
    --heading: #052b19;
    --sub-heading: #444343;
    --text: #444343;
    --text-color: #444343;
    --font: 'Poppins', 'Hind Siliguri', sans-serif;
    --bangla: 'Poppins', 'Hind Siliguri', sans-serif;
    --border-radius: 17px;
    --box-shadow: -3px 3px 12px 2px rgba(0, 0, 0, .08);

    --tl-green: #005c32;
    --tl-green-dark: #014a28;
    --tl-ink: #052b19;
    --tl-gold: #d3af5e;
    --tl-gold-line: #ffd475;
    --tl-cream: #faf4ec;
    --tl-text: #444343;
    --tl-muted: #5e5e5e;
    --tl-card-shadow: -3px 3px 12px 2px rgba(0, 0, 0, .08);
}

body {
    background: #fdfcf7;
    color: var(--tl-text);
    font-family: var(--bangla);
}

/* One typeface everywhere, like the home page. Icon fonts are left alone. */
.tl-main,
.tl-main *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class*="ti-"]):not([class*="icon"]):not([lang="ar"]):not(.arabic) {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
}

.tl-main {
    min-height: 50vh;
    padding-bottom: 72px;
    background: linear-gradient(160.57deg, #fcfaf7 3.4%, #fcf1d9 85.1%);
}

/* Page hero --------------------------------------------------------- */
.tl-hero { position: relative; overflow: hidden; background: #2b2318; color: #fff; text-align: center; }
.tl-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.tl-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .5)); }
.tl-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 20px 60px;
}
.tl-hero--overlap .tl-hero__inner { padding-bottom: 120px; }
.tl-hero .tl-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 55px;
    padding: 0 26px 0 6px;
    border: 2px solid var(--tl-gold-line);
    border-radius: 32px;
    background: var(--tl-cream);
    color: var(--tl-green);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
}
.tl-pill .tl-pill__icon { width: 41.7px; height: 41.7px; }
.tl-hero .tl-hero__title {
    margin: 18px 0 0;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 58px;
    letter-spacing: -.6px;
}
.tl-hero .tl-hero__title span { color: var(--tl-gold); }
.tl-hero .tl-hero__text { max-width: 640px; margin: 12px 0 0; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 29px; }
.tl-hero .tl-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 55px;
    margin-top: 28px;
    padding: 0 30px;
    border-radius: 14px;
    background: var(--tl-green);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}
.tl-hero .tl-hero__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.tl-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.tl-hero .tl-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 14px;
    font-weight: 500;
}
.tl-hero .tl-crumbs { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.tl-hero .tl-crumbs a { color: var(--tl-gold); }
.tl-hero .tl-crumbs a:hover { color: #fff; }

@media (max-width: 767.98px) {
    .tl-hero__inner { padding: 56px 20px 44px; }
    .tl-hero--overlap .tl-hero__inner { padding-bottom: 96px; }
    .tl-hero .tl-pill { height: 46px; padding-right: 20px; font-size: 15px; }
    .tl-pill .tl-pill__icon { width: 34px; height: 34px; }
    .tl-hero .tl-hero__title { font-size: 30px; line-height: 38px; }
    .tl-hero .tl-hero__text { font-size: 15px; line-height: 25px; }
}

/* Layout fixes --------------------------------------------------------
   `.gap/.gap-2` used to push content below the old fixed navbar. */
.tl-main .gap, .tl-main .gap-2 { margin-top: 56px !important; }
.tl-main .ielts-page.gap { margin-top: 0 !important; }

/* Page backgrounds give way to the cream gradient of .tl-main. */
.about-page { --ab-bg: transparent; --ab-ink: var(--tl-ink); --ab-muted: var(--tl-text); background: transparent; }
.contact-page { --ct-bg: transparent; --ct-ink: var(--tl-ink); --ct-muted: var(--tl-text); background: transparent; }
.adm-page { --adm-bg: transparent; --adm-ink: var(--tl-ink); background: transparent; }

/* Section headings read like the home page (ink, bold Poppins). */
.tl-main .section-title, .tl-main .ielts-section-title { color: var(--tl-ink); }

/* Course details --------------------------------------------------- */
.tl-main .ielts-page-hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .52)),
        url('img/imgImage77.webp') center 30% / cover no-repeat !important;
}
.tl-main .ielts-page-hero .ielts-page-title { color: #fff; font-weight: 700; }
.tl-main .lms-wrapper .lms-sidebar { border: 0; border-radius: 17px; box-shadow: var(--tl-card-shadow); }
.tl-main .ielts-tabs-container { background: rgba(253, 252, 247, .96); }
body .academy-offline-section .academy-card-media { border: 0; border-radius: 17px; overflow: hidden; box-shadow: var(--tl-card-shadow); }
body .academy-offline-section .academy-card-heading { color: var(--tl-ink); }

/* Auth pages (login, register, OTP, password) ----------------------- */
.tl-main .login-area { min-height: 0; padding: 24px 0 !important; background: transparent; }
.tl-main .login-form {
    padding: 40px;
    border: 2px solid #fff;
    border-radius: 17px;
    box-shadow: var(--tl-card-shadow);
}
.tl-main .login-header p { color: var(--tl-ink); font-size: 18px; font-weight: 600; }

/* Shared controls -------------------------------------------------- */
.tl-main .btn-primary, .tl-main .btn-success {
    --bs-btn-bg: var(--tl-green);
    --bs-btn-border-color: var(--tl-green);
    --bs-btn-hover-bg: var(--tl-green-dark);
    --bs-btn-hover-border-color: var(--tl-green-dark);
    --bs-btn-active-bg: var(--tl-green-dark);
    --bs-btn-active-border-color: var(--tl-green-dark);
}
.tl-main .form-control:focus, .tl-main .form-select:focus {
    border-color: var(--tl-green);
    box-shadow: 0 0 0 3px rgba(0, 92, 50, .14);
}
.tl-main .form-check-input:checked { background-color: var(--tl-green); border-color: var(--tl-green); }
