/* ============================================================
   THINK TANK CONSULTANCY — RESPONSIVE CSS HOMEPAGE
   Mobile-first breakpoints:
   xs  < 480px   (small phones)
   sm  480–767px (large phones)
   md  768–1023px (tablets)
   lg  1024–1239px (small desktops / laptops)
   xl  1240px+   (full desktop — base styles)
   ============================================================ */

/* ─────────────────────────────────────────
   1. GLOBAL RESETS & FLUID UTILITIES
───────────────────────────────────────── */
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─────────────────────────────────────────
   2. TOP BAR
───────────────────────────────────────── */
@media (max-width: 767px) {
  .topbar { display: none; } /* hide on phones — clean nav */
  .header-logo img {
        width: 150px !important;
    }
    
    .footer-logo img {
        width: 150px !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .topbar .inner {
    flex-direction: column;
    gap: 4px;
    padding: 8px 20px;
    text-align: center;
  }
}

/* ─────────────────────────────────────────
   3. NAVIGATION
───────────────────────────────────────── */

/* Tablet: tighten padding */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-inner {
    padding: 0 20px;
    height: 64px;
  }
  .nav-menu > li > a {
    font-size: 12.5px;
    padding: 0 9px;
  }
  .nav-btn-ghost { display: none; }
  .nav-btn-cta {
    font-size: 12.5px;
    padding: 9px 16px;
  }
}

/* Mobile: hide desktop menu, show hamburger */
@media (max-width: 1023px) {
  .nav-menu,
  .nav-btn-ghost { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-inner { padding: 0 18px; height: 60px; }
  .nav-btn-cta { font-size: 13px; padding: 9px 16px; }
}

/* Mega menu: prevent off-screen on lg */
@media (min-width: 1024px) and (max-width: 1239px) {
  .dropdown-mega { width: 720px; }
  .mega-inner { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

/* ─────────────────────────────────────────
   4. HERO SECTION
───────────────────────────────────────── */

/* Large desktop: base — already defined */

/* Small desktop / laptop */
@media (max-width: 1239px) {
  .hero-inner {
    padding: 64px 28px;
    gap: 48px;
  }
  .hero h1 { font-size: 44px; }
}

/* Tablet: stack hero columns */
@media (max-width: 1023px) {
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 24px;
  }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 15px; margin-bottom: 28px; }
  .search-card { padding: 22px; }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-inner { padding: 44px 18px 48px; gap: 28px; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero p { font-size: 14.5px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 10px; }
  .search-card { padding: 18px; }
  .search-row { grid-template-columns: 1fr; gap: 8px; }
  .search-card h3 { font-size: 16px; }
}

@media (max-width: 479px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { grid-template-columns: 1fr; gap: 1px; }
}

/* ─────────────────────────────────────────
   5. SECTION SHARED / HEADINGS
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .section { padding: 56px 0; }
  .section-inner { padding: 0 24px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 14.5px; }
}

@media (max-width: 767px) {
  .section { padding: 44px 0; }
  .section-inner { padding: 0 18px; }
  .section-title { font-size: 24px; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
}

/* ─────────────────────────────────────────
   6. COURSE CATEGORIES GRID
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 767px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 16px 14px; gap: 8px; }
  .cat-icon { width: 38px; height: 38px; font-size: 18px; }
  .cat-card h4 { font-size: 13px; }
  .cat-card span { font-size: 11px; }
}

@media (max-width: 479px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-card { padding: 14px 12px; }
  .cat-card h4 { font-size: 12.5px; }
}

/* ─────────────────────────────────────────
   7. WHY US SECTION
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .why-section { padding: 60px 0; }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
    max-width: 100%;
    margin: 0 auto;
  }
  .why-title { font-size: 30px; }
  .why-img-wrap { order: -1; } /* image above text on tablet */
  .why-img-ph { height: 260px; }
  .why-badge-float { bottom: -10px; }
}

@media (max-width: 767px) {
  .why-inner { padding: 0 18px; gap: 32px; }
  .why-title { font-size: 26px; }
  .why-desc { font-size: 14px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pillar { padding: 14px; }
  .pillar h5 { font-size: 13px; }
  .pillar p { font-size: 12px; }
  .why-img-ph { height: 220px; }
}

@media (max-width: 479px) {
  .pillars { grid-template-columns: 1fr; }
  .why-img-ph { height: 200px; }
}

/* ─────────────────────────────────────────
   8. POPULAR COURSES GRID
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .courses-section { padding: 56px 0; }
  .crs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* also covers .course-grid */
  .course-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .crs-grid,
  .course-grid { grid-template-columns: 1fr; gap: 14px; }
  .crs-thumb,
  .course-thumb { height: 180px; }
  .crs-body,
  .course-body { padding: 14px; }
  .crs-body h4,
  .course-body h4 { font-size: 14px; }
}

/* ─────────────────────────────────────────
   9. SERVICES GRID
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .srv-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .srv-grid,
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .srv-card,
  .service-card { padding: 22px 18px; }
}

/* ─────────────────────────────────────────
  10. INSTRUCTORS GRID
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .inst-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .inst-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .inst-photo { height: 160px; }
  .inst-body { padding: 12px; }
  .inst-name { font-size: 13.5px; }
}

@media (max-width: 479px) {
  .inst-grid { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────
  11. CLIENT LOGOS
───────────────────────────────────────── */
@media (max-width: 767px) {
  .client-logos { gap: 10px; }
  .cl,
  .client-logo { font-size: 11.5px; padding: 8px 14px; }
}

/* ─────────────────────────────────────────
  12. TESTIMONIALS
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .tst-grid,
  .test-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .tst-grid,
  .test-grid { grid-template-columns: 1fr; }
  .tst-card,
  .test-card { padding: 20px; }
}

/* ─────────────────────────────────────────
  13. CTA STRIP / BANNER
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .cta-strip,
  .cta-section { padding: 48px 0; }
  .cta-in,
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 24px;
  }
  .cta-acts,
  .cta-actions { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .cta-in,
  .cta-inner { padding: 0 18px; gap: 20px; }
  .cta-in h2,
  .cta-text h2 { font-size: 24px; }
  .cta-acts,
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-acts a,
  .cta-actions a { text-align: center; }
  .btn-wh, .btn-white,
  .btn-ou, .btn-outline-white { width: 100%; text-align: center; }
}

/* ─────────────────────────────────────────
  14. BLOG SECTION
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-thumb { height: 200px; }
  .blog-body { padding: 16px; }
  .blog-body h4 { font-size: 14.5px; }
}

/* ─────────────────────────────────────────
  15. NEWSLETTER STRIP
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 24px;
  }
  .newsletter-form input { width: 240px; }
}

@media (max-width: 767px) {
  .newsletter-strip { padding: 32px 0; }
  .newsletter-inner { padding: 0 18px; }
  .newsletter-text h3 { font-size: 20px; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
  .newsletter-form button { width: 100%; }
}

/* ─────────────────────────────────────────
  16. FOOTER
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .ft-top,
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 24px 36px;
  }
  .ft-brand { grid-column: 1 / -1; } /* brand full-width on tablet */
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .ft-top,
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 36px 18px 28px;
  }
  .ft-brand p,
  .footer-brand p { font-size: 12.5px; }
  .ft-col h5,
  .footer-col h5 { font-size: 11px; margin-bottom: 12px; }
  .ft-col a,
  .footer-col a { font-size: 12.5px; margin-bottom: 8px; }
  .ft-btm-in,
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 11px;
    padding: 16px 18px;
  }
}

@media (max-width: 479px) {
  .ft-top,
  .footer-top { grid-template-columns: 1fr; }
  .ft-col { border-top: 1px solid rgba(255,255,255,.07); padding-top: 16px; }
}

/* ─────────────────────────────────────────
  17. CATEGORY PAGE — BANNER
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .cat-banner-in {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px;
  }
  .cat-banner-img { height: 200px; order: -1; }
  .cat-banner-text h1 { font-size: 28px; }
}

@media (max-width: 767px) {
  .cat-banner { padding: 32px 0; }
  .cat-banner-in { padding: 0 18px; }
  .cat-banner-text h1 { font-size: 24px; }
  .cat-banner-text p { font-size: 13.5px; }
  .cat-banner-tags { gap: 7px; }
  .cat-btag { font-size: 11px; padding: 5px 10px; }
  .cat-banner-img { height: 170px; border-radius: 10px; }
}

/* ─────────────────────────────────────────
  18. CATEGORY PAGE — TWO-COLUMN LAYOUT
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .main-wrap {
    grid-template-columns: 1fr; /* stack sidebar below */
    padding: 28px 24px;
  }
  .right-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .sidebar-card:last-child { /* categories list — full width */
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .main-wrap { padding: 22px 18px; }
  .right-col { grid-template-columns: 1fr; }
  .section-h2 { font-size: 18px; margin-bottom: 16px; }
}

/* ─────────────────────────────────────────
  19. TABS
───────────────────────────────────────── */
@media (max-width: 767px) {
  .tabs-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .tab-btn { font-size: 13px; padding: 9px 14px; white-space: nowrap; }
}

/* ─────────────────────────────────────────
  20. DATATABLE
───────────────────────────────────────── */
@media (max-width: 767px) {
  .dt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dt-table { min-width: 460px; }
  .dt-table thead th { font-size: 11px; padding: 10px 10px; }
  .dt-table tbody td { font-size: 12.5px; padding: 10px 10px; }
  .dt-info { flex-direction: column; gap: 10px; align-items: flex-start; }
  .table-search-row { flex-direction: column; }
  .tbl-search { width: 100%; }
}

/* ─────────────────────────────────────────
  21. CITIES GRID (Tab 2)
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .cities-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (max-width: 767px) {
  .cities-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .city-box { padding: 12px 8px; }
  .city-box .city-flag { font-size: 20px; }
  .city-box .city-name { font-size: 12.5px; }
  .city-box .city-count { font-size: 10.5px; }
}

@media (max-width: 479px) {
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────
  22. TOP COURSES (Tab 3)
───────────────────────────────────────── */
@media (max-width: 767px) {
  .tc-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tc-code { align-self: auto; }
  .tc-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* ─────────────────────────────────────────
  23. COURSE DETAIL PAGE — SCHEDULE TABLE
───────────────────────────────────────── */
@media (max-width: 767px) {
  .schedule-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-table { min-width: 620px; }
  .city-filter-bar { overflow-x: auto; padding-bottom: 8px; white-space: nowrap; }
}

/* ─────────────────────────────────────────
  24. COURSE DETAIL — INFO BANNER
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .course-banner-in {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .course-banner-img { height: 200px; order: -1; }
}

@media (max-width: 767px) {
  .course-banner { padding: 32px 0; }
  .course-banner-in { padding: 0 18px; }
  .course-banner h1 { font-size: 24px; }
  .course-meta-tags { flex-wrap: wrap; gap: 8px; }
}

/* ─────────────────────────────────────────
  25. CONTACT FORM SECTION
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .contact-section { padding: 44px 0; }
  .contact-inner { padding: 0 18px; }
  .contact-text h2 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .contact-form { padding: 22px 18px; }
}

/* ─────────────────────────────────────────
  26. WHATSAPP FAB
───────────────────────────────────────── */
@media (max-width: 479px) {
  .wa-fab,
  .whatsapp-fab {
    width: 50px; height: 50px;
    bottom: 18px; right: 18px;
    font-size: 22px;
  }
  .wa-tooltip { display: none; }
}

/* ─────────────────────────────────────────
  27. BRANDING GUIDE SECTION
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .font-showcase { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 767px) {
  .brand-section { padding: 40px 0; }
  .brand-inner { padding: 0 18px; }
  .brand-title { font-size: 22px; }
  .brand-grid { gap: 12px; }
  .font-display { font-size: 26px; }
}

/* ─────────────────────────────────────────
  28. SIDEBAR (right-col cards)
───────────────────────────────────────── */
@media (max-width: 767px) {
  .sidebar-card { padding: 16px; }
  .sidebar-card h4 { font-size: 12px; }
  .feat-row { font-size: 12.5px; }
  .sf-input, .sf-select { font-size: 13px; padding: 9px 12px; }
  .sf-btn { font-size: 13px; }
  .cat-list .cat-item { font-size: 12.5px; padding: 8px 0; }
  .cities-sidebar { grid-template-columns: repeat(3, 1fr); }
}

/* ─────────────────────────────────────────
  29. FILTER BAR (category page sticky bar)
───────────────────────────────────────── */
@media (max-width: 1023px) {
  .filter-bar { top: 64px; }
  .filter-inner { overflow-x: auto; gap: 8px; padding: 14px 20px; }
  .filter-label { display: none; }
  .results-count { display: none; }
}

@media (max-width: 767px) {
  .filter-bar { top: 60px; }
  .filter-inner { padding: 12px 18px; }
  select.filter { font-size: 12.5px; padding: 7px 10px; }
  .filter-search input { font-size: 12.5px; }
}

/* ─────────────────────────────────────────
  30. BREADCRUMB
───────────────────────────────────────── */
@media (max-width: 767px) {
  .bc-in,
  .breadcrumb-inner {
    font-size: 11.5px;
    padding: 9px 18px;
    flex-wrap: wrap;
    gap: 5px;
  }
}

/* ─────────────────────────────────────────
  31. MOBILE DRAWER
───────────────────────────────────────── */
@media (max-width: 479px) {
  .drawer-panel { width: 100%; max-width: 100%; border-radius: 0; }
  .drawer-panel { border-radius: 0; }
}

/* ─────────────────────────────────────────
  32. PRINT STYLES
───────────────────────────────────────── */
@media print {
  .topbar, nav, .site-nav,
  .wa-fab, .whatsapp-fab,
  .mobile-drawer, .hamburger,
  .filter-bar, .sidebar-cta,
  .mockup-watermark, .mwl { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero, .why, .why-section, .cta-strip, .cta-section {
    background: #f5f5f5 !important;
    color: #000 !important;
    print-color-adjust: exact;
  }
  .main-wrap { grid-template-columns: 1fr; }
  .cat-banner { color: #000; }
}


/* ============================================================
   THINK TANK CONSULTANCY
   Responsive CSS — About Us & Contact Us Pages
   Breakpoints:
   xs  < 480px
   sm  480–767px
   md  768–1023px
   lg  1024–1239px
   xl  1240px+  (base / desktop — already in main CSS)
   ============================================================ */


/* ════════════════════════════════════════════════════════════
   SHARED PAGE COMPONENTS
   (breadcrumb, page-hero — used on both pages)
════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
@media (max-width: 767px) {
  .breadcrumb-bar { padding: 8px 0; }
  .breadcrumb-inner {
    padding: 0 18px;
    font-size: 11.5px;
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* ── Page Hero ── */
@media (max-width: 1239px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero-inner { padding: 0 28px; }
  .page-hero h1 { font-size: 44px; }
}

@media (max-width: 1023px) {
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p { font-size: 15.5px; }
}

@media (max-width: 767px) {
  .page-hero { padding: 36px 0 32px; }
  .page-hero-inner { padding: 0 18px; }
  .page-hero h1 { font-size: 28px; line-height: 1.2; }
  .page-hero p { font-size: 14px; }
  .page-hero-accent { width: 240px; height: 240px; right: -40px; top: -40px; }
}

@media (max-width: 479px) {
  .page-hero h1 { font-size: 24px; }
  .page-hero p { font-size: 13.5px; }
}


/* ════════════════════════════════════════════════════════════
   ABOUT US PAGE
════════════════════════════════════════════════════════════ */

/* ── Stats Strip ── */
@media (max-width: 1023px) {
  .stats-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }
  .stats-strip .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(13,27,42,0.12);
    padding: 24px 20px;
  }
  /* Remove bottom border from last two items in 2-col layout */
  .stats-strip .stat-item:nth-child(3),
  .stats-strip .stat-item:nth-child(4) {
    border-bottom: none;
  }
  /* Restore right border for left column items */
  .stats-strip .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(13,27,42,0.12);
  }
  .stats-strip .stat-num { font-size: 34px; }
}

@media (max-width: 767px) {
  .stats-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 18px;
  }
  .stats-strip .stat-item { padding: 20px 14px; }
  .stats-strip .stat-num { font-size: 28px; }
  .stats-strip .stat-lbl { font-size: 11px; }
}

@media (max-width: 479px) {
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat-num { font-size: 26px; }
}

/* ── Our Story ── */
@media (max-width: 1239px) {
  .story-section { padding: 72px 0; }
  .story-grid { gap: 52px; }
}

@media (max-width: 1023px) {
  .story-section { padding: 60px 0; }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 700px;
    margin: 0 auto;
  }
  .story-image {
    aspect-ratio: 16/9; /* wider on tablet, less tall */
    max-height: 380px;
  }
  .story-badge { right: 18px; }
  .story-badge-num { font-size: 26px; }
}

@media (max-width: 767px) {
  .story-section { padding: 44px 0; }
  .story-grid { max-width: 100%; gap: 28px; }
  .story-image {
    aspect-ratio: 4/3;
    max-height: 260px;
    border-radius: 12px;
  }
  .story-content p { font-size: 14.5px; line-height: 1.75; }
  .story-badge { padding: 10px 16px; }
  .story-badge-num { font-size: 22px; }
  .story-badge-lbl { font-size: 10px; }
}

/* ── VMV Cards (Vision / Mission / Values) ── */
@media (max-width: 767px) {
  .vmv-row { gap: 14px; margin-top: 28px; }
  .vmv-card { padding: 18px 16px; gap: 12px; }
  .vmv-icon { width: 40px; height: 40px; font-size: 18px; border-radius: 8px; }
  .vmv-card h4 { font-size: 14px; }
  .vmv-card p { font-size: 12.5px; }
}

/* ── Two-Col Sections (global approach / training excellence) ── */
@media (max-width: 1239px) {
  .two-col-section { padding: 68px 0; }
  .two-col-grid { gap: 52px; }
}

@media (max-width: 1023px) {
  .two-col-section { padding: 56px 0; }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col-image {
    aspect-ratio: 16/9;
    max-height: 320px;
    border-radius: 12px;
  }
  /* On tablet, image always above text */
  .two-col-grid .two-col-image { order: -1; }
  .two-col-content p { font-size: 15px; }
}

@media (max-width: 767px) {
  .two-col-section { padding: 44px 0; }
  .two-col-grid { gap: 24px; }
  .two-col-image { max-height: 240px; }
  .two-col-content p { font-size: 14px; line-height: 1.75; }
  .section-title { font-size: 26px; }
}

@media (max-width: 479px) {
  .two-col-image { max-height: 200px; }
  .section-title { font-size: 22px; }
}

/* ── Commitments Grid ── */
@media (max-width: 1023px) {
  .commitments-section { padding: 60px 0; }
  .commitments-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 767px) {
  .commitments-section { padding: 44px 0; }
  .commitments-grid { grid-template-columns: 1fr; gap: 12px; }
  .commitment-card { padding: 22px 18px; }
  .commitment-icon { font-size: 24px; margin-bottom: 10px; }
  .commitment-card h4 { font-size: 14.5px; }
  .commitment-card p { font-size: 13px; }
}

/* ── Team Grid ── */
@media (max-width: 1239px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 1023px) {
  .team-section { padding: 60px 0; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .team-avatar { height: 170px; }
  .team-avatar-initials { width: 60px; height: 60px; font-size: 20px; }
}

@media (max-width: 767px) {
  .team-section { padding: 44px 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
  .team-avatar { height: 150px; }
  .team-avatar-initials { width: 52px; height: 52px; font-size: 18px; }
  .team-body { padding: 14px 12px; }
  .team-name { font-size: 13.5px; }
  .team-role { font-size: 12px; margin-bottom: 6px; }
  .team-bio { font-size: 12px; }
  .team-socials { padding: 10px 14px; gap: 6px; }
  .team-social-btn { width: 28px; height: 28px; font-size: 12px; }
}

@media (max-width: 479px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-avatar { height: 130px; }
  .team-bio { display: none; } /* hide bio on xs for cleaner layout */
}

/* ── Accreditations ── */
@media (max-width: 767px) {
  .accred-section { padding: 36px 0; }
  .accred-logos { gap: 10px; }
  .accred-logo {
    font-size: 11.5px;
    padding: 9px 16px;
    border-radius: 8px;
  }
}

/* ── Section inner padding override for About ── */
@media (max-width: 1023px) {
  .story-section .section-inner,
  .commitments-section .section-inner,
  .team-section .section-inner,
  .two-col-section .section-inner,
  .accred-section .section-inner { padding: 0 24px; }
}

@media (max-width: 767px) {
  .story-section .section-inner,
  .commitments-section .section-inner,
  .team-section .section-inner,
  .two-col-section .section-inner,
  .accred-section .section-inner { padding: 0 18px; }
}


/* ════════════════════════════════════════════════════════════
   CONTACT US PAGE
════════════════════════════════════════════════════════════ */

/* ── Contact Cards Strip (gold bar) ── */
@media (max-width: 1239px) {
  .contact-cards-inner { padding: 0 24px; }
}

@media (max-width: 1023px) {
  .contact-cards-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
  }
  .contact-card-item {
    border-right: none;
    border-bottom: 1px solid rgba(13,27,42,0.12);
    padding: 22px 16px;
  }
  .contact-card-item:nth-child(odd) {
    border-right: 1px solid rgba(13,27,42,0.12);
  }
  .contact-card-item:nth-child(3),
  .contact-card-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .contact-cards-inner {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }
  .contact-card-item {
    padding: 18px 14px;
    border-right: none !important;
    border-bottom: 1px solid rgba(13,27,42,0.12);
  }
  .contact-card-item:last-child { border-bottom: none; }
  .contact-card-icon { width: 36px; height: 36px; font-size: 16px; }
  .contact-card-item h5 { font-size: 11px; }
  .contact-card-item p,
  .contact-card-item a { font-size: 13px; }
}

/* ── Main Contact Layout ── */
@media (max-width: 1239px) {
  .contact-main { padding: 68px 0; }
  .contact-layout { gap: 40px; }
  .contact-layout .section-inner { padding: 0 28px; }
}

@media (max-width: 1023px) {
  .contact-main { padding: 56px 0; }
  .contact-layout {
    grid-template-columns: 1fr; /* stack sidebar below form */
    gap: 36px;
  }
  .contact-layout .section-inner { padding: 0 24px; }
  /* Reorder: form first, sidebar second */
  .contact-form-wrap { order: 1; }
  .contact-sidebar { order: 2; }
  /* Sidebar switches to 2-col grid on tablet */
  .contact-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  .sidebar-info-card { grid-column: 1 / -1; } /* contact info full width */
}

@media (max-width: 767px) {
  .contact-main { padding: 40px 0; }
  .contact-layout .section-inner { padding: 0 18px; }
  .contact-sidebar {
    grid-template-columns: 1fr; /* back to single col on mobile */
  }
  .sidebar-info-card { grid-column: auto; }
}

/* ── Contact Form ── */
@media (max-width: 1239px) {
  .contact-form-wrap { padding: 32px 28px; }
}

@media (max-width: 1023px) {
  .contact-form-wrap { padding: 28px 24px; }
  .contact-form-wrap h2 { font-size: 24px; }
}

@media (max-width: 767px) {
  .contact-form-wrap { padding: 22px 18px; border-radius: 12px; }
  .contact-form-wrap h2 { font-size: 22px; }
  .contact-form-wrap > p { font-size: 13.5px; margin-bottom: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 13.5px; padding: 11px 14px; }
  .form-section-title { font-size: 11px; margin: 20px 0 12px; }
  .radio-group { gap: 8px; }
  .radio-option span,
  .checkbox-option span { font-size: 13px; }
  .submit-btn-main { font-size: 14px; padding: 13px; }
  .privacy-note { font-size: 11.5px; }
}

/* ── Sidebar Info Card ── */
@media (max-width: 767px) {
  .sic-header { padding: 16px 18px; }
  .sic-header h3 { font-size: 16px; }
  .sic-body { padding: 16px 18px; gap: 12px; }
  .sic-icon { width: 34px; height: 34px; font-size: 14px; border-radius: 7px; }
  .sic-item h5 { font-size: 11px; }
  .sic-item p,
  .sic-item a { font-size: 13px; }
}

/* ── Map Card ── */
@media (max-width: 1023px) {
  .map-placeholder { height: 200px; }
}

@media (max-width: 767px) {
  .map-card { border-radius: 12px; }
  .map-placeholder { height: 180px; }
  .map-placeholder span { font-size: 28px; }
  .map-placeholder p { font-size: 12.5px; }
  .map-address { padding: 14px 16px; }
  .map-address p { font-size: 12.5px; }
  .map-address a { font-size: 12.5px; }
}

/* ── Hours Card ── */
@media (max-width: 767px) {
  .hours-card { padding: 18px 16px; border-radius: 12px; }
  .hours-card h4 { font-size: 14px; margin-bottom: 10px; }
  .hours-row { font-size: 12.5px; padding: 7px 0; }
}

/* ── Global Offices Grid ── */
@media (max-width: 1239px) {
  .offices-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 1023px) {
  .offices-section { padding: 60px 0; }
  .offices-section .section-inner { padding: 0 24px; }
  .offices-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
}

@media (max-width: 767px) {
  .offices-section { padding: 44px 0; }
  .offices-section .section-inner { padding: 0 18px; }
  .offices-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .office-card { padding: 16px 14px; border-radius: 10px; }
  .office-flag { font-size: 20px; margin-bottom: 6px; }
  .office-city { font-size: 13.5px; }
  .office-country { font-size: 11.5px; }
  .office-address { font-size: 12px; }
}

@media (max-width: 479px) {
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .office-card { padding: 13px 11px; }
}

/* ── FAQ Section ── */
@media (max-width: 1023px) {
  .faq-section { padding: 60px 0; }
  .faq-section .section-inner { padding: 0 24px; }
  .faq-grid { max-width: 100%; margin-top: 28px; }
}

@media (max-width: 767px) {
  .faq-section { padding: 44px 0; }
  .faq-section .section-inner { padding: 0 18px; }
  .faq-grid { gap: 8px; }
  .faq-item { border-radius: 10px; }
  .faq-question {
    padding: 15px 16px;
    font-size: 13.5px;
    line-height: 1.45;
    gap: 12px;
  }
  .faq-toggle { font-size: 18px; }
  .faq-item.open .faq-answer { padding: 0 16px 15px; }
  .faq-answer { font-size: 13.5px; }
}

@media (max-width: 479px) {
  .faq-question { font-size: 13px; padding: 14px 14px; }
}

/* ── Button: outline white (used in About hero CTA) ── */
@media (max-width: 767px) {
  .btn-outline-wh {
    font-size: 13.5px;
    padding: 11px 22px;
    display: block;
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════════════
   PRINT — About & Contact
════════════════════════════════════════════════════════════ */
@media print {
  .contact-cards,
  .map-card,
  .map-placeholder,
  .faq-section { display: none; }

  .page-hero,
  .stats-strip { background: #f5f5f5 !important; color: #000 !important; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { display: none; } /* hide sidebar on print */
  .two-col-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .offices-grid { grid-template-columns: repeat(3, 1fr); }
}
