/* ============================================================
   Milind Prabhu Community Portal — portal.css
   All pages: Home, Study Material, Bills, Helpline, Thank You
   ============================================================ */

:root {
    --cream: #F9F5EF;
    --warm: #F2EBE0;
    --forest: #2B5340;
    --forest-m: #3A6B52;
    --forest-l: #D6EAE0;
    --forest-xl: #EAF4EE;
    --terra: #C0533A;
    --terra-l: #FAE8E4;
    --gold-b: #E8C84A;
    --gold-l: #FEF8E8;
    --dark: #1C1C1C;
    --mid: #4A4A4A;
    --muted: #7A7A7A;
    --faint: #A8A8A8;
    --border: #DDD5C8;
    --white: #FFFFFF;
    --red: #DC2626;
    --red-l: #FEE2E2;
    --blue-l: #EEF2FF;
    --blue: #1A56DB;
    --amber-l: #FEF3C7;
    --amber: #92400E;
    --shadow-s: 0 2px 12px rgba(43, 83, 64, .08);
    --shadow-m: 0 6px 28px rgba(43, 83, 64, .12);
    --shadow-l: 0 16px 56px rgba(43, 83, 64, .18);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.65
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

/* ── BG HELPERS ── */
.bg-cream {
    background: var(--cream)
}

.bg-warm {
    background: var(--warm)
}

/* ════════════════════════════════════════════════════════════
   TOPBAR
════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--forest);
    color: rgba(255, 255, 255, .85);
    font-size: 12.5px;
    text-align: center;
    padding: 9px 5%;
    letter-spacing: .3px;
}

.topbar strong {
    color: #A8E6C8
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--forest-m));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(43, 83, 64, .3);
}

.brand-name {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1
}

.brand-tag {
    font-size: 11.5px;
    color: var(--muted)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px
}

.nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mid);
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .18s, color .18s;
}

.nav-link:hover,
.nav-link.active {
    background: var(--forest-xl);
    color: var(--forest)
}

.nav-cta {
    background: var(--forest);
    color: var(--white);
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    font-family: 'Nunito Sans', sans-serif;
    transition: background .18s, transform .12s;
    box-shadow: 0 3px 12px rgba(43, 83, 64, .3);
    cursor: pointer;
}

.nav-cta:hover {
    background: var(--forest-m);
    transform: translateY(-1px)
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .25s
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* ════════════════════════════════════════════════════════════
   HERO SLIDER (Home page)
════════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, var(--forest) 0%, #3E7A5E 55%, #4E9974 100%)
}

.slider-track {
    display: flex;
    transition: transform .55s cubic-bezier(.77, 0, .18, 1);
    will-change: transform
}

.slide {
    min-width: 100%;
    padding: 70px 6% 0;
    position: relative;
    overflow: hidden
}

.slide-2 {
    padding-bottom: 56px
}

.hbg {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: .06
}

.hbg.a {
    width: 500px;
    height: 500px;
    top: -120px;
    right: -80px;
    background: var(--white)
}

.hbg.b {
    width: 260px;
    height: 260px;
    bottom: -60px;
    left: 6%;
    background: var(--gold-b)
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 48px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-bottom: 64px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 24px;
}

.blink {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6EDDB0;
    display: inline-block;
    animation: bl 2s infinite
}

@keyframes bl {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(1.5)
    }
}

.hero-h1 {
    font-family: 'Lora', serif;
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 18px
}

.hero-h1 em {
    font-style: italic;
    color: #A8E6C8
}

.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
    max-width: 520px;
    margin-bottom: 36px;
    font-weight: 300;
    line-height: 1.8
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px
}

.pill {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    font-weight: 600
}

.pill em {
    font-style: normal;
    color: #A8E6C8
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center
}

.btn-gold {
    background: var(--gold-b);
    color: var(--dark);
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 4px 18px rgba(232, 200, 74, .4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 200, 74, .5)
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: var(--white);
    padding: 13px 26px;
    border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
    display: inline-block;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1)
}

/* Photo card */
.hero-photo-wrap {
    position: relative;
    align-self: flex-end
}

.hero-photo {
    background: var(--white);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-l)
}

.photo-ph {
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.photo-ph img.profile-pic {
    width: 345px;
    height: 360px;
    object-fit: cover;
    object-position: top center;
    display: block
}

.photo-cap {
    padding: 14px 18px;
    text-align: center;
    background: var(--white)
}

.photo-cap .pcn {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark)
}

.photo-cap .pcs {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.hero-quote {
    position: absolute;
    bottom: 84px;
    left: -26px;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    width: 215px;
    box-shadow: var(--shadow-m);
    border-left: 3px solid var(--forest);
    font-size: 12.5px;
    color: var(--mid);
    font-style: italic;
    line-height: 1.5;
    z-index: 2;
}

.hero-quote::after {
    content: '— Milind Prabhu';
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    color: var(--forest);
    margin-top: 6px
}

/* Slide 2 layout */
.s2-inner {
    grid-template-columns: 280px 1fr;
    gap: 52px;
    align-items: center;
    padding-bottom: 0
}

.s2-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center
}

.s2-photo {
    width: 240px;
    height: 290px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-l);
    border: 3px solid rgba(255, 255, 255, .2)
}

.s2-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center
}

.s2-name {
    text-align: center;
    margin-top: 14px
}

.s2-name strong {
    display: block;
    font-family: 'Lora', serif;
    font-size: 16px;
    color: var(--white);
    font-weight: 700
}

.s2-name span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6)
}

.s2-heading h2 {
    font-family: 'Lora', serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px
}

.s2-heading h2 em {
    font-style: italic;
    color: #A8E6C8
}

.s2-heading p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 22px;
    line-height: 1.6
}

/* PDF list */
.pdf-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.pdf-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--white);
    transition: background .2s, transform .2s;
}

.pdf-item:hover {
    background: rgba(255, 255, 255, .17);
    transform: translateX(4px)
}

.pdf-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 36px;
    text-align: center
}

.pdf-info {
    flex: 1
}

.pdf-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3
}

.pdf-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    margin-top: 2px
}

.pdf-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-b);
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    transition: transform .15s;
    box-shadow: 0 2px 8px rgba(232, 200, 74, .35);
}

.pdf-item:hover .pdf-btn {
    transform: scale(1.05)
}

/* Slider controls */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, .15);
    z-index: 10
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-b);
    transition: width linear
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10
}

.sdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s
}

.sdot.active {
    background: var(--gold-b);
    transform: scale(1.35)
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    z-index: 10;
    transition: background .2s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, .25)
}

.slider-arrow.prev {
    left: 16px
}

.slider-arrow.next {
    right: 16px
}

/* ════════════════════════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--gold-l);
    border-top: 1px solid #E8D8A0;
    border-bottom: 1px solid #E8D8A0;
    padding: 0 6%
}

.trust-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap
}

.ti {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    border-right: 1px solid #E8D8A0
}

.ti:last-child {
    border-right: none
}

.ti-icon {
    font-size: 22px;
    flex-shrink: 0
}

.ti-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark)
}

.ti-sub {
    font-size: 12px;
    color: var(--muted)
}

/* ════════════════════════════════════════════════════════════
   SECTION COMMONS
════════════════════════════════════════════════════════════ */
.section {
    padding: 72px 6%
}

.s-inner {
    max-width: 1100px;
    margin: 0 auto
}

.eyebrow {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--forest);
    margin-bottom: 8px
}

.s-title {
    font-family: 'Lora', serif;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2
}

.s-body {
    font-size: 15px;
    color: var(--muted);
    max-width: 710px;
    line-height: 1.75
}

/* Tags */
.tag {
    background: var(--forest-xl);
    color: var(--forest);
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px
}

.tag.red {
    background: var(--terra-l);
    color: var(--terra)
}

.tag.gray {
    background: #F0F0F0;
    color: #AAA
}

.tag.blue {
    background: var(--blue-l);
    color: var(--blue)
}

.tag.amber {
    background: var(--amber-l);
    color: var(--amber)
}

/* Status dots */
.dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34C972;
    animation: bl 2s infinite;
    display: inline-block
}

.dot-soon {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F0B429;
    display: inline-block
}

/* ════════════════════════════════════════════════════════════
   SERVICES SECTION (Home)
════════════════════════════════════════════════════════════ */
.services-section {
    background: var(--warm)
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.svc-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .22s, box-shadow .22s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.svc-card:not(.soon):hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-l)
}

.svc-card.soon {
    opacity: .6;
    pointer-events: none
}

.svc-top {
    padding: 24px 24px 16px;
    flex: 1
}

.svc-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--forest);
    margin-bottom: 10px
}

.svc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px
}

.svc-title {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3
}

.svc-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 14px
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.svc-bottom {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border)
}

.svc-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mid)
}

.svc-cta {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 5px
}

.svc-cta svg {
    transition: transform .2s
}

.svc-card:hover .svc-cta svg {
    transform: translateX(4px)
}

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION (Home)
════════════════════════════════════════════════════════════ */
.about-section {
    background: var(--cream)
}

.about-grid {
    margin-top: 48px
}

.about-text p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 16px
}

.about-text p strong {
    color: var(--dark)
}

.about-quote {
    background: var(--forest-xl);
    border-radius: 12px;
    padding: 20px 22px;
    margin-top: 24px;
    border-left: 4px solid var(--forest)
}

.about-quote p {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-style: italic;
    color: var(--forest);
    line-height: 1.7;
    margin: 0
}

.about-quote cite {
    font-size: 12px;
    font-weight: 700;
    color: var(--forest-m);
    display: block;
    margin-top: 8px;
    font-style: normal
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS (Home)
════════════════════════════════════════════════════════════ */
.how-section {
    background: var(--forest);
    padding: 72px 6%
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 44px
}

.step-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 32px 26px;
    transition: background .22s, transform .22s
}

.step-card:hover {
    background: rgba(255, 255, 255, .13);
    transform: translateY(-4px)
}

.step-n {
    font-family: 'Lora', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, .1);
    line-height: 1;
    margin-bottom: 8px
}

.step-icon {
    font-size: 26px;
    margin-bottom: 12px
}

.step-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px
}

.step-card p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6
}

/* ════════════════════════════════════════════════════════════
   PAGE BANNER (inner pages)
════════════════════════════════════════════════════════════ */
.page-banner {
    padding: 64px 6% 56px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, var(--forest) 0%, #3E7A5E 55%, #4E9974 100%);
}

.banner-study {
    background: linear-gradient(155deg, #1E4035 0%, #2B5340 50%, #3A6B52 100%)
}

.banner-bills {
    background: linear-gradient(155deg, #1E3A5A 0%, #2D5180 55%, #3B6B9A 100%)
}

.banner-helpline {
    background: linear-gradient(155deg, #2D1B69 0%, #3D2B85 55%, #5240A0 100%)
}

.banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.banner-content {
    flex: 1;
    min-width: 280px
}

.banner-h1 {
    font-family: 'Lora', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px
}

.banner-h1 em {
    font-style: italic;
    color: #A8E6C8
}

.banner-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
    max-width: 520px;
    margin-bottom: 28px;
    font-weight: 300;
    line-height: 1.8
}

.banner-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px
}

.banner-badge-box {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    flex-wrap: wrap;
    backdrop-filter: blur(8px);
}

.banner-stat {
    text-align: center
}

.bs-num {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-b);
    line-height: 1
}

.bs-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    margin-top: 4px
}

.banner-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, .2)
}

/* ════════════════════════════════════════════════════════════
   DESCRIPTION BLOCK (inner pages)
════════════════════════════════════════════════════════════ */
.desc-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 0;
}

.desc-text p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 16px
}

.desc-aside {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--shadow-s);
}

.ic-icon {
    font-size: 26px;
    margin-bottom: 10px
}

.info-card h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px
}

.info-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6
}

/* ════════════════════════════════════════════════════════════
   POSTS GRID (Study Material page)
════════════════════════════════════════════════════════════ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.post-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s;
    box-shadow: var(--shadow-s);
}

.post-card:not(.post-card-soon):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-l)
}

.post-card-soon {
    opacity: .65
}

.post-card-top {
    padding: 26px 26px 18px;
    flex: 1
}

.post-dept {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--forest);
    margin-bottom: 12px
}

.post-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px
}

.post-title {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3
}

.post-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px
}

.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--mid);
    font-weight: 600
}

.pmi-icon {
    font-size: 14px
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.post-card-bottom {
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    background: #FCFAF7;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--forest);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    transition: background .18s, transform .15s;
    box-shadow: 0 3px 12px rgba(43, 83, 64, .25);
    text-decoration: none;
}

.apply-btn:hover {
    background: var(--forest-m);
    transform: translateY(-1px)
}

.apply-btn svg {
    transition: transform .2s
}

.apply-btn:hover svg {
    transform: translateX(3px)
}

.apply-btn-muted {
    font-size: 13px;
    color: var(--faint)
}

/* ════════════════════════════════════════════════════════════
   FORM SECTION (Study Material page)
════════════════════════════════════════════════════════════ */
.form-section {
    background: var(--warm);
    padding: 80px 6%
}

.form-layout {
    max-width: 1100px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 26px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    margin-bottom: 18px
}

.sidebar-card h3 {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border)
}

.si {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px
}

.si:last-child {
    margin-bottom: 0
}

.si-icon {
    font-size: 19px;
    flex-shrink: 0;
    margin-top: 2px
}

.si-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark)
}

.si-sub {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5
}

.disc-card {
    background: var(--forest-xl);
    border: 1px solid #C0DECE;
    border-radius: 14px;
    padding: 16px 18px
}

.disc-card p {
    font-size: 12.5px;
    color: var(--forest);
    line-height: 1.6
}

.form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-m)
}

.form-card h2 {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px
}

.form-intro {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 30px;
    line-height: 1.6
}

.fdiv {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 18px
}

.fdiv hr {
    flex: 1;
    border: none;
    border-top: 1px solid var(--border)
}

.fdiv span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--faint);
    white-space: nowrap
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px
}

label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mid);
    display: flex;
    align-items: center;
    gap: 6px
}

.req {
    color: var(--terra)
}

.hint {
    font-weight: 400;
    color: var(--faint);
    font-size: 11.5px
}

input,
select,
textarea {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14.5px;
    color: var(--dark);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    width: 100%;
    outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(43, 83, 64, .10)
}

input::placeholder,
textarea::placeholder {
    color: #C4B9AC
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.phone-wrap {
    position: relative
}

.pfx {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14.5px;
    color: var(--mid);
    font-weight: 600;
    pointer-events: none
}

.phone-wrap input {
    padding-left: 46px
}

.err {
    font-size: 12px;
    color: var(--terra);
    display: none;
    margin-top: 2px
}

input.bad,
select.bad,
textarea.bad {
    border-color: var(--terra) !important;
    background: #FFF8F7
}

.server-errors {
    background: var(--terra-l);
    border: 1px solid #F0C4BC;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: var(--terra)
}

.submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 24px;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-m) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(43, 83, 64, .35);
    transition: transform .15s, box-shadow .15s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(43, 83, 64, .45)
}

.submit-btn svg {
    transition: transform .2s
}

.submit-btn:hover svg {
    transform: translateX(4px)
}

.fnote {
    font-size: 12px;
    color: var(--faint);
    text-align: center;
    margin-top: 14px;
    line-height: 1.6
}

/* ════════════════════════════════════════════════════════════
   BILLS PAGE
════════════════════════════════════════════════════════════ */
.bills-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px
}

.bill-row {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-s);
    transition: box-shadow .22s, transform .22s;
}

.bill-row:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-2px)
}

.bill-row-soon {
    opacity: .55
}

.bill-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0
}

.bill-info {
    flex: 1
}

.bill-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--forest);
    margin-bottom: 6px
}

.bill-title {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3
}

.bill-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 10px
}

.bill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.bill-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.bill-file-info {
    display: flex;
    gap: 6px;
    align-items: center
}

.bill-format {
    background: var(--terra-l);
    color: var(--terra);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: .5px
}

.bill-size {
    font-size: 12px;
    color: var(--faint)
}

.bill-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--forest), var(--forest-m));
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 3px 14px rgba(43, 83, 64, .3);
}

.bill-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 83, 64, .4)
}

.bill-coming-label {
    font-size: 13px;
    color: var(--faint);
    font-weight: 600
}

/* Callout */
.callout-section {
    background: var(--forest);
    padding: 48px 6%
}

.callout-box {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.callout-icon {
    font-size: 40px;
    flex-shrink: 0
}

.callout-text {
    flex: 1
}

.callout-text h3 {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px
}

.callout-text p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.7;
    max-width: 560px
}

/* ════════════════════════════════════════════════════════════
   HELPLINE PAGE
════════════════════════════════════════════════════════════ */
/* Big call button in banner */
.helpline-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold-b);
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 4px 20px rgba(232, 200, 74, .5);
    transition: transform .15s, box-shadow .15s;
}

.helpline-big-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 200, 74, .6)
}

/* Helpline hours card */
.helpline-banner-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    padding: 28px 30px;
    min-width: 260px;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.hbc-icon {
    font-size: 32px;
    margin-bottom: 10px
}

.hbc-title {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px
}

.hbc-hours {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.hbc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px
}

.hbc-row span {
    color: rgba(255, 255, 255, .65)
}

.hbc-row strong {
    color: var(--white)
}

.hbc-divider {
    height: 1px;
    background: rgba(255, 255, 255, .15);
    margin: 16px 0
}

.hbc-emergency {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.hbc-em-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 4px
}

/* Helpline cards grid */
.helpline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px
}

.helpline-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-s);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.helpline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m)
}

.helpline-card.hc-emergency {
    border-color: #FECACA;
    background: #FFFBFB
}

.hc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px
}

.hc-body h3 {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px
}

.hc-body p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px
}

.hc-examples {
    padding-left: 18px;
    margin-bottom: 18px
}

.hc-examples li {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.8
}

.hc-call-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    background: var(--forest-xl);
    color: var(--forest);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: background .18s;
    align-self: flex-start;
}

.hc-call-link:hover {
    background: var(--forest-l)
}

.helpline-card.hc-emergency .hc-call-link {
    background: var(--red-l);
    color: var(--red)
}

.helpline-card.hc-emergency .hc-call-link:hover {
    background: #FEE2E2
}

/* Ambulance section */
.ambulance-section {
    background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 50%, #B91C1C 100%);
    padding: 72px 6%
}

.amb-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: center
}

.amb-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.amb-list li {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    gap: 8px
}

.amb-call-box {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.acb-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px
}

.acb-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 22px
}

.amb-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--white);
    color: var(--red);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    transition: transform .15s, box-shadow .15s;
    margin-bottom: 16px;
}

.amb-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .4)
}

.acb-note {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
    margin-bottom: 12px
}

.acb-official-link {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    font-weight: 700;
    text-decoration: underline
}

/* Reach grid */
.reach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px
}

.reach-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-s);
    transition: transform .2s, box-shadow .2s;
}

.reach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-m)
}

.rc-icon {
    font-size: 36px;
    margin-bottom: 14px
}

.reach-card h3 {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px
}

.reach-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px
}

.rc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-xl);
    color: var(--forest);
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s;
}

.rc-action:hover {
    background: var(--forest-l)
}

.rc-action.rc-wa {
    background: #E7F9EE;
    color: #1C5E35
}

.rc-action.rc-wa:hover {
    background: #d1f5e0
}

/* ════════════════════════════════════════════════════════════
   THANK YOU PAGE
════════════════════════════════════════════════════════════ */
.ty-hero {
    background: linear-gradient(150deg, var(--forest) 0%, #3E7A5E 60%, #52977A 100%);
    padding: 72px 6%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ty-anim {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 42px;
    animation: pop .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.4)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.ty-hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px
}

.ty-hero h1 em {
    font-style: italic;
    color: #A8E6C8
}

.ty-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
    max-width: 500px;
    margin: 0 auto 14px;
    font-weight: 300;
    line-height: 1.8
}

.ty-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 760px;
    margin: 40px auto 0
}

.ty-card {
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    padding: 24px 22px;
    width: 210px;
    text-align: center
}

.ty-card .tci {
    font-size: 28px;
    margin-bottom: 10px
}

.ty-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px
}

.ty-card p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5
}

.ty-bottom {
    background: var(--cream);
    padding: 56px 6%;
    text-align: center
}

.ty-b-inner {
    max-width: 520px;
    margin: 0 auto
}

.ty-b-inner h2 {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px
}

.ty-b-inner p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 24px
}

.wa-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #E9F9EE;
    border: 1px solid #AEDDC0;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 14px;
    color: #1C5E35;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 32px
}

.ty-back {
    display: inline-block;
    background: transparent;
    border: 1.5px solid var(--forest);
    border-radius: 10px;
    color: var(--forest);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 28px;
    transition: background .18s, color .18s
}

.ty-back:hover {
    background: var(--forest);
    color: var(--white)
}

.ty-sig {
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--border)
}

.ty-sig p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px
}

.ty-sig strong {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: var(--forest);
    display: block
}

.ty-sig small {
    font-size: 12px;
    color: var(--faint);
    display: block;
    margin-top: 4px
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
footer {
    background: var(--dark);
    padding: 52px 6% 32px
}

.fi {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.fb-name {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px
}

.fc-brand p {
    font-size: 13.5px;
    color: #888;
    line-height: 1.7
}

.fc h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #666;
    margin-bottom: 16px
}

.fc li {
    list-style: none;
    font-size: 13.5px;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.5
}

.fc li a {
    color: #888;
    transition: color .18s
}

.fc li a:hover {
    color: #CCC
}

.fc li strong {
    color: #AAA
}

.fc li span {
    font-size: 15px;
    margin-right: 6px
}

.fb {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.fb p {
    font-size: 12px;
    color: #555;
    line-height: 1.6
}

.fb a {
    color: #888;
    text-decoration: underline
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media(max-width:1024px) {
    .fi {
        grid-template-columns: 1fr 1fr
    }

    .desc-block {
        grid-template-columns: 1fr
    }

    .amb-layout {
        grid-template-columns: 1fr
    }

    .amb-call-box {
        max-width: 380px
    }
}

@media(max-width:960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding-bottom: 48px
    }

    .s2-inner {
        grid-template-columns: 1fr
    }

    .s2-photo-wrap {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 22px
    }

    .banner-inner {
        flex-direction: column;
        gap: 28px
    }

    .banner-badge-box {
        width: 100%;
        justify-content: center
    }

    .form-layout {
        grid-template-columns: 1fr
    }

    .form-sidebar {
        order: 2
    }

    .trust-inner {
        flex-direction: column
    }

    .ti {
        border-right: none;
        border-bottom: 1px solid #E8D8A0;
        padding: 14px 0
    }

    .ti:last-child {
        border-bottom: none
    }

    .bill-row {
        flex-wrap: wrap
    }

    .bill-action {
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        gap: 14px
    }
}

@media(max-width:768px) {
    .nav-hamburger {
        display: flex
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 70px 0 0 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px 6%;
        gap: 4px;
        z-index: 199;
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
    }

    .nav-links.open {
        display: flex
    }

    .nav-link {
        padding: 13px 16px;
        border-radius: 10px;
        font-size: 15px
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        padding: 13px 20px;
        border-radius: 10px
    }

    .fi {
        grid-template-columns: 1fr
    }

    .frow {
        grid-template-columns: 1fr
    }

    .form-card {
        padding: 26px 20px
    }
}

@media(max-width:640px) {
    .topbar {
        display: none
    }

    .slide {
        padding: 48px 5% 40px
    }

    .slider-arrow {
        display: none
    }

    .pdf-item {
        padding: 11px 14px;
        gap: 10px
    }

    .pdf-btn {
        padding: 6px 10px
    }

    .section {
        padding: 52px 5%
    }

    .posts-grid {
        grid-template-columns: 1fr
    }

    .helpline-grid {
        grid-template-columns: 1fr
    }

    .reach-grid {
        grid-template-columns: 1fr
    }

    .ty-cards {
        gap: 12px
    }

    .ty-card {
        width: 100%;
        max-width: 280px
    }

    .callout-box {
        flex-direction: column;
        text-align: center
    }

    .helpline-big-btn {
        font-size: 16px;
        padding: 12px 20px
    }
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
}

.download-btn:hover {
    background: #1ebc59;
    transform: translateY(-2px)
}


/* ── Thank You Instructions ── */
.ty-instructions {
    background: var(--cream);
    padding: 56px 6%;
}

.ty-inst-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.ty-inst-heading {
    text-align: center;
    margin-bottom: 36px;
}

.ty-inst-heading h2 {
    font-family: 'Lora', serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.ty-inst-heading p {
    font-size: 14.5px;
    color: var(--muted);
}

.ty-inst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.ty-inst-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: var(--shadow-s);
}

.ty-inst-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.ty-inst-card h3 {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.ty-inst-card ol {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ty-inst-card ol li {
    font-size: 13.5px;
    color: var(--mid);
    line-height: 1.5;
}

.ty-inst-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    line-height: 1.5;
}

.ty-study-tip {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--forest-xl);
    border: 1px solid #C0DECE;
    border-left: 4px solid var(--forest);
    border-radius: 14px;
    padding: 20px 24px;
}

.ty-tip-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ty-study-tip h3 {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 6px;
}

.ty-study-tip p {
    font-size: 13.5px;
    color: var(--forest-m);
    line-height: 1.7;
}

@media(max-width: 640px) {
    .ty-inst-grid {
        grid-template-columns: 1fr;
    }

    .ty-study-tip {
        flex-direction: column;
        gap: 10px;
    }
}


/* ── Thank You Download Options ── */
.ty-dl-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.ty-dl-opt {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 24px 22px;
    text-align: center;
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ty-dl-opt-icon {
    font-size: 32px
}

.ty-dl-opt-label {
    font-size: 15px;
    font-weight: 800;
    color: var(--white)
}

.ty-dl-opt-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 8px;
    line-height: 1.5
}

.ty-dl-or {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    flex-shrink: 0;
}

.download-btn-green {
    background: #25D366 !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .4) !important;
    border: none;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
}

.download-btn-green:hover {
    background: #1ebc59 !important
}

/* PDF row list */
.ty-pdf-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto;
}

.ty-pdf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    padding: 12px 16px;
    gap: 12px;
}

.ty-pdf-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-align: left;
}

.ty-pdf-num {
    background: var(--gold-b);
    color: var(--dark);
    font-size: 11px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ty-pdf-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.ty-pdf-dl-btn {
    background: var(--gold-b);
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .15s;
}

.ty-pdf-dl-btn:hover {
    transform: scale(1.05)
}

.ty-pdf-dl-btn.done {
    background: #D1FAE5;
    color: #065F46;
    pointer-events: none;
}

@media(max-width:640px) {
    .ty-dl-options {
        flex-direction: column;
        gap: 16px
    }

    .ty-dl-or {
        transform: rotate(90deg)
    }

    .ty-dl-opt {
        width: 100%
    }
}

/* ── Expiry bar ── */
.ty-expiry-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .8);
    margin-top: 16px;
}

.ty-expiry-bar strong {
    color: #A8E6C8;
    font-size: 15px;
    font-family: 'Lora', serif;
    min-width: 38px;
    display: inline-block;
    text-align: center;
}

/* ── ZIP strip ── */
.dl-zip-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: var(--forest-xl);
    border: 1px solid #C0DECE;
    border-radius: 14px;
    padding: 18px 22px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.dl-zip-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.dl-zip-icon {
    font-size: 28px;
    flex-shrink: 0
}

.dl-zip-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
}

.dl-zip-sub {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 2px;
}

.dl-zip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--forest), var(--forest-m));
    color: var(--white);
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 3px 14px rgba(43, 83, 64, .3);
    flex-shrink: 0;
}

.dl-zip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 83, 64, .4)
}

@media(max-width:640px) {
    .dl-zip-strip {
        flex-direction: column;
        align-items: flex-start
    }

    .dl-zip-btn {
        width: 100%;
        justify-content: center
    }

    .ty-expiry-bar {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center
    }
}

/* ── Thank You Download Section ── */
.ty-download-section {
    background: var(--warm);
    padding: 48px 6%;
}

.ty-dl-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ty-dl-header {
    text-align: center;
    margin-bottom: 28px;
}

.ty-dl-header h2 {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.ty-dl-header p {
    font-size: 13.5px;
    color: var(--muted);
}

.dl-file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dl-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    gap: 16px;
    box-shadow: var(--shadow-s);
    transition: box-shadow .2s, transform .2s;
}

.dl-file-row:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.dl-file-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.dl-file-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.dl-file-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.dl-file-meta {
    font-size: 12px;
    color: var(--faint);
    margin-top: 2px;
}

.dl-single-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--forest);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .18s, transform .15s;
    box-shadow: 0 3px 12px rgba(43, 83, 64, .25);
}

.dl-single-btn:hover {
    background: var(--forest-m);
    transform: translateY(-1px);
}

.dl-single-btn.done {
    background: #D1FAE5;
    color: #065F46;
    pointer-events: none;
    box-shadow: none;
}

@media(max-width:640px) {
    .dl-file-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .dl-single-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ── Home Services Section (compact) ── */
.services-section {
    background: var(--warm)
}

.svc-home-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: center;
    margin-top: 8px;
}

.svc-home-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
}

.svc-home-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--mid);
    transition: border-color .18s, color .18s;
}

.svc-home-pill:hover {
    border-color: var(--forest);
    color: var(--forest)
}

.svc-home-pill-more {
    opacity: .55
}

.svc-home-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.svc-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--forest);
    color: var(--forest);
    padding: 12px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s, color .18s;
}

.svc-ghost-btn:hover {
    background: var(--forest);
    color: var(--white)
}

/* Stats box */
.svc-home-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.svc-stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: var(--shadow-s);
    transition: transform .2s, box-shadow .2s;
}

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

.svc-stat-num {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 6px;
}

.svc-stat-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.4;
}

@media(max-width:960px) {
    .svc-home-wrap {
        grid-template-columns: 1fr
    }

    .svc-home-stats {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:600px) {
    .svc-home-stats {
        grid-template-columns: 1fr 1fr
    }

    .svc-home-btns {
        flex-direction: column;
        align-items: flex-start
    }

    .svc-ghost-btn {
        width: 100%;
        justify-content: center
    }
}


/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--forest-xl);
    border: 1.5px solid var(--forest-l);
    border-radius: 20px;
    padding: 4px 10px;
}

.lang-btn {
    background: transparent;
    border: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 12px;
    transition: all .18s;
}

.lang-btn-active {
    background: var(--forest);
    color: var(--white) !important;
}

.lang-divider {
    color: var(--border);
    font-size: 12px
}

/* Hide Google Translate toolbar */
.goog-te-banner-frame {
    display: none !important
}

body {
    top: 0 !important
}

.skiptranslate {
    display: none !important
}

/* Hide Google Translate toolbar */
.goog-te-banner-frame.skiptranslate {
    display: none !important
}

body {
    top: 0px !important
}

.skiptranslate {
    display: none !important
}