/* ==========================================================================
   ACAP Stock Brokers - Professional Modern Stylesheet
   Brand Colors:
   - Deep Navy Primary: #0A192F / #0F2942
   - Corporate Blue: #1E3A8A / #2563EB
   - Financial Crimson Accent: #B91C1C / #DC2626
   - Prestige Gold Accent: #D97706 / #F59E0B
   - Clean Backgrounds: #FFFFFF / #F8FAFC
   ========================================================================== */

:root {
  --primary: #0A192F;
  --primary-rgb: 10, 25, 47;
  --primary-dark: #070F1E;
  --primary-light: #1E3A8A;
  --secondary: #0F2942;
  --accent: #B91C1C;
  --accent-rgb: 185, 28, 28;
  --accent-hover: #991B1B;
  --accent-light: #FEE2E2;
  --gold: #D97706;
  --gold-rgb: 217, 119, 6;
  --gold-light: #FEF3C7;
  --success: #10B981;
  --danger: #EF4444;
  
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(185, 28, 28, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Top Notification / Market Status Bar */
.top-bar {
  background: #060E1A;
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.market-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}
.market-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulseGreen 2s infinite;
  transition: all 0.3s ease;
}
.market-status-badge.status-closed {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #EF4444 !important;
}
.market-status-badge.status-closed .market-status-dot {
  background-color: #EF4444 !important;
  box-shadow: 0 0 6px #EF4444 !important;
  animation: pulseRed 2s infinite !important;
}
@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* CSE Live Market Timer & Clock Widget (as on www.cse.lk) */
.cse-live-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0;
  border: none;
  background: transparent;
  color: #E2E8F0;
  transition: all 0.3s ease;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 0.65rem;
}
.cse-live-timer .cse-timer-date {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cse-live-timer .cse-timer-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  user-select: none;
}
.cse-live-timer .cse-timer-clock-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  transition: all 0.3s ease;
}
.cse-live-timer .cse-timer-icon {
  font-size: 0.75rem;
  transition: color 0.3s ease;
  opacity: 0.9;
}
.cse-live-timer .cse-timer-tz {
  font-size: 0.65rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* Color Changer States solely on the Clock Box */
.cse-live-timer.status-open .cse-timer-clock-box {
  border-color: rgba(0, 199, 88, 0.5) !important;
  background: rgba(0, 199, 88, 0.12) !important;
  color: #00C758 !important;
  box-shadow: 0 0 10px rgba(0, 199, 88, 0.18) !important;
}
.cse-live-timer.status-open .cse-timer-clock-box,
.cse-live-timer.status-open .cse-timer-icon,
.cse-live-timer.status-open .cse-timer-digits,
.cse-live-timer.status-open .cse-timer-tz {
  color: #00C758 !important;
}

.cse-live-timer.status-closed .cse-timer-clock-box {
  border-color: rgba(239, 68, 68, 0.45) !important;
  background: rgba(239, 68, 68, 0.12) !important;
  color: #EF4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.18) !important;
}
.cse-live-timer.status-closed .cse-timer-clock-box,
.cse-live-timer.status-closed .cse-timer-icon,
.cse-live-timer.status-closed .cse-timer-digits,
.cse-live-timer.status-closed .cse-timer-tz {
  color: #EF4444 !important;
}

.cse-live-timer.status-premarket .cse-timer-clock-box {
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #F59E0B !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.18) !important;
}
.cse-live-timer.status-premarket .cse-timer-clock-box,
.cse-live-timer.status-premarket .cse-timer-icon,
.cse-live-timer.status-premarket .cse-timer-digits,
.cse-live-timer.status-premarket .cse-timer-tz {
  color: #F59E0B !important;
}

/* Light Theme Mode */
body:not(.dark-mode) .cse-live-timer .cse-timer-date {
  color: #64748B;
}
body:not(.dark-mode) .cse-live-timer .cse-timer-divider {
  color: #CBD5E1;
}
body:not(.dark-mode) .cse-live-timer.status-open .cse-timer-clock-box {
  border-color: #00C758 !important;
  background: #F0FDF4 !important;
}
body:not(.dark-mode) .cse-live-timer.status-closed .cse-timer-clock-box {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
}
body:not(.dark-mode) .cse-live-timer.status-premarket .cse-timer-clock-box {
  border-color: #F59E0B !important;
  background: #FFFBEB !important;
}

@media (max-width: 640px) {
  .cse-live-timer {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    gap: 0.35rem;
  }
  .cse-live-timer .cse-timer-date,
  .cse-live-timer .cse-timer-divider {
    display: none;
  }
}

/* Header & Navigation */
.header-main {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1360px;
  padding: 0 1.5rem;
}

/* Left: Swift Mode Switch & Compact Action Buttons */
.nav-left-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Center: Main Nav Links (Single Perfect Line, Perfectly Aligned) */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 0 1.5rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.75rem, 1.35vw, 1.4rem);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.nav-link {
  font-weight: 600;
  font-size: clamp(0.82rem, 0.92vw, 0.9rem);
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link-dashboard {
  color: #B91C1C !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.nav-live-badge {
  background: #B91C1C;
  color: #FFFFFF !important;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-left: 0.25rem;
}

/* Right: Logo in the Right Side Corner (Bit Bigger) */
.nav-right-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
}
.brand-logo-img {
  height: 64px !important; /* Bit bigger as requested */
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Compact Navigation Action Buttons */
.btn-nav {
  padding: 0.45rem 0.9rem !important; /* Bit smaller */
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  gap: 0.4rem !important;
  line-height: 1.25 !important;
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-color);
}
.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-atrad {
  background: linear-gradient(135deg, #0A192F 0%, #1A365D 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-atrad:hover {
  background: linear-gradient(135deg, #0F2942 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 42, 71, 0.3);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Ticker Strip */
.market-ticker-section {
  background: #0A192F;
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0;
}
.ticker-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ticker-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 5;
  box-shadow: -24px 0 0 16px #0A192F, 12px 0 12px 4px #0A192F;
}
.ticker-track {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 2.5rem;
  animation: tickerScroll 20s linear infinite;
  position: relative;
  z-index: 1;
}
.ticker-content:hover {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.ticker-symbol {
  font-weight: 700;
  color: #F8FAFC;
}
.ticker-val {
  color: #E2E8F0;
}
.ticker-up {
  color: #34D399;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
}
.ticker-down {
  color: #F87171;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
}

/* Hero Section with Video Background */
.video-header-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #070D18;
  color: #FFFFFF;
}

.video-header-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72; /* High visibility so the authentic video motion is clearly seen */
  filter: saturate(1.25) contrast(1.15) brightness(1.05);
}

.video-header-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(185, 28, 28, 0.15) 0%, rgba(10, 25, 47, 0.55) 50%, rgba(6, 12, 22, 0.82) 100%),
              linear-gradient(180deg, rgba(6, 12, 22, 0.35) 0%, rgba(6, 12, 22, 0.75) 100%);
  z-index: 1;
}

.video-header-content {
  position: relative;
  z-index: 2;
}

/* Page Video Header Banner (Unified for all Subpages) */
.page-video-header {
  position: relative;
  overflow: hidden;
  background-color: #070D18;
  padding: 5rem 0 4rem;
  border-bottom: 2px solid rgba(185, 28, 28, 0.4);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.breadcrumbs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}
.breadcrumbs-badge a {
  color: #94A3B8;
  transition: color 0.2s ease;
}
.breadcrumbs-badge a:hover {
  color: #FFFFFF;
}
.breadcrumbs-badge span {
  color: #EF4444;
  font-weight: 700;
}

.page-header-title {
  font-size: 3rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-header-desc {
  color: #CBD5E1;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Glassmorphism Dark Card */
.glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
  color: #FFFFFF;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}
.hero-title span {
  color: #EF4444;
  position: relative;
  display: inline-block;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
.hero-badge-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Hero Right Interactive Card */
.hero-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem 2rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #B91C1C 0%, #DC2626 50%, #EA580C 100%);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.live-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.market-index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.index-box {
  background: var(--bg-subtle);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.index-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.index-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  margin: 0.3rem 0;
}
.index-change {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.portal-quick-access {
  background: linear-gradient(135deg, #0A192F 0%, #162C4E 100%);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #FFFFFF;
}
.portal-quick-access h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.portal-quick-access p {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

/* Section Header Generic */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-subtitle-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--primary);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Stat Counter Bar */
.stats-section {
  background: var(--primary);
  color: #FFFFFF;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number span {
  color: var(--gold);
}
.stat-label {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 500;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-image-card {
  background: linear-gradient(135deg, #0A192F 0%, #1A365D 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-decor-pattern {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.1;
  font-size: 14rem;
  line-height: 1;
}
.board-list-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.director-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.director-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}
.director-role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}
.about-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  display: flex;
  gap: 0.85rem;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.value-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.value-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-subtle);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(185, 28, 28, 0.3);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(10, 25, 47, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--accent);
  color: #FFFFFF;
}
.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.service-description {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li i {
  color: var(--success);
  font-size: 0.8rem;
}
.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-link:hover {
  gap: 0.7rem;
}

/* Calculator Section */
.calc-section {
  padding: 5rem 0;
  background: #FFFFFF;
}
.calc-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.calc-form-group {
  margin-bottom: 1.25rem;
}
.calc-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: #FFFFFF;
  color: var(--text-main);
  transition: var(--transition);
}
.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}
.calc-results-card {
  background: #0A192F;
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #FFFFFF;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.calc-result-row.total-row {
  border-bottom: none;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

/* Research Section */
.research-section {
  padding: 6rem 0;
  background-color: var(--bg-subtle);
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.research-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.research-header-badge {
  background: var(--primary);
  color: #FFFFFF;
  padding: 0.6rem 1.25rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.research-body {
  padding: 1.5rem;
}
.research-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.research-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.research-summary {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Downloads Section */
.downloads-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}
.downloads-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.download-item:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.download-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.download-pdf-icon {
  font-size: 2rem;
  color: var(--accent);
}
.download-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.download-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-subtle);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-box {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-box h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.contact-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.contact-form-panel {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer-main {
  background-color: #060E1A;
  color: #CBD5E1;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.35fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-logo {
  height: 96px;
  max-width: 100%;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
  object-fit: contain;
}
.footer-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}
.footer-regulatory-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Next-Gen Ultra-Modern Fintech Components & Micro-Interactions
   ========================================================================== */

.nextgen-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(10, 25, 47, 0.05);
}
.nextgen-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #B91C1C, #F59E0B);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nextgen-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow: 0 20px 35px -10px rgba(10, 25, 47, 0.12), 0 0 15px rgba(185, 28, 28, 0.08);
}
.nextgen-card:hover::after {
  opacity: 1;
}

/* Leader & Director Executive Cards */
.leader-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  position: relative;
}
.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 35px -8px rgba(10, 25, 47, 0.15), 0 0 20px rgba(185, 28, 28, 0.1);
  border-color: rgba(185, 28, 28, 0.35);
}
.leader-photo-wrap {
  height: 290px;
  overflow: hidden;
  background: radial-gradient(circle at center, #1E293B 0%, #0A192F 100%);
  position: relative;
}
.leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.leader-card:hover .leader-photo-wrap img {
  transform: scale(1.06);
}
.leader-info-wrap {
  padding: 1.6rem 1.25rem 1.75rem;
  background: #FFFFFF;
}
.leader-name {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.leader-role {
  display: inline-block;
  color: #B91C1C;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(185, 28, 28, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.leader-dept {
  display: inline-block;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  background: #F1F5F9;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Copy Button for Bank Accounts */
.copy-badge-btn {
  background: #0A192F;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}
.copy-badge-btn:hover {
  background: #B91C1C;
  border-color: #B91C1C;
  transform: translateY(-1px);
}

/* Video Header Floating Stats Strip */
.header-video-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.header-video-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
.header-video-stat-item i {
  font-size: 1.5rem;
  color: #F59E0B;
}
.header-video-stat-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  font-weight: 600;
}
.header-video-stat-val {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* ==========================================================================
   Comprehensive Multi-Device Responsive Architecture
   Breakpoints:
   - Ultra-Wide / Desktop (> 1200px)
   - Laptops & Tablets Landscape (992px - 1199px)
   - Tablets Portrait (768px - 991px)
   - Large Mobile & Phablets (481px - 767px)
   - Small Mobile Phones (<= 480px)
   ========================================================================== */

/* Universal Layout & Grids */
.team-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hotline-banners-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.hotline-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.markets-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.markets-indicators-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.terminal-gauges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5.5rem;
}
.contact-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.contact-divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.steps-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.download-zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.bank-accounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 12px;
}
.table-responsive table {
  min-width: 580px;
  width: 100%;
}

/* Desktop Only (> 1180px) */
@media (min-width: 1181px) {
  .mobile-toggle {
    display: none !important;
  }
  .mobile-nav-buttons {
    display: none !important;
  }
}

/* Screens <= 1180px (Laptops, Tablets, and Mobile) */
@media (max-width: 1180px) {
  .nav-center {
    position: static;
    flex-grow: 0;
    padding: 0;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.75rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--border-color);
    z-index: 999;
    gap: 0.85rem;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    display: flex !important;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    width: 100%;
    padding: 0.75rem 0.6rem;
    border-radius: 6px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  body.dark-mode .nav-menu li a {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
  .nav-menu li a:hover {
    background: rgba(10, 25, 47, 0.04);
  }
  body.dark-mode .nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(10, 25, 47, 0.05);
    border: 1px solid var(--border-color);
    font-size: 1.25rem;
    color: var(--primary);
    cursor: pointer;
  }
  .nav-left-actions .btn-nav {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding-top: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }
  .brand-logo-img {
    height: 52px !important;
    max-width: 190px !important;
  }
  .team-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid, .about-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid, .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-hero-grid, .markets-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets Portrait (<= 992px) */
@media (max-width: 992px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-section {
    padding: 4.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
  }
  .page-header-title {
    font-size: 2.5rem;
  }
  .steps-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bank-accounts-grid {
    grid-template-columns: 1fr;
  }
  .download-zone-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  .nav-container {
    height: 74px;
    padding: 0 1.25rem;
  }
  .nav-menu {
    top: 74px;
    max-height: calc(100vh - 74px);
    padding: 1.25rem 1.25rem 2rem;
  }
  .brand-logo-img {
    height: 44px !important;
    max-width: 160px !important;
  }
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
  }
  .top-bar-left, .top-bar-right {
    font-size: 0.75rem;
    gap: 0.75rem;
    justify-content: center;
  }
  .team-grid-4, .team-grid-3 {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .services-grid, .research-grid, .downloads-list {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .contact-divisions-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-badges {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }
  .stat-item:nth-child(3), .stat-item:nth-child(4) {
    border-bottom: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-header-title {
    font-size: 2.1rem;
  }
  .page-video-header {
    padding: 3.5rem 0 2.5rem;
  }
  .calc-card {
    padding: 1.75rem 1.25rem;
  }
  .calc-results-card {
    padding: 1.5rem 1rem;
  }
  .contact-form-panel {
    padding: 1.75rem 1.25rem;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .modal-box {
    padding: 1.5rem 1.25rem;
    max-width: calc(100% - 2rem);
    margin: 1rem;
  }
  .hotline-banners-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .hotline-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hotline-card a {
    font-size: 1.35rem !important;
  }
}

/* Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .nav-container {
    height: 68px;
    padding: 0 1rem;
  }
  .nav-menu {
    top: 68px;
    max-height: calc(100vh - 68px);
    padding: 1rem 1rem 2rem;
  }
  .brand-logo-img {
    height: 38px !important;
    max-width: 135px !important;
  }
  .theme-swift-toggle {
    padding: 0.25rem 0.35rem;
  }
  .swift-label {
    display: none !important; /* Hide text label on small mobile, show sun/moon track only */
  }
  .mobile-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .nav-left-actions {
    gap: 0.4rem;
  }
  .market-status-badge > span:last-child,
  .top-bar-right a[href*="mailto"] {
    display: none !important; /* Keep top bar clean and single-line on small phones */
  }
  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
  }
  .top-bar-right {
    gap: 0.5rem;
  }
  .hero-section {
    padding: 2.75rem 0 2rem;
  }
  .hero-title {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .hero-card {
    padding: 1.25rem 0.85rem;
    border-radius: 12px;
  }
  .market-index-grid {
    gap: 0.5rem;
  }
  .index-box {
    padding: 0.75rem 0.5rem;
  }
  .index-value {
    font-size: 1.2rem;
  }
  .index-name {
    font-size: 0.72rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-number {
    font-size: 2.25rem;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 0.75rem;
  }
  .stat-item:last-child {
    border-bottom: none !important;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .page-header-title {
    font-size: 1.75rem;
  }
  .page-header-desc {
    font-size: 0.95rem;
  }
  .about-values-list {
    grid-template-columns: 1fr;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .leader-photo-wrap {
    height: 260px;
  }
  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Swift Mode: Smooth Dark & Light Theme Switcher
   ========================================================================== */

/* Universal smooth transition for theme switching */
body, .header-main, .nextgen-card, .leader-card, .leader-info-wrap,
.service-card, .research-card, .calc-card, .nav-link, .top-bar, 
section, div, footer, input, select, textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Swift Switch Toggle Button */
.theme-swift-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(10, 25, 47, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
}
.theme-swift-toggle:hover {
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.3);
}

.swift-track {
  width: 44px;
  height: 24px;
  background: #CBD5E1;
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  transition: background-color 0.3s ease;
}
.swift-icon {
  font-size: 0.7rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swift-sun {
  color: #D97706;
}
.swift-moon {
  color: #64748B;
}
.swift-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  z-index: 2;
}
.swift-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 36px;
  text-align: left;
}

/* Dark Mode Active States */
body.dark-mode {
  --bg-main: #070D18;
  --bg-subtle: #0D1627;
  --bg-card: #111E33;
  --border-color: #1F304B;
  --border-light: #16243A;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --primary: #F8FAFC;
  background-color: #070D18 !important;
  color: #F1F5F9 !important;
}

body.dark-mode .header-main {
  background: rgba(7, 13, 24, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .nav-menu {
  background: #0E182A !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .mobile-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}
body.dark-mode .mobile-nav-buttons {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .nav-link {
  color: #E2E8F0 !important;
}
body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
  color: #EF4444 !important;
}

body.dark-mode .theme-swift-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}
body.dark-mode .theme-swift-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #EF4444;
}
body.dark-mode .swift-track {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.dark-mode .swift-moon {
  color: #38BDF8;
}
body.dark-mode .swift-sun {
  color: #64748B;
}
body.dark-mode .swift-thumb {
  transform: translateX(20px);
  background: #38BDF8;
}
body.dark-mode .swift-label {
  color: #38BDF8;
}

/* Sections and Cards Adaptations in Dark Mode */
body.dark-mode section:not(.hero-section):not(.page-video-header):not(.market-ticker-section) {
  background-color: #070D18 !important;
}
body.dark-mode .nextgen-card,
body.dark-mode .leader-card,
body.dark-mode .service-card,
body.dark-mode .research-card,
body.dark-mode .calc-card,
body.dark-mode .about-image-card,
body.dark-mode div[style*="background: #FFFFFF"],
body.dark-mode div[style*="background:#FFFFFF"],
body.dark-mode div[style*="background: #F8FAFC"],
body.dark-mode div[style*="background:#F8FAFC"] {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #F1F5F9 !important;
}

body.dark-mode .leader-info-wrap {
  background: #0E182A !important;
}
body.dark-mode .leader-name {
  color: #FFFFFF !important;
}
body.dark-mode .leader-dept {
  background: #182842 !important;
  color: #94A3B8 !important;
}

body.dark-mode .hero-card {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}
body.dark-mode .card-header-bar {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .card-title {
  color: #FFFFFF !important;
}
body.dark-mode .index-box {
  background: #14223A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .index-value {
  color: #FFFFFF !important;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4 {
  color: #F8FAFC !important;
}
body.dark-mode p,
body.dark-mode span:not(.leader-role):not(.ticker-up):not(.ticker-down):not(.live-pill):not(.section-subtitle-tag) {
  color: #CBD5E1;
}

body.dark-mode table tr,
body.dark-mode table td {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #070D18 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}
body.dark-mode .modal-box {
  background: #0E182A !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   UPDATES: Top Bar Single Line & Clean Hotline Display
   ========================================================================== */
.top-bar {
  background: #060E1A;
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: none !important;
}
.top-bar-hotline {
  color: #FFFFFF !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.top-bar-hotline:hover {
  color: var(--accent) !important;
}

/* ==========================================================================
   UPDATES: Research Reports Cards with Uploaded Thumbnails & Dynamic Gallery
   ========================================================================== */
.research-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.report-category-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.report-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.report-category-thumb {
  width: 100%;
  height: 360px;
  overflow: hidden;
  position: relative;
  background: #0B192C;
}
.report-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.report-category-card:hover .report-category-thumb img {
  transform: scale(1.03);
}
.report-category-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  background: #FFFFFF;
  text-align: center;
}
.report-category-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.report-category-desc {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.explore-reports-btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.explore-reports-btn .toggle-icon {
  transition: transform 0.3s ease;
}
.explore-reports-btn.active .toggle-icon {
  transform: rotate(180deg);
}

/* Dynamic Reports Dropdown Panel */
.dynamic-reports-dropdown {
  display: none;
  grid-column: 1 / -1;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1rem;
  animation: fadeInDown 0.3s ease-out;
}
.dynamic-reports-dropdown.open {
  display: block;
}
.dropdown-reports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}
.dropdown-reports-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.sub-report-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sub-report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.sub-report-icon {
  width: 44px;
  height: 44px;
  background: rgba(185, 28, 28, 0.1);
  color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.sub-report-info h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.sub-report-info p {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}
.sub-report-dl-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.sub-report-dl-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   UPDATES: Company Events Section
   ========================================================================== */
.events-section {
  padding: 5rem 0;
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
}
.events-featured-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}
.event-image-wrap {
  position: relative;
  min-height: 360px;
  background: #0B192C;
}
.event-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-date-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
}
.event-content-wrap {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-tag {
  color: #0284C7;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.event-title {
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.event-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.event-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
}

/* ==========================================================================
   Company Events: Single Event Section & Lightbox Popup Gallery
   ========================================================================== */
.events-featured-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 25, 44, 0.06);
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}
.events-featured-card:hover {
  box-shadow: 0 16px 40px rgba(11, 25, 44, 0.1);
}
@media (max-width: 991px) {
  .events-featured-card {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HOMEPAGE EVENTS SECTION (EXACT MATCH WITH MOCKUP)
   ========================================================================== */
.events-section {
  padding: 4.5rem 0;
  background: #FFFFFF;
}
.events-section .section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}
.events-section .section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
}

/* 2-Column Mockup Card */
.events-mockup-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Poster Frame (Left Column) */
.event-poster-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  background: #0B1120;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  max-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.event-poster-frame:hover,
.event-poster-frame:focus {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}
.event-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.event-poster-frame:hover .event-poster-img {
  transform: scale(1.03);
}

/* Center Overlay on Poster (Mockup Match) */
.poster-center-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 1.25rem 1.85rem;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: all 0.3s ease;
}
.event-poster-frame:hover .poster-center-overlay {
  background: rgba(220, 38, 38, 0.9);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 14px 34px rgba(220, 38, 38, 0.45);
}
.poster-overlay-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: #FFFFFF;
}
.poster-overlay-text {
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Right Details Column */
.event-details-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-body-text {
  font-size: 1.025rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.75rem;
}
.event-body-text p {
  margin-bottom: 1rem;
}
.event-body-text p:last-child {
  margin-bottom: 0;
}

/* YouTube Link Button (Solid Red) */
.event-youtube-wrap {
  margin-bottom: 0.85rem;
}
.btn-event-youtube-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF0000;
  background: linear-gradient(135deg, #FF0000 0%, #DC2626 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
}
.btn-event-youtube-red:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
  color: #FFFFFF !important;
}
.btn-event-youtube-red i {
  font-size: 1.25rem;
}

/* View Photo Gallery Text Link */
.event-view-gallery-link-wrap {
  margin-top: 0.25rem;
}
.event-view-gallery-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0284C7;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.event-view-gallery-text-link:hover {
  color: #0369A1;
}

/* ==========================================================================
   PHOTO VIEWER / LIGHTBOX WITH ALL GALLERY IMAGES THUMBNAIL STRIP
   ========================================================================== */
.image-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}

/* Top Close Button (Top Right) */
.lightbox-top-bar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.image-lightbox-close {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}
.image-lightbox-close:hover {
  background: #DC2626;
  border-color: #DC2626;
  transform: scale(1.1);
}

/* Main Photo Display Stage & Left/Right Arrows */
.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.lightbox-main-img-wrap {
  position: relative;
  max-width: 88%;
  max-height: calc(100vh - 230px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-main-img {
  max-width: 100%;
  max-height: calc(100vh - 230px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.lightbox-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.lightbox-arrow-btn:hover {
  background: #DC2626;
  border-color: #DC2626;
  transform: translateY(-50%) scale(1.1);
}
.lightbox-arrow-prev {
  left: 0;
}
.lightbox-arrow-next {
  right: 0;
}

/* Bottom Thumbnail Tray ("All Gallery Images" in Mockup) */
.lightbox-bottom-tray {
  width: 100%;
  max-width: 1100px;
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 16px;
  box-sizing: border-box;
}
.lightbox-tray-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.lightbox-tray-strip::-webkit-scrollbar {
  height: 6px;
}
.lightbox-tray-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.lightbox-thumb-item {
  flex: 0 0 auto;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
}
.lightbox-thumb-item:hover {
  transform: translateY(-2px);
}
.lightbox-thumb-img-box {
  width: 80px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #000;
  transition: all 0.2s ease;
}
.lightbox-thumb-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.lightbox-thumb-item:hover .lightbox-thumb-img-box img {
  opacity: 0.9;
}
.lightbox-thumb-item.active .lightbox-thumb-img-box {
  border-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.lightbox-thumb-item.active .lightbox-thumb-img-box img {
  opacity: 1;
}
.lightbox-thumb-label {
  display: block;
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 4px;
  white-space: nowrap;
}
.lightbox-thumb-item.active .lightbox-thumb-label {
  color: #FFFFFF;
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .events-mockup-card {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .event-poster-frame {
    max-width: 440px;
    margin: 0 auto;
  }
  .lightbox-arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   UPDATES: Global News Section (Reuters Stocks Feed)
   ========================================================================== */
.global-news-section {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
}
.global-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.global-news-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.global-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.global-news-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0B192C;
}
.global-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.global-news-card:hover .global-news-thumb img {
  transform: scale(1.05);
}
.global-news-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.global-news-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.global-news-source span.reuters-badge {
  color: #F97316;
  text-transform: uppercase;
}
.global-news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.global-news-scrollbox {
  max-height: 110px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 1.25rem;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.6;
}
.global-news-scrollbox::-webkit-scrollbar {
  width: 4px;
}
.global-news-scrollbox::-webkit-scrollbar-track {
  background: #F1F5F9;
}
.global-news-scrollbox::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.global-news-scrollbox::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
.global-news-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #F1F5F9;
}

/* ==========================================================================
   UPDATES: Contact Summary Strip & Social Media Icons
   ========================================================================== */
.contact-numbers-strip {
  background: #0B192C;
  color: #FFFFFF;
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-strip-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.2s ease;
}
.contact-strip-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}
.contact-strip-item .strip-label {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.contact-strip-item a {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}
.contact-strip-item a:hover {
  color: var(--accent);
}
.social-links-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.social-link-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-link-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* ==========================================================================
   UPDATES: AI Chatbot Widget Styles
   ========================================================================== */
.acap-chatbot-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.chatbot-launcher-btn {
  background: linear-gradient(135deg, #0B192C, #B91C1C);
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chatbot-launcher-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.5);
}
.chatbot-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}
.chatbot-modal {
  display: none;
  width: 380px;
  height: 540px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 70px;
  right: 0;
  animation: slideUpFade 0.3s ease;
}
.chatbot-modal.open {
  display: flex;
}
.chatbot-header {
  background: #0B192C;
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.chatbot-title h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #FFFFFF;
}
.chatbot-title span {
  font-size: 0.72rem;
  color: #10B981;
}
.chatbot-close-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.2rem;
  cursor: pointer;
}
.chatbot-body {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #F8FAFC;
}
.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.chat-msg.bot {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.chat-msg.user {
  background: var(--accent);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.chat-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chat-pill {
  background: #EEF2F6;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-pill:hover {
  background: var(--primary);
  color: #FFFFFF;
}
.chatbot-footer {
  padding: 0.75rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex-grow: 1;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
}
.chat-send-btn {
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Responsive Breakpoints for New Sections */
@media (max-width: 992px) {
  .research-reports-grid,
  .global-news-grid,
  .contact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .events-featured-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .research-reports-grid,
  .global-news-grid,
  .contact-strip-grid {
    grid-template-columns: 1fr;
  }
  .chatbot-modal {
    width: calc(100vw - 32px);
    right: -8px;
    height: 480px;
  }
}


/* About Strategic Section Responsive Styles */
.about-strategic-section {
  width: 100%;
  clear: both;
}
.strategic-global-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.strategic-global-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
@media (max-width: 992px) {
  .strategic-global-card > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
@media (max-width: 768px) {
  .strategic-global-card {
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .chatbot-launcher-btn span {
    display: none !important;
  }
  .chatbot-launcher-btn {
    padding: 0 !important;
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    justify-content: center !important;
  }
}


/* ==========================================================================
   COMPREHENSIVE UNIVERSAL DARK MODE OVERRIDES (HTML & BODY)
   ========================================================================== */
html.dark-mode,
html[data-theme="dark"],
body.dark-mode {
  --bg-main: #070D18 !important;
  --bg-subtle: #0D1627 !important;
  --bg-card: #111E33 !important;
  --border-color: #1F304B !important;
  --border-light: #16243A !important;
  --text-main: #F1F5F9 !important;
  --text-muted: #94A3B8 !important;
  --primary: #F8FAFC !important;
  background-color: #070D18 !important;
  color: #F1F5F9 !important;
}

body.dark-mode section:not(.hero-section):not(.page-video-header):not(.market-ticker-section) {
  background-color: #070D18 !important;
  color: #F1F5F9 !important;
}

/* Universal background overrides for any element with inline light colors */
body.dark-mode [style*="background: #FFFFFF"],
body.dark-mode [style*="background:#FFFFFF"],
body.dark-mode [style*="background: #ffffff"],
body.dark-mode [style*="background:#ffffff"],
body.dark-mode [style*="background: #FFF"],
body.dark-mode [style*="background:#FFF"],
body.dark-mode [style*="background: #fff"],
body.dark-mode [style*="background:#fff"],
body.dark-mode [style*="background: white"],
body.dark-mode [style*="background:white"],
body.dark-mode [style*="background: #F8FAFC"],
body.dark-mode [style*="background:#F8FAFC"],
body.dark-mode [style*="background: #f8fafc"],
body.dark-mode [style*="background:#f8fafc"],
body.dark-mode [style*="background: #F1F5F9"],
body.dark-mode [style*="background:#F1F5F9"],
body.dark-mode [style*="background: #E2E8F0"],
body.dark-mode [style*="background:#E2E8F0"] {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #F1F5F9 !important;
}

/* Universal text color overrides for dark text in light mode */
body.dark-mode [style*="color: #0A192F"],
body.dark-mode [style*="color:#0A192F"],
body.dark-mode [style*="color: #0B192C"],
body.dark-mode [style*="color:#0B192C"],
body.dark-mode [style*="color: #0F172A"],
body.dark-mode [style*="color:#0F172A"],
body.dark-mode [style*="color: #1E293B"],
body.dark-mode [style*="color:#1E293B"],
body.dark-mode [style*="color: #334155"],
body.dark-mode [style*="color:#334155"],
body.dark-mode [style*="color: #111827"],
body.dark-mode [style*="color:#111827"],
body.dark-mode [style*="color: black"],
body.dark-mode [style*="color:black"],
body.dark-mode [style*="color: #000000"],
body.dark-mode [style*="color:#000000"],
body.dark-mode [style*="color: #000"] {
  color: #F8FAFC !important;
}

body.dark-mode [style*="color: #475569"],
body.dark-mode [style*="color:#475569"],
body.dark-mode [style*="color: #64748B"],
body.dark-mode [style*="color:#64748B"],
body.dark-mode [style*="color: #6B7280"],
body.dark-mode [style*="color:#6B7280"] {
  color: #94A3B8 !important;
}

body.dark-mode [style*="border: 1px solid #E2E8F0"],
body.dark-mode [style*="border: 1px solid #E5E7EB"],
body.dark-mode [style*="border: 1px solid #CBD5E1"],
body.dark-mode [style*="border-color: #E2E8F0"],
body.dark-mode [style*="border-color: #CBD5E1"] {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Cards & Dropdowns in Dark Mode */
body.dark-mode .sub-report-card,
body.dark-mode .global-news-card,
body.dark-mode .event-post-card,
body.dark-mode .report-category-card,
body.dark-mode .nextgen-card,
body.dark-mode .leader-card,
body.dark-mode .service-card,
body.dark-mode .research-card,
body.dark-mode .calc-card,
body.dark-mode .about-image-card {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #F1F5F9 !important;
}

body.dark-mode .sub-report-card {
  background: #111E33 !important;
}
body.dark-mode .sub-report-info h4 {
  color: #FFFFFF !important;
}
body.dark-mode .sub-report-info p {
  color: #94A3B8 !important;
}
body.dark-mode .dynamic-reports-dropdown {
  background: #0D1627 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .global-news-body,
body.dark-mode .report-category-info,
body.dark-mode .event-post-info {
  background: #0E182A !important;
  color: #F1F5F9 !important;
}
body.dark-mode .global-news-scroll {
  background: #111E33 !important;
  color: #CBD5E1 !important;
}
body.dark-mode .chat-modal,
body.dark-mode .chatbot-modal {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
body.dark-mode .chat-body,
body.dark-mode .chatbot-body {
  background: #070D18 !important;
}
body.dark-mode .chat-msg.bot {
  background: #111E33 !important;
  color: #F1F5F9 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .chat-msg.user {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}
body.dark-mode .chat-pill {
  background: #16243A !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #38BDF8 !important;
}
body.dark-mode .chat-footer,
body.dark-mode .chatbot-footer {
  background: #0E182A !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .chat-input {
  background: #070D18 !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ==========================================================================
   ABOUT PAGE: RESPONSIVE STRATEGIC INTELLIGENCE & GOVERNANCE SECTION
   ========================================================================== */
.about-strategic-section {
  padding: 5rem 0;
  background: #F8FAFC;
  border-top: 1px solid var(--border-color);
}
.about-strat-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}
.about-strat-header h2 {
  font-size: 2.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.about-strat-header p {
  color: #64748B;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.about-strat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 991px) {
  .about-strat-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.strat-featured-card {
  background: linear-gradient(135deg, #0B192C 0%, #162C4E 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 991px) {
  .strat-featured-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
}
.strat-featured-title {
  font-size: 1.85rem;
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}
.strat-featured-desc {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.strat-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.strat-metric-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.2s, background 0.2s;
}
.strat-metric-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.strat-metric-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.strat-metric-title {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.strat-metric-text {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

.strat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.strat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}
.strat-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
}
.strat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.strat-card-title {
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}
.strat-card-sub {
  font-size: 0.8rem;
  color: #64748B;
  display: block;
  margin-top: 2px;
}
.strat-card-lead {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.strat-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.strat-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #334155;
}
.strat-feature-item i {
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.strat-feature-item strong {
  color: #0F172A;
  display: block;
  font-size: 0.92rem;
}
.strat-feature-item p {
  margin: 0.2rem 0 0;
  color: #64748B;
  font-size: 0.85rem;
  line-height: 1.5;
}

.strat-parent-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-left: 5px solid #0B192C;
  border-radius: 14px;
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
@media (max-width: 768px) {
  .strat-parent-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
  }
}

body.dark-mode .about-strategic-section {
  background: #070D18 !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .strat-card,
body.dark-mode .strat-parent-card {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode .strat-card-title {
  color: #FFFFFF !important;
}
body.dark-mode .strat-card-sub,
body.dark-mode .strat-card-lead {
  color: #94A3B8 !important;
}
body.dark-mode .strat-feature-item strong {
  color: #F1F5F9 !important;
}
body.dark-mode .strat-feature-item p {
  color: #94A3B8 !important;
}
body.dark-mode .strat-parent-card {
  border-left-color: #38BDF8 !important;
}



/* ==========================================================================
   RESEARCH REPORTS: VISUAL THUMBNAIL CARDS & FLIPBOOK LAUNCHER
   ========================================================================== */
.report-category-card.active-cat {
  border-color: var(--accent) !important;
  box-shadow: 0 14px 32px rgba(185, 28, 28, 0.16) !important;
  transform: translateY(-4px);
}
.dynamic-reports-showcase {
  margin-top: 2.5rem;
  width: 100%;
}
.dynamic-reports-dropdown {
  display: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-top: 4px solid var(--accent);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  animation: fadeInReports 0.28s ease-out;
}
.dynamic-reports-dropdown.open {
  display: block !important;
}
@keyframes fadeInReports {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.reports-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}
@media (max-width: 992px) {
  .reports-thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .reports-thumbnail-grid {
    grid-template-columns: 1fr;
  }
}
.report-thumb-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.report-thumb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  border-color: var(--accent);
}
.report-item-thumb-link {
  display: block;
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0F172A;
  text-decoration: none;
}
.report-item-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.report-thumb-card:hover .report-item-thumb-link img {
  transform: scale(1.06);
  opacity: 0.82;
}
.report-pdf-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.report-pdf-pill i {
  color: #EF4444;
}
.flipbook-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 25, 44, 0.9) 0%, rgba(11, 25, 44, 0.25) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.15rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.report-thumb-card:hover .flipbook-hover-overlay {
  opacity: 1;
}
.flipbook-hover-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.report-thumb-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.report-thumb-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.report-thumb-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.report-thumb-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
.report-thumb-title a:hover {
  color: var(--accent);
}
.report-thumb-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.report-thumb-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}
.report-thumb-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
}

body.dark-mode .dynamic-reports-dropdown {
  background: #0D1627 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-top-color: #EF4444 !important;
}
body.dark-mode .report-thumb-card {
  background: #111E33 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .report-thumb-title,
body.dark-mode .report-thumb-title a {
  color: #F8FAFC !important;
}
body.dark-mode .report-thumb-desc {
  color: #94A3B8 !important;
}



    .social-links-row {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      flex-wrap: wrap !important;
      gap: 14px !important;
      margin-top: 1.5rem !important;
      margin-bottom: 0.5rem !important;
    }
    .social-links-row .social-link-btn {
      width: 48px !important;
      height: 48px !important;
      min-width: 48px !important;
      min-height: 48px !important;
      border-radius: 50% !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 1.35rem !important;
      color: #FFFFFF !important;
      text-decoration: none !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
      transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    }
    .social-links-row .social-link-btn:hover {
      transform: translateY(-4px) scale(1.12) !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
    }
    .social-links-row .social-link-btn.btn-linkedin { background: #0A66C2 !important; }
    .social-links-row .social-link-btn.btn-facebook { background: #1877F2 !important; }
    .social-links-row .social-link-btn.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
    .social-links-row .social-link-btn.btn-x { background: #000000 !important; border: 1.5px solid rgba(255, 255, 255, 0.3) !important; }
    .social-links-row .social-link-btn.btn-youtube { background: #FF0000 !important; }
    .social-links-row .social-link-btn.btn-whatsapp { background: #25D366 !important; }



    .social-links-row {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
      gap: 16px !important;
      margin-top: 1.75rem !important;
      margin-bottom: 0.5rem !important;
      flex-wrap: wrap !important;
    }
    .social-links-row .social-icons-group {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      flex: 1 !important;
      min-width: 320px !important;
      gap: 12px !important;
      flex-wrap: wrap !important;
    }
    .social-links-row .social-link-btn {
      width: 58px !important;
      height: 58px !important;
      min-width: 58px !important;
      min-height: 58px !important;
      border-radius: 50% !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 1.65rem !important;
      color: #FFFFFF !important;
      text-decoration: none !important;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
      transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    }
    .social-links-row .social-link-btn:hover {
      transform: translateY(-5px) scale(1.12) !important;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5) !important;
    }
    .social-links-row .social-link-btn.btn-linkedin { background: #0A66C2 !important; }
    .social-links-row .social-link-btn.btn-facebook { background: #1877F2 !important; }
    .social-links-row .social-link-btn.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
    .social-links-row .social-link-btn.btn-x { background: #000000 !important; border: 1.5px solid rgba(255, 255, 255, 0.35) !important; }
    .social-links-row .social-link-btn.btn-youtube { background: #FF0000 !important; }
    .social-links-row .social-link-btn.btn-whatsapp { background: #25D366 !important; font-size: 1.75rem !important; }
    .footer-logo {
  height: 96px;
  max-width: 100%;
  width: auto;
  margin-bottom: 1.25rem;
  display: block;
  object-fit: contain;
}



/* ==========================================================================
   COMPANY EVENTS & BRANCH EXPANSIONS - COMPLETE DARK MODE ADAPTATION
   ========================================================================== */
html[data-theme="dark"] .events-section,
body.dark-mode .events-section,
.dark-mode .events-section {
  background: #070D18 !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] .events-section .section-title,
body.dark-mode .events-section .section-title,
.dark-mode .events-section .section-title {
  color: #FFFFFF !important;
}

html[data-theme="dark"] .events-section .section-desc,
body.dark-mode .events-section .section-desc,
.dark-mode .events-section .section-desc {
  color: #94A3B8 !important;
}

html[data-theme="dark"] .events-featured-card,
body.dark-mode .events-featured-card,
.dark-mode .events-featured-card {
  background: #0D1626 !important;
  border: 1px solid #1E2E4A !important;
  border-color: #1E2E4A !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .events-featured-card:hover,
body.dark-mode .events-featured-card:hover,
.dark-mode .events-featured-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

html[data-theme="dark"] .event-content-wrap,
body.dark-mode .event-content-wrap,
.dark-mode .event-content-wrap {
  background: #0D1626 !important;
  color: #F1F5F9 !important;
}

html[data-theme="dark"] .event-tag,
body.dark-mode .event-tag,
.dark-mode .event-tag {
  color: #38BDF8 !important;
}

html[data-theme="dark"] .event-title,
body.dark-mode .event-title,
.dark-mode .event-title {
  color: #FFFFFF !important;
}

html[data-theme="dark"] .event-desc,
html[data-theme="dark"] .event-desc p,
body.dark-mode .event-desc,
body.dark-mode .event-desc p,
.dark-mode .event-desc,
.dark-mode .event-desc p {
  color: #94A3B8 !important;
}

html[data-theme="dark"] .event-meta,
body.dark-mode .event-meta,
.dark-mode .event-meta {
  color: #94A3B8 !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .event-meta div,
body.dark-mode .event-meta div,
.dark-mode .event-meta div {
  color: #94A3B8 !important;
}

html[data-theme="dark"] .event-meta strong,
body.dark-mode .event-meta strong,
.dark-mode .event-meta strong {
  color: #E2E8F0 !important;
}

html[data-theme="dark"] .event-meta a,
body.dark-mode .event-meta a,
.dark-mode .event-meta a {
  color: #38BDF8 !important;
}

html[data-theme="dark"] .events-featured-card .btn-outline,
body.dark-mode .events-featured-card .btn-outline,
.dark-mode .events-featured-card .btn-outline {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] .events-featured-card .btn-outline:hover,
body.dark-mode .events-featured-card .btn-outline:hover,
.dark-mode .events-featured-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] .event-view-gallery-text-link,
body.dark-mode .event-view-gallery-text-link,
.dark-mode .event-view-gallery-text-link {
  color: #38BDF8 !important;
}

html[data-theme="dark"] .event-image-wrap,
body.dark-mode .event-image-wrap,
.dark-mode .event-image-wrap {
  background: #09101D !important;
}


/* Dark Mode Additions for Tariff Schedule & Careers */
body.dark-mode #transaction-cost-schedule .table-responsive {
  background: #0E182A !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode #transaction-cost-schedule table thead tr {
  background: #0A1424 !important;
  color: #FFFFFF !important;
}
body.dark-mode #transaction-cost-schedule table tbody tr {
  background: #0E182A !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode #transaction-cost-schedule table tbody tr:nth-child(odd) {
  background: #14223A !important;
}
body.dark-mode #transaction-cost-schedule table tbody tr td {
  color: #F1F5F9 !important;
}
body.dark-mode #transaction-cost-schedule table tbody tr:last-child {
  background: #C8102E !important;
  color: #FFFFFF !important;
}
body.dark-mode #transaction-cost-schedule table tbody tr:last-child td {
  color: #FFFFFF !important;
}
body.dark-mode #transaction-cost-schedule div[style*="background: #F9EFF1"] {
  background: #0E182A !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode #transaction-cost-schedule div[style*="background: #F9EFF1"] h3 {
  color: #FFFFFF !important;
}
body.dark-mode #transaction-cost-schedule div[style*="background: #F9EFF1"] p {
  color: #CBD5E1 !important;
}
body.dark-mode #transaction-cost-schedule div[style*="background: #F9EFF1"] p strong {
  color: #FFFFFF !important;
}
body.dark-mode #transaction-cost-schedule div[style*="background: #F9EFF1"] p[style*="color: #B91C1C"] {
  color: #EF4444 !important;
}

.download-filter-btn.active {
  background-color: var(--accent) !important;
  color: #FFFFFF !important;
  border-color: var(--accent) !important;
}

/* ==========================================================================
   ACAP COMPLETE ALL-DEVICE RESPONSIVE SYSTEM (All Resolutions Adjustable)
   Breakpoints:
   - Ultra-Wide Screens: min-width: 1441px
   - Laptops & Desktops: 1025px - 1440px
   - Small Laptops & Tablets Landscape: max-width: 1180px
   - Tablets Portrait: max-width: 992px
   - Phablets & Large Phones: max-width: 768px
   - Standard Mobile Phones: max-width: 640px
   - Small Mobile Phones: max-width: 480px
   - Micro/Narrow Mobile Phones: max-width: 360px
   ========================================================================== */

/* Universal Fluid Resets & Overflow Protection */
html {
  box-sizing: border-box;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
}

img, svg, video, iframe {
  max-width: 100% !important;
  height: auto;
}

/* Container Adjustments */
.container {
  width: 100% !important;
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

/* Table Responsive Universal Rules */
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: block;
}
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

/* ==========================================================================
   1. Ultra-Wide Screens (min-width: 1441px)
   ========================================================================== */
@media (min-width: 1441px) {
  .container {
    max-width: 1320px !important;
  }
}

/* ==========================================================================
   2. Small Laptops, Netbooks & Tablets Landscape (max-width: 1180px)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-center {
    position: static;
    flex-grow: 0;
    padding: 0;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--border-color);
    z-index: 9999;
    gap: 0.5rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.dark-mode .nav-menu {
    background: #0A1424 !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }
  .nav-menu.open {
    display: flex !important;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    width: 100%;
    padding: 0.75rem 0.6rem;
    border-radius: 6px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  body.dark-mode .nav-menu li a {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #F1F5F9;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .nav-left-actions .btn-nav {
    display: none !important;
  }
  .hero-grid, .about-grid, .calc-grid, .contact-grid, .about-hero-grid, .markets-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }
}

/* ==========================================================================
   3. Tablets Portrait (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .hero-section {
    padding: 3.5rem 0 2.5rem !important;
  }
  .hero-title {
    font-size: clamp(2rem, 5vw, 2.75rem) !important;
  }
  .page-header-title {
    font-size: clamp(1.85rem, 4.5vw, 2.5rem) !important;
  }
  .section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  }
  .services-grid, 
  .research-grid, 
  .research-reports-grid, 
  .global-news-grid, 
  .reports-thumbnail-grid, 
  .features-grid, 
  .about-values-grid, 
  .team-grid-4, 
  .team-grid-3, 
  .contact-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .steps-grid-3, 
  .contact-highlights-grid, 
  .bank-accounts-grid, 
  .download-zone-grid,
  .about-strat-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .contact-divisions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  #transaction-cost-schedule div[style*="grid-column: span 2"] {
    grid-column: auto !important;
    width: 100% !important;
  }
  .events-featured-card, .events-mockup-card, .strat-featured-card {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.5rem !important;
    gap: 2rem !important;
  }
  .event-poster-frame {
    max-width: 440px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   4. Phablets & Mobile Landscape (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .nav-container {
    height: 72px !important;
    padding: 0 1.25rem !important;
  }
  .nav-menu {
    top: 72px !important;
    max-height: calc(100vh - 72px) !important;
    padding: 1rem 1.25rem 2rem !important;
  }
  .brand-logo-img {
    height: 42px !important;
    max-width: 155px !important;
  }
  .top-bar-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.35rem !important;
    padding: 0.25rem 0 !important;
  }
  .top-bar-left, .top-bar-right {
    font-size: 0.75rem !important;
    gap: 0.75rem !important;
    justify-content: center !important;
  }
  .services-grid, 
  .research-grid, 
  .research-reports-grid, 
  .global-news-grid, 
  .features-grid, 
  .about-values-grid, 
  .contact-divisions-grid, 
  .downloads-list,
  .board-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .team-grid-4, .team-grid-3 {
    grid-template-columns: 1fr !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 0.85rem !important;
  }
  .stat-item:nth-child(3), .stat-item:nth-child(4) {
    border-bottom: none !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .calc-card, .calc-results-card, .contact-form-panel {
    padding: 1.5rem 1.25rem !important;
  }
  .modal-box {
    padding: 1.5rem 1.25rem !important;
    width: calc(100% - 2rem) !important;
    margin: 1rem auto !important;
  }
  .chatbot-modal {
    width: calc(100vw - 28px) !important;
    right: -6px !important;
    height: 480px !important;
    max-height: 85vh !important;
  }
  .footer-logo {
    height: clamp(80px, 18vw, 130px) !important;
    max-width: 240px !important;
  }
  .social-links-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .social-links-row .social-icons-group {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .social-links-row .social-link-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    font-size: 1.35rem !important;
  }
}

/* ==========================================================================
   5. Standard Mobile (max-width: 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .reports-thumbnail-grid {
    grid-template-columns: 1fr !important;
  }
  .dropdown-reports-list {
    grid-template-columns: 1fr !important;
  }
  .markets-indicators-grid, .terminal-gauges-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .download-item {
    flex-wrap: wrap !important;
    gap: 0.85rem !important;
    align-items: flex-start !important;
    padding: 1.15rem 1rem !important;
  }
  .download-item > a.btn {
    margin-left: auto !important;
  }
  .download-filter-btn {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.7rem !important;
  }
}

/* ==========================================================================
   6. Small Mobile Phones (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .nav-container {
    height: 64px !important;
    padding: 0 0.85rem !important;
  }
  .nav-menu {
    top: 64px !important;
    max-height: calc(100vh - 64px) !important;
    padding: 1rem 0.85rem 2rem !important;
  }
  .brand-logo-img {
    height: 36px !important;
    max-width: 125px !important;
  }
  .swift-label {
    display: none !important;
  }
  .theme-swift-toggle {
    padding: 0.2rem 0.3rem !important;
  }
  .mobile-toggle {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }
  .market-status-badge > span:last-child,
  .top-bar-right a[href*="mailto"] {
    display: none !important;
  }
  .top-bar-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.2rem 0 !important;
  }
  .hero-section {
    padding: 2.25rem 0 1.75rem !important;
  }
  .hero-content {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .hero-title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.15rem !important;
    overflow-wrap: break-word !important;
  }
  .hero-card {
    padding: 1.1rem 0.75rem !important;
    border-radius: 12px !important;
  }
  .market-index-grid {
    gap: 0.4rem !important;
  }
  .index-box {
    padding: 0.65rem 0.4rem !important;
  }
  .index-value {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem) !important;
  }
  .index-name {
    font-size: 0.7rem !important;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .stat-number {
    font-size: 2rem !important;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 0.65rem !important;
  }
  .stat-item:last-child {
    border-bottom: none !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .page-header-title {
    font-size: 1.65rem !important;
  }
  .page-header-desc {
    font-size: 0.88rem !important;
  }
  .contact-divisions-grid > div {
    padding: 1.25rem 0.75rem !important;
  }
  .contact-divisions-grid a.btn-sm {
    font-size: clamp(0.7rem, 2.7vw, 0.8rem) !important;
    padding: 0.45rem 0.2rem !important;
  }
  .social-links-row .social-link-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.25rem !important;
  }
  .modal-box {
    padding: 1.25rem 0.85rem !important;
    width: calc(100vw - 1rem) !important;
    margin: 0.5rem auto !important;
  }
  .table-responsive table {
    min-width: 460px !important;
  }
  .table-responsive th, .table-responsive td {
    padding: 0.6rem 0.7rem !important;
    font-size: 0.825rem !important;
  }
}

/* ==========================================================================
   7. Micro & Narrow Mobile Devices (max-width: 360px - e.g. iPhone SE 1st, Galaxy Fold cover)
   ========================================================================== */
@media (max-width: 360px) {
  .container {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }
  .brand-logo-img {
    height: 32px !important;
    max-width: 105px !important;
  }
  .top-bar-inner {
    font-size: 0.7rem !important;
  }
  .market-status-badge {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
  }
  .hero-title {
    font-size: 1.45rem !important;
  }
  .social-links-row .social-link-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 1.1rem !important;
  }
  .social-links-row .social-icons-group {
    gap: 6px !important;
  }
  .contact-divisions-grid > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}


/* ==========================================================================
   ACAP AI ASSISTANT - THINKING ANIMATION & REASONING STYLES
   ========================================================================== */
.chat-thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}
.chat-thinking-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
}
.chat-thinking-steps {
  font-size: 0.78rem;
  color: #0284C7;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}
.acap-ai-response {
  font-size: 0.84rem;
  line-height: 1.5;
  color: inherit;
}
.acap-ai-response a {
  color: #0284C7;
  text-decoration: underline;
  font-weight: 600;
}
.acap-ai-response a:hover {
  color: #0369A1;
  text-decoration: none;
}
body.dark-mode .chat-thinking {
  color: #94A3B8;
}
body.dark-mode .chat-thinking-pulse {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}
body.dark-mode .chat-thinking-steps {
  color: #38BDF8;
}
body.dark-mode .acap-ai-response a {
  color: #38BDF8 !important;
}
body.dark-mode .acap-ai-response a:hover {
  color: #7DD3FC !important;
}
