/*
 * Prime Care Investment Pvt Ltd — Main Stylesheet
 * Elegant · Vibrant · Professional
 */

/* ═══════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --navy: #02193a;
  --navy-mid: #083268;
  --navy-light: #1a4a80;
  --teal: #00c8e8;
  --teal-dark: #0098b5;
  --teal-light: #dcf6fb;
  --gold: #ffb740;
  --gold-dark: #e09520;
  --white: #ffffff;
  --bg: #f4f9fc;
  --bg-alt: #eef4f8;
  --text: #1a2b3c;
  --muted: #56707f;
  --border: #d4e4ed;
  --error: #dc2626;

  /* Gradients */
  --grad-teal: linear-gradient(135deg, #00c8e8 0%, #0098b5 100%);
  --grad-navy: linear-gradient(135deg, #02193a 0%, #083268 60%, #0e4085 100%);
  --grad-hero: linear-gradient(
    135deg,
    rgba(2, 25, 58, 0.85) 0%,
    rgba(8, 50, 104, 0.65) 55%,
    rgba(0, 152, 181, 0.3) 100%
  );

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(2, 25, 58, 0.06);
  --shadow-sm: 0 2px 10px rgba(2, 25, 58, 0.08);
  --shadow-md: 0 6px 22px rgba(2, 25, 58, 0.11);
  --shadow-lg: 0 16px 42px rgba(2, 25, 58, 0.14);
  --shadow-teal: 0 8px 28px rgba(0, 200, 232, 0.38);
  --shadow-gold: 0 6px 22px rgba(255, 183, 64, 0.38);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Transitions */
  --t: 0.26s ease;
  --t-slow: 0.5s ease;

  /* Layout */
  --max-w: 1200px;
  --header-h: 74px;
}

/* ═══════════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.4s ease both;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
address {
  font-style: normal;
}

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

/* ═══════════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.22;
  font-weight: 700;
  color: var(--navy);
}
h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}
h4 {
  font-size: 1.04rem;
}
p {
  color: var(--muted);
}

.text-gradient {
  background: linear-gradient(
    120deg,
    var(--teal) 0%,
    #00e5ff 55%,
    var(--teal) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   4. LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: 5rem 1.5rem;
}
.section--alt {
  background: var(--bg);
}
.section--dark {
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 70% 30%,
      rgba(0, 200, 232, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(255, 183, 64, 0.07) 0%,
      transparent 40%
    );
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.25rem;
  position: relative;
  z-index: 1;
}
.section-header h2 {
  margin-bottom: 0.8rem;
  display: inline-block;
  padding-bottom: 0.8rem;
  position: relative;
}
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #00e5ff);
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-header.in-view h2::after {
  width: 52px;
}
.section-header p {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
}
.section-header--left h2::after {
  left: 0;
  transform: none;
}
.section-header--centered {
  text-align: center;
}

/* Dark section text */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}
.section--dark p {
  color: rgba(255, 255, 255, 0.76);
}
.section--dark .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════════════════════════════
   5. BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.76rem 1.6rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.025em;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t),
    transform var(--t),
    box-shadow var(--t);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad-teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 200, 232, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #00b8d4, #006f88);
  box-shadow: var(--shadow-teal);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-mid);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 183, 64, 0.3);
}
.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  filter: brightness(1.06);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Ripple */
.btn .ripple-effect,
.form-submit .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
}

/* ═══════════════════════════════════════════════════════════
   6. SCROLL PROGRESS & BACK-TO-TOP
   ═══════════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), #00e5ff, var(--gold));
  z-index: 9999;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
}

#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 200, 232, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    box-shadow var(--t);
  z-index: 997;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  box-shadow: 0 6px 24px rgba(0, 200, 232, 0.65);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   7. PRELOADER
   ═══════════════════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  z-index: 10000;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.preloader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}
.preloader-text {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   8. HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-h);
  transition:
    box-shadow var(--t),
    background var(--t);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#site-header.scrolled {
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.32);
  background: rgba(2, 25, 58, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo img {
  height: 52px;
  width: auto;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.09em;
  background: linear-gradient(120deg, #fff, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-list a {
  display: block;
  padding: 0.52rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition:
    background var(--t),
    color var(--t);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: transform 0.25s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--teal);
  background: rgba(0, 200, 232, 0.1);
}

.nav-list a.nav-cta {
  background: var(--grad-teal);
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.52rem 1.15rem;
  box-shadow: 0 2px 10px rgba(0, 200, 232, 0.3);
}
.nav-list a.nav-cta::after {
  display: none;
}
.nav-list a.nav-cta:hover {
  filter: brightness(1.1);
  box-shadow: var(--shadow-teal);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  padding: 5px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s,
    width 0.3s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   9. HERO SLIDER
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 580px;
  overflow: hidden;
  touch-action: pan-y;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
  animation: kenBurns 10s ease-out forwards;
}

/* Overlay: pitch-dark on left where text lives, reveals image on right */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(2, 25, 58, 0.97) 0%,
    rgba(2, 25, 58, 0.88) 28%,
    rgba(2, 25, 58, 0.52) 58%,
    rgba(2, 25, 58, 0.1) 100%
  );
  z-index: 2;
}
/* Teal–gold left edge accent */
.slide-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 5%,
    var(--teal) 35%,
    var(--gold) 68%,
    transparent 95%
  );
}
/* Bottom glow line */
.slide-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), transparent);
}

/* Giant watermark slide number */
.slide-number {
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.045);
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

/* Category pill tag above headline */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.32rem 1rem 0.32rem 0.8rem;
  background: rgba(0, 200, 232, 0.13);
  border: 1px solid rgba(0, 200, 232, 0.5);
  border-radius: var(--r-full);
  color: var(--teal);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.slide-tag i {
  font-size: 0.6rem;
}

/* Content: left-aligned, no glass box */
.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 3;
  text-align: left;
  width: min(580px, 52%);
  color: var(--white);
  padding: 0 0 0 1.75rem;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}
/* Vertical teal→gold accent bar */
.slide-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  height: 84%;
  width: 3px;
  background: linear-gradient(to bottom, var(--teal) 0%, var(--gold) 100%);
  border-radius: var(--r-full);
}
.slide-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
/* Teal highlight spans inside headlines */
.slide-content h1 .hl {
  color: var(--teal);
  text-shadow: 0 0 32px rgba(0, 200, 232, 0.5);
}
.slide-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.9rem, 1.6vw, 1.06rem);
  line-height: 1.78;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  max-width: 460px;
}
.slide-content .btn-group {
  justify-content: flex-start;
  gap: 0.75rem;
}

/* Staggered entrance animations per active slide */
.slide.active .slide-tag {
  animation: fadeInUp 0.5s 0.18s both ease-out;
}
.slide.active .slide-content h1 {
  animation: slideInLeft 0.7s 0.36s both ease-out;
}
.slide.active .slide-content p {
  animation: fadeInUp 0.6s 0.6s both ease-out;
}
.slide.active .slide-content .btn-group {
  animation: fadeInUp 0.6s 0.8s both ease-out;
}

/* 10-year badge — positioned on the slide, not inside content box */
.slide-logo-ten-year {
  position: absolute;
  bottom: 2.2rem;
  right: 2rem;
  width: 96px;
  opacity: 0.88;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

/* Progress-bar style dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 8%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.slider-dot {
  width: 26px;
  height: 3px;
  border-radius: var(--r-full);
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition:
    width 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}
.slider-dot.active {
  width: 54px;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(0, 200, 232, 0.65);
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background var(--t),
    transform var(--t),
    border-color var(--t),
    box-shadow var(--t);
}
.slider-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-teal);
}
.slider-arrow.prev {
  left: 1.5rem;
}
.slider-arrow.next {
  right: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   10. PAGE HERO
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--grad-navy);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 75% 50%,
      rgba(0, 200, 232, 0.2) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 15% 80%,
      rgba(255, 183, 64, 0.08) 0%,
      transparent 40%
    );
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(0, 200, 232, 0.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size:
    52px 52px,
    26px 26px;
  background-position:
    0 0,
    13px 13px;
  animation: particleDrift 20s linear infinite;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 0.7s ease both;
  font-weight: 800;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0.85rem auto 0;
  animation: fadeInUp 0.7s 0.15s ease both;
}

/* Teal accent bar at bottom of page-hero */
.page-hero::before + * {
  border-top: 3px solid transparent;
}
.page-hero + .section::before,
.page-hero + .stats-strip::before,
.page-hero + section::before {
  content: none;
}

/* ═══════════════════════════════════════════════════════════
   11. STATS STRIP
   ═══════════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--navy);
  padding: 3.25rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 200, 232, 0.2);
  border-bottom: 1px solid rgba(0, 200, 232, 0.2);
}
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(0, 200, 232, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  position: relative;
}
.stat-item {
  text-align: center;
  flex: 1 1 140px;
  padding: 0.5rem;
  transition: transform var(--t);
}
.stat-item:hover {
  transform: translateY(-4px);
}
.stat-item h3 {
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  transition: color var(--t);
  text-shadow: 0 0 30px rgba(0, 200, 232, 0.2);
}
.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}
.stat-item:hover h3 {
  color: #00e5ff;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}
.stat-item.in-view h3 {
  animation: statGlow 1.8s ease-in-out;
}

/* Separator between stat items */
.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   12. GENERAL CARDS
   ═══════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #00e5ff);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 200, 232, 0.3);
}

/* Shimmer effect */
.card::after,
.value-card::after,
.portfolio-card::after,
.brand-item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.card:hover::after,
.value-card:hover::after,
.portfolio-card:hover::after,
.brand-item:hover::after {
  left: 125%;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(
    135deg,
    var(--teal-light),
    rgba(0, 200, 232, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 0.2rem;
  transition:
    background var(--t),
    color var(--t),
    box-shadow var(--t),
    transform var(--t);
}
.card:hover .card-icon {
  background: var(--grad-teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
  transform: scale(1.06);
}

.card h4 {
  color: var(--navy);
  font-weight: 700;
}
.card p {
  font-size: 0.9rem;
  flex: 1;
}
.card .card-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition:
    gap var(--t),
    color var(--t);
}
.card .card-link:hover {
  color: var(--teal-dark);
  gap: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════
   13. VALUE CARDS
   ═══════════════════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.9rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    background var(--t),
    transform var(--t),
    box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #00e5ff);
}
.value-card:hover {
  background: var(--grad-teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-teal);
}
.value-card i {
  font-size: 2.1rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
  transition:
    color var(--t),
    transform var(--t);
}
.value-card h3 {
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  transition: color var(--t);
}
.value-card p {
  font-size: 0.87rem;
  transition: color var(--t);
}
.value-card:hover i {
  color: var(--white) !important;
  transform: scale(1.15);
}
.value-card:hover h3,
.value-card:hover p {
  color: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   14. OUTLET CARDS
   ═══════════════════════════════════════════════════════════ */
/* City group wrapper */
.outlet-city-group {
  margin-bottom: 3rem;
}
.outlet-city-group:last-child {
  margin-bottom: 0;
}
.outlet-city-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r-md);
  border-left: 4px solid var(--teal);
}
.outlet-city-heading i {
  color: var(--teal);
  font-size: 1.05rem;
}
.outlet-city-heading > span:first-of-type {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}
.outlet-city-count {
  margin-left: auto;
  background: rgba(0, 200, 232, 0.18);
  border: 1px solid rgba(0, 200, 232, 0.4);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.75rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.outlets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.5rem;
}
.outlets-grid--single {
  grid-template-columns: minmax(280px, 540px);
  justify-content: center;
}

.outlet-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}
.outlet-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 42px rgba(0, 200, 232, 0.14),
    0 4px 12px rgba(2, 25, 58, 0.08);
  border-color: rgba(0, 200, 232, 0.4);
}

/* Outlet number badge in card header */
.outlet-number {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}

.outlet-card-head {
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 2px solid var(--teal);
}
.outlet-card-head i {
  color: var(--teal);
  font-size: 0.95rem;
}
.outlet-card-head > span:not(.outlet-number) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Care Plus gold variant */
.outlet-card-head--care-plus {
  border-bottom-color: var(--gold);
}
.outlet-card-head--care-plus i {
  color: var(--gold);
}

/* Wholesale teal-gradient variant */
.outlet-card-head--wholesale {
  background: linear-gradient(110deg, #02193a 0%, #083268 50%, #0e4085 100%);
  border-bottom: 3px solid var(--teal);
}
.outlet-card-head--wholesale i {
  color: var(--teal);
  font-size: 1.1rem;
}
.outlet-map-btn--wholesale {
  background: var(--grad-teal);
}
.outlet-map-btn--wholesale:hover {
  background: var(--teal-dark);
}

/* Care Plus map button gold variant */
.outlet-map-btn--care-plus {
  background: linear-gradient(110deg, var(--gold-dark), var(--gold));
}
.outlet-map-btn--care-plus:hover {
  background: var(--gold-dark);
  box-shadow: 0 -2px 12px rgba(255, 183, 64, 0.3);
}

.outlet-card-body {
  padding: 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.outlet-card-body h4 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.1rem;
}

/* Landmark sub-label */
.outlet-landmark {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.7rem;
  background: var(--teal-light);
  border-radius: var(--r-sm);
  width: fit-content;
}
.outlet-landmark i {
  font-size: 0.65rem;
  opacity: 0.8;
}

.outlet-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.outlet-info-row i {
  color: var(--teal);
  margin-top: 0.18rem;
  flex-shrink: 0;
  width: 13px;
}
.outlet-info-row a {
  color: var(--navy);
  font-weight: 600;
  transition: color var(--t);
}
.outlet-info-row a:hover {
  color: var(--teal);
}

.outlet-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem;
  background: var(--grad-navy);
  color: var(--white) !important;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  transition:
    background var(--t),
    box-shadow var(--t);
}
.outlet-map-btn:hover {
  background: var(--grad-teal);
  box-shadow: 0 -2px 14px rgba(0, 200, 232, 0.35);
}

/* ═══════════════════════════════════════════════════════════
   15. PORTFOLIO CARDS
   ═══════════════════════════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2.1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    background var(--t),
    transform var(--t),
    box-shadow var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #00e5ff);
}
.portfolio-card:hover {
  background: var(--grad-teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-teal);
}

.portfolio-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.25rem;
  transition:
    filter var(--t),
    transform var(--t);
}
.portfolio-card:hover .portfolio-icon {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}
.portfolio-card h3 {
  color: var(--navy);
  font-size: 1.06rem;
  transition: color var(--t);
}
.portfolio-card p {
  font-size: 0.87rem;
  transition: color var(--t);
}
.portfolio-card:hover h3,
.portfolio-card:hover p {
  color: var(--white) !important;
}

/* ═══════════════════════════════════════════════════════════
   16. BRAND GALLERY
   ═══════════════════════════════════════════════════════════ */

/* Rich navy background for the gallery section */
.section--brands {
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(0, 200, 232, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(255, 183, 64, 0.04) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #f4f9fc 0%, #eaf4f9 100%);
  position: relative;
}
.section--brands::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 232, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.brand-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.brand-item {
  /* Frosted white card with subtle circuit-grid dot pattern */
  background:
    radial-gradient(circle, rgba(0, 200, 232, 0.06) 1px, transparent 1px),
    linear-gradient(160deg, #f8fbff 0%, #ffffff 60%, #eef7fb 100%);
  background-size:
    22px 22px,
    100% 100%;
  /* Corner bracket accents via gradient layers */
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0rem 0rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 260px;
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

/* Top-left corner bracket */
.brand-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 16px;
  height: 16px;
  border-top: 2px solid rgba(0, 200, 232, 0.35);
  border-left: 2px solid rgba(0, 200, 232, 0.35);
  border-radius: 3px 0 0 0;
  transition:
    border-color 0.28s ease,
    width 0.28s ease,
    height 0.28s ease;
}
/* Bottom-right corner bracket + scan-line share ::after */
.brand-item::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-bottom: 2px solid rgba(0, 200, 232, 0.35);
  border-right: 2px solid rgba(0, 200, 232, 0.35);
  border-radius: 0 0 3px 0;
  /* Reset the shared shimmer sweep (overrides card::after) */
  background: none;
  left: auto;
  top: auto;
  transform: none;
  transition:
    border-color 0.28s ease,
    width 0.28s ease,
    height 0.28s ease;
}

/* Scan-line sweep on hover via box-shadow + clip trick */
.brand-item .brand-scan {
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 200, 232, 0.7) 40%,
    rgba(255, 183, 64, 0.5) 60%,
    transparent 100%
  );
  z-index: 1;
  opacity: 0;
  transition: none;
}
.brand-item:hover .brand-scan {
  animation: brandScan 0.7s ease-out forwards;
}

.brand-item:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--teal);
  box-shadow:
    0 20px 50px rgba(0, 200, 232, 0.22),
    0 6px 18px rgba(2, 25, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.brand-item:hover::before {
  border-color: var(--teal);
  width: 22px;
  height: 22px;
}
.brand-item:hover::after {
  border-color: var(--gold);
  width: 22px;
  height: 22px;
}

.brand-item img {
  width: 100%;
  /*height: 160px;*/
  object-fit: contain;
  object-position: center;
  filter: saturate(0.85) opacity(0.9);
  transition:
    filter 0.32s ease,
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}
.brand-item:hover img {
  filter: saturate(1.1) opacity(1);
  transform: scale(1.08);
}

/* Brand name label */
.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: color 0.28s ease;
  line-height: 1;
}
.brand-item:hover .brand-name {
  color: var(--teal);
}

@keyframes brandScan {
  0% {
    top: -4px;
    opacity: 1;
  }
  100% {
    top: calc(100% + 4px);
    opacity: 0.4;
  }
}

/* ═══════════════════════════════════════════════════════════
   17. FORMS
   ═══════════════════════════════════════════════════════════ */
.form-wrap {
  max-width: 640px;
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-label .required {
  color: var(--error);
}

.form-control {
  padding: 0.8rem 1.05rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition:
    border-color var(--t),
    box-shadow var(--t),
    background var(--t);
}
.form-control::placeholder {
  color: #9aafbe;
}
.form-control:hover {
  border-color: #a8c0ce;
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 200, 232, 0.16);
  background: var(--white);
}
.form-control.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 135px;
}
select.form-control {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 0.92rem;
  background: var(--grad-teal);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition:
    filter var(--t),
    transform var(--t),
    box-shadow var(--t);
  box-shadow: 0 4px 16px rgba(0, 200, 232, 0.3);
}
.form-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.6;
}
.form-note a {
  color: var(--teal);
  text-decoration: underline;
}

/* File input hint */
.form-hint {
  font-size: 0.78rem;
  color: var(--teal-dark);
  margin-top: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}
.form-hint i { margin-top: 0.1rem; flex-shrink: 0; font-size: 0.72rem; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(145deg, #f0fbfd 0%, #ffffff 60%, #f8feff 100%);
  border: 2px solid var(--teal);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0, 200, 232, 0.12);
  animation: scaleIn 0.4s ease;
}
.form-success-icon {
  font-size: 4rem;
  color: var(--teal);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.form-success h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.form-success p {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 430px;
  margin: 0 auto 0.6rem;
  line-height: 1.65;
}
.form-success p strong { color: var(--navy); }
.form-success-alt {
  font-size: 0.82rem;
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.form-success-alt a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   18. CONTACT INFO BOX
   ═══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-box {
  background: var(--grad-navy);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  border: 1px solid rgba(0, 200, 232, 0.15);
  box-shadow: var(--shadow-lg);
}
.contact-info-box .cib-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1.75rem;
  display: block;
}
.cib-item {
  display: flex;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}
.cib-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(0, 200, 232, 0.15);
  border: 1px solid rgba(0, 200, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition:
    background var(--t),
    box-shadow var(--t);
}
.cib-item:hover .cib-icon {
  background: rgba(0, 200, 232, 0.25);
  box-shadow: 0 0 12px rgba(0, 200, 232, 0.2);
}
.cib-text strong {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.cib-text span,
.cib-text a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  line-height: 1.68;
  display: block;
  transition: color var(--t);
}
.cib-text a:hover {
  color: var(--teal);
}

.cib-social {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.cib-social h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   19. SOCIAL ICONS
   ═══════════════════════════════════════════════════════════ */
.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-icons a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition:
    background var(--t),
    border-color var(--t),
    transform var(--t),
    box-shadow var(--t);
}
.social-icons a:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 200, 232, 0.45);
}
.social-icon-img,
.social-icons a img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: invert(1);
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   20. MAP
   ═══════════════════════════════════════════════════════════ */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
  border: 2px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   21. CAREERS
   ═══════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}
.why-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 1.35rem;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--t),
    transform var(--t),
    border-color var(--t);
}
.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(0, 200, 232, 0.3);
}
.why-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(
    135deg,
    var(--teal-light),
    rgba(0, 200, 232, 0.12)
  );
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition:
    background var(--t),
    box-shadow var(--t),
    transform var(--t);
}
.why-item:hover .why-icon {
  background: var(--grad-teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
  transform: scale(1.08);
}
.why-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.22rem;
  font-weight: 700;
}
.why-item p {
  font-size: 0.86rem;
  margin: 0;
}

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── Vacancy card shell ──────────────────────────────────── */
.vacancy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--t),
    border-color var(--t);
  position: relative;
}
.vacancy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #00e5ff, var(--teal));
  z-index: 1;
}
.vacancy-card--alt::before {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}
.vacancy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(0, 200, 232, 0.16), 0 6px 18px rgba(2,25,58,0.08);
  border-color: rgba(0, 200, 232, 0.4);
}
.vacancy-card--alt:hover {
  box-shadow: 0 22px 52px rgba(255, 183, 64, 0.18), 0 6px 18px rgba(2,25,58,0.08);
  border-color: rgba(255, 183, 64, 0.4);
}

/* ── Card header ─────────────────────────────────────────── */
.vc-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem 1.3rem;
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 2px solid var(--teal);
}
.vc-head--gold {
  border-bottom-color: var(--gold);
}

/* Role icon */
.vc-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  background: rgba(0, 200, 232, 0.14);
  border: 1.5px solid rgba(0, 200, 232, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.65rem;
  flex-shrink: 0;
  transition: transform var(--t), box-shadow var(--t);
}
.vc-icon-wrap--gold {
  background: rgba(255, 183, 64, 0.12);
  border-color: rgba(255, 183, 64, 0.38);
  color: var(--gold);
}
.vacancy-card:hover .vc-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 22px rgba(0, 200, 232, 0.4);
}
.vacancy-card--alt:hover .vc-icon-wrap {
  box-shadow: 0 0 22px rgba(255, 183, 64, 0.4);
}

/* Title + badges */
.vc-title-wrap {
  flex: 1;
  min-width: 0;
}
.vc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}
.vc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.22rem 0.62rem;
  border-radius: var(--r-full);
}
.vc-badge--type {
  background: rgba(0, 200, 232, 0.18);
  color: var(--teal);
  border: 1px solid rgba(0, 200, 232, 0.3);
}
.vc-badge--type-gold {
  background: rgba(255, 183, 64, 0.18);
  color: var(--gold);
  border: 1px solid rgba(255, 183, 64, 0.35);
}
.vc-badge--loc {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.vc-title-wrap h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── Requirements list ───────────────────────────────────── */
.vc-reqs {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  flex: 1;
}
.vc-reqs li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.91rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}
.vc-reqs li i {
  color: var(--teal);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.vacancy-card--alt .vc-reqs li i {
  color: var(--gold-dark);
}

/* ── Apply button footer ─────────────────────────────────── */
.vc-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  margin-top: auto;
}
.vc-apply-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.vc-apply-btn i {
  transition: transform var(--t);
}
.vc-apply-btn:hover i {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   22. ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.profile-block {
  padding: 1.6rem;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--t),
    transform var(--t);
}
.profile-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.profile-block h3 {
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.48rem;
}
.profile-block h3 i {
  color: var(--teal);
}
.profile-block p {
  font-size: 0.91rem;
  line-height: 1.72;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.achievement-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.achievement-list li:hover {
  border-color: rgba(0, 200, 232, 0.3);
  box-shadow: var(--shadow-xs);
}
.achievement-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--grad-teal);
  border-radius: 50%;
  margin-top: 0.48rem;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 200, 232, 0.4);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.vm-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 200, 232, 0.2);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition:
    background var(--t),
    box-shadow var(--t),
    transform var(--t);
}
.vm-box:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 200, 232, 0.15);
  transform: translateY(-3px);
}
.vm-box i {
  font-size: 2.4rem;
  color: var(--teal);
  margin-bottom: 0.9rem;
  display: block;
}
.vm-box h3 {
  color: var(--white);
  margin-bottom: 0.6rem;
}
.vm-box p {
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════════════════════════════
   23. WELCOME MODAL
   ═══════════════════════════════════════════════════════════ */
.welcome-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 25, 58, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.welcome-modal.hidden {
  display: none;
}
.welcome-content {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.75rem;
  text-align: center;
  max-width: 440px;
  width: 92%;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(0, 200, 232, 0.2);
  animation: scaleIn 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
  overflow: hidden;
}
.welcome-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #00e5ff, var(--gold));
}
.welcome-content img {
  height: 68px;
  margin: 0 auto 1.1rem;
}
.welcome-content h2 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}
.welcome-content p {
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   24. FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  padding: 4.5rem 1.5rem 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--teal),
    var(--gold),
    var(--teal),
    transparent
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo {
  margin-bottom: 1.1rem;
}
.footer-brand > p {
  font-size: 0.87rem;
  line-height: 1.76;
  color: rgba(255, 255, 255, 0.5);
  max-width: 290px;
  margin-bottom: 1.4rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--grad-teal);
  border-radius: 1px;
}
.footer-col ul li + li {
  margin-top: 0.55rem;
}
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  transition:
    color var(--t),
    padding-left var(--t);
}
.footer-col ul a:hover {
  color: var(--teal);
  padding-left: 6px;
}
.footer-col p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.76;
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t);
}
.footer-col a:hover {
  color: var(--teal);
}
.footer-col ul li {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
  line-height: 1.7;
}

.footer-bottom {
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.34);
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.34);
}

/* ═══════════════════════════════════════════════════════════
   25. FAQ ACCORDION
   ═══════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.75rem;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.faq-item:hover {
  border-color: rgba(0, 200, 232, 0.3);
}
.faq-item.open {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0, 200, 232, 0.12);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  transition: background var(--t);
  user-select: none;
}
.faq-question:hover {
  background: var(--bg);
}
.faq-item.open .faq-question {
  background: rgba(0, 200, 232, 0.06);
}
.faq-question i {
  transition:
    transform 0.3s,
    color 0.3s;
  color: var(--teal);
  font-size: 0.88rem;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.42s ease,
    padding 0.3s ease;
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.75;
  padding: 0 1.35rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.35rem 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   26. INTERACTIVE EXTRAS
   ═══════════════════════════════════════════════════════════ */

/* Toast */
#toast-container {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 1.6rem;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(0, 200, 232, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 0.36s ease,
    transform 0.36s ease;
  max-width: 390px;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast i {
  color: var(--teal);
}

/* WhatsApp */
#whatsapp-btn {
  position: fixed;
  bottom: 5.75rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.48);
  z-index: 995;
  transition:
    transform var(--t),
    box-shadow var(--t);
  animation: bounceIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both 1.8s;
}
#whatsapp-btn:hover {
  transform: scale(1.14) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65);
}

/* Page transition */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
#page-transition.active {
  opacity: 1;
  pointer-events: auto;
}

/* Typed cursor */
.typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--teal);
  margin-left: 3px;
  animation: blink 0.75s step-end infinite;
  vertical-align: text-bottom;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 1.8rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grad-teal);
  box-shadow: 0 0 0 3px rgba(0, 200, 232, 0.18);
}
.timeline-year {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.timeline-item h4 {
  color: var(--navy);
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}
.timeline-item p {
  font-size: 0.87rem;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   27. SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.68s ease,
    transform 0.68s ease;
}
.reveal.reveal-left {
  transform: translateX(-28px);
}
.reveal.reveal-right {
  transform: translateX(28px);
}
.reveal.reveal-scale {
  transform: scale(0.91);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════
   28. KEYFRAMES
   ═══════════════════════════════════════════════════════════ */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.87);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.07) translate(-1.2%, -0.8%);
  }
}
@keyframes ripple {
  to {
    transform: scale(4.5);
    opacity: 0;
  }
}
@keyframes bounceY {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(9px);
  }
}
@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.45);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes particleDrift {
  0% {
    background-position:
      0 0,
      13px 13px;
  }
  100% {
    background-position:
      52px 52px,
      65px 65px;
  }
}
@keyframes statGlow {
  0% {
    text-shadow: none;
  }
  40% {
    text-shadow: 0 0 24px rgba(0, 200, 232, 0.7);
  }
  100% {
    text-shadow: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   29. TRUST STRIP (index page)
   ═══════════════════════════════════════════════════════════ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.35rem;
  background: var(--white);
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--t),
    box-shadow var(--t),
    transform var(--t);
  white-space: nowrap;
}
.trust-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.trust-item i {
  color: var(--teal);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.trust-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════
   30. RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow on all screen sizes */
html, body {
  overflow-x: hidden;
}

@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info-box {
    position: static;
  }
  .vm-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 66px;
  }

  /* Smaller logo on tablet/mobile */
  .logo img {
    height: 44px;
  }
  .logo-text {
    font-size: 0.95rem;
    letter-spacing: 0.07em;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(2, 25, 58, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 200, 232, 0.15);
    padding: 0.75rem;
    z-index: 999;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }
  #main-nav.open {
    display: block;
    animation: fadeInUp 0.2s ease;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-list a {
    padding: 0.8rem 1rem;
    font-size: 0.93rem;
    border-radius: var(--r-sm);
  }
  .nav-list a::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero {
    height: calc(100svh - var(--header-h));
    min-height: 500px;
  }
  .slide-content {
    left: 6%;
    width: 72%;
    padding: 0 0 0 1.4rem;
  }
  .slide-content h1 {
    font-size: 1.65rem;
  }
  .slide-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: none;
  }
  .slide-number {
    display: none;
  }
  .slider-dots {
    left: 6%;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }
  .slider-arrow.prev {
    left: 0.75rem;
  }
  .slider-arrow.next {
    right: 0.75rem;
  }

  .section {
    padding: 3.75rem 1rem;
  }
  .page-hero {
    padding: 3.5rem 1rem;
  }
  .page-hero h1 {
    font-size: 1.85rem;
  }

  /* iOS: prevent zoom on input focus (font-size must be >= 16px) */
  .form-control,
  select.form-control,
  textarea.form-control {
    font-size: 1rem;
  }

  /* Reduce contact info box padding on mobile */
  .contact-info-box {
    padding: 1.75rem 1.5rem;
  }

  /* Profile blocks: always single column at mobile */
  .profile-grid {
    grid-template-columns: 1fr;
  }

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

  /* Stats: remove left-border dividers in wrapped layout */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .stat-item {
    flex: unset;
  }
  .stats-grid .stat-item + .stat-item {
    border-left: none;
    border-top: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .vm-grid {
    grid-template-columns: 1fr;
  }
  #back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  #whatsapp-btn {
    bottom: 5rem;
    right: 1.25rem;
  }
}

@media (max-width: 520px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile: centre-align the slider content */
  .slide-content {
    left: 50%;
    top: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 0.5rem;
  }
  .slide-content::before {
    display: none;
  }
  .slide-content .btn-group {
    justify-content: center;
  }
  .slide-content p {
    max-width: none;
  }
  /* Overlay: full dark on mobile so text is always legible */
  .slide-overlay {
    background: rgba(2, 25, 58, 0.82);
  }
  .slide-logo-ten-year {
    display: none;
  }
  .slider-dots {
    left: 50%;
    transform: translateX(-50%);
  }
  .trust-strip {
    flex-direction: column;
    align-items: center;
  }
  .brand-gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .brand-item {
    min-height: 200px;
    padding: 1.5rem 1rem 1.1rem;
  }
  .brand-item img {
    height: 110px;
  }

  /* Stats: 2×3 grid on small phones */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Small phones (≤ 480px) ──────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --header-h: 62px;
  }

  /* Compact logo */
  .logo img {
    height: 38px;
  }
  .logo-text {
    font-size: 0.84rem;
    letter-spacing: 0.05em;
  }

  /* Hide slider arrows — too cramped on small screens */
  .slider-arrow {
    display: none;
  }

  /* Tighten sections */
  .section {
    padding: 3rem 0.875rem;
  }
  .page-hero {
    padding: 2.75rem 0.875rem;
  }
  .page-hero h1 {
    font-size: 1.65rem;
  }
  .page-hero p {
    font-size: 1rem;
  }

  /* Contact info box: tighter padding */
  .contact-info-box {
    padding: 1.4rem 1rem;
  }
  .cib-item {
    gap: 0.75rem;
    margin-bottom: 1.1rem;
  }
  .cib-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Portfolio: 2 columns on phones */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  .portfolio-card {
    padding: 1.5rem 0.875rem;
  }
  .portfolio-icon {
    width: 56px;
    height: 56px;
  }

  /* FAQ: smaller question text so it fits without wrapping */
  .faq-question {
    font-size: 0.88rem;
    padding: 1rem;
    gap: 0.75rem;
  }
  .faq-answer {
    padding: 0 1rem;
    font-size: 0.88rem;
  }
  .faq-item.open .faq-answer {
    padding: 0 1rem 1rem;
  }

  /* Why-grid: single column */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Outlet cards: reduce padding */
  .outlet-card-body {
    padding: 1rem;
  }
  .outlet-city-heading {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Section dark CTAs: full-width buttons */
  .section--dark .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .section--dark .btn-group .btn {
    justify-content: center;
  }

  /* Map height */
  .map-wrap {
    height: 300px;
  }

  /* Welcome modal */
  .welcome-content {
    padding: 2rem 1.5rem;
  }

  /* Stats strip: 2 columns */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stat-item {
    padding: 0.75rem 0.5rem;
  }
}

/* ── Very small phones (≤ 360px) ─────────────────────────── */
@media (max-width: 360px) {
  /* Hide logo text on tiny screens — keep only the logo mark */
  .logo-text {
    display: none;
  }

  /* Portfolio: single column */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Brand gallery: single column */
  .brand-gallery {
    grid-template-columns: 1fr;
  }

  /* Full-width buttons in all btn-groups */
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Social icons: slightly smaller on very tiny screens */
  .social-icons a {
    width: 44px;
    height: 44px;
  }
  .social-icon-img,
  .social-icons a img {
    width: 26px;
    height: 26px;
  }

  /* Reduce contact info box further */
  .contact-info-box {
    padding: 1.2rem 0.875rem;
  }

  /* Vacancy cards: single full column */
  .vacancies-grid {
    grid-template-columns: 1fr;
  }
}
