/* ============ CSS RESET & BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #1b1f3b;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Scroll offset so content is not hidden behind sticky header */
section {
  scroll-margin-top: 80px;
}

/* ===== WHY CHOOSE BAND ===== */
#why-choose {
  position: relative;
  background: radial-gradient(#3776eb 0, #3e4c72 45%, #003399 100%);
  overflow: hidden;
}

#why-choose::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.15) 0,
    transparent 55%
  );
  opacity: 0.9;
  pointer-events: none;
}

#why-choose .container {
  position: relative;
  z-index: 1;
}

#why-choose .section-header h2 {
  color: #ffffff;
}

#why-choose .section-header p {
  color: rgba(226, 232, 240, 0.9);
}

#why-choose .section-kicker {
  color: #ffe2b3;
}

.why-grid {
  margin-top: 2.25rem;
}

.why-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.9rem 1.6rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

/* subtle accent strip on left, like premium corporate sites */
.why-card::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 3px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-accent), #ffd9a3);
  opacity: 0.8;
}

.why-card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* hover lift */
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 23, 42, 0.12);
}

.why-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #ffcb7c);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  margin-bottom: 0.9rem;
}

.why-icon-symbol {
  font-size: 1.4rem;
  color: #ffffff;
}

/* keep nice spacing on small screens */
@media (max-width: 900px) {
  .why-grid {
    margin-top: 1.75rem;
  }

  .why-card {
    padding: 1.6rem 1.4rem 1.4rem;
  }
}

/* ============ THEME ============ */
:root {
  --color-primary: #003399;
  --color-accent: #cc9966;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-text: #1b1f3b;
  --color-muted: #6b7280;
  --radius-card: 16px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
}

/* ============ LAYOUT UTILS ============ */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

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

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.98rem;
}

/* ===== ABOUT SECTION ===== */
.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 2.2rem;
}

.about-intro {
  flex: 1.3;
  min-width: 0;
}

.about-side {
  flex: 1;
  min-width: 0;
}

/* Titles & copy */
.about-intro h3 {
  font-size: 1.4rem;
  margin: 0 0 0.65rem;
  color: var(--color-primary);
}

.about-subtitle {
  font-size: 1.02rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--color-primary);
}

.about-intro p {
  font-size: 0.98rem;
  color: var(--color-muted);
}

/* Highlight strip */
.about-highlight-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 0.4rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(109, 40, 217, 0.14),
    /* deep purple tint */ rgba(245, 242, 255, 1) /* very light lavender */
  );
}

.about-highlight-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6d28d9;
  margin-top: 0.22rem;
}

.about-highlight-strip p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-text);
}

/* Bullet list with custom check marks */
.about-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--color-accent);
}

/* Tag pills */
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #eee7ff; /* light lavender */
  color: #3b2f82; /* darker purple text */
  border: 1px solid #d3c3ff; /* soft purple border */
}

/* Right side: stats */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.stat-card {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--color-muted);
}

/* Meta panel */
.about-meta-panel {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: radial-gradient(
    circle at top left,
    rgba(109, 40, 217, 0.14),
    rgba(0, 0, 0, 0)
  );
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-meta-panel h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--color-primary);
}

.about-meta-panel p {
  margin: 0 0 0.6rem;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.about-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-meta-list li {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1.1rem;
}

.about-meta-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.1rem;
  color: var(--color-accent);
}
/* ABOUT section background (non-blue) */
#about {
  background-color: #f5f2ff; /* warm light cream */
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
  }

  .about-side {
    width: 100%;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 0.8rem 0.85rem;
  }
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 40px; /* adjust if needed */
  width: auto;
  display: block;
}

.logo-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: #ffffff;
  font-size: 0.9rem;
}

.logo-text {
  font-size: 1rem;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.3; /* a bit more vertical space */
}

.logo-company {
  font-weight: 600;
  font-size: 1.05rem; /* slightly larger */
  color: var(--color-primary);
  margin-bottom: 0.15rem; /* gap above tagline */
}

.logo-tagline {
  font-size: 0.8rem; /* larger than before */
  color: var(--color-muted);
  letter-spacing: 0.16em; /* slightly more spaced letters */
  text-transform: uppercase;
}

/* Optional tweak for very small screens */
@media (max-width: 480px) {
  .logo-img {
    height: 32px;
  }

  .logo-company {
    font-size: 0.95rem;
  }

  .logo-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
}

.main-nav {
  position: relative;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-item > a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.35rem 0;
  position: relative;
}

.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.nav-item > a:hover::after {
  transform: scaleX(1);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  border: none;
  background: none;
  padding: 0;
  margin-left: -0.35rem;
  width: 0.8rem;
  height: 0.8rem;
  cursor: pointer;
  position: relative;
}

.dropdown-toggle::before {
  content: "▾";
  font-size: 0.7rem;
  color: var(--color-muted);
}

.dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 260px;
  background-color: #ffffff;
  border-radius: 0.7rem;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  z-index: 40;
}

.dropdown-menu li a {
  display: block;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-text);
}

.dropdown-menu li a:hover {
  background-color: var(--color-bg-alt);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hamburger for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 999px;
}

/* Mobile nav styles */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;

    /* KEY: keep it above hero video/overlays and all sections */
    z-index: 9999;

    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);

    transform: translateY(-110%);
    transition: transform 0.2s ease-out;

    /* Helpful on small screens */
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.nav-open .main-nav {
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.5rem 1.2rem;
    gap: 0.4rem;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 0.75rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 0.2rem;
  }
}

/* ===== Services dropdown: hover gap + close delay fix ===== */

/* Ensure dropdown is not clipped by parent containers */
.site-header,
.nav-menu,
.main-nav {
  overflow: visible;
}

/* Parent item must be positioned */
.nav-menu .has-dropdown,
.nav-menu li.dropdown,
.nav-menu li:has(.dropdown-menu) {
  position: relative;
}

/* The dropdown menu (hidden by default) */
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 220px;
  z-index: 10000;

  /* hide state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  /* KEY: delay applies when leaving hover (gives time to move mouse) */
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .25s;
  transition-delay: .25s; /* close delay */
}

/* Show dropdown when hovering parent or when focusing within (keyboard-friendly) */
.nav-menu .has-dropdown:hover > .dropdown-menu,
.nav-menu .has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;

  /* No delay when opening */
  transition-delay: 0s;
  transition: opacity .15s ease, transform .15s ease, visibility 0s;
}

/* Hover bridge: invisible strip between menu item and dropdown to prevent flicker */
.nav-menu .has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;      /* increase if you still see flicker */
  background: transparent;
}

/* ===== FIX: Services dropdown should not disappear while moving mouse ===== */

/* Make sure dropdown can overflow */
.main-nav,
.nav-menu {
  overflow: visible;
}

/* Parent positioning */
.nav-menu .nav-item.has-dropdown {
  position: relative;
}

/* Default hidden state */
.nav-menu .nav-item.has-dropdown > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 260px;
  z-index: 10000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  /* CLOSE DELAY: visibility changes after 250ms */
  transition:
    opacity 140ms ease,
    transform 140ms ease,
    visibility 0s linear 250ms;
}

/* OPEN: keep visible on parent hover OR menu hover */
.nav-menu .nav-item.has-dropdown:hover > .dropdown-menu,
.nav-menu .nav-item.has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;

  /* No delay when opening */
  transition:
    opacity 140ms ease,
    transform 140ms ease,
    visibility 0s;
}

/* Hover-bridge: invisible strip between Services and dropdown */
.nav-menu .nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;     /* Increase to 20px if you still see flicker */
  background: transparent;
}

/* (Optional) Improve submenu hover target */
.nav-menu .nav-item.has-dropdown > .dropdown-menu a {
  display: block;
  padding: 10px 14px;
  white-space: nowrap;
}

/* ============ FULLPAGE / SCROLL SNAP ============ */
@media (min-width: 900px) {
  main {
    scroll-snap-type: y mandatory;
  }

  main > section.page-section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
  }
}

/* ===== FULLSCREEN HERO CAROUSEL ===== */
.hero-section {
  padding: 0; /* remove old hero padding */
  background: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-text {
  flex: 1.2;
  min-width: 0;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-section h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.2;
  margin: 0.4rem 0 0.7rem;
  color: var(--color-primary);
}

.hero-subtitle {
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

/* Highlights */
.hero-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
}

.hero-highlight {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: #f3f4ff;
}

.hero-highlight-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--color-muted);
}

.hero-highlight-value {
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-section {
    padding-top: 4.5rem;
  }
}

@media (max-width: 600px) {
  .hero-highlight {
    width: 100%; /* full-width pills on mobile */
    justify-content: flex-start;
  }
}

/* Hero visual card */
.hero-visual {
  max-width: 380px; /* hard cap the width */
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}
/* Smaller hero image on desktop */
.hero-side {
  flex: 0 0 38%; /* was ~50%, now a bit narrower */
  display: flex;
  justify-content: flex-end;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* On smaller screens, stack hero side under text */
@media (max-width: 900px) {
  .hero-side {
    align-items: flex-start;
  }

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

/* Larger, more prominent project snapshot */
.hero-card {
  width: 100%;
  max-width: 420px; /* was 340px */
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  padding: 1.6rem 1.7rem 1.7rem; /* more inner space */
  border: 1px solid rgba(15, 23, 42, 0.06);
}

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

.hero-card-title {
  font-size: 1rem; /* bigger */
  font-weight: 600;
  color: var(--color-primary);
}

.hero-card-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background-color: rgba(204, 153, 102, 0.1);
  color: var(--color-accent);
}

.hero-card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.96rem; /* bigger */
}

.hero-card-body ul {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.9rem; /* bigger */
  color: var(--color-muted);
}

/* add a bit more space between bullet points */
.hero-card-body li + li {
  margin-top: 0.25rem;
}
/* Mobile hero */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-side {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    max-width: 320px; /* smaller on mobile */
    margin-top: 1.2rem;
  }
}
/* ===== VIDEO HERO (HOME) ===== */

.hero-video-section {
  position: relative;
  padding: 0; /* remove default section padding */
  min-height: 100vh; /* full screen height */
  display: flex;
  align-items: center;
}

/* Background video fills the section */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop nicely */
  z-index: 0;
}

/* Dark overlay to keep text readable */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.75)
  );
  z-index: 1;
}

/* Text content */
.hero-video-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 6rem 0 4rem; /* space under navbar */
  color: #ffffff;
}

.hero-video-content h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.2;
  margin: 0.4rem 0 0.8rem;
}

.hero-video-content .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
  margin-bottom: 1.1rem;
}

.hero-video-content .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Fix Contact Us button style on video hero */
.hero-video-content .btn-outline {
  background: transparent; /* no white fill */
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
  box-shadow: none;
}

.hero-video-content .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12); /* soft glow on hover */
  border-color: #ffffff;
  color: #ffffff;
}

/* make buttons pop on dark background */
.hero-video-content .btn-primary {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero-video-content .btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .hero-video-content {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
}

/* Services hero specific subtitle */
.services-hero-subtitle {
  max-width: 620px;
}

/* In-page services group nav (pills under hero text) */
.services-groups-nav {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.services-group-link {
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--color-text);
  background-color: #ffffff;
  transition: background-color 0.16s ease-out, color 0.16s ease-out,
    box-shadow 0.16s ease-out, border-color 0.16s ease-out;
}

.services-group-link:hover {
  border-color: var(--color-primary);
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* Slight tweak for service cards */
.services-grid .service-card {
  min-height: 170px;
}

.services-grid .service-card p {
  font-size: 0.92rem;
}

/* Extra accent on service cards */
.services-grid .service-card {
  position: relative;
  overflow: hidden;
}

.services-grid .service-card::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 3px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #cc9966, #ffda9b);
  opacity: 0.9;
}

.services-grid .service-card:hover::before {
  transform: scaleX(1);
}
.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.05rem 1rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out,
    border-color 0.2s ease-out, background 0.2s ease-out;
}
/* animated shine overlay on hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 40%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: translateX(-150%);
  opacity: 0;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  border-color: rgba(204, 153, 102, 0.9);
  background: #fffaf3;
}
.service-card:hover::after {
  opacity: 1;
  animation: serviceShine 0.9s ease-out forwards;
}

@keyframes serviceShine {
  to {
    transform: translateX(150%);
  }
}

.service-card h3 {
  margin: 0 0 0.35rem 0.55rem; /* nudge right of accent strip */
  font-size: 1rem;
  color: var(--color-primary);
}

.service-card p {
  margin: 0 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* responsive tweaks */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .service-card {
    padding: 1rem 0.9rem;
  }
}


/* ===== SERVICES CTA ===== */
.cta-section {
  background: radial-gradient(
    circle at top left,
    #fffaf3 0,
    #ffeeda 45%,
    #ffe3c2 100%
  );
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(204, 153, 102, 0.75);
  box-shadow: 0 18px 55px rgba(148, 109, 66, 0.25);
}

.cta-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.cta-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (max-width: 900px) {
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== SERVICES GRID & CARDS ===== */
.services-grid {
  margin-top: 2rem;
  gap: 1.2rem;
}
/* CTA at bottom of services page */
.cta-section {
  background: radial-gradient(
    circle at top left,
    #e5edff 0,
    #ffffff 40%,
    #f7fafc 100%
  );
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cta-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-text h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.cta-text p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (max-width: 700px) {
  .cta-card {
    padding: 1.4rem 1.3rem;
  }
}
/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
}
.hero-track {
  display: flex;
  transition: transform 0.45s ease-in-out;
  will-change: transform;
}
/* ===== SERVICES HERO ===== */
.services-hero {
  background: radial-gradient(
    circle at top left,
    #e5edff 0,
    #ffffff 40%,
    #fff4e1 100%
  );
}

.services-hero .hero-inner {
  align-items: stretch;
  gap: 2.5rem;
}

.services-hero-subtitle {
  max-width: 36rem;
}

/* in-page nav chips under hero text */
.services-groups-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.services-group-link {
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(204, 153, 102, 0.45);
  background: #fff9f0;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.2s ease-out, border-color 0.2s ease-out,
    transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.services-group-link:hover {
  background: #ffe9c5;
  border-color: rgba(204, 153, 102, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(148, 109, 66, 0.25);
}

/* Each slide = full-screen, one at a time */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
}

/* Background images per slide */
.hero-slide.slide-1 {
  background-image: url("assets/img/hero_visual.jpg");
}

.hero-slide.slide-2 {
  background-image: url("assets/img/hero_visual_simulation.jpg");
}

.hero-slide.slide-3 {
  background-image: url("assets/img/hero_visual_drawing.jpg");
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Dark overlay on top of image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.75)
  );
}
/* We still slide via transform on track; opacity gives smoother feel */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0.8rem 0 1.2rem;
}
/* Text content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* BASIC HERO LAYOUT */
.hero-section {
  padding: 5.5rem 0 4.5rem;
  background: radial-gradient(
    circle at top left,
    #e5edff 0,
    #ffffff 42%,
    #f7fafc 100%
  );
}
/* hero-side stats panel */
.hero-panel {
  position: relative;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(204, 153, 102, 0.5);
  box-shadow: 0 18px 50px rgba(148, 109, 66, 0.18);
  overflow: hidden;
  animation: servicesFloat 9s ease-in-out infinite;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
      circle at top right,
      rgba(255, 229, 189, 0.8),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(229, 237, 255, 0.9),
      transparent 55%
    );
  opacity: 0.7;
  pointer-events: none;
}

.hero-panel-header,
.hero-panel-footer,
.hero-stats-grid {
  position: relative; /* above glow */
}

.hero-panel-header h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.hero-panel-header p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.hero-stat {
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 30px rgba(148, 109, 66, 0.16);
}

.hero-stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.hero-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-chip {
  font-size: 0.78rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: #fff4de;
  color: #7a4e16;
  border: 1px solid rgba(204, 153, 102, 0.85);
}

/* subtle float animation */
@keyframes servicesFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Nav arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.9);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  z-index: 3;
  transition: background 0.18s ease-out, transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.hero-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.hero-nav-prev {
  left: 1rem;
}

.hero-nav-next {
  right: 1rem;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease-out, background 0.2s ease-out, opacity 0.2s;
}

.hero-dot.is-active {
  width: 20px;
  background: #ffffff;
  opacity: 1;
}
/* Mobile */
@media (max-width: 900px) {
  .hero-content {
    max-width: 100%;
    padding-inline: 1.25rem;
  }

  .hero-nav-prev {
    left: 0.5rem;
  }
  .hero-nav-next {
    right: 0.5rem;
  }
}

/* ============ CARDS, BUTTONS, ETC. ============ */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
    border-color 0.16s ease-out, background-color 0.16s ease-out;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-muted);
}

/* Generic card hover */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: rgba(0, 51, 153, 0.22);
}

.project-card h3 {
  margin-bottom: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background-color 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: #ffffff;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Industries pills */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.pill-card {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-size: 0.88rem;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out,
    background-color 0.14s ease-out, color 0.14s ease-out;
}

.pill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  background-color: rgba(0, 51, 153, 0.06);
  color: var(--color-primary);
}
/* ===== INDUSTRIES SECTION ===== */
.industries-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2.2rem;
}
#industries {
  background-color: #fff8f0;
}
.industries-intro {
  flex: 0.9;
  min-width: 0;
}

.industries-main {
  flex: 1.3;
  min-width: 0;
}

.industries-intro h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.industries-intro p {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
  color: var(--color-muted);
}

.industries-intro-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.industries-intro-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.industries-intro-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--color-accent);
}
/* ===== INDUSTRIES SECTION (ROW STYLE) ===== */
.industries-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2.1rem;
}

.industry-row {
  display: flex;
  gap: 1.6rem;
  align-items: stretch;
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out,
    border-color 0.2s ease-out;
}

.industry-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
  border-color: rgba(0, 51, 153, 0.12);
}

/* Image side */
.industry-image {
  flex: 0.95;
  max-width: 260px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.industry-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 0, 0, 0.12),
    transparent 55%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.industry-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.3s ease-out;
}

.industry-row:hover .industry-image img {
  transform: scale(1.07);
}

/* Text side */
.industry-content {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.industry-content h3 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.industry-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Reuse existing tag-chip styles; if not present, include: */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.tag-chip {
  font-size: 0.74rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--color-primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.tag-chip.core {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-chip.support {
  background: #ffedd5;
  color: #c2410c;
}

/* Responsive */
@media (max-width: 900px) {
  .industry-row {
    flex-direction: column;
  }

  .industry-image {
    max-width: 100%;
    height: 210px;
  }
}

.industries-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot-core {
  background: #2563eb;
}

.legend-dot-support {
  background: #f97316;
}

.legend-separator {
  opacity: 0.6;
}

/* Grid of industry cards */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.industry-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 51, 153, 0.08),
    transparent 55%
  );
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.industry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.14);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 1rem;
  color: var(--color-primary);
}

.industry-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Icon bubble */
.industry-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #ffd9a3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.55rem;
}

.industry-icon span {
  font-size: 1.35rem;
  color: #ffffff;
}

/* Tags on cards */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.tag-chip {
  font-size: 0.74rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--color-primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.tag-chip.core {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-chip.support {
  background: #ffedd5;
  color: #c2410c;
}

/* Active card state (clicked) */
.industry-card.is-active {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, #ffffff, #fff6ec);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
}

.industry-card.is-active::before {
  opacity: 1;
}

/* Detail panel */
.industry-detail-panel {
  padding: 1.05rem 1.15rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 110px;
}

.industry-detail-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--color-primary);
}

.industry-detail-panel p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--color-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .industries-layout {
    flex-direction: column;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact / form */
.contact-grid {
  align-items: flex-start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--color-muted);
}
/* ===== CONTACT SECTION ===== */
.section-contact {
  background: #f5f7fb; /* light grey-blue so it stands out */
}

.contact-grid {
  align-items: flex-start;
}

.contact-panel {
  /* .card likely already sets background, radius, shadow; this adds spacing */
  padding: 1.4rem 1.5rem;
}

.contact-panel h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* contact list */
.contact-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.contact-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5edff;
  font-size: 1.2rem;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
}

.contact-text,
.contact-list a {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

/* WhatsApp-style button */
.btn-whatsapp {
  border: 1px solid #22c55e;
  color: #14532d;
  background: #dcfce7;
}

/* form */
.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.7rem;
  font-size: 0.92rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(0, 51, 153, 0.15);
}

/* responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROJECTS SECTION (GOLD STRIP) ===== */
.section-projects {
  position: relative;
  background: radial-gradient(
    circle at top left,
    #fffaf3 0,
    #ffe9c7 45%,
    #ffe0b3 100%
  );
  color: var(--color-text);
  overflow: hidden;
}

.section-projects::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.7),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(204, 153, 102, 0.25),
      transparent 60%
    );
  opacity: 0.9;
  pointer-events: none;
}

.section-projects .container {
  position: relative;
  z-index: 1;
}

.section-projects .section-header h2 {
  color: var(--color-primary);
}

.section-projects .section-header p {
  color: var(--color-muted);
}

.section-projects .section-kicker {
  color: var(--color-accent);
}

/* Project cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.1rem;
}

@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.project-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(204, 153, 102, 0.55);
  box-shadow: 0 18px 50px rgba(148, 109, 66, 0.25);
  transform: translateY(0);
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out,
    border-color 0.22s ease-out, background 0.22s ease-out;
}

/* soft gold glow */
.project-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(
      circle at top right,
      rgba(255, 239, 200, 0.8),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 213, 151, 0.7),
      transparent 55%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(148, 109, 66, 0.35);
  border-color: rgba(204, 153, 102, 0.9);
  background: #fffaf3;
}

.project-card:hover .project-glow {
  opacity: 1;
}

/* top accent line */
.project-card::after {
  content: "";
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  top: 0.95rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cc9966, #ffda9b, #cc9966);
  opacity: 0.9;
}

/* icon bubble */
.project-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #cc9966, #ffda9b);
  box-shadow: 0 14px 35px rgba(148, 109, 66, 0.55);
}

.project-icon span {
  font-size: 1.5rem;
  color: #3b2f1a;
}

/* text */
.project-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.project-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--color-muted);
}

/* pills / meta */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.project-pill {
  font-size: 0.75rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(204, 153, 102, 0.9);
  color: #7a4e16;
  background: rgba(255, 242, 219, 0.95);
}

.project-pill-soft {
  border-color: rgba(204, 153, 102, 0.5);
  color: #7a4e16;
  background: rgba(255, 247, 230, 0.9);
}

/* ===== RESOURCES SECTION (GOLD, INTERACTIVE) ===== */
.section-resources {
  position: relative;
  background: radial-gradient(
    circle at top left,
    #fffdf7 0,
    #ffeeda 45%,
    #ffe4c4 100%
  );
  overflow: hidden;
}

.section-resources::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.9),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(204, 153, 102, 0.3),
      transparent 60%
    );
  opacity: 0.9;
  pointer-events: none;
}

.section-resources .container {
  position: relative;
  z-index: 1;
}

.section-resources .section-kicker {
  color: var(--color-accent);
}

/* Layout: highlight + cards */
.resources-layout {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2.1rem;
}

.resources-highlight {
  flex: 1;
  min-width: 0;
}

.resources-highlight-inner {
  position: relative;
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 20px;
  background: #fffaf3;
  border: 1px solid rgba(204, 153, 102, 0.6);
  box-shadow: 0 18px 50px rgba(148, 109, 66, 0.2);
  overflow: hidden;
}

/* soft animated glow */
.resources-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(
      circle at top right,
      rgba(255, 250, 235, 0.9),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(255, 224, 178, 0.7),
      transparent 55%
    );
  opacity: 0.6;
  pointer-events: none;
  animation: resourcesGlow 10s ease-in-out infinite alternate;
}

@keyframes resourcesGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate3d(10px, -10px, 0) scale(1.03);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(-5px, 10px, 0) scale(1.02);
    opacity: 0.6;
  }
}

.resources-highlight-inner h3 {
  position: relative;
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.resources-highlight-inner p {
  position: relative;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.resources-highlight-list {
  position: relative;
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
}

.resources-highlight-list li {
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  position: relative;
}

.resources-highlight-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7rem;
  color: var(--color-accent);
}

.resources-badges {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.resource-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #fff4de;
  color: #7a4e16;
  border: 1px solid rgba(204, 153, 102, 0.8);
}

/* Cards on the right */
.resources-grid {
  flex: 1.4;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

@media (max-width: 720px) {
  .resources-layout {
    flex-direction: column;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* resource cards */
.resource-card {
  position: relative;
  padding: 1.2rem 1.1rem 1.1rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(204, 153, 102, 0.5);
  box-shadow: 0 16px 45px rgba(148, 109, 66, 0.18);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out,
    border-color 0.2s ease-out, background 0.2s ease-out;
}

/* slight float on hover */
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(148, 109, 66, 0.3);
  border-color: rgba(204, 153, 102, 0.9);
  background: #fffaf3;
}

/* animated shine on hover */
.resource-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: translateX(-150%);
  opacity: 0;
  pointer-events: none;
}

.resource-card:hover::after {
  opacity: 1;
  animation: cardShine 0.9s ease-out forwards;
}

@keyframes cardShine {
  to {
    transform: translateX(150%);
  }
}

/* icon */
.resource-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  background: linear-gradient(135deg, #cc9966, #ffda9b);
  box-shadow: 0 12px 30px rgba(148, 109, 66, 0.5);
  animation: iconPulse 3.5s ease-in-out infinite;
}

.resource-icon span {
  font-size: 1.3rem;
  color: #3b2f1a;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
  }
}

/* text & bullet list */
.resource-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--color-primary);
}

.resource-card p {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.resource-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resource-points li {
  padding-left: 1.1rem;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  position: relative;
}

.resource-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1rem;
  color: var(--color-accent);
}

/* footer tag */
.resource-footer {
  margin-top: 0.45rem;
}

.resource-tag {
  display: inline-flex;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #fff4de;
  color: #7a4e16;
  border: 1px solid rgba(204, 153, 102, 0.7);
}

/* Contact details list */
.contact-list {
  list-style: none;
  margin: 1rem 0 1.3rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem 0.8rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1rem;
  line-height: 1.2;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 0.1rem;
}

.contact-text,
.contact-list a {
  font-size: 0.92rem;
  color: var(--color-text);
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.8);
}

.contact-list a:hover {
  border-bottom-style: solid;
  color: var(--color-primary);
}

/* Contact action buttons */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* WhatsApp button style */
.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #1fb257;
  border-color: #1fb257;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

input[type="text"],
input[type="email"],
select,
textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.45rem 0.7rem;
  font: inherit;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 51, 153, 0.35);
  outline-offset: 1px;
}

/* Helpers */
.muted {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.4rem 0 1.7rem;
  background-color: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-meta strong {
  color: var(--color-primary);
}
/* Fix hero highlight colors for light hero */
.hero-highlights .hero-highlight-label {
  color: var(--color-muted);
}

.hero-highlights .hero-highlight-value {
  color: var(--color-primary);
}

/* ============ STICKY SOCIAL LINKS (IMG/SVG friendly) ============ */
.sticky-social{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* Buttons: same size so they align */
.sticky-social .social-btn{
  width: 72px;
  height: 72px;
  border-radius: 999px;

  display: grid;
  place-items: center;
  overflow: hidden;

  text-decoration: none;
  line-height: 1;

  /* Smooth hover */
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  overflow: hidden; /* helps with rounded corners */
}

/* For PNG/IMG icons */
.sticky-social .social-btn img{
  width: 48px;             /* default desktop */
  height: 48px;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  transform: translateZ(0); /* reduces blur on some browsers */
}

/* Brand backgrounds (keep if you want colored round buttons) */
.sticky-social .social-btn.linkedin{ background: #0a66c2; }
.sticky-social .social-btn.whatsapp{ background: #25d366; }

.sticky-social .social-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.sticky-social .social-btn:focus-visible{
  outline: 3px solid rgba(0, 51, 153, 0.35);
  outline-offset: 2px;
}

/* Normalize icon alignment (Font Awesome <i>, SVG, IMG) */
.sticky-social .social-btn i,
.sticky-social .social-btn svg,
.sticky-social .social-btn img{
  margin: 0;
  line-height: 1;
}

/* Mobile adjustments + safe-area support */
@media (max-width: 720px){
  .sticky-social{
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  .sticky-social .social-btn{
    width: 64px;
    height: 64px;
  }

  .sticky-social .social-btn img{
    width: 44px;
    height: 44px;
  }

  .sticky-social .social-btn svg{
    width: 26px;
    height: 26px;
  }
}
.sticky-social .social-btn{
  background: transparent !important;
  box-shadow: none;
}
/* Home Services (brief) section helpers */
.services-preview .service-link{
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  text-decoration: none;
}

.services-cta-row{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
/* ===== Darker background for Home Services section ===== */
#services.section-alt{
  background: #1f2937;              /* dark navy (high-tech) */
  color: rgba(255,255,255,0.92);
}

#services.section-alt .section-kicker{
  color: rgba(255,255,255,0.70);
}

#services.section-alt h2{
  color: #ffffff;
}

#services.section-alt p{
  color: rgba(255,255,255,0.78);
}

/* Cards on dark background */
#services.section-alt .card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

#services.section-alt .card h3{
  color: #ffffff;
}

#services.section-alt .card p{
  color: rgba(255,255,255,0.78);
}

/* Links + CTAs */
#services.section-alt .service-link{
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#services.section-alt .service-link:hover{
  color: #ffffff;
}

/* If your buttons look too light/dark, this keeps them readable */
#services.section-alt .btn-ghost{
  border-color: rgba(255,255,255,0.40);
  color: rgba(255,255,255,0.95);
}
#services.section-alt .btn-ghost:hover{
  background: rgba(255,255,255,0.10);
}
/* ===== Fix: Sticky social icons drifting to the side on mobile ===== */

/* 1) Hard-stop any horizontal overflow that pushes fixed elements outside */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* 2) Force sticky-social to pin to the visual viewport consistently */
.sticky-social{
  position: fixed !important;
  left: auto !important;
  top: auto !important;

  /* safer than only right/bottom in some mobile layouts */
  right: max(12px, env(safe-area-inset-right)) !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
}

/* 3) Extra safety: if any section accidentally uses 100vw etc */
img, video, iframe, svg {
  max-width: 100%;
}
