/*
 * Author: RaKiBuL HaSaN - CEO & Founder, The One Stop BD (theonestopbd.com)
 * Developer Phone: +8801752986368
 * Developer Email: rhs.rakibul@gmail.com
 *
 * File: css/theme.css
 * Purpose: AB Consultancy brand layer on top of style.css (brand colors from the logo:
 * orange + navy, plus components used only on this site).
 *
 * TABLE OF CONTENTS
 *  1. Variables
 *  2. Base tweaks
 *  3. Hero + notice bar
 *  4. Country cards, flag badges
 *  5. Consultant, videos, fees
 *  6. Eligibility checklist
 *  7. Footer, CTA
 *  8. Media queries
 */

/* ==========================================================
   1. VARIABLES
   ========================================================== */
:root {
    --brand: #c5580c;              /* logo orange, darkened for text contrast */
    --brand-dark: #12365b;         /* logo navy */
    --brand-soft: #fdeee2;
    --accent: #e8761e;
    --navy: #0d2a47;
    --ink: #14253a;
    --text: #33414f;
    --muted: #5a6776;
    --bg-alt: #f5f7fa;
    --line: #e1e7ee;
}

/* ==========================================================
   2. BASE TWEAKS
   ========================================================== */
h1, h2 { letter-spacing: -.015em; }
[lang="bn"] { font-family: "Nirmala UI", "Noto Sans Bengali", "Kalpurush", "Siyam Rupali", system-ui, sans-serif; letter-spacing: 0; line-height: 1.8; }
.eyebrow { color: var(--brand); }
.page-banner { background: var(--brand-soft); border-bottom: 0; }
.page-banner h1 { color: var(--brand-dark); }
.icon-badge { background: var(--brand-dark); }
.icon-badge-soft { background: var(--brand-soft); color: var(--brand); }
.btn-primary { background: var(--brand); }
.btn-outline { color: var(--brand); border-color: var(--brand); }
.btn-navy { background: var(--brand-dark); color: #fff; }
.main-nav a.active { color: var(--brand); background: var(--brand-soft); }
.bottom-nav a.active { color: var(--brand); }
.link-arrow { color: var(--brand); }
.hc-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.header-contact { display: none; align-items: center; gap: 10px; line-height: 1.2; }
.hc-text { display: flex; flex-direction: column; font-size: .9rem; font-weight: 600; }
.hc-text a { color: var(--brand-dark); }

/* ==========================================================
   3. HERO + NOTICE BAR
   ========================================================== */
.hero { min-height: 560px; }
.hero-overlay { background: rgba(13, 42, 71, .62); }
.hero h1 { max-width: 16ch; }
.hero .eyebrow-light { color: #ffd2b0; }
.notice-bar { background: var(--brand-dark); color: #fff; font-size: .9rem; text-align: center; padding: 8px 16px; }
.notice-bar a { color: #ffd2b0; text-decoration: underline; }

/* ==========================================================
   4. COUNTRY CARDS, FLAG BADGES
   ========================================================== */
.country-card { display: flex; flex-direction: column; text-decoration: none !important; color: inherit; overflow: hidden; padding: 0; border-radius: 14px; }
.country-card .cc-media { aspect-ratio: 16 / 9; background: var(--brand-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.country-card .cc-media img { width: 100%; height: 100%; object-fit: cover; }
.flag-code { display: inline-grid; place-items: center; min-width: 2.2em; height: 1.55em; padding: 0 .45em; border-radius: 6px; background: var(--brand-dark); color: #fff; font-size: .72em; font-weight: 800; letter-spacing: .06em; vertical-align: middle; line-height: 1; }
.cc-flag { font-size: 3.2rem; line-height: 1; }
.cc-flag .flag-code, .placeholder-visual .big .flag-code { font-size: .45em; border-radius: 12px; }
.cc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cc-body h3 { margin: 0; color: var(--brand-dark); font-size: 1.2rem; }
.cc-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.cc-body .link-arrow { margin-top: auto; }
ul.flag-row { list-style: none; padding: 0; }
.flag-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--ink); text-decoration: none !important; }
.flag-badge:active { transform: scale(.97); }
.flag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.country-hero-flag { font-size: 2.4rem; margin-bottom: 8px; line-height: 1; }
.country-hero-flag .flag-code { font-size: .5em; }
.placeholder-visual { aspect-ratio: 16 / 10; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; text-align: center; color: var(--brand-dark); padding: 20px; box-shadow: var(--shadow); }
.placeholder-visual .big { font-size: 4.5rem; line-height: 1; display: block; }
.placeholder-visual strong { font-size: 1.4rem; }
.numbered { counter-reset: n; display: grid; gap: 10px; }
.numbered li { counter-increment: n; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.numbered li::before { content: counter(n); flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.disclaimer { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 8px; padding: 14px 16px; color: var(--ink); margin: 20px 0 0; }

/* ==========================================================
   5. CONSULTANT, VIDEOS, FEES
   ========================================================== */
.consultant { display: grid; gap: 24px; align-items: center; }
.consultant-photo img { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--brand-soft); }
.consultant-name { margin: 0 0 2px; }
.consultant-role { color: var(--brand); font-weight: 700; margin-bottom: 12px; }

.video-grid { display: grid; gap: 14px; }
.video-card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); text-decoration: none !important; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(197, 88, 12, .95); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.video-play svg { fill: #fff; stroke: none; margin-left: 3px; }

.fee-list { display: grid; gap: 10px; margin: 16px 0; }
.fee-list li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fee-list strong { color: var(--brand-dark); white-space: nowrap; }

/* ==========================================================
   6. ELIGIBILITY CHECKLIST (profile readiness - no approval claims)
   ========================================================== */
.check-group { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.check-group h3 { margin-bottom: .5em; color: var(--brand-dark); }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; min-height: 44px; }
.check-item:first-of-type { border-top: 0; }
.check-item input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.check-item span { font-weight: 500; }
.check-result { position: sticky; bottom: calc(var(--bottom-h) + var(--safe-bottom) + 10px); background: var(--brand-dark); color: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.check-result strong { font-size: 1.1rem; }
.check-result p { margin: 2px 0 0; color: rgba(255, 255, 255, .85); font-size: .95rem; }

/* ==========================================================
   7. FOOTER, CTA
   ========================================================== */
.site-footer { background: var(--navy); color: #c1ccd8; }
.site-footer a { color: #c1ccd8; }
.footer-title::after { content: ""; display: block; width: 34px; height: 2px; background: var(--accent); margin-top: 10px; }
.cta-band { background: var(--brand-dark); }
.mobile-footer { background: var(--brand-soft); }
.social-dark a { background: var(--brand-dark); }
.step-num { background: var(--brand); }

/* ==========================================================
   8. MEDIA QUERIES
   ========================================================== */
@media (min-width: 768px) {
    .quick-actions { grid-template-columns: repeat(3, minmax(0, 240px)); }
    .consultant { grid-template-columns: .8fr 1.2fr; gap: 48px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 620px; }
}
@media (min-width: 1024px) {
    .header-contact { display: flex; margin-left: 8px; }
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .hero { min-height: 680px; }
}
@media (min-width: 1024px) and (hover: hover) {
    .country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .country-card { transition: transform .25s ease, box-shadow .25s ease; }
    .flag-badge:hover { border-color: var(--brand); }
    .btn-navy:hover { background: var(--navy); }
}
