/* ========================================
     THEME TOKENS — pulled directly from PDF
     ======================================== */
:root[data-theme="light"] {
  --bg-base: #f0f0f2;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-hero: linear-gradient(135deg, #d43a1a 0%, #e85a2c 50%, #f07030 100%);
  --bg-accent-soft: #fef0eb;
  --text-primary: #1a1a1f;
  --text-secondary: #4a4a52;
  --text-muted: #7a7a82;
  --accent: #e8492a;
  --accent-rgb: 232, 73, 42;
  --accent-bright: #f07030;
  --accent-deep: #b8301a;
  --accent-soft: rgba(232, 73, 42, 0.08);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-frost: rgba(255, 255, 255, 0.88);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 50px rgba(232, 73, 42, 0.12);
  --shape-color: rgba(232, 73, 42, 0.35);
}

:root[data-theme="dark"] {
  --bg-base: #0d0d10;
  --bg-surface: #16161b;
  --bg-elevated: #1d1d24;
  --bg-hero: linear-gradient(135deg, #9c2a12 0%, #c8401c 50%, #e85a2c 100%);
  --bg-accent-soft: rgba(232, 73, 42, 0.08);
  --text-primary: #f2f2f5;
  --text-secondary: rgba(242, 242, 245, 0.72);
  --text-muted: rgba(242, 242, 245, 0.45);
  --accent: #f0622e;
  --accent-rgb: 240, 98, 46;
  --accent-bright: #ff8050;
  --accent-deep: #b8301a;
  --accent-soft: rgba(240, 98, 46, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(29, 29, 36, 0.55);
  --glass-bg-frost: rgba(22, 22, 27, 0.85);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 50px rgba(232, 73, 42, 0.25);
  --shape-color: rgba(240, 98, 46, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

/* Prevent auto-detected or explicitly styled tel links from showing as default blue/underlined links */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}


/* ── PDF signature: curved rounded squares ── */
.pdf-shape {
  position: absolute;
  border: 1.5px solid var(--shape-color);
  border-radius: 28px;
  transition: border-color 0.4s ease;
}

/* ═════════════ TOP HEADER ═════════════ */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1006;
  height: 48px;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-content {
  display: flex;
  gap: 48px;
  align-items: center;
}

.top-header-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, opacity 0.2s;
}

.top-header-item:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.top-header-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.top-header-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .top-header-content {
    gap: 32px;
  }
}

@media (max-width: 850px) {
  .top-header-item:last-child {
    display: none;
  }

  /* Hide address on medium screens */
}

@media (max-width: 600px) {
  .top-header {
    height: 42px;
    padding: 0 20px;
  }

  .top-header-content {
    gap: 20px;
  }

  .top-header-item span {
    font-size: 0.75rem;
  }

  .top-header-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .top-header-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* ═════════════ NAV ═════════════ */
nav {
  position: fixed;
  top: 48px;
  /* Adjusted for top-header */
  left: 0;
  right: 0;
  z-index: 1005;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px) saturate(180%);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
  animation: slideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (max-width: 600px) {
  nav {
    top: 42px;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
  /* Slightly larger for the new logo proportion */
  transition: transform 0.3s ease, filter 0.4s ease;
}

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

:root[data-theme="dark"] .logo img {
  filter: brightness(0) invert(1);
  /* Makes dark grey text white for dark mode */
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.12);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  width: 54px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.theme-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

:root[data-theme="dark"] .theme-toggle-knob {
  transform: translateX(26px);
}

.theme-toggle-footer {
  background: var(--bg-accent-soft);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.theme-toggle-footer:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.2);
}

.theme-toggle-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: absolute;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle-footer .sun-icon {
  transform: translateY(0);
  opacity: 1;
}

.theme-toggle-footer .moon-icon {
  transform: translateY(30px);
  opacity: 0;
}

[data-theme="dark"] .theme-toggle-footer .sun-icon {
  transform: translateY(-30px);
  opacity: 0;
}

[data-theme="dark"] .theme-toggle-footer .moon-icon {
  transform: translateY(0);
  opacity: 1;
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(232, 73, 42, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 73, 42, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(var(--accent-rgb), 0.03) 100%), var(--glass-bg-frost);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 160px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-20px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.35s; }

.mobile-nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-links a::after {
  content: '→';
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.25s ease;
  color: var(--accent);
}

.mobile-nav-links a.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.2);
  font-weight: 700;
}

.mobile-nav-links a.active::after {
  color: #ffffff;
  opacity: 1;
  transform: translateX(4px);
}

.mobile-nav-links a:not(.active):hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.05);
}

.mobile-nav-links a:not(.active):hover::after {
  opacity: 1;
  transform: translateX(4px);
}

:root[data-theme="dark"] .mobile-menu .theme-toggle {
  background: var(--bg-elevated);
}

.mobile-cta-wrapper {
  margin-top: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.mobile-menu.active .mobile-cta-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.25);
  transition: all 0.3s ease;
}

.mobile-cta:active {
  transform: scale(0.98);
}

/* ═════════════ HERO ═════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(120px + 48px) 56px 80px;
  /* Adjusted for top-header */
  background: var(--bg-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-hero);
  opacity: 0.85;
}

@media (max-width: 600px) {
  .hero {
    padding-top: calc(100px + 42px);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 32px;
}

.hero-shape.s1 {
  top: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 60px;
}

.hero-shape.s2 {
  top: 60px;
  left: 180px;
  width: 220px;
  height: 220px;
  border-radius: 50px;
}

.hero-shape.s3 {
  top: -40px;
  left: 380px;
  width: 160px;
  height: 160px;
  border-radius: 40px;
}

.hero-shape.s4 {
  bottom: 180px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50px;
  transform: rotate(-15deg);
}

.hero-shape.s5 {
  top: 40%;
  right: 8%;
  width: 340px;
  height: 340px;
  border-radius: 80px;
}

.hero-shape.s6 {
  bottom: 10%;
  right: 18%;
  width: 180px;
  height: 180px;
  border-radius: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  width: 100%;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}

.hero-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 .line {
  display: block;
}

h1 .line.bold {
  font-weight: 700;
}

.hero-sub {
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  animation: fadeUp 0.8s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-primary {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  background: #fff;
  color: var(--accent-deep);
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, transform 0.25s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-right {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.hero-col-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.hero-col ul {
  list-style: none;
}

.hero-col li {
  padding: 7px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, color 0.2s;
  cursor: default;
}

.hero-col li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.hero-col li:hover {
  transform: translateX(4px);
  color: #fff;
}

@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ═════════════ SECTIONS BASE ═════════════ */
section {
  position: relative;
  z-index: 1;
  scroll-margin-top: calc(100px + 48px);
  /* Adjusted for top-header */
}

@media (max-width: 600px) {
  section {
    scroll-margin-top: calc(80px + 42px);
  }
}

.section-pad {
  padding: 110px 56px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.section-heading.heading-right {
  text-align: right;
  margin-left: auto;
}

.section-heading.heading-right .section-label {
  flex-direction: row-reverse;
}

.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
}

h2 .accent-line {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

h2 .accent-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

h2.visible .accent-line::after {
  transform: scaleX(1);
}

/* ═════════════ ABOUT ═════════════ */
.about {
  padding: 110px 56px;
  position: relative;
  overflow: hidden;
}

.about-shape {
  position: absolute;
  border: 1.5px solid var(--shape-color);
  transition: border-color 0.4s;
}

.about-shape.a1 {
  width: 140px;
  height: 140px;
  top: 40px;
  left: 40px;
  border-radius: 40px;
}

.about-shape.a2 {
  width: 110px;
  height: 110px;
  top: 90px;
  left: 120px;
  border-radius: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 28px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.about-highlight {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--bg-accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
}

:root[data-theme="dark"] .about-highlight {
  background: var(--accent-soft);
}

.about-highlight strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.about-highlight strong .accent-num {
  color: var(--accent);
}

.about-highlight span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.stat-tile::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.4s;
}

.stat-tile:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.stat-tile:hover::before {
  transform: scale(1.5);
}


.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ═════════════ SERVICES ═════════════ */
.services {
  position: relative;
  overflow: hidden;
}

.services-shape {
  position: absolute;
  border: 1.5px solid var(--shape-color);
  transition: border-color 0.4s;
}

.services-shape.sh1 {
  width: 120px;
  height: 120px;
  top: 60px;
  right: 60px;
  border-radius: 30px;
  transform: rotate(15deg);
}

.services-shape.sh2 {
  width: 100px;
  height: 100px;
  top: 130px;
  right: 180px;
  border-radius: 25px;
  transform: rotate(-10deg);
}

.services-shape.sh3 {
  width: 80px;
  height: 80px;
  top: 220px;
  right: 100px;
  border-radius: 20px;
  transform: rotate(25deg);
}

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

.extended-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.services .service-icon-wrap {
  width: 120px;
  height: 80px;
  border-radius: 18px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.services .service-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.services .service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 35px rgba(232, 73, 42, 0.35);
}

.services .service-card:hover .service-icon-wrap::after {
  opacity: 1;
}

.services .service-icon-wrap svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  transition: transform 0.4s;
}

.services .service-card:hover .service-icon-wrap svg {
  transform: rotate(5deg);
}

#infrastructure .service-icon-wrap {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.team .service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.team .service-icon-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.team .service-card h3 {
  padding: 24px 28px 32px;
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.services .service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  /* Let the container handle the radius */
}

.team .service-icon-wrap img,
#infrastructure .service-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team .service-card:hover .service-icon-wrap img,
#infrastructure .service-card:hover .service-icon-wrap img {
  transform: none;
}

.team .service-card:hover .service-icon-wrap,
#infrastructure .service-card:hover .service-icon-wrap {
  transform: none;
}

/* Original icon style for other sections (like Team) */
.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(232, 73, 42, 0.25);
  transition: transform 0.35s;
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrap {
  transform: rotate(-8deg) scale(1.08);
}

.service-icon-wrap svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

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

.service-arrow {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═════════════ INFRASTRUCTURE & CULTURE ═════════════ */
.infra-section {
  position: relative;
  background: var(--bg-hero);
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}



.infra-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 16, 0.92) 0%, rgba(232, 73, 42, 0.2) 100%);
  z-index: 1;
}

.infra-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.infra-section .section-label {
  color: #fff;
}

.infra-section .section-label::before {
  background: #fff;
}

.infra-section h2 {
  color: #fff;
}

.infra-section .accent-line {
  color: #fff;
}

.infra-section .accent-line::after {
  background: #fff;
}

.section-desc {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-branding-logo {
  height: 60px;
  width: auto;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.infra-grid {
  margin-top: 50px;
}

.infra-card {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
  padding: 40px !important;
}

.infra-card h3 {
  color: #fff !important;
}

.infra-card p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.infra-card .service-arrow {
  color: #fff !important;
  opacity: 0.8;
}

.infra-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent) !important;
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(232, 73, 42, 0.2) !important;
}

.infra-card:hover .service-arrow {
  opacity: 1;
}

.infra-card .service-icon-wrap {
  background: rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 800px) {
  .infra-section {
    background-attachment: scroll;
    /* Better performance on mobile */
  }
}



.infra-section .gallery-item {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.infra-section .gallery-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 20px 40px rgba(232, 73, 42, 0.2) !important;
}

/* ═════════════ PRODUCTS ═════════════ */
.products {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.services-grid-alt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.product-item:nth-child(even) {
  flex-direction: row-reverse;
}

.product-image-box {
  flex: 0.8;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.product-image-box.portrait {
  aspect-ratio: 4 / 5;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box.portrait img {
  object-fit: contain;
  width: 90%;
  height: 90%;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item:hover .product-image-box {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.product-item:hover .product-image-box img {
  transform: scale(1.05);
}

.product-content-box {
  flex: 1.2;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
}

.product-content-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.product-item:hover .product-content-box {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.product-item:hover .product-content-box::after {
  transform: scaleX(1);
}

.product-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.product-card.featured {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-accent-soft) 100%);
}

:root[data-theme="dark"] .product-card.featured {
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--accent-soft) 100%);
}

.product-illustration {
  align-self: flex-end;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(232, 73, 42, 0.3);
  transition: transform 0.4s;
  margin-bottom: 30px;
}

.product-card.featured:hover .product-illustration {
  transform: scale(1.04) rotate(3deg);
}

.product-illustration svg {
  width: 55%;
  height: 55%;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.product-compact-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-accent-soft);
  border: 1px solid var(--border);
}

.product-compact-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-compact-icon img {
  transform: scale(1.08);
}

.product-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

.product-card.compact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, color 0.4s ease;
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.product-card:hover .service-icon-box {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
}

/* ═════════════ PROJECTS ═════════════ */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.project-item:nth-child(even) {
  flex-direction: row-reverse;
}

.project-img-wrap {
  flex: 0.8;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-img-wrap {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.project-item:hover .project-img-wrap img {
  transform: none;
}

.project-card {
  flex: 1.4;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
}

.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.project-item:hover .project-card {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.project-item:hover .project-card::after {
  transform: scaleX(1);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.project-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
}

.project-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

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

.project-metrics {
  display: flex;
  gap: 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--border-strong);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-key {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}



/* ═════════════ VISION / MISSION ═════════════ */
.vision-bg {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s;
}

.vm-card:hover {
  transform: translateY(-4px);
}

.vm-card.v-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 18px 50px rgba(232, 73, 42, 0.25);
}

.vm-card.m-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.vm-card::before {
  content: attr(data-letter);
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14rem;
  font-weight: 900;
  line-height: 0.85;
  opacity: 0.1;
  pointer-events: none;
}

.vm-card.v-card::before {
  color: #fff;
}

.vm-card.m-card::before {
  color: var(--accent);
}

.vm-card-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.vm-card.v-card .vm-card-label {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.vm-card.m-card .vm-card-label {
  background: var(--accent-soft);
  color: var(--accent);
}

.vm-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.vm-card p {
  font-size: 1rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.vm-card.v-card p {
  color: rgba(255, 255, 255, 0.95);
}

.vm-card.m-card p {
  color: var(--text-secondary);
}

.who-we-are-img-wrap {
  margin: 48px auto 0;
  width: 100%;
  max-width: 960px;
  height: auto;
  aspect-ratio: 3462 / 1705;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .who-we-are-img-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    margin: 32px auto 0;
  }
}

.who-we-are-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.who-we-are-img-wrap:hover img {
  transform: none;
}

.who-we-are-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

/* ═════════════ TEAM GALLERY ═════════════ */
.team-gallery {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.6s;
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: translateY(10px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-label {
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .team-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .team-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .team-gallery {
    grid-template-columns: 1fr;
  }
}

/* ═════════════ CERTIFICATIONS ═════════════ */

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cert-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}

.cert-pill:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cert-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cert-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* ═════════════ CLIENTS ═════════════ */
.clients-marquee {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
  margin-bottom: 20px;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-base), transparent);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-base), transparent);
}

.clients-track {
  display: flex;
  gap: 32px;
  animation: marquee 45s linear infinite;
  width: max-content;
}

.clients-track.reverse {
  animation: marquee-reverse 45s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.client-logo {
  height: 110px;
  width: auto;
  flex-shrink: 0;
  padding: 16px 36px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, border-color 0.25s, filter 0.25s;
  object-fit: contain;
}

.client-logo:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}

.clients-grid .client-logo {
  width: 100%;
  max-width: 220px;
  height: 110px;
  padding: 20px;
}

.csr-grid {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.csr-grid .client-logo {
  max-width: 280px;
  height: 140px;
}

/* ═════════════ CTA ═════════════ */
.cta {
  padding: 120px 56px;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: var(--bg-hero);
  border-radius: 40px;
  padding: 90px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 30px 80px rgba(232, 73, 42, 0.25);
}

.cta-shape {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 32px;
  pointer-events: none;
}

.cta-shape.c1 {
  top: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 60px;
}

.cta-shape.c2 {
  top: 40px;
  left: 160px;
  width: 160px;
  height: 160px;
  border-radius: 40px;
}

.cta-shape.c3 {
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 80px;
}

.cta-shape.c4 {
  bottom: 40px;
  right: 180px;
  width: 140px;
  height: 140px;
  border-radius: 36px;
}

.cta-box-inner {
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  margin-bottom: 20px;
}

.cta-box h2 .accent-line {
  color: #fff;
}

.cta-box h2 .accent-line::after {
  background: #fff;
}

.cta-box .cta-intro {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  text-align: left;
}

.cta-contact-item strong {
  color: #fff;
  font-weight: 600;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═════════════ FOOTER ═════════════ */
footer {
  padding: 40px 56px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  flex-wrap: wrap;
  gap: 20px;
  transition: background 0.4s, border-color 0.4s;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-right a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--accent);
}

/* ═════════════ REVEAL ═════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.08s;
}

.reveal-d2 {
  transition-delay: 0.16s;
}

.reveal-d3 {
  transition-delay: 0.24s;
}

.reveal-d4 {
  transition-delay: 0.32s;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-deep);
}

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 1024px) {

  .hero-content,
  .about-grid,
  .vm-grid,
  .services-grid-alt {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .projects-grid,
  .products-grid {
    display: flex;
    flex-direction: column;
    gap: 64px;
  }

  .project-item,
  .project-item:nth-child(even),
  .product-item,
  .product-item:nth-child(even) {
    flex-direction: column;
    gap: 24px;
  }

  .project-img-wrap,
  .project-card,
  .product-image-box,
  .product-content-box {
    width: 100%;
    flex: none;
  }

  .hero-right {
    display: none;
  }

  .cta-shape.c2,
  .cta-shape.c4 {
    display: none;
  }
}

@media (max-width: 700px) {
  nav {
    padding: 14px 20px;
    background: var(--glass-bg-frost);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }

  .mobile-menu {
    padding-top: 140px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .section-pad,
  .cta,
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-pad {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero {
    padding-top: calc(100px + 48px);
  }

  .services-grid,
  .certs-grid,
  .extended-services-grid {
    grid-template-columns: 1fr;
  }

  .project-metrics {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cta-box {
    padding: 60px 28px;
  }

  .cta-contacts {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 40px auto 0;
    gap: 20px;
  }

  .cta-shape {
    display: none;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .footer-right {
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: calc(100px + 42px);
  }
}

/* CONTACT MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  max-height: 90dvh;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  flex: 1;
  min-height: 0;
}

.modal-left {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px 40px;
  background: url('images/get-in-touch.jpg') no-repeat center/cover;
}

.modal-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d0d10 0%, #16161b 50%, #1d1d24 100%);
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.modal-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.modal-left .hero-shapes {
  z-index: 2;
}

.modal-left-content {
  position: relative;
  z-index: 3;
  color: white;
}

.modal-left-content h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.modal-left-content p {
  opacity: 0.9;
  line-height: 1.6;
  font-size: 1.02rem;
}

.modal-right {
  padding: 50px;
  overflow-y: auto;
  background: var(--bg-base);
}

.modal-form-header {
  margin-bottom: 30px;
}

.modal-form-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.modal-form-header p {
  color: var(--text-secondary);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  border-color: rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.w-full {
  width: 100%;
}

.contact-form button[type="submit"] {
  margin-top: 10px;
  height: 56px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* RESPONSIVE MODAL */
@media (max-width: 850px) {
  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-left {
    display: none;
  }

  .modal-right {
    padding: 40px 25px 60px;
  }
}



/* ═════════════ CERTIFICATIONS ═════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 60px;
}

@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

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

.cert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.cert-icon img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.cert-card:hover .cert-icon {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1.1) rotate(5deg);
}

.cert-card:hover .cert-icon svg {
  stroke: var(--accent);
}

.cert-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ========================================
   DOWNLOAD PROFILE MODAL
   ======================================== */
.download-modal-container {
  max-width: 520px;
  padding: 40px;
  text-align: center;
}

.download-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.download-modal-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.download-modal-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.download-modal-actions {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

.download-modal-actions .btn-primary,
.download-modal-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-modal-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(232, 73, 42, 0.3);
}

.download-modal-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 73, 42, 0.45);
}

.download-modal-actions .btn-ghost {
  background: var(--bg-accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.download-modal-actions .btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 500px) {
  .download-modal-container {
    padding: 30px 20px;
  }
  .download-modal-actions {
    flex-direction: column;
    gap: 12px;
  }
}