/* ======================================
   Z7 Security Solutions — Clean White UI
   ====================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── Custom Properties (White Theme) ── */
:root {
  --bg-main: #ffffff;
  --bg-secondary: #f5f7fb;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(43, 52, 128, 0.1);
  --blue: #2b3480;
  --blue-light: #3b4a9e;
  --cyan: #2b3480;
  --text-primary: #0a0f2e;
  --text-body: #4a5568;
  --text-light: #718096;
  --shadow-sm: 0 4px 6px -1px rgba(43, 52, 128, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(43, 52, 128, 0.08);
  --shadow-3d: 0 8px 30px rgba(43, 52, 128, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font: 'Outfit', sans-serif;
  --navbar-h: 80px;
  --container-w: 1200px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.15;
}

.section-pad {
  padding: 80px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-heading {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-heading .accent {
  color: var(--blue);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-body);
  max-width: 620px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin: 0 auto;
}

/* ── 3D Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  text-decoration: none;
  padding: 14px 34px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1e2563);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(43, 52, 128, 0.3);
  border: 1px solid rgba(43, 52, 128, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 52, 128, 0.45);
}

.btn-white {
  background: #ffffff;
  color: var(--blue);
  border: 1px solid var(--glass-border);
  box-shadow: 0 2px 8px rgba(43, 52, 128, 0.08);
}

.btn-white:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-outline-white:hover {
  background: var(--glass-bg);
  border-color: var(--blue);
}

.btn-icon {
  transition: transform 0.3s;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(43, 52, 128, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(43, 52, 128, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1001;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #1e2563);
  box-shadow: 0 4px 12px rgba(43, 52, 128, 0.25);
  margin-right: 10px;
  flex-shrink: 0;
  transition: var(--transition);
}

.logo:hover .logo-mark {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.logo-mark span {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-text {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.logo-text .logo-sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: #94a3b8;
}

.footer-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* CTA section text colors (stays on dark bg) */
.cta-content h2 {
  color: #f8fafc;
}

.cta-section .btn-white {
  background: #ffffff;
  color: var(--blue);
}

.cta-section .btn-outline-white {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-section .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-content p {
  color: #94a3b8;
}

/* Hero accent color */
.section-heading .accent,
.hero-text h1 .accent,
.page-hero h1 .accent {
  color: var(--blue);
  text-shadow: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #4a5568;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: rgba(43, 52, 128, 0.06);
}

.nav-cta {
  margin-left: 20px;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(43, 52, 128, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 52, 128, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-text .hero-sub {
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-tag {
  padding: 6px 16px;
  background: rgba(43, 52, 128, 0.06);
  border: 1px solid rgba(43, 52, 128, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--blue);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* HERO WAVE FIX - Overriding the inline white fill to match the next section */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.hero-wave svg path {
  fill: var(--bg-main) !important;
}

/* Hero Graphic */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-graphic {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  position: relative;
  transform-style: preserve-3d;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(43, 52, 128, 0.15);
  border-radius: 50%;
  animation: ring-spin 30s linear infinite;
}

.hero-ring--1 {
  inset: 0;
}

.hero-ring--2 {
  inset: 12%;
  animation-direction: reverse;
  animation-duration: 25s;
}

.hero-ring--3 {
  inset: 25%;
  border-color: rgba(43, 52, 128, 0.08);
}

.hero-center-icon {
  position: absolute;
  inset: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-3d);
}

.hero-center-icon svg {
  width: 40px;
  height: 40px;
  color: var(--blue);
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════
   GLOBAL 3D CARD STYLES
   ══════════════════════════════════════════ */
.stat-card,
.service-card,
.value-card,
.why-card,
.timeline-item,
.contact-info-card,
.contact-form-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3d);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
}

/* ══════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════ */
.stats {
  padding: 60px 0;
  background: var(--bg-main);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

.stats-inner {
  text-align: center;
}

.stats-headline {
  font-size: 1.35rem;
  color: var(--text-body);
  margin-bottom: 40px;
}

.stats-headline strong {
  color: var(--text-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  padding: 28px 16px;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-light);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════ */
.services {
  background: var(--bg-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover {
  border-color: var(--blue);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* SVG Icon Restraints */
.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(43, 52, 128, 0.06);
  border: 1px solid rgba(43, 52, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 20px rgba(43, 52, 128, 0.3);
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--blue-light);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap svg {
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card ul {
  margin-bottom: 18px;
}

.service-card li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 4px 0 4px 16px;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.service-card:hover li::before {
  opacity: 1;
  box-shadow: 0 0 8px var(--blue);
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ══════════════════════════════════════════
   ABOUT & TIMELINE
   ══════════════════════════════════════════ */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-evolution {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(43, 52, 128, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 28px;
}

.about-evolution .evo-old {
  font-size: 0.92rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.about-evolution .evo-arrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
}

.about-evolution .evo-new {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.about-badge {
  background: rgba(43, 52, 128, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.about-badge svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  border-radius: 2px;
}

.timeline-item {
  margin-bottom: 28px;
  padding: 22px 24px;
}

.timeline-item:hover {
  transform: translateX(8px);
  border-color: var(--blue-light);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 26px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ══════════════════════════════════════════
   WHY US & VALUES
   ══════════════════════════════════════════ */
.why-us {
  background: var(--bg-main);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 32px 28px;
  align-items: flex-start;
}

.why-card:hover {
  border-color: var(--blue);
}

.why-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(43, 52, 128, 0.06);
  border: 1px solid rgba(43, 52, 128, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue-light);
}

.why-card h3 {
  font-size: 1.08rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  text-transform: uppercase;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.value-card {
  padding: 32px 24px;
  text-align: center;
}

.value-card:hover {
  border-color: var(--blue);
}

.value-card .value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(43, 52, 128, 0.06);
  border: 1px solid rgba(43, 52, 128, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card .value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.value-card h3 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════
   CTA & FOOTER
   ══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #1e2563, #0a0f2e);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.8rem;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  background: #0a0f2e;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  color: var(--text-body);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  color: #e2e8f0;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #f8fafc;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  transition: var(--transition);
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  align-items: flex-start;
  color: #94a3b8;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom-links a {
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ══════════════════════════════════════════
   PAGES & FORMS
   ══════════════════════════════════════════ */
.page-hero {
  background: var(--bg-secondary);
  padding: 140px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 100%, rgba(43, 52, 128, 0.04), transparent);
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 0.82rem;
  margin-bottom: 20px;
  color: var(--text-body);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb a {
  color: var(--text-body);
}

.page-hero .breadcrumb a:hover {
  color: var(--text-primary);
}

.page-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-section {
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info-card:hover {
  border-color: var(--blue);
}

.contact-info-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(43, 52, 128, 0.06);
  border: 1px solid rgba(43, 52, 128, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.contact-info-card h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-form-wrap {
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.92rem;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 52, 128, 0.1);
  background: #ffffff;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ══════════════════════════════════════════
   ANIMATIONS & RESPONSIVE
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text .hero-sub {
    margin: 0 auto 16px;
  }

  .hero-tags,
  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .services-grid,
  .why-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .section-pad {
    padding: 50px 0;
  }

  .text-center, 
  .section-heading, 
  .section-desc {
    text-align: left !important;
  }

  /* Specifically left-align long paragraphs in sections, but NOT the hero section */
  .about p,
  .text-center p {
    text-align: left !important;
  }
  
  /* Keep hero section fully centered on mobile for visual balance */
  .hero-inner,
  .hero-inner p,
  .hero-inner h1 {
    text-align: center !important;
  }

  .text-center .section-desc {
    margin: 0 !important;
  }

  .section-label {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid rgba(43, 52, 128, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 24px 40px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .why-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

