/* ================================================
   MUNENI MEDICAL ULTRASOUND — STYLESHEET
   Navy Blue, Light Blue, White Color Scheme
================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --navy:       #0a1f44;
  --navy-mid:   #0d2a5c;
  --navy-light: #1a3a6e;
  --blue:       #1e6ab8;
  --blue-light: #4fc3f7;
  --blue-pale:  #c8e6ff;
  --sky:        #e8f4ff;
  --white:      #ffffff;
  --off-white:  #f5f9ff;
  --text-dark:  #0a1f44;
  --text-body:  #2c4a72;
  --text-muted: #6b8cae;
  --border:     rgba(79, 195, 247, 0.2);
  --shadow-sm:  0 2px 12px rgba(10, 31, 68, 0.08);
  --shadow-md:  0 8px 32px rgba(10, 31, 68, 0.14);
  --shadow-lg:  0 24px 64px rgba(10, 31, 68, 0.18);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(30, 106, 184, 0.35);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 31, 68, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--blue-light);
  border-color: rgba(79, 195, 247, 0.4);
}
.btn-ghost:hover {
  background: rgba(79, 195, 247, 0.1);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--navy);
}
.full-width { width: 100%; justify-content: center; }

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(30, 106, 184, 0.08);
  border: 1px solid rgba(30, 106, 184, 0.2);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
}
.section-title.center { text-align: center; }
.section-subtitle {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

/* ======================================
   NAVBAR
====================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 31, 68, 0.97);
  backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(10, 31, 68, 0.25);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover { background: var(--blue-light) !important; color: var(--navy) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================
   HERO
====================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, #0e2d6b 100%);
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.orb1 {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -100px; right: -100px;
}
.orb2 {
  width: 350px; height: 350px;
  background: var(--blue-light);
  bottom: -80px; left: 10%;
  opacity: 0.12;
}
.orb3 {
  width: 200px; height: 200px;
  background: #4fc3f7;
  top: 40%; left: 50%;
  opacity: 0.08;
}
.wave-lines {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 300px;
}
.wave-lines svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 195, 247, 0.12);
  border: 1px solid rgba(79, 195, 247, 0.3);
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.8s ease both;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--blue-light);
}
.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.9s 0.3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeInUp 0.9s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem; }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(79, 195, 247, 0.25);
}
.hero-visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: floatCard 5s ease-in-out infinite, fadeInRight 1s 0.3s ease both;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-12px); }
}
.scan-card {
  background: rgba(13, 42, 92, 0.85);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: var(--radius-lg);
  width: 320px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}
.scan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(79, 195, 247, 0.15);
}
.scan-pulse { width: 120px; height: 40px; }
.scan-pulse svg { width: 100%; height: 100%; }
.scan-pulse polyline { stroke-dasharray: 600; animation: drawLine 2s linear infinite; }
@keyframes drawLine { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.scan-live {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
}
.scan-live .fa-circle { font-size: 0.5rem; animation: pulse 1s ease infinite; }
.scan-body { padding: 1rem 1.25rem; }
.scan-screen {
  background: #040d1a;
  border: 1px solid rgba(79, 195, 247, 0.15);
  border-radius: var(--radius-sm);
  height: 160px;
  position: relative;
  overflow: hidden;
}
.scan-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,195,247,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,247,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.scan-beam {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--blue-light), transparent);
  left: 0;
  animation: scanBeam 2.5s linear infinite;
  box-shadow: 0 0 12px var(--blue-light), 0 0 30px rgba(79,195,247,0.3);
}
@keyframes scanBeam { from { left: 0; } to { left: 100%; } }
.scan-echo {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,195,247,0.5) 0%, transparent 70%);
  animation: echo 2.5s ease-in-out infinite;
}
.echo1 { width: 60px; height: 30px; top: 60px; left: 60px; animation-delay: 0s; }
.echo2 { width: 80px; height: 40px; top: 90px; left: 150px; animation-delay: 0.4s; }
.echo3 { width: 40px; height: 20px; top: 50px; left: 220px; animation-delay: 0.8s; }
@keyframes echo {
  0%, 100% { opacity: 0.2; transform: scale(0.9); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
.scan-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid rgba(79,195,247,0.1);
}
.scan-info { display: flex; flex-direction: column; }
.scan-info span { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.scan-info strong { font-size: 0.8rem; color: var(--blue-light); margin-top: 0.1rem; }
.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  animation: bounce 2s ease infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ======================================
   ABOUT
====================================== */
.about {
  padding: 7rem 0;
  background: var(--off-white);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--navy), var(--blue), var(--blue-light));
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}
.about-portrait { position: relative; }
.portrait-frame {
  width: 320px;
  height: 320px;
  position: relative;
  margin: 0 auto;
}
.portrait-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(79,195,247,0.15), transparent 60%);
}
.portrait-icon {
  font-size: 5rem;
  color: rgba(79,195,247,0.6);
  position: relative;
  z-index: 1;
}
.portrait-rings { position: absolute; inset: -20px; }
.ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,0.15);
  animation: ringPulse 3s ease-in-out infinite;
}
.ring2 { inset: -15px; animation-delay: 0.5s; }
.ring3 { inset: -30px; animation-delay: 1s; border-color: rgba(79,195,247,0.08); }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.03); opacity: 0.4; }
}
.portrait-badge {
  position: absolute;
  bottom: -10px; right: -10px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
}
.portrait-badge i { font-size: 1.2rem; color: var(--blue-light); }
.about-card-accent {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}
.about-card-accent i {
  font-size: 1.5rem;
  color: var(--blue);
}
.about-card-accent div { display: flex; flex-direction: column; }
.about-card-accent strong { font-size: 0.9rem; color: var(--navy); }
.about-card-accent span { font-size: 0.78rem; color: var(--text-muted); }
.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.cred-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(30, 106, 184, 0.08);
  border: 1px solid rgba(30, 106, 184, 0.2);
  color: var(--blue);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.about-text {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-20px);
}
.highlight.revealed { opacity: 1; transform: none; }
.highlight:hover { background: rgba(30, 106, 184, 0.05); }
.hl-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.hl-text { display: flex; flex-direction: column; }
.hl-text strong { font-size: 0.9rem; color: var(--navy); }
.hl-text span { font-size: 0.8rem; color: var(--text-muted); }

/* ======================================
   SERVICES
====================================== */
.services {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.services-bg-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,195,247,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.service-card.revealed { opacity: 1; transform: none; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--blue-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79,195,247,0.35);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: rgba(79,195,247,0.25);
  grid-row: span 1;
}
.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li,
.service-card.featured .service-link { color: rgba(255,255,255,0.9); }
.service-card.featured .service-icon-wrap .service-icon { background: rgba(79,195,247,0.15); }
.service-card.featured::before { opacity: 1; }
.service-card.featured:hover { transform: translateY(-6px); }
.service-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--blue-light);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}
.service-icon-wrap { margin-bottom: 1.25rem; }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(30, 106, 184, 0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
}
.service-card.featured .service-icon { color: var(--blue-light); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
}
.service-features li i { color: var(--blue); font-size: 0.7rem; }
.service-card.featured .service-features li i { color: var(--blue-light); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}
.service-link:hover { gap: 0.75rem; }
.service-card.featured .service-link { color: var(--blue-light); }
.cta-card {
  background: linear-gradient(135deg, var(--blue) 0%, #1a5ea8 100%);
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-card-inner { text-align: center; }
.cta-icon { font-size: 2.5rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; display: block; }
.cta-card h3 { color: var(--white); font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.75rem; }
.cta-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 1.5rem; }
.cta-card::before { display: none; }

/* ======================================
   GALLERY
====================================== */
.gallery {
  padding: 7rem 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}
.gallery-item.revealed { opacity: 1; transform: none; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(10,31,68,0.85), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }

/* ======================================
   WHY US
====================================== */
.why-us {
  padding: 7rem 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79,195,247,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.why-us .section-label {
  background: rgba(79,195,247,0.1);
  border-color: rgba(79,195,247,0.25);
  color: var(--blue-light);
}
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.65); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(79,195,247,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.why-card.revealed { opacity: 1; transform: none; }
.why-card:hover {
  background: rgba(79,195,247,0.08);
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-4px);
}
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.why-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ======================================
   QUALIFICATIONS
====================================== */
.qualifications {
  padding: 7rem 0;
  background: var(--off-white);
}
.qual-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}
.qual-content { position: sticky; top: 8rem; }
.qual-list { display: flex; flex-direction: column; gap: 0; }
.qual-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
}
.qual-item:last-child { border-bottom: none; }
.qual-item.revealed { opacity: 1; transform: none; }
.qual-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(30,106,184,0.12);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}
.qual-degree {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.qual-institution {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.qual-details p { font-size: 0.92rem; color: var(--text-body); line-height: 1.7; }

/* ======================================
   PROCESS
====================================== */
.process {
  padding: 7rem 0;
  background: var(--white);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}
.process-step.revealed { opacity: 1; transform: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(30,106,184,0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-light);
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(10,31,68,0.2);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.process-connector {
  display: flex;
  align-items: center;
  color: var(--blue-pale);
  font-size: 1.2rem;
  margin-top: 5rem;
  padding: 0 0.5rem;
}

/* ======================================
   CONTACT
====================================== */
.contact {
  padding: 7rem 0;
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.contact-card.revealed { opacity: 1; transform: none; }
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79,195,247,0.4);
}
.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
}
.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.contact-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.contact-link:hover { border-color: var(--blue); }
.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,106,184,0.08);
}
.form-group textarea { resize: vertical; }
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success i {
  font-size: 3rem;
  color: #4ade80;
  display: block;
  margin-bottom: 1rem;
}
.form-success p { color: var(--text-body); font-size: 1.05rem; }
.hidden { display: none !important; }

/* ======================================
   FOOTER
====================================== */
.footer {
  background: var(--navy);
}
.footer-top { padding: 5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 240px;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer-links-col h5,
.footer-contact-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links-col ul li + li { margin-top: 0.6rem; }
.footer-links-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links-col a:hover { color: var(--blue-light); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.footer-contact-item i {
  color: var(--blue-light);
  font-size: 0.9rem;
  width: 16px;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.75rem 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  line-height: 1.8;
}

/* ======================================
   WHATSAPP BUBBLE
====================================== */
.whatsapp-bubble {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}
.wa-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPing 2s ease-out infinite;
}
@keyframes waPing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; left: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--navy);
  border-left: none;
}
.whatsapp-bubble:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}


/* ======================================
   ANIMATIONS
====================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px) translateY(-50%); }
  to   { opacity: 1; transform: translateX(0) translateY(-50%); }
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-visual {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    width: 100%;
    animation: fadeInUp 0.9s 0.3s ease both;
  }
  .scan-card { width: 100%; max-width: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .qual-layout { grid-template-columns: 1fr; gap: 3rem; }
  .qual-content { position: static; }
  .process-steps { gap: 2rem; }
  .process-connector { display: none; }
  .process-step { max-width: 260px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 0.5rem;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links li a { padding: 0.75rem 1rem; display: block; font-size: 1.05rem; }
  .hamburger { display: flex; }
  .hero { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 7rem 1.25rem 5rem; }
  .about, .services, .why-us, .qualifications, .process, .contact { padding: 5rem 0; }
}
