/* ===================================
   COMFORT FIRST HOME CARE — STYLES
   Color theme: Navy #1a3a8f | Blue #1e5fc4 | Light #4fa8e8
   =================================== */

:root {
  --navy:   #003087;
  --blue:   #1B6EC2;
  --light:  #4AA3D9;
  --pale:   #C2DDEF;
  --bg:     #EBF4FB;
  --white:  #ffffff;
  --text:   #1a2640;
  --muted:  #4d6880;
  --grad:   linear-gradient(135deg, var(--navy), var(--blue));
  --grad2:  linear-gradient(135deg, var(--blue), var(--light));
  --shadow: 0 20px 60px rgba(0,48,135,0.15);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ======= CANVAS PARTICLES ======= */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ======= LOADER ======= */
#loader {
  position: fixed;
  inset: 0;
  background: var(--grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.loader-ring {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(255,255,255,0.9);
  animation: spin 1.2s linear infinite;
}
.loader-ring--2 {
  width: 80%; height: 80%;
  border-top-color: var(--pale);
  animation-duration: 0.8s;
  animation-direction: reverse;
}
.loader-icon { width: 60px; }
.loader-icon svg { width: 100%; filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); }
.loader-text {
  margin-top: 24px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 2px;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-text { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ======= NAVIGATION ======= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 28px;
  background: transparent;
  transition: padding 0.4s ease;
}
#navbar.scrolled { padding: 8px 28px; }

/* White glassmorphism pill — always white */
.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  height: 92px;
  padding: 0 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(0,48,135,0.10);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0,48,135,0.14),
    0 2px 8px rgba(0,48,135,0.06),
    inset 0 1px 0 rgba(255,255,255,1);
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.nav-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(74,163,217,0.18), rgba(0,48,135,0.10));
  z-index: -1;
  transition: opacity 0.45s;
}
#navbar.scrolled .logo-img { height: 70px; }
#navbar.scrolled .nav-container {
  height: 76px;
  box-shadow:
    0 6px 40px rgba(0,48,135,0.16),
    0 2px 8px rgba(0,48,135,0.08);
}

/* Logo — fills full height of the pill */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  border-radius: 19px 0 0 19px;
  padding: 0 16px;
}
.logo-img {
  height: 92px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.logo-img:hover { transform: scale(1.04); }

/* Nav links row */
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }

/* Individual link — dark text always */
.nav-link {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  letter-spacing: 0.2px;
}
.nav-link::after { display: none; }

.nav-link:hover {
  color: var(--blue);
  background: rgba(27,110,194,0.08);
  border-color: rgba(27,110,194,0.14);
  transform: translateY(-1px);
}

/* Active highlight — gradient pill */
.nav-link.active {
  color: white !important;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-color: transparent !important;
  box-shadow: 0 4px 18px rgba(0,48,135,0.30);
  transform: translateY(-1px);
}

/* CTA "Contact Us" button */
.nav-cta {
  background: var(--grad) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(0,48,135,0.28) !important;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue), var(--light)) !important;
  color: white !important;
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 28px rgba(0,48,135,0.36) !important;
}
.nav-cta.active {
  background: var(--grad) !important;
  color: white !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
  border-radius: 10px;
  transition: background 0.3s;
}
.hamburger:hover { background: rgba(0,48,135,0.08); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown — rounded card */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin: 8px 28px 0;
  border-radius: 18px;
  border: 1px solid rgba(26,58,143,0.08);
  box-shadow: 0 16px 48px rgba(26,58,143,0.16);
  padding: 12px 16px;
  gap: 2px;
  overflow: hidden;
}
.nav-mobile a {
  text-decoration: none;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 14px;
  border-radius: 12px;
  transition: all 0.22s;
  border: none;
}
.nav-mobile a:hover {
  color: var(--blue);
  background: rgba(30,95,196,0.07);
  padding-left: 20px;
}
.nav-mobile.open { display: flex; }

/* ======= HERO ======= */
.hero {
  min-height: 100vh;
  background: var(--grad);           /* fallback if video fails */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 8% 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ── Background video ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none;
}
/* Subtle radial overlay — only darkens behind the text, edges stay clear */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 48%,
    rgba(0,20,70,0.58) 0%,
    rgba(0,20,70,0.28) 55%,
    transparent 80%
  );
}

/* Floating decorative shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  animation: float-shape 8s ease-in-out infinite;
}
.shape-1 { width: 600px; height: 600px; top: -250px; right: -150px; animation-duration: 12s; }
.shape-2 { width: 350px; height: 350px; bottom: -120px; left: -80px; animation-duration: 9s; animation-delay: -3s; }
.shape-3 { width: 220px; height: 220px; top: 25%; left: 15%; animation-duration: 11s; animation-delay: -1s; }
.shape-4 { width: 180px; height: 180px; bottom: 25%; right: 10%; animation-duration: 7s; animation-delay: -5s; }

@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(8deg); }
}

/* ── Hero animated SVG ── */
.hero-deco-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco-svg svg { width: 100%; height: 100%; }


/* Floating cross/plus signs */
@keyframes hero-cross-float {
  0%,100% { transform: translateY(0)   rotate(0deg);  opacity: 0.35; }
  50%      { transform: translateY(-18px) rotate(12deg); opacity: 0.85; }
}
.hero-cross-1 { transform-origin: 78px   212px; animation: hero-cross-float 4.2s ease-in-out infinite; }
.hero-cross-2 { transform-origin: 1340px 162px; animation: hero-cross-float 5.1s ease-in-out infinite 1.6s; }
.hero-cross-3 { transform-origin: 190px  551px; animation: hero-cross-float 3.8s ease-in-out infinite 0.9s; }
.hero-cross-4 { transform-origin: 1260px 490px; animation: hero-cross-float 4.6s ease-in-out infinite 2.3s; }

/* Floating dots */
@keyframes hero-dot-float {
  0%,100% { transform: translateY(0);    opacity: 0.28; }
  50%      { transform: translateY(-22px); opacity: 0.7; }
}
.hero-dot-1 { animation: hero-dot-float 3.6s ease-in-out infinite; }
.hero-dot-2 { animation: hero-dot-float 4.4s ease-in-out infinite 0.6s; }
.hero-dot-3 { animation: hero-dot-float 2.9s ease-in-out infinite 1.3s; }
.hero-dot-4 { animation: hero-dot-float 5.0s ease-in-out infinite 2.1s; }
.hero-dot-5 { animation: hero-dot-float 3.3s ease-in-out infinite 1.8s; }

/* Subtle heart pulse */
@keyframes hero-heart-pulse {
  0%,100% { transform: scale(1);    opacity: 0.18; }
  50%      { transform: scale(1.10); opacity: 0.34; }
}
.hero-heart { transform-origin: 720px 166px; animation: hero-heart-pulse 3.2s ease-in-out infinite; }

/* Hero heart badge — sits over Gemini watermark bottom-right */
.hero-heart-badge {
  position: absolute;
  bottom: 52px;
  right: 118px;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(0,48,135,0.30);
  z-index: 4;
  animation: badge-heartbeat 2s ease-in-out infinite;
}
.hero-heart-badge svg { width: 46px; height: 46px; }

/* Gemini watermark mask — dark vignette covers bottom-right corner */
.hero-watermark-mask {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 420px;
  height: 260px;
  background: radial-gradient(ellipse at 80% 80%,
    rgba(0,20,80,0.95) 0%,
    rgba(0,20,80,0.65) 35%,
    transparent 65%);
  pointer-events: none;
  z-index: 2;
}

/* Hero content — centered */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: white;
  line-height: 1.08;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.word-wrap { display: inline-block; overflow: hidden; }
.word { display: inline-block; }
.hero-accent .word { color: var(--pale); }

.hero-sub {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: scaleX(1); }
.btn-primary {
  background: white;
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.28); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 2px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.btn.full-width { width: 100%; justify-content: center; }
.mt-4 { margin-top: 28px; }

/* Scroll hint */
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-anim { animation: float-card 4s ease-in-out infinite; }
.delay-notify { animation-delay: 1.5s; }
.delay-metric { animation-delay: 0.8s; }

.float-anim { animation: float-card 4s ease-in-out infinite; }
.delay-notify { animation-delay: 1.5s; }
.delay-metric { animation-delay: 0.8s; }

/* SCROLL HINT */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  animation: bounce-hint 2s ease-in-out infinite;
  z-index: 2;
}
.scroll-mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 4px; height: 8px; background: rgba(255,255,255,0.7); border-radius: 2px; animation: scroll-wheel 1.5s ease-in-out infinite; }
@keyframes scroll-wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes bounce-hint { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

/* ======= SCROLL REVEAL ANIMATIONS ======= */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}

/* Flip card — rotates in on Y axis */
.reveal-flip {
  opacity: 0;
  transform: perspective(700px) rotateY(75deg) translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.23,1,0.32,1);
}
.reveal-flip.visible {
  opacity: 1;
  transform: perspective(700px) rotateY(0deg) translateY(0);
}

/* Scale pop — grows from slightly small */
.reveal-scale {
  opacity: 0;
  transform: scale(0.82) translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.reveal-scale.visible {
  opacity: 1; transform: scale(1) translateY(0);
}

/* Tilt-in from bottom-left */
.reveal-tilt {
  opacity: 0;
  transform: perspective(800px) rotateX(30deg) translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.reveal-tilt.visible {
  opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.35s; }
.delay-5 { transition-delay: 0.45s; }
.delay-6 { transition-delay: 0.55s; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ======= SHARED SECTION STYLES ======= */
.section { padding: 100px 0; position: relative; z-index: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,58,143,0.1), rgba(79,168,232,0.1));
  color: var(--blue);
  border: 1px solid rgba(30,95,196,0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: var(--pale); border-color: rgba(255,255,255,0.2); }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.white { color: white; }
.section-para { color: var(--muted); line-height: 1.8; font-size: 1rem; max-width: 620px; }
.section-para.center { margin: 0 auto; text-align: center; }
.section-para.light { color: rgba(255,255,255,0.8); }

.gradient-text {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-light {
  background: linear-gradient(135deg, var(--pale), white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======= ABOUT SECTION ======= */
.about { background: var(--bg); }

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

.about-visual { position: relative; }
.about-img-wrap { position: relative; width: 400px; height: 480px; }

/* ── Decorative background blob (restored) ── */
.about-img-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--grad);
  border-radius: 32px 32px 32px 88px;
  opacity: 0.10;
}

/* ── Animated decorative SVG — fills full background box ── */
.about-deco-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.about-deco-svg svg { width: 100%; height: 100%; }

/* Heart beat */
@keyframes svg-heartbeat {
  0%,100% { transform: scale(1); }
  14%      { transform: scale(1.13); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.07); }
  56%      { transform: scale(1); }
}
.svg-heart { transform-origin: 200px 168px; animation: svg-heartbeat 2s ease-in-out infinite; }

/* Expanding pulse rings */
@keyframes svg-pulse-ring {
  0%   { r: 55; opacity: 0.55; }
  100% { r: 115; opacity: 0; }
}
.svg-ring-1 { animation: svg-pulse-ring 2.8s ease-out infinite; }
.svg-ring-2 { animation: svg-pulse-ring 2.8s ease-out infinite 0.9s; }
.svg-ring-3 { animation: svg-pulse-ring 2.8s ease-out infinite 1.8s; }

/* Rotating outer dashed rings */
@keyframes svg-spin-cw  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes svg-spin-ccw { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }
.svg-orbit-outer { transform-origin: 200px 168px; animation: svg-spin-cw  22s linear infinite; }
.svg-orbit-inner { transform-origin: 200px 168px; animation: svg-spin-ccw 16s linear infinite; }

/* Floating dots */
@keyframes svg-float-a { 0%,100% { transform: translateY(0);    opacity: 0.55; } 50% { transform: translateY(-14px); opacity: 1; } }
@keyframes svg-float-b { 0%,100% { transform: translateY(0);    opacity: 0.45; } 50% { transform: translateY(-10px); opacity: 0.9; } }
@keyframes svg-float-c { 0%,100% { transform: translateY(0);    opacity: 0.6;  } 50% { transform: translateY(-18px); opacity: 1; } }
.svg-dot-a { animation: svg-float-a 3.2s ease-in-out infinite; }
.svg-dot-b { animation: svg-float-b 2.6s ease-in-out infinite 0.7s; }
.svg-dot-c { animation: svg-float-c 3.8s ease-in-out infinite 1.4s; }
.svg-dot-d { animation: svg-float-b 3.0s ease-in-out infinite 2.1s; }

/* Plus/cross blink */
@keyframes svg-cross-pulse { 0%,100% { opacity: 0.28; transform: scale(1); } 50% { opacity: 0.85; transform: scale(1.25); } }
.svg-cross-a { transform-origin: 340px 60px;  animation: svg-cross-pulse 2.4s ease-in-out infinite; }
.svg-cross-b { transform-origin: 48px 380px;  animation: svg-cross-pulse 2.4s ease-in-out infinite 1.2s; }
.svg-cross-c { transform-origin: 330px 360px; animation: svg-cross-pulse 2.4s ease-in-out infinite 0.6s; }


/* ── Photo frame floats centered on top of the blob ── */
.about-photo-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 310px;
  height: 400px;
  border-radius: 24px 24px 24px 60px;
  z-index: 2;
  overflow: hidden;
  box-shadow:
    0 28px 72px rgba(0,48,135,0.22),
    0 8px 24px rgba(0,48,135,0.12);
  background: var(--bg);
  animation: float-card 6s ease-in-out infinite;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;   /* keep faces in frame */
  display: block;
  transition: transform 0.6s ease;
}
.about-photo-frame:hover .about-photo { transform: scale(1.04); }

/* Soft gradient at bottom for readability */
.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0,48,135,0.28) 100%
  );
  pointer-events: none;
}

/* Fallback shown when image not yet added */
.about-ph-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(145deg, var(--bg) 0%, rgba(74,163,217,0.10) 100%);
  padding: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}
.about-ph-fallback strong { color: var(--navy); }

/* Heart badge — bottom-right corner of photo */
.about-heart-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 62px;
  height: 62px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,48,135,0.22);
  z-index: 4;
  animation: badge-heartbeat 2s ease-in-out infinite;
}
.about-heart-badge svg {
  width: 36px;
  height: 36px;
}
@keyframes badge-heartbeat {
  0%,100% { transform: scale(1); }
  15%      { transform: scale(1.14); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.07); }
}

/* Floating badge */
.about-badge-float {
  position: absolute;
  bottom: 24px; right: -24px;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0,48,135,0.18);
  animation: float-card 4s ease-in-out infinite 2s;
  z-index: 2;
}
.abf-icon { font-size: 1.6rem; }
.abf-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.9rem; color: var(--navy); }
.abf-label { font-size: 0.75rem; color: var(--muted); }

.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-story-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: -4px;
  width: fit-content;
}
.about-story-lead {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  font-style: italic;
  border-left: 3px solid var(--blue);
  padding-left: 14px;
  margin-bottom: -4px;
}
.about-founder-sig {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: -4px;
}

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.af-item { display: flex; align-items: center; gap: 10px; }
.af-check {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--grad);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.af-item span { font-size: 0.9rem; color: var(--text); font-weight: 600; }

/* ======= SERVICES STRIP ======= */
.services-strip {
  background: var(--grad);
  padding: 0;
  position: relative;
  z-index: 1;
}
.ss-wave-top, .ss-wave-bot { line-height: 0; }
.ss-wave-top { margin-bottom: -4px; }
.ss-wave-bot { margin-top: -4px; }

.ss-label {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-top: 52px;
  margin-bottom: 36px;
}

.ss-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-bottom: 56px;
}

.ss-card {
  text-align: center;
  color: white;
  padding: 36px 18px 30px;
  border-radius: 22px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}
.ss-card:hover {
  transform: translateY(-12px);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 20px 48px rgba(0,0,0,0.18);
}

.ss-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s, transform 0.35s;
}
.ss-card:hover .ss-icon-wrap {
  background: rgba(255,255,255,0.24);
  transform: scale(1.08);
}
.ss-icon-wrap svg { width: 38px; height: 38px; }

.ss-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
.ss-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.5;
}

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

/* ======= SERVICES SECTION ======= */
.services { background: var(--white); }

/* Alternating image/text service rows */
.svc-list { display: flex; flex-direction: column; gap: 80px; margin-top: 20px; }

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-row-reverse { direction: rtl; }
.svc-row-reverse > * { direction: ltr; }

.svc-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,48,135,0.12);
}
.svc-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.svc-img-wrap:hover .svc-img { transform: scale(1.03); }

.svc-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.svc-text p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 24px;
}
.svc-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.97rem;
}
.svc-bullets li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7l4 4 6-6' stroke='%234AA3D9' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  flex-shrink: 0;
}

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

/* 5th card centres itself in the last row */
.services-grid .service-card:last-child:nth-child(3n - 2) {
  grid-column: 2 / 3;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(26,58,143,0.08);
  box-shadow: 0 4px 20px rgba(26,58,143,0.06);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(26,58,143,0.18);
  border-color: rgba(30,95,196,0.2);
}
.sc-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(79,168,232,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover .sc-glow { opacity: 1; }

.sc-icon-wrap { margin-bottom: 20px; }
.sc-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(26,58,143,0.08), rgba(79,168,232,0.12));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s;
}
.service-card:hover .sc-icon {
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(30,95,196,0.3);
  transform: scale(1.08);
}
.service-card:hover .sc-icon svg path { fill: white !important; }

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 16px; }

.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.sc-tags span {
  background: var(--bg);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3px;
  transition: all 0.3s;
}
.service-card:hover .sc-tags span { background: rgba(30,95,196,0.1); }

.sc-arrow {
  color: var(--light);
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}
.service-card:hover .sc-arrow { opacity: 1; transform: translateX(0); }

/* ======= WHY US SECTION ======= */
.why-us {
  background: var(--grad);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.why-us-bg { position: absolute; inset: 0; pointer-events: none; }
.wu-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.wu-circle-1 { width: 600px; height: 600px; top: -200px; right: -200px; animation: float-shape 12s ease-in-out infinite; }
.wu-circle-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; animation: float-shape 8s ease-in-out infinite 4s; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}

.why-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.why-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.why-item:last-child { border-bottom: none; }
.wi-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  line-height: 1;
}
.wi-content h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: white; margin-bottom: 6px; font-size: 1rem; }
.wi-content p { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.7; }

.why-cards { display: flex; flex-direction: column; gap: 20px; }
.wc-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.3s, transform 0.3s;
}
.wc-card:hover { background: rgba(255,255,255,0.18); transform: translateX(8px); }
.wcc-icon { font-size: 2rem; flex-shrink: 0; }
.wc-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: white; margin-bottom: 6px; }
.wc-card p { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.7; }

/* ======= PROCESS SECTION ======= */
.process { background: var(--bg); }

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 40px;
  flex-wrap: wrap;
  gap: 40px;
}
.process-line {
  position: absolute;
  top: 60px;
  left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--light));
  z-index: 0;
  animation: line-grow 2s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}
.process-line.visible { animation: line-grow 1.5s ease-out forwards; }
@keyframes line-grow { to { transform: scaleX(1); } }

.ps-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 180px; position: relative; z-index: 1; }
.ps-circle {
  width: 64px; height: 64px;
  background: var(--grad);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 8px 24px rgba(30,95,196,0.3);
  transition: transform 0.3s;
}
.ps-item:hover .ps-circle { transform: scale(1.15); }
.ps-circle span { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem; color: white; }
.ps-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--light);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.ps-content h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.ps-content p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; max-width: 180px; }

/* ======= TESTIMONIALS ======= */
.testimonials { background: white; overflow: hidden; }
.testimonials-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tb-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26,58,143,0.04), rgba(79,168,232,0.04));
}
.tb-shape-1 { width: 500px; height: 500px; top: -200px; left: -100px; }
.tb-shape-2 { width: 400px; height: 400px; bottom: -150px; right: -100px; }

.testimonials-carousel { position: relative; overflow: hidden; border-radius: var(--radius); }
.tc-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.tc-card {
  min-width: 100%;
  padding: 52px 60px;
  background: linear-gradient(135deg, var(--bg), white);
  border-radius: var(--radius);
  border: 1px solid rgba(26,58,143,0.08);
  position: relative;
}
.tc-quote {
  position: absolute;
  top: 24px; left: 40px;
  font-size: 8rem;
  color: rgba(30,95,196,0.08);
  font-family: Georgia, serif;
  line-height: 1;
}
.tc-text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.tc-author { display: flex; align-items: center; gap: 16px; }
.tc-avatar {
  width: 52px; height: 52px;
  background: var(--grad);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.tc-name { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); }
.tc-role { font-size: 0.85rem; color: var(--muted); }
.tc-stars { margin-left: auto; color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; }

.tc-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.tc-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(30,95,196,0.2);
  background: white;
  color: var(--blue);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(26,58,143,0.1);
}
.tc-btn:hover { background: var(--grad); color: white; border-color: transparent; transform: scale(1.1); }
.tc-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--pale); transition: all 0.3s; cursor: pointer; }
.dot.active { width: 28px; background: var(--blue); }

/* ======= CONTACT SECTION ======= */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  max-width: 720px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon {
  width: 48px; height: 48px;
  background: var(--grad);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.ci-item:hover .ci-icon { transform: scale(1.1) rotate(-5deg); }
.ci-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.ci-value { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.contact-form-wrap {
  background: white;
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,58,143,0.08);
}
.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { position: relative; margin-bottom: 24px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(26,58,143,0.15);
  background: transparent;
  padding: 12px 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  appearance: none;
}
.form-group select { cursor: pointer; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-bottom-color: var(--blue); }
.form-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--grad);
  transition: width 0.4s;
}
.form-group:focus-within .form-line { width: 100%; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(26,58,143,0.08), rgba(79,168,232,0.1));
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  animation: slide-up 0.4s ease;
}
.form-success.show { display: block; }
@keyframes slide-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ======= FOOTER ======= */
.footer {
  background: var(--navy);
  position: relative;
  padding-bottom: 0;
  z-index: 1;
}
.footer-wave { line-height: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; }
.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 14px;
  mix-blend-mode: normal;
}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.7; }
.footer-contact-quick { display: flex; flex-direction: column; gap: 4px; }
.footer-contact-quick p { color: rgba(255,255,255,0.80); font-size: 0.88rem; margin: 0; }
.footer-socials { display: flex; gap: 10px; margin-top: 8px; }
.fs-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
}
.fs-btn:hover { background: var(--light); color: white; transform: translateY(-3px); }

.footer-links h5, .footer-newsletter h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}
.footer-links a:hover { color: var(--light); padding-left: 6px; }

.footer-newsletter p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.newsletter-form { display: flex; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); }
.newsletter-form input {
  flex: 1; padding: 12px 16px; background: rgba(255,255,255,0.08); border: none; color: white; font-size: 0.88rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 12px 18px; background: var(--light); border: none; color: white; font-weight: 700; font-size: 0.82rem; cursor: pointer; font-family: 'Montserrat', sans-serif; transition: background 0.3s; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-links-bottom { display: flex; gap: 24px; }
.footer-links-bottom a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 0.82rem; transition: color 0.3s; }
.footer-links-bottom a:hover { color: var(--light); }

/* ======= HERO 3D CANVAS ======= */
.hero-visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero3d-canvas {
  position: absolute;
  inset: -60px;
  width: calc(100% + 120px) !important;
  height: calc(100% + 120px) !important;
  z-index: 0;
  pointer-events: none;
}
.hero-card-wrapper {
  position: relative;
  z-index: 2;
}

/* ======= CORNER BORDER ACCENTS ======= */
/* Corner-accented cards get ::before (top-left) and ::after (bottom-right) */

/* --- Service Cards --- */
.service-card::before,
.service-card::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--light);
  border-style: solid;
  opacity: 0.45;
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
  z-index: 2;
  pointer-events: none;
}
.service-card::before {
  top: 14px; left: 14px;
  border-width: 2px 0 0 2px;
  border-radius: 6px 0 0 0;
}
.service-card::after {
  bottom: 14px; right: 14px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 6px 0;
}
.service-card:hover::before,
.service-card:hover::after {
  width: 32px; height: 32px;
  opacity: 1;
  border-color: var(--blue);
}

/* --- Testimonial Cards --- */
.tc-card { position: relative; }
.tc-card::before, .tc-card::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--blue);
  border-style: solid;
  opacity: 0.3;
  pointer-events: none;
  transition: all 0.4s ease;
}
.tc-card::before { top: 16px; left: 20px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.tc-card::after  { bottom: 16px; right: 20px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
.tc-card:hover::before, .tc-card:hover::after { opacity: 0.8; width: 34px; height: 34px; border-color: var(--light); }

/* --- Contact Form Wrap --- */
.contact-form-wrap { position: relative; }
.contact-form-wrap::before, .contact-form-wrap::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--blue);
  border-style: solid;
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.4s ease;
}
.contact-form-wrap::before { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-radius: 8px 0 0 0; }
.contact-form-wrap::after  { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-radius: 0 0 8px 0; }
.contact-form-wrap:hover::before, .contact-form-wrap:hover::after { opacity: 0.9; width: 40px; height: 40px; border-color: var(--light); }

/* --- Why-us cards --- */
.wc-card { position: relative; }
.wc-card::before, .wc-card::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(255,255,255,0.4);
  border-style: solid;
  pointer-events: none;
  transition: all 0.35s ease;
}
.wc-card::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.wc-card::after  { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }
.wc-card:hover::before, .wc-card:hover::after { width: 26px; height: 26px; border-color: rgba(255,255,255,0.9); }

/* --- Section header accent --- */
.section-header { position: relative; }

/* ======= CURSOR GLOW ======= */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(79,168,232,0.08), transparent 60%);
  transform: translate(-50%, -50%);
  transition: left 0.12s, top 0.12s;
}

/* ======= TILT EFFECT ======= */
[data-tilt] { transform-style: preserve-3d; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 185px 8% 80px; gap: 60px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 420px; height: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; display: flex; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 1fr; gap: 32px; }
  .svc-row-reverse { direction: ltr; }
  .svc-img { height: 300px; }
  .ss-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-card-wrapper { display: none; }
  .hero3d-canvas { display: none; }
  .hero-visual { width: auto; height: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .about-img-wrap { margin: 0 auto; width: 340px; height: 420px; }
  .about-photo-frame { width: 260px; height: 340px; }
  .process-line { display: none; }
  .process-steps { flex-direction: column; align-items: center; }
  .tc-card { padding: 36px 24px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
}
