/* ========================================
   KULA MITHRA — Premium Redesign
   Modern Trust & Professional Identity
   ======================================== */

:root {
  /* Brand colors */
  --primary: #003B73;
  --primary-dark: #002B57;
  --secondary: #00509E;
  --accent: #2E8BC0;
  --accent-light: #5DA9D9;
  --highlight: #EAF4FF;
  --highlight-soft: #F5FAFF;

  /* Surfaces */
  --bg: #FFFFFF;
  --section-bg: #F4F8FD;
  --surface: #F8FAFC;
  --dark-surface: #001F3F;

  /* Text */
  --text: #1F2937;
  --text-light: #5B6B82;
  --text-muted: #8A98AE;

  /* Lines */
  --border: #E2E8F0;
  --border-light: #EEF2F7;

  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1240px;
  --section-pad: 112px 0;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 59, 115, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 59, 115, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 59, 115, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 59, 115, 0.10);
  --shadow-glow: 0 12px 40px rgba(46, 139, 192, 0.20);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.2s var(--ease);
  --med: 0.4s var(--ease-out);
}

/* ========================================
   Base
   ======================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; }

p { color: var(--text-light); }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding: 6px 14px;
  background: var(--highlight);
  border-radius: 100px;
  margin-bottom: 14px;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head .section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section {
  padding: var(--section-pad);
  position: relative;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--fast);
  line-height: 1;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 59, 115, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 59, 115, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--highlight);
  transform: translateY(-2px);
}

.btn-outline-sm {
  font-size: 0.82rem;
  padding: 9px 20px;
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: var(--r-sm);
  font-weight: 600;
}

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

.link-arrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
  transition: all var(--fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-arrow:hover {
  color: var(--primary);
  gap: 8px;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  font-weight: 800;
}

.brand-text small {
  font-size: 0.68rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.primary-nav ul {
  display: flex;
  gap: 36px;
}

.primary-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--fast);
  position: relative;
  padding: 4px 0;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--primary);
}

.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--fast);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

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

.nav-actions .btn {
  font-size: 0.85rem;
  padding: 11px 24px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--fast);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--highlight-soft) 50%, #EAF4FF 100%);
  overflow: hidden;
}

/* Decorative background */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(46, 139, 192, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 80, 158, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 139, 192, 0.3), transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatBlob 8s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 59, 115, 0.15), transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 59, 115, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 59, 115, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
}

.hero-left { max-width: 600px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 139, 192, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  color: var(--text-light);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--highlight);
  border-radius: 10px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 18px;
  height: 18px;
}

.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Hero image card */
.hero-right {
  position: relative;
}

.hero-image-card {
  position: relative;
  padding: 0;
}

.hero-illu svg {
  width: 100%;
  border-radius: var(--r-xl);
  filter: drop-shadow(0 20px 60px rgba(0, 59, 115, 0.25));
}

.floating-stat {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.2;
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--border-light);
}

.floating-stat .stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--highlight);
  border-radius: 10px;
  color: var(--primary);
  flex-shrink: 0;
}

.floating-stat .stat-icon.accent {
  background: var(--accent);
  color: #fff;
}

.floating-stat .stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-1 {
  top: 40px;
  right: -20px;
}

.stat-2 {
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.stat-3 {
  bottom: 60px;
  left: -30px;
  animation-delay: 2s;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stat-2 {
  animation-name: floatY;
}

@keyframes floatY {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

/* Partner logos */
.hero-logos {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.logos-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  opacity: 0.65;
  transition: opacity var(--fast);
}

.logo-item:hover {
  opacity: 1;
  color: var(--primary);
}

/* ========================================
   ABOUT
   ======================================== */

.about {
  background: var(--section-bg);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 139, 192, 0.06), transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.about-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all var(--med);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-card.about-block {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.about-card.about-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46, 139, 192, 0.3), transparent 70%);
  pointer-events: none;
}

.about-card.about-block h3,
.about-card.about-block p,
.about-card.about-block .link-arrow {
  color: #fff;
  position: relative;
  z-index: 1;
}

.about-card.about-block p {
  color: rgba(255, 255, 255, 0.85);
}

.about-card.about-block .link-arrow {
  color: var(--accent-light);
}

.about-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.about-card.alt .about-icon {
  background: var(--highlight);
  color: var(--accent);
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.about-card p {
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Values */
.values-head {
  text-align: center;
  margin-bottom: 40px;
}

.values-head h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.values-head p {
  color: var(--text-light);
}

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

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--med);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med);
}

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

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

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--highlight), #fff);
  border: 1px solid var(--highlight);
  border-radius: 14px;
  color: var(--primary);
  transition: all var(--med);
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h4 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.05rem;
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ========================================
   PRACTICE AREAS — Premium dark section
   ======================================== */

.practice {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  overflow: hidden;
}

.practice-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(46, 139, 192, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(93, 169, 217, 0.3) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  pointer-events: none;
}

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

.practice .section-head h2,
.practice .section-head .section-sub {
  color: #fff;
}

.practice .section-head .section-sub {
  color: rgba(255, 255, 255, 0.8);
}

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

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: all var(--med);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--med);
}

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

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(93, 169, 217, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.service-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 139, 192, 0.3), rgba(93, 169, 217, 0.15));
  border: 1px solid rgba(93, 169, 217, 0.3);
  border-radius: 16px;
  color: var(--accent-light);
  position: relative;
  z-index: 1;
  transition: all var(--med);
}

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

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  transform: rotate(-5deg) scale(1.05);
}

.service-card h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card .link-arrow {
  color: var(--accent-light);
}

.service-card .link-arrow:hover {
  color: #fff;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */

.why {
  background: var(--bg);
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--highlight), transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.why-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--highlight-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--med);
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--med);
}

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

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 59, 115, 0.2);
}

.why-check svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.05rem;
}

.why-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ========================================
   TEAM
   ======================================== */

.team {
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 139, 192, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.team::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 80, 158, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.team-carousel { position: relative; }

.team-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 24px;
}

.team-track::-webkit-scrollbar { display: none; }

.team-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--med);
  border: 1px solid var(--border);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-header {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.team-header.alt {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.team-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.team-photo {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  margin-bottom: -40px;
  box-shadow: var(--shadow-md);
  background: var(--highlight);
  z-index: 1;
}

.team-photo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.team-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  z-index: 2;
}

.team-body {
  padding: 56px 24px 28px;
  text-align: center;
}

.team-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  text-align: center;
}

.team-body .position {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.team-body > p {
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--fast);
  font-weight: 700;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   EXPERIENCE Timeline
   ======================================== */

.experience {
  background: var(--bg);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary), var(--accent));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 56px;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item.left { flex-direction: row-reverse; }
.timeline-item.left .timeline-card { text-align: right; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(46, 139, 192, 0.1);
  transition: all var(--fast);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(46, 139, 192, 0.2);
  transform: translateX(-50%) scale(1.15);
}

.timeline-card {
  width: 44%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--med);
  box-shadow: var(--shadow-xs);
}

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

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.timeline-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials {
  background: linear-gradient(135deg, #fff 0%, var(--highlight-soft) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 16px;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  transition: all var(--med);
  box-shadow: var(--shadow-xs);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--highlight);
  border-radius: 50%;
  z-index: 0;
}

.quote-mark {
  position: relative;
  z-index: 1;
  font-size: 3.2rem;
  font-family: Georgia, serif;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 700;
}

.testimonial-card > p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 12px;
}

.author strong {
  display: block;
  font-size: 0.92rem;
  font-family: var(--font-heading);
}

.author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========================================
   BLOG / INSIGHTS
   ======================================== */

.insights {
  background: var(--section-bg);
  position: relative;
}

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

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--med);
}

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

.blog-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--med);
}

.blog-card:hover .blog-thumb svg {
  transform: scale(1.05);
}

.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-body {
  padding: 24px 24px 28px;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ========================================
   CONTACT — Blue gradient section
   ======================================== */

.contact {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--accent) 100%);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}

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

.contact .section-head h2,
.contact .section-head .section-sub {
  color: #fff;
}

.contact .section-head .section-sub {
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.info-item:last-child { margin-bottom: 0; }

.info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
}

.info-icon svg {
  width: 18px;
  height: 18px;
}

.info-item h4 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.95rem;
}

.info-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.form-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.full { display: block; margin-bottom: 16px; }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--highlight-soft);
  transition: all var(--fast);
  font-weight: 500;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 139, 192, 0.1);
}

.contact-form .form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: linear-gradient(180deg, #001F3F 0%, #00152A 100%);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 139, 192, 0.15), transparent 70%);
  pointer-events: none;
}

.footer-top {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(0, 80, 158, 0.4), rgba(46, 139, 192, 0.3));
  border: 1px solid rgba(93, 169, 217, 0.3);
  border-radius: var(--r-lg);
  padding: 32px 40px;
  backdrop-filter: blur(10px);
}

.footer-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
  max-width: 280px;
}

.brand-footer { margin-bottom: 8px; }

.brand-text strong,
.brand-text small {
  color: #fff;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--fast);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--fast);
}

.footer-col li:not(:has(a)) {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--fast);
}

.footer-legal a:hover { color: #fff; }

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */

@media (max-width: 1024px) {
  :root { --section-pad: 80px 0; }

  .primary-nav ul { gap: 24px; }
  .nav-actions { gap: 14px; }
  .nav-phone span { display: none; }

  .hero-grid { gap: 40px; }
  .hero-trust { gap: 20px; }

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

  .about-card.about-block {
    grid-column: 1 / -1;
  }

  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { gap: 32px; }
  .timeline-card { width: 42%; }
}

/* ========================================
   RESPONSIVE — Mobile
   ======================================== */

@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  .nav-wrap { height: 68px; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .primary-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 24px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--med);
    z-index: 999;
  }

  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 18px;
  }

  .primary-nav a { font-size: 1rem; }

  /* Hero */
  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 16px;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-stat {
    padding: 12px 16px;
  }

  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.65rem; }

  .stat-1 { top: 16px; right: 0; }
  .stat-2 { right: 0; }
  .stat-3 { bottom: 20px; left: 0; }

  .logos-track { gap: 20px; justify-content: center; }
  .logo-item { font-size: 0.95rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-card.about-block { grid-column: auto; }

  .value-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .team-card { flex: 0 0 260px; }

  /* Timeline */
  .timeline-line { left: 20px; }
  .timeline-item {
    flex-direction: row !important;
    padding-left: 56px;
  }
  .timeline-item.left .timeline-card { text-align: left; }
  .timeline-dot { left: 20px; }
  .timeline-card { width: 100% !important; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 300px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-info, .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .footer-cta h3 { font-size: 1.2rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  h1 { font-size: 2rem; }
  .value-grid { grid-template-columns: 1fr; }
}
