/* ==========================================================================
   A K GROUP OF EDUCATION - APPLE iOS INSPIRED MODERN DESIGN SYSTEM
   Brand: A K Group of Education
   Director/Counsellor: Ashutosh Kumar
   Location: Naya Bazar, Patel Nagar, Lakhisarai, Bihar
   Clean, Professional, Generous Whitespace, Rounded Geometry, Zero Overlaps
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Apple / iOS Design Tokens Harmonized with AK Logo & Banner Board --- */
:root {
  /* Brand Core (Harmonized with Logo SVG & Banner) */
  --ios-navy-dark: #070D1D;
  --ios-navy: #0B1938;
  --ios-navy-light: #162E63;
  --ios-navy-glow: rgba(11, 25, 56, 0.12);
  --ios-gold: #C59728;
  --ios-gold-glow: #F3CA68;
  --ios-gold-dark: #8F6910;
  --ios-gold-soft: #FDF9EE;
  --ios-gold-border: rgba(197, 151, 40, 0.28);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA821C 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FCE082 0%, #D4AF37 100%);

  /* Surface & Backgrounds */
  --ios-bg: #F8FAFD;
  --ios-card: #FFFFFF;
  --ios-secondary-bg: #F1F4F9;
  --ios-subtle-bg: #EAEFF6;
  --ios-border: rgba(11, 25, 56, 0.08);
  --ios-border-hover: rgba(197, 151, 40, 0.35);

  /* Typography / Text Colors */
  --ios-text-primary: #0F172A;
  --ios-text-secondary: #475569;
  --ios-text-tertiary: #64748B;
  --ios-text-quaternary: #94A3B8;

  /* Functional Accents */
  --ios-blue: #0284C7;
  --ios-blue-hover: #0369A1;
  --ios-green: #10B981;
  --ios-whatsapp: #25D366;
  --ios-whatsapp-hover: #1EBE5D;

  /* Font Families */
  --font-system: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Rounded Geometry (iOS Squircle Curves) */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadows (Soft & Ambient) */
  --shadow-subtle: 0 2px 8px rgba(11, 25, 56, 0.04);
  --shadow-card: 0 4px 20px rgba(11, 25, 56, 0.06);
  --shadow-card-hover: 0 12px 36px rgba(11, 25, 56, 0.12);
  --shadow-modal: 0 24px 60px rgba(7, 13, 29, 0.25);

  /* Container */
  --container-max: 1240px;
  --container-pad: 1.5rem;

  /* Animation */
  --transition-ios: cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body {
  font-family: var(--font-system);
  color: var(--ios-text-primary);
  background-color: var(--ios-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 96px;
  /* Generous clearance for mobile floating dock */
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-ios);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Clean Responsive Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  :root {
    --container-pad: 1rem;
  }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--ios-text-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

h4 {
  font-size: 1.15rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ios-navy);
  background-color: var(--ios-secondary-bg);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  border: 1px solid var(--ios-border);
}

.section-label.gold {
  color: #926E0F;
  background-color: var(--ios-gold-soft);
  border-color: rgba(197, 155, 39, 0.25);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--ios-text-secondary);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* --- Apple / iOS Buttons (Zero Sharp Edges, Luxurious Micro-Physics) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-ios);
  text-align: center;
  white-space: normal;
  word-break: normal;
  line-height: 1.35;
  box-sizing: border-box;
  max-width: 100%;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--ios-navy);
  color: #FFFFFF;
  border: 1.5px solid rgba(197, 151, 40, 0.35);
  box-shadow: 0 4px 14px rgba(11, 25, 56, 0.2);
}

.btn-primary:hover {
  background-color: var(--ios-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 25, 56, 0.28);
}

.btn-blue {
  background-color: var(--ios-blue);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
}

.btn-blue:hover {
  background-color: var(--ios-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.32);
}

.btn-whatsapp {
  background-color: var(--ios-whatsapp);
  color: #FFFFFF;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background-color: #FFFFFF;
  border: 1.5px solid rgba(197, 151, 40, 0.42);
  color: var(--ios-navy);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(11, 25, 56, 0.05);
}

.btn-outline:hover {
  background-color: var(--ios-gold-soft);
  border-color: var(--ios-gold);
  color: var(--ios-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 151, 40, 0.2);
}

.btn-secondary {
  background-color: var(--ios-secondary-bg);
  color: var(--ios-text-primary);
  border: 1.5px solid var(--ios-border);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: #E2E8F0;
  border-color: rgba(197, 151, 40, 0.3);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.84rem;
  line-height: 1.3;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.btn-full {
  width: 100%;
}

/* --- Pre-Header Topbar for Desktop & Tablet --- */
.header-topbar {
  background: var(--ios-navy-dark);
  color: #E2E8F0;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(197, 151, 40, 0.35);
  display: none;
}

@media (min-width: 900px) {
  .header-topbar {
    display: block;
  }
}

.header-topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-topbar-left,
.header-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-topbar a {
  color: #F1F5F9;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  transition: color var(--transition-ios);
}

.header-topbar a:hover {
  color: var(--ios-gold-glow);
}

.topbar-badge {
  background: rgba(197, 151, 40, 0.22);
  color: #FCE082;
  border: 1px solid rgba(197, 151, 40, 0.45);
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Clean, Elegant & High-Converting Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid rgba(197, 151, 40, 0.32);
  box-shadow: 0 4px 20px rgba(11, 25, 56, 0.08);
  transition: all var(--transition-ios);
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  width: 100% !important;
  box-sizing: border-box !important;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 30px rgba(11, 25, 56, 0.14);
  border-bottom-color: rgba(197, 151, 40, 0.45);
  padding: 0.65rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  max-width: var(--container-max);
  gap: 1rem;
  box-sizing: border-box !important;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(197, 151, 40, 0.28);
  border: 2px solid var(--ios-gold);
  transition: transform var(--transition-ios);
  object-fit: cover;
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.25;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.45vw, 1.18rem);
  font-weight: 800;
  color: var(--ios-navy);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  padding: 2px 0;
}

.brand-subtext {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ios-gold-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-top: 3px;
  white-space: nowrap;
}

/* Desktop Nav Links */
.nav-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1080px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ios-text-secondary);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-ios);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ios-navy);
  background-color: var(--ios-gold-soft);
}

.nav-link.active {
  color: var(--ios-navy);
  font-weight: 700;
  background-color: var(--ios-gold-soft);
  border: 1px solid var(--ios-gold-border);
}

.nav-link-badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: var(--ios-navy);
  color: #FCE082;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.nav-action-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-call-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ios-navy);
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ios-border);
  background: #FFFFFF;
  transition: all var(--transition-ios);
  white-space: nowrap;
}

@media (min-width: 1220px) {
  .nav-call-link {
    display: inline-flex;
  }
}

.nav-call-link:hover {
  background: var(--ios-secondary-bg);
  border-color: var(--ios-gold);
}

.nav-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.btn-gold {
  background: var(--gold-gradient);
  color: #070D1D;
  font-weight: 700;
  border: 1px solid rgba(252, 224, 130, 0.5);
  box-shadow: 0 4px 14px rgba(170, 130, 28, 0.25);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 20px rgba(170, 130, 28, 0.35);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger (Approachable, Tactile, High-Contrast) */
.mobile-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--ios-secondary-bg);
  border: 1.5px solid rgba(197, 151, 40, 0.45);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px 8px;
  flex-shrink: 0;
  transition: all var(--transition-ios);
  box-shadow: 0 2px 8px rgba(11, 25, 56, 0.08);
}

.mobile-toggle-btn:hover {
  background: #E5E9F0;
  border-color: var(--ios-gold);
  transform: translateY(-1px);
}

.mobile-toggle-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--ios-navy);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

@media (min-width: 1080px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Responsive Header Safeguards:
   1. On screens below 1080px, remove header buttons completely so brand text has 100% breathing space
   2. Ensure the mobile menu toggle is prominent, approachable in size (44x44px), tactile, and always visible
   3. Provide generous vertical clearance so uppercase text never cuts from the top edge
*/
@media (max-width: 1079px) {
  .site-header {
    padding: 0.85rem 0 !important;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-action-pill .btn,
  .nav-action-pill .btn-gold,
  .nav-action-pill .btn-primary,
  .nav-action-pill .header-cta-desktop,
  .nav-action-pill .nav-call-link {
    display: none !important;
  }

  .nav-action-pill {
    margin-left: auto !important;
    flex-shrink: 0 !important;
    gap: 0 !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: #F1F4F9 !important;
    border: 1.5px solid rgba(197, 151, 40, 0.45) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(11, 25, 56, 0.1) !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  .mobile-toggle-btn span {
    display: block !important;
    width: 22px !important;
    height: 2.5px !important;
    background-color: var(--ios-navy) !important;
    border-radius: 9999px !important;
  }

  .brand-logo-wrap {
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .brand-title {
    font-size: clamp(0.85rem, 3.8vw, 1.05rem);
    letter-spacing: 0.015em;
    white-space: nowrap;
    line-height: 1.4;
    padding: 3px 0;
  }
}

@media (max-width: 520px) {
  .brand-subtext {
    display: none !important;
    /* Clean 1-line brand title on compact smartphones prevents all vertical & horizontal squeeze */
  }

  .brand-title {
    font-size: clamp(0.84rem, 4.2vw, 0.98rem);
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .brand-logo-wrap {
    gap: 0.55rem;
  }
}

/* --- Apple iOS Executive Cards & High-Converting Buttons --- */
.ios-hero-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid rgba(197, 151, 40, 0.4);
  box-shadow: 0 16px 40px rgba(11, 25, 56, 0.12);
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  transition: transform var(--transition-ios), box-shadow var(--transition-ios);
}

.ios-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(11, 25, 56, 0.16);
  border-color: var(--ios-gold);
}

.ios-hero-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 600px) {
  .ios-hero-card img {
    height: 330px;
  }
}

.ios-counsellor-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(197, 151, 40, 0.45);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(7, 13, 29, 0.18);
  box-sizing: border-box;
}

.ios-badge-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid var(--ios-gold) !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.ios-badge-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ios-navy);
  line-height: 1.2;
}

.ios-badge-role {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ios-gold-dark);
  line-height: 1.25;
  margin-top: 2px;
}

/* Apple iOS Pill Button for Cards (Punchy, Zero Overflow, Micro-Physics) */
.btn-ios-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(197, 151, 40, 0.45);
  color: var(--ios-navy);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.15rem;
  transition: all var(--transition-ios);
  box-shadow: 0 2px 8px rgba(11, 25, 56, 0.05);
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

.btn-ios-pill:hover {
  background: var(--ios-navy);
  color: #FFFFFF;
  border-color: var(--ios-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 25, 56, 0.18);
}

.btn-ios-pill .btn-arrow {
  color: var(--ios-gold);
  font-weight: 800;
  transition: transform var(--transition-ios);
}

.btn-ios-pill:hover .btn-arrow {
  color: #FCE082;
  transform: translateX(3px);
}

/* Mobile Drawer (iOS Sheet Style) */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: #FFFFFF;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: right var(--transition-ios);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ios-border);
  margin-bottom: 1.25rem;
}

.mobile-drawer-close {
  background: var(--ios-secondary-bg);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--ios-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-links a {
  display: block;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ios-text-primary);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-ios);
}

.mobile-nav-links a:hover {
  background-color: var(--ios-gold-soft);
  color: var(--ios-navy);
}

.mobile-drawer-actions {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ios-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 29, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.mobile-nav-overlay.open {
  display: block;
}

/* --- Section Rhythm & Generous Whitespace --- */
.section {
  padding: 5.5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-white {
  background-color: #FFFFFF;
}

.section-subtle {
  background-color: var(--ios-secondary-bg);
}

/* --- Hero Section (World-Class Branded Atmosphere) --- */
.ios-hero {
  padding: 3.5rem 0 4.5rem 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(212, 175, 55, 0.14), transparent),
    linear-gradient(180deg, #FFFFFF 0%, #F6F9FD 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 151, 40, 0.18);
}

.hero-super-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.7rem, 2.6vw, 0.78rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ios-gold-dark);
  background: #FCF8EC;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(197, 151, 40, 0.35);
  box-shadow: 0 2px 8px rgba(197, 151, 40, 0.1);
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  text-align: left;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .hero-badge-desktop {
    display: none;
  }

  .hero-badge-mobile {
    display: inline;
  }
}

@media (min-width: 601px) {
  .hero-badge-mobile {
    display: none;
  }

  .hero-badge-desktop {
    display: inline;
  }
}

.ios-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 100%;
}

@media (min-width: 992px) {
  .ios-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.ios-hero-content {
  max-width: 640px;
  width: 100%;
  box-sizing: border-box;
}

.ios-hero-title {
  margin-bottom: 1.25rem;
  color: var(--ios-text-primary);
  line-height: 1.22;
  font-size: clamp(1.65rem, 5vw, 3rem);
  word-break: break-word;
  overflow-wrap: break-word;
}

.ios-hero-title .gradient-text {
  background: linear-gradient(135deg, #0B1938 0%, #0284C7 50%, #C59728 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub-title {
  display: block;
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 600;
  color: var(--ios-text-secondary);
  margin-top: 0.5rem;
  letter-spacing: normal;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ios-hero-desc {
  font-size: clamp(0.92rem, 2.4vw, 1.02rem);
  color: var(--ios-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Creative Hero Interactive Widgets */
.hero-interactive-streams {
  margin: 1.15rem 0 1.35rem 0;
  width: 100%;
}

.hero-streams-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ios-gold-dark);
  margin-bottom: 0.55rem;
}

.hero-stream-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}

.hero-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(197, 151, 40, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ios-navy);
  cursor: pointer;
  transition: all var(--transition-ios);
  box-shadow: 0 2px 6px rgba(11, 25, 56, 0.04);
}

.hero-quick-pill:hover {
  background: var(--ios-gold-soft);
  border-color: var(--ios-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 151, 40, 0.2);
}

.hero-quick-pill .pill-icon {
  font-size: 0.95rem;
}

.hero-glass-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.65rem;
  width: 100%;
}

@media (max-width: 680px) {
  .hero-glass-feature-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.hero-feature-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(197, 151, 40, 0.3);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.8rem;
  box-shadow: 0 2px 8px rgba(11, 25, 56, 0.04);
}

.hero-feature-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-feature-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.hero-feature-text strong {
  font-size: 0.82rem;
  color: var(--ios-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-feature-text span {
  font-size: 0.72rem;
  color: var(--ios-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-trust-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: clamp(0.82rem, 2.3vw, 0.92rem);
  font-weight: 600;
  color: var(--ios-text-primary);
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-trust-bullet-item .bullet-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid #A7F3D0;
  flex-shrink: 0;
  margin-top: 2px;
}

.ios-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  width: 100%;
}

@media (max-width: 600px) {
  .ios-hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .ios-hero-cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ios-border);
}

@media (max-width: 600px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.hero-stat-item h4 {
  font-size: 1.25rem;
  color: var(--ios-navy);
  margin-bottom: 0.15rem;
}

.hero-stat-item p {
  font-size: 0.82rem;
  color: var(--ios-text-tertiary);
  line-height: 1.35;
}

/* Statutory Accreditation Ribbon */
.statutory-ribbon {
  background: #070D1D;
  border-top: 1px solid rgba(197, 151, 40, 0.3);
  border-bottom: 1px solid rgba(197, 151, 40, 0.3);
  padding: 1.25rem 0;
  color: #F1F5F9;
}

.statutory-ribbon-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.statutory-ribbon-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FCE082;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.statutory-ribbon-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.council-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 151, 40, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  transition: all var(--transition-ios);
}

.council-badge:hover {
  background: rgba(197, 151, 40, 0.25);
  border-color: #FCE082;
  transform: translateY(-1px);
}

/* ==========================================================================
   EXECUTIVE COUNSELLOR AUTHORITY SHOWCASE (Apple iOS Glass Aesthetic)
   ========================================================================== */
.hero-authority-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid rgba(197, 151, 40, 0.4);
  box-shadow: 0 20px 50px rgba(11, 25, 56, 0.12);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-ios), box-shadow var(--transition-ios);
}

.hero-authority-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.authority-profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--ios-border);
  width: 100%;
  box-sizing: border-box;
}

.authority-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.authority-avatar {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 2.5px solid var(--ios-gold) !important;
  object-fit: cover !important;
  box-shadow: 0 4px 14px rgba(197, 151, 40, 0.35);
  display: block !important;
  flex-shrink: 0 !important;
}

.authority-online-pulse {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #22C55E;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulse-dot 2s infinite;
}

.authority-name-box {
  min-width: 0;
  flex: 1;
}

.authority-name-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ios-navy);
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.authority-role {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ios-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.authority-desk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.25;
}

.authority-streams-heading {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ios-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.authority-streams-heading span.badge-hint {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ios-gold-dark);
  text-transform: none;
}

.authority-stream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  width: 100%;
  box-sizing: border-box;
}

.authority-stream-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ios-secondary-bg);
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ios-text-primary);
  text-decoration: none;
  transition: all var(--transition-ios);
  cursor: pointer;
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}

.authority-stream-chip:hover {
  background: #FFFFFF;
  border-color: var(--ios-gold);
  box-shadow: 0 4px 14px rgba(197, 151, 40, 0.22);
  transform: translateY(-2px);
  color: var(--ios-navy);
}

.authority-stream-chip .stream-chip-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.authority-stream-chip span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.authority-trust-checklist {
  background: #FDFBF7;
  border: 1px solid rgba(197, 151, 40, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.authority-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ios-navy);
}

.authority-trust-item span.trust-icon {
  color: #059669;
  font-weight: 800;
  font-size: 0.9rem;
}

.authority-action-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.authority-action-box .btn-whatsapp {
  justify-content: center;
}

/* ==========================================================================
   ADMISSION & CUTOFF ASSESSMENT STUDIO 2025-26
   ========================================================================== */
.assessment-studio-wrap {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid rgba(197, 151, 40, 0.35);
  box-shadow: 0 16px 50px rgba(11, 25, 56, 0.08);
  overflow: hidden;
  margin-top: 1rem;
}

.assessment-studio-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .assessment-studio-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.assessment-promise-pane {
  background: linear-gradient(145deg, #070D1D 0%, #0B1938 100%);
  color: #FFFFFF;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1.5px solid rgba(197, 151, 40, 0.35);
}

.assessment-promise-pane h3 {
  font-size: 1.85rem;
  color: #FFFFFF;
  margin: 0.75rem 0 1rem 0;
  line-height: 1.25;
}

.assessment-promise-pane p {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.assessment-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.assessment-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.assessment-pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 151, 40, 0.2);
  border: 1px solid rgba(197, 151, 40, 0.4);
  color: #FCE082;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.assessment-pillar-item strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 0.15rem;
}

.assessment-pillar-item span {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.45;
}

.assessment-form-pane {
  padding: 3rem 2.5rem;
  background: #FFFFFF;
}

.assessment-form-pane h3 {
  font-size: 1.65rem;
  color: var(--ios-navy);
  margin-bottom: 0.4rem;
}

.assessment-form-pane p {
  font-size: 0.92rem;
  color: var(--ios-text-secondary);
  margin-bottom: 1.75rem;
}

.ios-badge-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ios-text-primary);
}

.ios-badge-role {
  font-size: 0.78rem;
  color: var(--ios-text-tertiary);
}

/* --- Interactive iOS Course Stream Segment Switcher --- */
.ios-segment-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--ios-secondary-bg);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  max-width: 900px;
  margin: 0 auto 3rem auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ios-border);
}

.ios-segment-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ios-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-ios);
}

.ios-segment-btn.active {
  background: #FFFFFF;
  color: var(--ios-text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --- Clean iOS App Cards (No sharp edges, smooth borders) --- */
.ios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .ios-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ios-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ios-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .ios-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ios-card {
  background: var(--ios-card);
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-ios);
  display: flex;
  flex-direction: column;
}

.ios-card:hover {
  border-color: var(--ios-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.ios-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ios-secondary-bg);
  color: var(--ios-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.ios-card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.ios-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.ios-card p {
  color: var(--ios-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Course Pill Badge */
.course-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--ios-secondary-bg);
  color: var(--ios-navy);
  margin-bottom: 0.75rem;
  border: 1px solid var(--ios-border);
}

/* --- High-Converting Lead Generation Box --- */
.ios-lead-card {
  background: #FFFFFF;
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-card);
}

.ios-lead-header {
  margin-bottom: 2rem;
  text-align: center;
}

.ios-lead-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--ios-text-primary);
}

.ios-lead-header p {
  color: var(--ios-text-secondary);
  font-size: 0.95rem;
}

.form-group-ios {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group-ios label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ios-text-primary);
}

.form-control-ios {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: var(--ios-secondary-bg);
  color: var(--ios-text-primary);
  transition: all var(--transition-ios);
}

.form-control-ios:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--ios-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

/* --- Clean Apple FAQ Accordion --- */
.ios-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.ios-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all var(--transition-ios);
}

.ios-faq-btn {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ios-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.ios-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ios-secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-ios);
  flex-shrink: 0;
}

.ios-faq-item.active .ios-faq-icon {
  transform: rotate(180deg);
  background: var(--ios-navy);
  color: #FFFFFF;
}

.ios-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--ios-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ios-faq-item.active .ios-faq-content {
  padding: 0 1.5rem 1.35rem 1.5rem;
}

/* --- Clean Footer --- */
.ios-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--ios-border);
  padding: 4.5rem 0 2rem 0;
  color: var(--ios-text-secondary);
  font-size: 0.9rem;
}

.ios-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .ios-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ios-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.ios-footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ios-text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.ios-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ios-footer-links a:hover {
  color: var(--ios-blue);
}

.ios-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--ios-border);
  font-size: 0.82rem;
  color: var(--ios-text-tertiary);
}

@media (min-width: 768px) {
  .ios-footer-bottom {
    flex-direction: row;
  }
}

/* --- Mobile Floating iOS Dock --- */
.ios-floating-dock {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  z-index: 1500;
}

@media (min-width: 992px) {
  .ios-floating-dock {
    display: none;
  }
}

.dock-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-ios);
}

.dock-btn.call {
  background: var(--ios-secondary-bg);
  color: var(--ios-text-primary);
}

.dock-btn.whatsapp {
  background: var(--ios-whatsapp);
  color: #FFFFFF;
}

.dock-btn.enquire {
  background: var(--ios-navy);
  color: #FFFFFF;
}

.dock-btn svg {
  width: 16px;
  height: 16px;
}

/* --- Clean Modal System --- */
.ios-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ios-modal-backdrop.active {
  display: flex;
}

.ios-modal {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  padding: 2.25rem;
  border: 1px solid var(--ios-border);
}

.ios-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--ios-secondary-bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--ios-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Mobile Friendliness & Safe Area Enhancements --- */
body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 768px) {

  /* Prevent auto-zoom on focus in iOS Safari */
  input,
  select,
  textarea,
  .form-control-ios {
    font-size: 16px !important;
  }

  .ios-floating-dock {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .ios-card {
    padding: 1.5rem;
  }

  .ios-hero {
    padding: 3rem 0 3.5rem 0;
  }
}

.ios-segment-bar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ios-segment-bar::-webkit-scrollbar {
  display: none;
}

/* --- Informative Graphic Cards --- */
.infographic-card {
  background: #FFFFFF;
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  margin: 3rem 0;
}

.infographic-header {
  text-align: center;
  margin-bottom: 2rem;
}

.infographic-header h3 {
  font-size: 1.4rem;
  color: var(--ios-navy);
  margin-bottom: 0.35rem;
}

.infographic-header p {
  color: var(--ios-text-secondary);
  font-size: 0.95rem;
}

.infographic-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

.infographic-scroll-wrap svg,
.infographic-scroll-wrap img {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  display: block !important;
}

/* --- Stream Showcase Media Cards --- */
.stream-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .stream-visual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stream-visual-card {
  background: #FFFFFF;
  border: 1px solid var(--ios-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.stream-visual-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.stream-visual-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stream-visual-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ios-navy);
}

.stream-visual-body p {
  font-size: 0.92rem;
  color: var(--ios-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   16 COURSE STREAMS & REAL BANNER BOARD STYLING SYSTEM
   Harmonized with physical board: Medical, Paramedical, Engineering, Hotel Mgmt,
   Fashion, Pharmacy, Agriculture, Computer, Media, Architecture, Nursing,
   Education, Management, Law, General Higher, General Vocational 10th/12th/ITI
   ========================================================================== */

/* Live Course Search Filter Bar */
.course-search-wrap {
  max-width: 620px;
  margin: -1.25rem auto 2.25rem auto;
  position: relative;
}

.course-search-input {
  width: 100%;
  padding: 0.95rem 1.4rem 0.95rem 3.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ios-border);
  background: #FFFFFF;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--ios-text-primary);
  box-shadow: 0 4px 16px rgba(11, 25, 56, 0.05);
  transition: all var(--transition-ios);
}

.course-search-input:focus {
  outline: none;
  border-color: var(--ios-gold);
  box-shadow: 0 6px 24px rgba(197, 151, 40, 0.2);
  background: #FFFFFF;
}

.course-search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ios-text-tertiary);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Course Stream Card */
.course-card-stream {
  background: #FFFFFF;
  border: 1.5px solid var(--ios-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-ios);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.course-card-stream:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 25, 56, 0.09);
  border-color: var(--ios-gold-border);
}

.course-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.stream-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}

.stream-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.course-card-stream h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--ios-navy);
}

.course-card-stream p {
  font-size: 0.9rem;
  color: var(--ios-text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.stream-degrees-box {
  background: var(--ios-secondary-bg);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin: auto 0 1.25rem 0;
  border: 1px solid rgba(11, 25, 56, 0.04);
}

.stream-degrees-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ios-text-tertiary);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stream-degrees-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.degree-chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background: #FFFFFF;
  color: var(--ios-navy);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(11, 25, 56, 0.1);
  box-shadow: 0 1px 3px rgba(11, 25, 56, 0.04);
  transition: all var(--transition-ios);
}

.course-card-stream:hover .degree-chip {
  border-color: rgba(197, 151, 40, 0.35);
  background: #FCFDFE;
}

.stream-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-whatsapp-sm {
  background: var(--ios-whatsapp);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all var(--transition-ios);
  flex-shrink: 0;
}

.btn-whatsapp-sm:hover {
  background: var(--ios-whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* 16 Stream Themes Matching Real Banner Colors */
/* 1. Medical (Green/Emerald) */
.stream-theme-medical {
  border-top: 4px solid #059669;
}

.stream-theme-medical .stream-tag {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.stream-theme-medical .stream-icon {
  background: #ECFDF5;
  color: #059669;
}

/* 2. Para Medical (Ruby / Rose) */
.stream-theme-paramedical {
  border-top: 4px solid #E11D48;
}

.stream-theme-paramedical .stream-tag {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.stream-theme-paramedical .stream-icon {
  background: #FFF1F2;
  color: #E11D48;
}

/* 3. Engineering (Cobalt Blue) */
.stream-theme-engineering {
  border-top: 4px solid #2563EB;
}

.stream-theme-engineering .stream-tag {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.stream-theme-engineering .stream-icon {
  background: #EFF6FF;
  color: #2563EB;
}

/* 4. Hotel Management (Violet / Purple) */
.stream-theme-hotel {
  border-top: 4px solid #7C3AED;
}

.stream-theme-hotel .stream-tag {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.stream-theme-hotel .stream-icon {
  background: #F5F3FF;
  color: #7C3AED;
}

/* 5. Fashion Designing (Teal / Jade) */
.stream-theme-fashion {
  border-top: 4px solid #0D9488;
}

.stream-theme-fashion .stream-tag {
  background: #F0FDFA;
  color: #0F766E;
  border: 1px solid #99F6E4;
}

.stream-theme-fashion .stream-icon {
  background: #F0FDFA;
  color: #0D9488;
}

/* 6. Pharmacy (Magenta / Pink) */
.stream-theme-pharmacy {
  border-top: 4px solid #C026D3;
}

.stream-theme-pharmacy .stream-tag {
  background: #FDF4FF;
  color: #A21CAF;
  border: 1px solid #F5D0FE;
}

.stream-theme-pharmacy .stream-icon {
  background: #FDF4FF;
  color: #C026D3;
}

/* 7. Agriculture (Warm Amber / Orange) */
.stream-theme-agriculture {
  border-top: 4px solid #EA580C;
}

.stream-theme-agriculture .stream-tag {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
}

.stream-theme-agriculture .stream-icon {
  background: #FFF7ED;
  color: #EA580C;
}

/* 8. Computer & Software (Tech Indigo) */
.stream-theme-computer {
  border-top: 4px solid #4F46E5;
}

.stream-theme-computer .stream-tag {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.stream-theme-computer .stream-icon {
  background: #EEF2FF;
  color: #4F46E5;
}

/* 9. Media & Communication (Cyan / Sky) */
.stream-theme-media {
  border-top: 4px solid #0284C7;
}

.stream-theme-media .stream-tag {
  background: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.stream-theme-media .stream-icon {
  background: #F0F9FF;
  color: #0284C7;
}

/* 10. Architecture (Maroon / Crimson) */
.stream-theme-architecture {
  border-top: 4px solid #BE123C;
}

.stream-theme-architecture .stream-tag {
  background: #FFF1F2;
  color: #9F1239;
  border: 1px solid #FECDD3;
}

.stream-theme-architecture .stream-icon {
  background: #FFF1F2;
  color: #BE123C;
}

/* 11. Nursing (Forest Green) */
.stream-theme-nursing {
  border-top: 4px solid #047857;
}

.stream-theme-nursing .stream-tag {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.stream-theme-nursing .stream-icon {
  background: #ECFDF5;
  color: #047857;
}

/* 12. Education (Sapphire / Deep Sky) */
.stream-theme-education {
  border-top: 4px solid #0284C7;
}

.stream-theme-education .stream-tag {
  background: #F0F9FF;
  color: #075985;
  border: 1px solid #BAE6FD;
}

.stream-theme-education .stream-icon {
  background: #F0F9FF;
  color: #0284C7;
}

/* 13. Management (Bold Red) */
.stream-theme-management {
  border-top: 4px solid #DC2626;
}

.stream-theme-management .stream-tag {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.stream-theme-management .stream-icon {
  background: #FEF2F2;
  color: #DC2626;
}

/* 14. Law (Midnight Navy) */
.stream-theme-law {
  border-top: 4px solid #1E293B;
}

.stream-theme-law .stream-tag {
  background: #F8FAFC;
  color: #0F172A;
  border: 1px solid #CBD5E1;
}

.stream-theme-law .stream-icon {
  background: #F8FAFC;
  color: #1E293B;
}

/* 15. General Higher Courses (Ocean Blue) */
.stream-theme-general-higher {
  border-top: 4px solid #1D4ED8;
}

.stream-theme-general-higher .stream-tag {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.stream-theme-general-higher .stream-icon {
  background: #EFF6FF;
  color: #1D4ED8;
}

/* 16. School & Vocational 10th/12th/ITI (Vibrant Orange) */
.stream-theme-vocational {
  border-top: 4px solid #F97316;
}

.stream-theme-vocational .stream-tag {
  background: #FFF7ED;
  color: #EA580C;
  border: 1px solid #FED7AA;
}

.stream-theme-vocational .stream-icon {
  background: #FFF7ED;
  color: #F97316;
}

/* --- Footer Credit Styling --- */
.footer-credit {
  font-size: 0.88rem;
  color: var(--ios-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: var(--ios-secondary-bg);
  border-radius: var(--radius-pill);
  border: 1px solid var(--ios-border);
}

.footer-credit strong {
  color: var(--ios-navy);
  font-weight: 700;
}

.footer-credit-heart {
  color: #EF4444;
  display: inline-block;
  animation: pulse-heart 1.5s ease infinite;
}

@keyframes pulse-heart {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   BRANDED COMPARISON TABLE & AUTHORITY SPOTLIGHT
   ========================================================================== */
.comparison-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--ios-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-top: 2.5rem;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--ios-border);
}

.comparison-table th.col-feature {
  width: 34%;
  background: var(--ios-secondary-bg);
  color: var(--ios-text-primary);
}

.comparison-table th.col-ak {
  width: 36%;
  background: #0B1938;
  color: #FCE082;
  border-left: 2px solid var(--ios-gold);
  border-right: 2px solid var(--ios-gold);
}

.comparison-table th.col-agents {
  width: 30%;
  background: #FEF2F2;
  color: #991B1B;
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ios-border);
  line-height: 1.5;
}

.comparison-table td.col-ak {
  background: #FDFBF7;
  font-weight: 600;
  color: var(--ios-navy);
  border-left: 2px solid rgba(197, 151, 40, 0.4);
  border-right: 2px solid rgba(197, 151, 40, 0.4);
}

.comparison-table td.col-agents {
  background: #FFFDFD;
  color: #7F1D1D;
}

/* Office & Mentorship Spotlight Hub */
.office-hub-card {
  background: linear-gradient(135deg, #070D1D 0%, #0F265C 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  color: #FFFFFF;
  border: 1.5px solid rgba(197, 151, 40, 0.35);
  box-shadow: 0 16px 40px rgba(7, 13, 29, 0.25);
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}

.office-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .office-hub-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.office-hub-info h3 {
  font-size: 1.85rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.office-hub-info p {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.office-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.office-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #E2E8F0;
  font-size: 0.95rem;
}

.office-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.office-hub-card-right {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 151, 40, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  text-align: center;
}

.office-hub-card-right h4 {
  color: #FCE082;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.office-hub-card-right p {
  color: #CBD5E1;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   GLOBAL MOBILE VIEWPORT & ZERO-OVERFLOW SAFEGUARDS
   Ensures zero horizontal blowout, zero right-side gap on any device (320px to 4K)
   ========================================================================== */
section,
header,
footer,
main,
.container,
.site-header,
.ios-hero,
.statutory-ribbon {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  min-width: 0 !important;
}

.infographic-card,
.comparison-card,
.assessment-studio-wrap,
.office-hub-card,
.hero-authority-card,
.ios-card,
.course-card-stream,
.stream-visual-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.infographic-scroll-wrap,
.comparison-table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block !important;
  min-width: 0 !important;
}

@media (max-width: 768px) {
  /* Prevent desktop 720px/1000px SVG infographic from blowing out mobile viewport */
  .infographic-scroll-wrap svg,
  .infographic-scroll-wrap img {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .comparison-table {
    min-width: 520px !important;
  }
}

@media (max-width: 600px) {
  .office-hub-card {
    padding: 1.75rem 1.15rem;
  }

  .assessment-promise-pane,
  .assessment-form-pane {
    padding: 1.5rem 1rem !important;
  }

  .infographic-card {
    padding: 1.25rem 0.85rem;
  }

  .hero-authority-card {
    padding: 1.35rem 1rem !important;
    border-radius: 20px !important;
  }

  /* Counsellor Profile Header Mobile Alignment */
  .authority-profile-header {
    gap: 0.85rem !important;
    padding-bottom: 0.95rem !important;
    margin-bottom: 0.95rem !important;
  }

  .authority-avatar-wrap {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0 !important;
  }

  .authority-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .authority-name-box h3 {
    font-size: 1.05rem !important;
  }

  .authority-role {
    font-size: 0.72rem !important;
  }

  .authority-desk-badge {
    font-size: 0.66rem !important;
    padding: 0.12rem 0.45rem !important;
  }

  /* Modal Mobile Responsiveness */
  .ios-modal-backdrop {
    padding: 0.75rem !important;
  }

  .ios-modal {
    padding: 1.5rem 1.15rem !important;
    border-radius: var(--radius-lg) !important;
    max-height: 92vh !important;
  }

  /* Form Row 2-Col auto stack on mobile */
  .form-row-2col,
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  /* Bulletproof Button Styling (Zero Text Overflow, Zero Screen Sliding) */
  .btn,
  .btn-gold,
  .btn-primary,
  .btn-whatsapp,
  .btn-outline,
  .btn-secondary {
    white-space: normal !important;
    word-break: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-lg {
    padding: 0.85rem 1.15rem !important;
    font-size: 0.92rem !important;
  }

  /* Stream Chips Micro Responsiveness */
  .authority-stream-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
  }

  .authority-stream-chip {
    padding: 0.48rem 0.5rem !important;
    font-size: 0.75rem !important;
    gap: 0.35rem !important;
  }

  .authority-stream-chip .stream-chip-icon {
    font-size: 0.92rem !important;
  }
}

@media (max-width: 360px) {
  .authority-stream-grid {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .authority-avatar-wrap {
    width: 46px !important;
    height: 46px !important;
  }

  .authority-avatar {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
  }

  .authority-name-box h3 {
    font-size: 0.98rem !important;
  }
}

/* Allow horizontal gestures ONLY on designated horizontal scroll containers */
.infographic-scroll-wrap,
.comparison-table-wrap,
.ios-segment-bar {
  touch-action: pan-x pan-y !important;
}