/* ==========================================================================
   AravaliBerg Consultancy Services - Main Stylesheet
   Modern, Corporate & Future-Oriented Design System
   ========================================================================== */

:root {
  /* Brand Color Palette - Light Sky Blue System */
  --color-primary-teal: #d8effc;
  --color-teal-dark: #09284d;
  --color-teal-deeper: #051a34;
  --color-teal-light: #185294;
  --color-teal-glow: rgba(135, 206, 235, 0.45);

  --color-accent-gold: #ebb91b;
  --color-accent-gold-hover: #d8a60f;
  --color-accent-gold-glow: rgba(235, 185, 27, 0.4);

  --color-text-white: #ffffff;
  --color-text-dim: #2b4c73;
  --color-text-muted: #537397;
  --color-text-dark: #071f3a;

  --color-surface-card: #ffffff;
  --color-surface-card-hover: #ffffff;
  --color-border-subtle: rgba(15, 60, 110, 0.12);
  --color-border-focus: rgba(15, 60, 110, 0.6);

  --color-bg-light: #f4f7fb;
  --color-card-light: #ffffff;
  --color-text-light-dark: #071f3a;
  --color-text-light-muted: #2b4c73;

  /* Sky Palette Tokens */
  --color-sky-bg: #dcedfa;
  --color-sky-hero: linear-gradient(155deg, #c8e6fc 0%, #b2defa 45%, #dbf0fd 100%);
  --color-sky-trust: #bde0f7;
  --color-sky-card: #ffffff;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max-width: 1280px;
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-sky-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Links & Buttons Common */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-smooth);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: relative;
  background-color: #08203d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

.site-header.sticky {
  position: sticky;
  top: 0;
  background-color: rgba(8, 32, 61, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

    /* Unified Header Container 
    .site-header .header-container {
        max-width: 100%;
        padding: 1.15rem 3.5rem 1.15rem 5cm;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }*/
    .site-header .header-container {
        max-width: 100%; /* 1. Allows header to stretch to the screen edges */
        padding-left: 2rem; /* 2. Controls distance from the left screen edge (e.g., 2rem, 5cm, etc.) */
        padding-right: 2rem; /* 3. Balances navigation items on the right edge */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
.brand-logo {
    margin-right: auto; /* Pushes everything after it to the far right */
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2rem;
  gap: 1.5rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

/* Language Switcher */
.header-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.header-lang:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-globe {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-divider {
  opacity: 0.4;
  font-size: 0.75rem;
  user-select: none;
}

.lang-btn {
  background: transparent;
  color: var(--color-text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  color: var(--color-text-white);
}

.lang-btn.active {
  color: var(--color-text-white);
  background: rgba(255, 255, 255, 0.2);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-white);
  text-transform: uppercase;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 260px;
  display: block;
  transition: transform 0.25s ease;
}

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

.brand-diamond {
  color: var(--color-accent-gold);
  font-size: 1.15rem;
  display: inline-block;
  transform: rotate(45deg);
  width: 14px;
  height: 14px;
  background-color: var(--color-accent-gold);
  box-shadow: 0 0 10px var(--color-accent-gold-glow);
}

.brand-text {
  letter-spacing: 0.12em;
  font-weight: 700;
}

.brand-text span {
  font-weight: 300;
  opacity: 0.9;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--color-accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-teal-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 320px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  list-style: none;
  z-index: 100;
  overflow: visible;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu > li > a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  transition: var(--transition-smooth);
}

.dropdown-menu > li > a:hover {
  color: var(--color-text-white);
  background-color: rgba(255, 255, 255, 0.08);
  padding-left: 1.5rem;
}

/* Multi-Tier Dropdown Submenu Support */
.dropdown-submenu {
  position: relative;
}

.dropdown-sub-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-white) !important;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.dropdown-sub-trigger .sub-arrow {
  font-size: 0.8rem;
  color: var(--color-accent-gold);
  transition: transform 0.25s ease;
  margin-left: 0.75rem;
  display: inline-block;
}

.dropdown-submenu:hover > .dropdown-sub-trigger {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-accent-gold) !important;
  padding-left: 1.45rem !important;
}

.dropdown-submenu:hover > .dropdown-sub-trigger .sub-arrow {
  transform: translateX(3px);
}

/* Secondary Flyout Submenu */
.dropdown-submenu .submenu {
  position: absolute;
  top: -4px;
  left: 100%;
  margin-left: 3px;
  background-color: var(--color-teal-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 320px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition-smooth);
  list-style: none;
  z-index: 120;
}

/* Hover bridge between parent item and flyout */
.dropdown-submenu .submenu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  width: 14px;
  height: 100%;
}

.dropdown-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-submenu .submenu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.dropdown-submenu .submenu li a:hover {
  color: var(--color-text-white);
  background-color: rgba(255, 255, 255, 0.08);
  border-left-color: var(--color-accent-gold);
  padding-left: 1.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--color-text-white);
  font-size: 1.6rem;
}

/* ==========================================================================
   Hero Section (Directly modeled on the reference image)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--color-sky-hero);
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4.5rem 0 0 0;
  overflow: hidden;
}

/* Subtle background accent glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--color-teal-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  width: 100%;
  margin: auto 0;
  padding-bottom: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 100%;
  width: 100%;
}

/* Hero Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(15, 60, 110, 0.08);
  border: 1px solid rgba(15, 60, 110, 0.18);
  padding: 0.42rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f3c6e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(8px);
}

.pulsing-radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  position: relative;
  display: inline-block;
}

.pulsing-radar-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #0284c7;
  animation: radarPulse 1.8s ease-out infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Moving Text Wrapper & Levitation */
.moving-text-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.moving-text-element {
  animation: textLevitate 8s ease-in-out infinite alternate;
}

@keyframes textLevitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* Hero Headline */
.hero-title {
  font-size: 1.95rem;
  font-weight: 750;
  line-height: 1.44;
  letter-spacing: -0.015em;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  max-width: 100%;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.68;
  color: #1a3c63;
  margin-bottom: 0;
  max-width: 100%;
  font-weight: 400;
}

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--color-accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-accent-gold-glow);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.65);
  color: var(--color-text-dark);
  border: 1.5px solid #0f3c6e;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background-color: #0f3c6e;
  border-color: #0f3c6e;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Slider Status Tracker on Text Side */
.hero-slider-counter {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #1a3c63;
  font-weight: 600;
  padding-top: 0.5rem;
}

.counter-curr {
  font-weight: 800;
  color: #0f3c6e;
  font-size: 1.25rem;
  font-family: monospace;
}

.counter-divider {
  color: rgba(15, 60, 110, 0.35);
  font-size: 1.1rem;
}

.counter-total {
  font-size: 0.95rem;
  color: #4a6b8c;
  font-family: monospace;
}

.counter-label {
  padding-left: 0.65rem;
  border-left: 2px solid rgba(15, 60, 110, 0.25);
  color: #0f3c6e;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Hero Right Side: Moving Images Slider Showcase
   ========================================================================== */
.hero-slider-showcase {
  position: relative;
  width: 100%;
  z-index: 3;
}

.hero-slider-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 55px rgba(10, 37, 64, 0.16), 0 4px 14px rgba(10, 37, 64, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background-color: #0a2540;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.slide-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Moving Image effect (Ken Burns floating animation) */
.slide-img.moving-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease-out;
  transform: scale(1);
  display: block;
}

.hero-slide.active .slide-img.moving-img {
  animation: kenBurnsMotion 10s ease-in-out infinite alternate;
}

@keyframes kenBurnsMotion {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.07) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1.03) translate(1%, 0.8%);
  }
}

.slide-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.08) 0%, rgba(10, 37, 64, 0.35) 50%, rgba(10, 37, 64, 0.9) 100%);
  pointer-events: none;
}

/* Slide Caption Card */
.slide-caption-card {
  position: absolute;
  bottom: 2.2rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.15rem 1.4rem;
  background: rgba(10, 37, 64, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  z-index: 3;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s, opacity 0.5s ease 0.2s;
}

.hero-slide.active .slide-caption-card {
  transform: translateY(0);
  opacity: 1;
}

.slide-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb703;
  margin-bottom: 0.35rem;
}

.slide-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}

/* Slider Arrow Controls */
.slider-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #0f3c6e;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: #0f3c6e;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(15, 60, 110, 0.3);
}

.slider-arrow.prev {
  left: 1rem;
}

.slider-arrow.next {
  right: 1rem;
}

/* Slider Controls Bar (Dots & Progress) */
.slider-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  background: rgba(10, 37, 64, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.slider-dot {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
  width: 36px;
  background: #ffb703;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.6);
}

.slider-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.slider-progress-bar {
  width: 0%;
  height: 100%;
  background: #ffb703;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Continuous Moving Text Object (Marquee Ticker Bar)
   ========================================================================== */
.moving-text-ticker-bar {
  width: 100%;
  background: linear-gradient(90deg, #071f37 0%, #0c335e 50%, #071f37 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(7, 31, 55, 0.22);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.ticker-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffb703;
  color: #071f37;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.4rem;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.2);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #071f37;
  animation: dotBlink 1.4s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  padding: 0.72rem 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerFlow 55s linear infinite;
  will-change: transform;
}

.ticker-viewport:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f0f7ff;
  padding: 0 0.5rem;
}

.ticker-separator {
  color: #ffb703;
  font-size: 1.1rem;
  padding: 0 1.25rem;
}

@keyframes tickerFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Trust & Metrics Bar
   ========================================================================== */
.trust-bar {
  background-color: var(--color-sky-trust);
  border-top: 1px solid rgba(15, 60, 110, 0.1);
  border-bottom: 1px solid rgba(15, 60, 110, 0.1);
  padding: 2.5rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item {
  padding: 0.5rem;
}

.metric-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #08264a;
  line-height: 1.2;
}

.metric-label {
  color: #1e4269;
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 6rem 0;
}

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

.section-badge {
  display: inline-block;
  background: rgba(15, 60, 110, 0.08);
  color: #0f3c6e;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Light Section Variation */
.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-light-dark);
}

.section-light .section-title {
  color: var(--color-text-light-dark);
}

.section-light .section-desc {
  color: var(--color-text-light-muted);
}

.section-light .section-badge {
  background: rgba(20, 107, 118, 0.1);
  color: var(--color-primary-teal);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-section {
  background-color: #edf6fd;
}

/* Category Filter Tabs */
.services-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.85);
  color: #0f3c6e;
  border: 1px solid rgba(15, 60, 110, 0.16);
  padding: 0.65rem 1.45rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 60, 110, 0.04);
}

.filter-tab-btn:hover {
  background: #ffffff;
  border-color: #0f3c6e;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 60, 110, 0.12);
}

.filter-tab-btn.active {
  background: #08203d;
  color: #ffffff;
  border-color: #08203d;
  box-shadow: 0 4px 16px rgba(8, 32, 61, 0.25);
}

/* Category Groups */
.category-group {
  margin-bottom: 4.5rem;
  scroll-margin-top: 110px;
}

.category-group:last-child {
  margin-bottom: 1rem;
}

.category-header {
  margin-bottom: 2rem;
  padding-bottom: 1.15rem;
  border-bottom: 2px solid rgba(15, 60, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-icon {
  width: 48px;
  height: 48px;
  background: rgba(15, 60, 110, 0.08);
  border: 1px solid rgba(15, 60, 110, 0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #08264a;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.category-desc {
  color: var(--color-text-dim);
  font-size: 0.92rem;
  max-width: 650px;
  line-height: 1.5;
}

.category-badge-count {
  background: rgba(15, 60, 110, 0.08);
  color: #0f3c6e;
  border: 1px solid rgba(15, 60, 110, 0.14);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 2.2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(15, 60, 110, 0.04);
  scroll-margin-top: 110px;
}

.service-card:hover {
  background: #ffffff;
  transform: translateY(-6px);
  border-color: #0f3c6e;
  box-shadow: 0 16px 32px rgba(15, 60, 110, 0.12);
}

@keyframes cardPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 185, 27, 0.7);
    border-color: var(--color-accent-gold);
    transform: translateY(0);
  }
  40% {
    box-shadow: 0 0 0 14px rgba(235, 185, 27, 0);
    border-color: var(--color-accent-gold);
    transform: translateY(-6px);
  }
  100% {
    box-shadow: 0 4px 18px rgba(15, 60, 110, 0.04);
    border-color: var(--color-border-subtle);
    transform: translateY(0);
  }
}

.service-card.highlight-pulse {
  animation: cardPulse 1.8s ease-out;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background: rgba(15, 60, 110, 0.08);
  color: #0f3c6e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15, 60, 110, 0.15);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.85rem;
}

.service-text {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  background: #e3f2fd;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: #0f3c6e;
  font-weight: 500;
}

.service-link {
  color: #0f3c6e;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.service-link:hover {
  color: #0284c7;
  gap: 0.7rem;
}

/* ==========================================================================
   About Section (Split Grid)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-features {
  list-style: none;
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  color: var(--color-text-dark);
}

.feature-check {
  color: #0f3c6e;
  font-size: 1.2rem;
  line-height: 1;
}

.about-visual {
  position: relative;
}

.visual-box {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 60, 110, 0.08);
}

.visual-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  border-left: 3px solid #0f3c6e;
  padding-left: 1.2rem;
}

.visual-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f3c6e;
}

.visual-role {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Projects / Case Studies
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(15, 60, 110, 0.04);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #0f3c6e;
  box-shadow: 0 16px 32px rgba(15, 60, 110, 0.12);
}

.project-banner {
  height: 160px;
  background: linear-gradient(135deg, #185294 0%, #09284d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-white);
  text-align: center;
  position: relative;
}

.project-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-body {
  padding: 1.75rem;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.6rem;
}

.project-desc {
  color: var(--color-text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.project-impact-metric {
  background: #e3f2fd;
  border-left: 3px solid #0f3c6e;
  padding: 0.6rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f3c6e;
}

/* ==========================================================================
   Career Section
   ========================================================================== */
.career-container {
  background: linear-gradient(145deg, #cde7fa 0%, #b8def7 100%);
  border: 1px solid rgba(15, 60, 110, 0.15);
  border-radius: 18px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 16px 36px rgba(15, 60, 110, 0.08);
}

.career-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.career-info p {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.career-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.perk-item {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 60, 110, 0.08);
}

.perk-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f3c6e;
  margin-bottom: 0.25rem;
}

.perk-desc {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

/* ==========================================================================
   Contact & Consultation Form
   ========================================================================== */
.contact-section {
  background-color: #dcedfa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-dim);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
  color: var(--color-text-dark);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 60, 110, 0.08);
  color: #0f3c6e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.form-box {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 60, 110, 0.08);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f7fbff;
  border: 1px solid rgba(15, 60, 110, 0.2);
  border-radius: 6px;
  color: var(--color-text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: #0f3c6e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 60, 110, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #031224;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem 0;
  font-size: 0.92rem;
}

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

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-text-white);
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--color-text-white);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header .header-container {
    padding: 1rem 2rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .hero-slider-track {
    height: 380px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-header .header-container,
  .header-container {
    padding: 0.75rem 1.25rem;
  }

  .brand-logo-img {
    height: 34px;
    max-width: 170px;
  }

  .header-right {
    gap: 0.75rem;
  }

  .nav-menu {
    position: fixed;
    top: 62px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 62px);
    background-color: var(--color-teal-deeper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem 3rem 1.25rem;
    gap: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.6rem 0;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.25);
    margin-top: 0.35rem;
    border: none;
    min-width: 100%;
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
  }

  .dropdown-submenu {
    width: 100%;
    margin-bottom: 0.4rem;
  }

  .dropdown-sub-trigger {
    width: 100%;
    padding: 0.75rem 0.9rem !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .dropdown-submenu .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.3);
    margin: 0.35rem 0 0.5rem 0.5rem;
    padding: 0.35rem 0;
    border: none;
    border-left: 3px solid var(--color-accent-gold);
    border-radius: 4px;
    min-width: 100%;
    display: none;
  }

  .dropdown-submenu.open .submenu {
    display: block;
  }

  .dropdown-submenu.open .sub-arrow {
    transform: rotate(90deg);
  }

  .dropdown-submenu .submenu li a {
    padding: 0.6rem 0.9rem;
    font-size: 0.86rem;
    border-left: none;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.6rem;
    padding: 0.25rem;
  }

  /* General mobile spacing */
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0 0 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-bottom: 2.2rem;
  }

  .hero-slider-track {
    height: 330px;
  }

  .slide-caption-card {
    bottom: 1.8rem;
    left: 1rem;
    right: 1rem;
    padding: 0.9rem 1.15rem;
  }

  .slide-title {
    font-size: 1.05rem;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.48rem;
    line-height: 1.44;
  }

  .hero-subtitle {
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
  }

  .ticker-badge {
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
  }

  .ticker-item {
    font-size: 0.88rem;
  }

  .services-filter-tabs {
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .filter-tab-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.86rem;
  }

  .category-group {
    margin-bottom: 3.5rem;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .category-title {
    font-size: 1.35rem;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.6rem 1.25rem;
  }

  .service-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .about-grid,
  .contact-grid,
  .career-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .career-container {
    padding: 2rem 1.25rem;
  }

  .form-box {
    padding: 1.75rem 1.25rem;
  }

  /* iOS Auto-zoom prevention on inputs */
  .form-control {
    font-size: 16px;
    padding: 0.75rem 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Extra Small Mobile Phones (iPhone SE, Galaxy S, <= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .site-header .header-container,
  .header-container {
    padding: 0.65rem 0.9rem;
  }

  .brand-logo-img {
    height: 30px;
    max-width: 140px;
  }

  .header-lang {
    padding: 0.25rem 0.45rem;
    font-size: 0.8rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-slider-track {
    height: 270px;
  }

  .slide-caption-card {
    bottom: 1.6rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem 0.9rem;
  }

  .slide-tag {
    font-size: 0.65rem;
  }

  .slide-title {
    font-size: 0.95rem;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-slider-counter {
    font-size: 0.82rem;
  }

  .counter-label {
    max-width: 170px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn-outline,
  .hero-actions .btn-primary {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.5rem;
  }

  .services-filter-tabs {
    flex-direction: column;
    width: 100%;
  }

  .filter-tab-btn {
    width: 100%;
    text-align: center;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.65rem;
  }
}
