/* ============================================================
   AXION SOLUTIONS  styles.css
   ============================================================ */

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

:root {
  --navy:      #0D1B2A;
  --navy2:     #162638;
  --accent:    #1D9E75;
  --accent2:   #0F6E56;
  --accent3:   #25C490;
  --light:     #F4F6F9;
  --light2:    #EDF0F4;
  --border:    rgba(0, 0, 0, 0.07);
  --border2:   rgba(0, 0, 0, 0.12);
  --text:      #111827;
  --muted:     #5F6B7A;
  --white:     #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --nav-height: 68px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  22px;
  --transition: 0.22s ease;
  /* Shadow system */
  --shadow-xs:     0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.07);
  --shadow-accent: 0 8px 28px rgba(29, 158, 117, 0.28);
  --shadow-navy:   0 8px 28px rgba(13, 27, 42, 0.28);
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #1D9E75 0%, #25C490 100%);
  --gradient-navy:   linear-gradient(155deg, #0D1B2A 0%, #1A2E42 100%);
  --gradient-light:  linear-gradient(160deg, #F4F6F9 0%, #EDF0F4 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

body.menu-open { overflow: hidden; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(29, 158, 117, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color var(--transition);
  letter-spacing: 0.1px;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--navy); font-weight: 500; }
.nav-links a:hover::after,
.nav-links a.nav-active::after { width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.nav-cta:hover {
  background: var(--accent2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.nav-links a:focus-visible,
.btn-primary:focus-visible,
.btn-link:focus-visible,
.btn-outline-light:focus-visible,
.menu-toggle:focus-visible {
  outline-offset: 4px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO (Home page)
   ============================================================ */
.hero {
  padding: clamp(14px, 2vw, 24px) 0 clamp(72px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}

/* Decorative background orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,27,42,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E1F5EE;
  color: #0F6E56;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px 5px 10px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(15,110,86,0.15);
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.82); }
}

.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero-left h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-left p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 440px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.1px;
}
.btn-primary:hover {
  background: var(--accent2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition), gap var(--transition);
}
.btn-link:hover { color: var(--accent); gap: 10px; }
.btn-link span { transition: transform var(--transition); display: inline-block; }
.btn-link:hover span { transform: translateX(2px); }

.btn-outline-light {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.stat-card:hover {
  border-color: rgba(29, 158, 117, 0.3);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.45;
}

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust-band {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}
.trust-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 10px;
}
.trust-industries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}
.trust-sep { color: var(--accent); }

/* ============================================================
   DIVIDERS & SECTIONS
   ============================================================ */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0 5%;
}

.section { padding: 88px 0; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label.light { color: #5DCAA5; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 48px;
  line-height: 1.2;
}
.section-title.light { color: var(--white); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(48px, 6vw, 68px);
  background: var(--gradient-light);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E1F5EE;
  color: #0F6E56;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px 5px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(15,110,86,0.15);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 680px;
}
.page-hero-title em {
  font-style: italic;
  color: var(--accent);
}

.page-hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 580px;
}

/* ============================================================
   SERVICES (grid overview)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--white);
  transition: all var(--transition);
  cursor: default;
  box-shadow: var(--shadow-xs);
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, #d4f0e7 0%, #c0ead9 100%);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   SERVICES DETAIL (services page)
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 48px 0;
}

.service-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.service-detail-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-detail-content h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.service-detail-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 12px;
}

.service-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 20px;
}
.service-detail-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.service-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 13px;
  top: 1px;
  font-weight: 700;
}

.service-divider {
  height: 1px;
  background: var(--border);
}

.process-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(29,158,117,0.28);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-wrap {
  background: var(--gradient-navy);
  border-radius: var(--radius-xl);
  padding: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.about-wrap::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.about-wrap::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 65%);
  pointer-events: none;
}

.about-left p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  max-width: 380px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
  position: relative;
  z-index: 1;
}

.about-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  margin-top: 7px;
  flex-shrink: 0;
}
.about-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}
.about-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

/* ============================================================
   STORY (about page)
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.story-left p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-stat {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.story-stat:hover {
  border-color: rgba(29,158,117,0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.story-stat-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.story-stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   MISSION/VISION (about page)
   ============================================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mv-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--light);
  transition: all var(--transition);
}
.mv-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mv-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 14px;
}

.mv-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   TEAM (about page)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  background: var(--white);
  transition: all var(--transition);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.team-card:hover {
  border-color: rgba(29,158,117,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.team-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--light);
  transition: all var(--transition);
}
.case-card:hover {
  border-color: rgba(29, 158, 117, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: #E1F5EE;
  color: #0F6E56;
  margin-bottom: 16px;
}

.case-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.case-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.case-result {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
}

/* ============================================================
   CASE STUDIES FULL (case studies page)
   ============================================================ */
.cases-grid-full {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-card-full {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--light);
  transition: all var(--transition);
}
.case-card-full:hover {
  border-color: rgba(29,158,117,0.35);
  box-shadow: var(--shadow-md);
}

.case-card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.case-service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: #E8EEFF;
  color: #3B5BDB;
}

.case-card-full h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.35;
}

.case-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}

.case-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.case-grid-2 p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.case-results-bar {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.case-result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-result-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--accent2);
  line-height: 1;
  letter-spacing: -0.5px;
}

.case-result-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.testimonial-card:hover {
  border-color: rgba(29,158,117,0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.author-title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 65%);
  pointer-events: none;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.cta-left p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}

.cta-btn {
  background: var(--gradient-accent) !important;
  font-size: 15px;
  padding: 15px 32px;
  white-space: nowrap;
  box-shadow: var(--shadow-accent) !important;
}
.cta-btn:hover {
  background: linear-gradient(135deg, #0F6E56 0%, #1D9E75 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(29,158,117,0.38) !important;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
}

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

.contact-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E1F5EE 0%, #c8ead6 100%);
  color: var(--accent2);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-details {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Contact form wrapper */
.contact-form-wrap {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.req { color: var(--accent2); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #A0ADB8; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

#contactForm .submit-btn,
.contact-form-wrap .btn-primary {
  align-self: flex-start;
  padding: 14px 36px;
  margin-top: 8px;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--accent2);
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  padding: 14px 18px;
  background: #E1F5EE;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15,110,86,0.15);
}
.form-error {
  display: none;
  text-align: left;
  color: #B91C1C;
  font-size: 14px;
  margin-top: 8px;
  padding: 12px 18px;
  background: #FEF2F2;
  border-radius: var(--radius-sm);
  border: 1px solid #FECACA;
}

/* ============================================================
   FAQ (contact page)
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-wrap {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}
.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E1F5EE 0%, #C8EDE2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 4px 20px rgba(29,158,117,0.18);
}
.thankyou-wrap h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.thankyou-wrap p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 52px 5% 28px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-left p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--navy); }

.footer-right {
  text-align: right;
}
.footer-right p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1180px;
  margin: 24px auto 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: #A0ADB8;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }

/* Scroll-triggered fade */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE  Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-left h1 { font-size: 42px; }
  .hero-left p { max-width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-right { text-align: left; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .mv-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { flex-direction: column; align-items: flex-start; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .service-detail { grid-template-columns: 1fr; gap: 20px; }
  .case-grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-title { font-size: 38px; }
}

/* ============================================================
   RESPONSIVE  Mobile
   ============================================================ */
@media (max-width: 640px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    /* Keep below WhatsApp button (z-index: 9999) */
    z-index: 999;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 16px 5%;
    font-size: 15px;
  }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }

  .hero { padding: 12px 0 56px; }
  .hero-left h1 { font-size: 36px; letter-spacing: -1px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-wrap { padding: 32px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
  .footer-links { align-items: flex-start; }
  .page-hero-title { font-size: 30px; }
  .page-hero { padding: 12px 0 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .case-results-bar { flex-direction: column; gap: 16px; }
  .story-stats { grid-template-columns: repeat(2, 1fr); }
  .service-detail-list { grid-template-columns: 1fr; }
  .hai-stats-row { flex-wrap: wrap; gap: 8px; }
}

/* ============================================================
   HERO AI VISUALIZATION CARD
   ============================================================ */
.hero-ai-card {
  background: var(--gradient-navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.07);
}

.hai-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hai-dot.red    { background: #FF5F57; }
.hai-dot.yellow { background: #FEBC2E; }
.hai-dot.green  { background: #28C840; }

.hai-title {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-left: 6px;
  font-family: var(--font-sans);
}

.hai-live-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #25D366;
  font-family: var(--font-sans);
}

.hai-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50%       { opacity: 0.5; box-shadow: 0 0 0 4px rgba(37,211,102,0); }
}

.hai-body {
  padding: 18px 20px 14px;
}

.nn-svg {
  width: 100%;
  display: block;
}

.nn-p {
  animation: nnP 2.2s ease-in-out infinite;
}
@keyframes nnP {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 1; }
}

.hai-stats-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hai-stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hai-stat-num {
  font-size: 21px;
  font-weight: 700;
  color: var(--accent3);
  line-height: 1;
  letter-spacing: -0.5px;
}

.hai-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.3;
  font-family: var(--font-sans);
}

.hai-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  /* Above everything — navbar (1000), dropdowns, modals */
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  /* iOS Safari: promote to GPU layer so position:fixed never disappears during scroll */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  /* Prevent tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.15);
  outline: none;
}
.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-sm);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--navy);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* Mobile: smaller button, sits above home indicator on notched phones */
@media (max-width: 640px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 16px;
    /* env() gives extra clearance above iPhone home indicator */
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 4px 18px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.18);
  }
  .whatsapp-tooltip { display: none; }
  /* Larger tap target on touch */
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 380px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
