/* =====================================================
   Life Secure Diagnostic & Polyclinic — Design System
   Author: MDR WebS | mdrwebs.com
   ===================================================== */

/* ── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────── */
:root {
  /* Colors */
  --primary:       #0B2A5C;
  --primary-light: #1B4F9E;
  --primary-dark:  #071D42;
  --accent:        #00BFA6;
  --accent-light:  #00D9C0;
  --accent-dark:   #009E89;
  --light:         #F4F9FF;
  --light-2:       #EBF4FF;
  --white:         #FFFFFF;
  --text:          #1A1A2E;
  --text-light:    #4B5563;
  --text-muted:    #9CA3AF;
  --border:        #E5E7EB;
  --border-light:  #F3F4F6;
  --danger:        #EF4444;
  --success:       #22C55E;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #0B2A5C 0%, #1B4F9E 55%, #00BFA6 100%);
  --grad-accent:    linear-gradient(135deg, #00BFA6 0%, #0B2A5C 100%);
  --grad-hero:      linear-gradient(90deg, rgba(7,29,66,0.95) 0%, rgba(11,42,92,0.88) 30%, rgba(11,42,92,0.45) 58%, rgba(11,42,92,0.05) 78%, transparent 100%);
  --grad-card:      linear-gradient(145deg, #ffffff 0%, #f4f9ff 100%);
  --grad-footer:    linear-gradient(135deg, #071D42 0%, #0B2A5C 100%);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(11, 42, 92, 0.08);
  --shadow:        0 4px 24px rgba(11, 42, 92, 0.12);
  --shadow-md:     0 8px 32px rgba(11, 42, 92, 0.14);
  --shadow-lg:     0 16px 48px rgba(11, 42, 92, 0.18);
  --shadow-hover:  0 20px 60px rgba(11, 42, 92, 0.22);
  --shadow-accent: 0 8px 32px rgba(0, 191, 166, 0.28);

  /* Spacing */
  --section-py:    100px;
  --section-py-sm: 60px;

  /* Border Radius */
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full:9999px;

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

  /* Transitions */
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container: 1240px;
}

/* ── 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);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  outline: none;
}

button { cursor: pointer; }

/* ── Typography ───────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

/* ── Container & Layout ───────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-sm {
  padding: var(--section-py-sm) 0;
}

.section-light  { background: linear-gradient(135deg, #F4F9FF 0%, #EEF6F5 100%); }
.section-white  { background-color: #ffffff; }
.section-dark   { background: var(--grad-footer); color: var(--white); }

/* Named accent sections used across all pages */
.section-teal   { background: linear-gradient(135deg, #EAF8F6 0%, #D4F5EE 100%); }
.section-blue   { background: linear-gradient(135deg, #EEF4FF 0%, #E5EEFF 100%); }
.section-purple { background: linear-gradient(135deg, #F3F0FF 0%, #EDE8FF 100%); }

/* ── Section Header ───────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0,191,166,0.12), rgba(11,42,92,0.08));
  color: var(--accent-dark);
  border: 1px solid rgba(0,191,166,0.3);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--grad-accent);
  border-radius: var(--radius-full);
  margin: 12px auto 0;
}

.section-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 191, 166, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}

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

.btn-outline-primary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* ── Navigation / Header ──────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 29, 66, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(11, 42, 92, 0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.scrolled .nav-logo img {
  height: 44px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-logo-text .brand-sub {
  font-size: 0.7rem;
  color: var(--accent-light);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(0,191,166,0.18);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-phone i { font-size: 0.85rem; }

/* ── Hamburger Menu Button ──────────────────────────── */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 191, 166, 0.18);
  border: 1px solid rgba(0, 191, 166, 0.4);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.hamburger .icon-close { display: none; }
.hamburger.open .icon-bars { display: none; }
.hamburger.open .icon-close { display: block; }

/* ── Mobile Navigation Drawer Backdrop ──────────────── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Mobile Navigation Slide-Out Drawer ─────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: linear-gradient(180deg, #071D42 0%, #0B2A5C 100%);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

/* Mobile Drawer Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.mobile-brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--accent-light);
}

.mobile-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-close-btn:hover {
  background: var(--danger);
  color: var(--white);
}

/* Mobile Menu Links Body */
.mobile-nav-body {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  border-bottom: none;
}

.mobile-menu-item i:first-child {
  width: 24px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--accent);
}

.mobile-menu-item .arrow-icon {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  background: rgba(0, 191, 166, 0.2);
  color: var(--white);
  padding-left: 22px;
}

.mobile-menu-item:hover .arrow-icon,
.mobile-menu-item.active .arrow-icon {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent-light);
}

/* Mobile Action Box (Call & WhatsApp) */
.mobile-action-box {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-btn-call {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}

.mobile-btn-call:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

.mobile-btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
}

.mobile-btn-wa:hover {
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* ── Hero Slider ──────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Hero Slide: img-tag approach (reliable cross-browser) ── */
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Full-bleed background image */
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Directional overlay: dark-left → transparent-right */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7,29,66,0.94)  0%,
    rgba(11,42,92,0.82) 28%,
    rgba(11,42,92,0.42) 55%,
    rgba(11,42,92,0.08) 75%,
    transparent         100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 80px;
  z-index: 2;
}

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

/* Constrain hero text to left half so image shows on right */
.hero-badge,
.hero-title,
.hero-desc,
.hero-actions {
  max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION COLOR SYSTEM  — each section has its own personality
   ═══════════════════════════════════════════════════════════ */

/* 1. Services — crisp white with teal left-border on cards */
.section-services {
  background: #ffffff;
}
.section-services .service-card {
  border-left: 4px solid var(--accent);
  background: linear-gradient(145deg,#ffffff 0%,#f0fdf9 100%);
}

/* 2. Why Choose Us — refreshing mint-cyan background with high-contrast cards */
.section-why {
  background: linear-gradient(135deg, #E6F8F6 0%, #F0FDF9 50%, #E0F2FE 100%);
  position: relative;
}
.section-why .section-header h2 { color: var(--primary); }
.section-why .section-header p  { color: var(--text-light); }
.section-why .section-header .badge {
  background: rgba(0,191,166,0.15);
  border-color: rgba(0,191,166,0.35);
  color: var(--accent-dark);
}
.section-why .why-item {
  background: #ffffff;
  border: 1px solid rgba(0,191,166,0.2);
  box-shadow: 0 4px 16px rgba(11,42,92,0.06);
  border-radius: var(--radius);
}
.section-why .why-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,191,166,0.18);
  transform: translateY(-4px);
}
.section-why .why-icon {
  background: linear-gradient(135deg, #00BFA6 0%, #0B2A5C 100%);
  color: #ffffff;
}
.section-why .why-text h4 {
  color: #0B2A5C;
  font-weight: 700;
}
.section-why .why-text p {
  color: #475569;
}

/* 3. Team — warm soft teal-to-sky gradient */
.section-team {
  background: linear-gradient(135deg, #EAF8F6 0%, #EEF4FF 50%, #F3F0FF 100%);
}

/* 4. Gallery — deep dark navy for contrast / dark-mode feel */
.section-gallery {
  background: linear-gradient(135deg, #071D42 0%, #0B2A5C 100%);
}
.section-gallery .section-header h2,
.section-gallery .section-header p { color: var(--white); }
.section-gallery .section-header .badge {
  background: rgba(0,191,166,0.2);
  border-color: rgba(0,191,166,0.4);
  color: var(--accent-light);
}
.section-gallery .btn-outline-primary {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.section-gallery .btn-outline-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* 5. Testimonials — soft pastel cyan/purple background */
.section-testimonials {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F0FDF4 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,191,166,0.2);
  border: 1px solid rgba(0,191,166,0.5);
  color: var(--accent-light);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title span { color: var(--accent-light); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* ── Stats Bar ────────────────────────────────────── */
.stats-bar {
  background: var(--grad-primary);
  padding: 40px 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--accent-light); }

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ── Service Cards ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,191,166,0.2);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,191,166,0.12), rgba(11,42,92,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--accent-dark);
}

.service-card:hover .service-icon {
  background: var(--grad-accent);
}

.service-card:hover .service-icon i { color: var(--white); }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dark);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover { gap: 10px; }

/* ── Why Choose Us ────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.why-item:hover {
  transform: translateX(6px);
  border-color: rgba(0,191,166,0.3);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radius);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}

.why-text h4 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.why-text p  { font-size: 0.875rem; line-height: 1.65; }

/* ── Team / Staff Cards ───────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

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

.team-img-wrapper {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #e2e8f0;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-img-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-img-overlay { opacity: 0.4; }

.team-info {
  padding: 24px;
}

.team-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,191,166,0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(0,191,166,0.25);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-info h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.team-info .experience {
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.team-quals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.qual-tag {
  background: var(--light);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(0,191,166,0.15);
  line-height: 1;
}

.stars {
  display: flex;
  gap: 4px;
  color: #FBBF24;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

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

/* ── Gallery Grid ─────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 92, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  font-size: 1.5rem;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  cursor: default;
  animation: scaleIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
}

.lightbox-close:hover { background: var(--danger); }

/* ── Page Hero ────────────────────────────────────── */
.page-hero {
  background: var(--grad-primary);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: rgba(0,191,166,0.1);
  animation: pulse-ring 4s ease-in-out infinite;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  border-radius: var(--radius-full);
  background: rgba(0,191,166,0.06);
  animation: pulse-ring 5s ease-in-out infinite 1s;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }

.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 24px; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.65rem; }

/* ── Contact Section ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(0,191,166,0.3);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radius);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.contact-info-card h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-info-card a:hover { color: var(--accent); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--light);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,191,166,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

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

/* ── Hours Table ──────────────────────────────────── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
}

.hours-table td:first-child { color: var(--primary); font-weight: 600; }
.hours-table td:last-child  { color: var(--text-light); text-align: right; }
.hours-table tr:last-child td { border-bottom: none; }

/* ── Map Section ──────────────────────────────────── */
.map-section {
  background: var(--light);
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
  background: var(--grad-primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  border: 60px solid rgba(0,191,166,0.08);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  border: 50px solid rgba(0,191,166,0.06);
}

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

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 520px; margin: 0 auto 32px; }

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

/* ── About Page Specific ──────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-stack {
  position: relative;
}

.about-img-stack .main-img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--grad-accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-accent);
}

.about-img-badge .big-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-img-badge .small-text { font-size: 0.8rem; opacity: 0.9; }

.about-text .lead {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.7;
}

.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.925rem;
  color: var(--text-light);
}

.check-list li i { color: var(--accent); font-size: 0.85rem; }

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,191,166,0.25);
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0,191,166,0.15), rgba(11,42,92,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--accent-dark);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--grad-accent);
  color: var(--white);
}

.value-card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.15rem; }
.value-card p  { font-size: 0.875rem; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--grad-footer);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 50px;
  border-radius: 6px;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-brand .footer-logo-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--accent-light);
  font-weight: 400;
  font-family: var(--font-body);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a i { font-size: 0.7rem; color: var(--accent); }

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-contact-item a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: var(--accent-light);
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--white); }

.footer-builder {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-builder a {
  color: var(--accent-light);
  font-weight: 600;
}

.footer-builder a:hover { color: var(--white); }

/* ── 404 Page ─────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad-primary);
  padding: 40px 24px;
}

.error-content .error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 3px rgba(0,191,166,0.5);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2rem;
}

.error-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 36px;
}

/* ── Scroll Reveal Animations ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ── Keyframe Animations ──────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.15); opacity: 0.3; }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── Utility ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--text-muted); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.w-100 { width: 100%; }

/* ── Responsive Design ────────────────────────────── */
@media (max-width: 1200px) {
  .services-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  :root { --section-py: 72px; }

  .nav-links, .nav-phone, #headerContactBtn { display: none !important; }
  .hamburger { display: flex; }

  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: 1fr; }
  .about-intro-grid  { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .team-grid     { max-width: 600px; }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .services-grid     { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr; max-width: 420px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
  .values-grid       { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .form-row          { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }
  /* Hero mobile: full dark overlay so text is always readable */
  .slide-overlay {
    background: rgba(7,29,66,0.78) !important;
  }
  .hero-badge,
  .hero-title,
  .hero-desc,
  .hero-actions {
    max-width: 100%;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-img-badge   { right: 0; bottom: -16px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .hero-slider    { min-height: 100svh; }
  .cta-actions    { flex-direction: column; align-items: center; }
}
