@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --white: #ffffff;
  --off-white: #f8fbff;
  --dark-base: #0f172a;/* Deep Navy */
  --dark-surface: #1e293b;/* Lighter Slate */
  --dark-navy: #020617;/* Obsidian */
  
  --bg-primary: var(--dark-base);
  --bg-secondary: var(--dark-surface);
  
  --light-blue: #1e293b;/* Darker variant for backgrounds */
  --sky: #38bdf8;
  --mint: #a8e6cf;
  --mint-light: rgba(168, 230, 207, 0.1);
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --accent: #a8e6cf;
  --dark: #0f172a;/* Base dark color */
  --dark-mid: #cbd5e1;
  --text: #f8fafc;/* Off-white */
  --text-light: #94a3b8;/* Muted blue-gray */
  
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.5);
  --shadow-xl: 0 32px 64px rgba(0,0,0,0.6);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--dark-base);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; color: var(--white); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(168, 230, 207, 0.4));
  border-radius: 50%;
}
.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #1d4b8f;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #3eb049;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(168, 230, 207, 0.4);
  transition: var(--transition);
}
.footer .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  border-width: 1.5px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  position: relative;
}
.brand-estd {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  color: #5cb343;
  letter-spacing: 0.05em;
  text-align: right;
  margin-bottom: -4px;
}
.brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  border-bottom: 2px solid #3eb049;
  display: inline-block;
}
.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.navbar.scrolled .nav-logo { color: var(--white); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  transition: var(--transition-fast);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--mint); border-radius: 2px;
  transition: var(--transition-fast);
}
.nav-links > li:hover > a::after { width: 100%; }

/* Dropdown Menu */
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-secondary);
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  border: 1px solid var(--glass-border);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  padding: 10px 24px;
  font-size: 0.85rem;
  color: var(--text-light);
  display: block;
}
.dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--mint);
}
.dropdown-menu a::after { display: none !important; }

.navbar.scrolled .nav-links a { color: rgba(255,255,255,0.8); }
.navbar.scrolled .nav-links a:hover { color: var(--mint); }
.nav-cta {
  background: var(--mint); color: var(--dark-base) !important;
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: 0.85rem;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(86,197,150,0.3); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition-fast); }
.navbar.scrolled .hamburger span { background: var(--white); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(circle at 50% 50%, var(--dark-surface) 0%, var(--dark-base) 100%);
  overflow: hidden;
  padding-top: 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 30% 80%, rgba(168,230,207,0.05) 0%, transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content { padding: 40px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); padding: 8px 20px;
  border-radius: 50px; font-size: 0.82rem; font-weight: 500;
  color: var(--mint); margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse-dot 2s infinite; }
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--white); margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem; color: var(--text-light);
  max-width: 480px; margin-bottom: 40px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--mint), var(--accent));
  color: var(--dark);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(86,197,150,0.35); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-3px); }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.hero-float-card {
  position: absolute; padding: 16px 24px;
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--glass-border);
}
.hero-float-card.card-1 { bottom: 40px; left: -30px; }
.hero-float-card.card-2 { top: 40px; right: -20px; animation-delay: 2s; }
.hero-float-card .icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.hero-float-card .card-text h4 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--white); }
.hero-float-card .card-text p { font-size: 0.78rem; color: var(--text-light); margin: 0; line-height: 1.4; }
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-indicator span { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.scroll-line::after { content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background:var(--mint); animation: scroll-down 2s infinite; }

/* ===== PAGE HEADER (INNER PAGES) ===== */
.page-header, .service-hero {
  padding: 180px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 30% 50%, var(--dark-surface) 0%, var(--dark-base) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before, .service-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
}
.page-header .container, .service-hero .container { position: relative; z-index: 2; }
.page-header h1, .service-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.service-hero h1 .highlight {
  background: linear-gradient(135deg, var(--mint), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}
.header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}
.header-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
}
@media (max-width: 1024px) {
  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}
.service-details { padding: 80px 0; }
.service-content { max-width: 800px; margin: 0 auto; color: #e2e8f0; }
.service-content p { margin-bottom: 24px; font-size: 1.05rem; color: #cbd5e1; line-height: 1.8; }
.service-content h2 { margin: 48px 0 24px; font-size: 2rem; color: var(--white); }
.service-content h3 { margin: 32px 0 16px; font-size: 1.4rem; color: var(--mint); }
.service-content ul { margin-bottom: 32px; }
.service-content ul li { position: relative; padding-left: 28px; margin-bottom: 14px; font-size: 1.05rem; color: #cbd5e1; line-height: 1.7; }
.service-content ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--mint); font-weight: 700; }
.service-content ul li strong { color: #f1f5f9; }

/* ===== SECTIONS ===== */
.section { padding: 120px 0; position: relative; background: var(--bg-primary); }
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  color: var(--mint); margin-bottom: 16px; letter-spacing: 0.1em;
}
.section-label .line { width: 40px; height: 2px; background: var(--mint); border-radius: 2px; }
.section-title { font-size: 2.8rem; line-height: 1.2; margin-bottom: 16px; color: var(--white); }
.section-subtitle { max-width: 600px; color: var(--text-light); line-height: 1.8; font-size: 1.05rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== ABOUT ===== */
.about { background: var(--dark-surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-md); }
.about-image-overlay {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: var(--glass-bg); backdrop-filter: blur(16px);
  border-radius: var(--radius-sm); padding: 20px 24px;
  display: flex; justify-content: space-around;
  border: 1px solid var(--glass-border);
}
.overlay-stat { text-align: center; }
.overlay-stat .num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--mint); }
.overlay-stat .label { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
.about-text h3 { font-size: 1.4rem; margin: 24px 0 16px; color: var(--white); }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-feat {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--bg-secondary);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}
.about-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.about-feat .feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  color: var(--primary);
}
.about-feat span { font-size: 0.88rem; font-weight: 500; color: var(--text); }

/* ===== STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--dark), var(--dark-mid));
  padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 8px; }

/* ===== SERVICES ===== */
#services { background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.service-card {
  position: relative; padding: 40px 32px;
  background: var(--bg-secondary); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--glass-border);
  transition: var(--transition); overflow: hidden; cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--mint));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--light-blue), var(--mint-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 700; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 0.85rem; font-weight: 600;
  color: var(--primary); transition: var(--transition-fast);
}
.service-card:hover .learn-more { gap: 12px; color: var(--accent); }

/* ===== BEFORE & AFTER ===== */
.ba-section { background: var(--dark-navy); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.ba-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-secondary); box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}
.ba-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ba-slider {
  position: relative; height: 280px; overflow: hidden; cursor: col-resize;
  background: #000;
}
.ba-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.ba-slider .after-img { clip-path: inset(0 50% 0 0); transition: clip-path 0.1s; }
.ba-slider .slider-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  transform: translateX(-50%); z-index: 2;
}
.ba-slider .slider-handle::after {
  content: '⟨⟩'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--primary); font-weight: 700;
}
.ba-card-info { padding: 20px 24px; }
.ba-card-info h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; }
.ba-card-info p { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

/* ===== CASE GALLERY ===== */
.case-gallery { background: var(--bg-primary); }
.cg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 60px;
}
.cg-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  background: #000;
}
.cg-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}
.cg-item:hover img { transform: scale(1.08); }
.cg-item:hover .cg-overlay { opacity: 1; }
.cg-info h4 { font-size: 1.15rem; color: var(--white); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; transform: translateY(10px); transition: var(--transition); }
.cg-info p { font-size: 0.9rem; color: var(--mint); margin: 0; font-weight: 500; transform: translateY(10px); transition: var(--transition); transition-delay: 0.05s; }
.cg-item:hover .cg-info h4, .cg-item:hover .cg-info p { transform: translateY(0); }

/* ===== TEAM ===== */
#team { background: var(--bg-primary); }
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 60px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.team-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; height: 380px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,35,50,0.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 28px;
  opacity: 0; transition: var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay p { color: rgba(255,255,255,0.85); font-size: 0.88rem; line-height: 1.6; }
.team-info { padding: 20px 24px; }
.team-info h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; }
.team-info .role { font-size: 0.85rem; color: var(--primary); font-weight: 500; margin-top: 2px; }
.team-info .socials { display: flex; gap: 10px; margin-top: 12px; }
.team-info .socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--primary); transition: var(--transition-fast);
  border: 1px solid var(--glass-border);
}
.team-info .socials a:hover { background: var(--primary); color: var(--dark-base); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg-secondary); overflow: hidden; }
.testimonials .section-label { color: var(--mint); }
.testimonials .section-label .line { background: var(--mint); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: var(--text-light); }
.testimonial-slider { position: relative; margin-top: 60px; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.testimonial-card {
  min-width: 100%; padding: 40px 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}
.testimonial-card-inner { max-width: 800px; }
.testimonial-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--dark-navy); font-family: 'Playfair Display', serif; font-weight: 700;
  margin: 0 auto 24px;
}
.testimonial-content blockquote {
  font-size: 1.4rem; color: var(--white);
  line-height: 1.6; font-style: italic; margin-bottom: 24px;
  position: relative; padding: 0 40px;
}
.testimonial-content blockquote::before, .testimonial-content blockquote::after {
  content: '"'; font-size: 3rem; color: var(--mint); opacity: 0.3;
  position: absolute;
}
.testimonial-content blockquote::before { left: 0; top: -10px; }
.testimonial-content blockquote::after { right: 0; bottom: -30px; }
.testimonial-content .name { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.testimonial-content .treatment { color: var(--mint); font-size: 0.9rem; margin-top: 4px; }
.testimonial-content .stars { margin-top: 8px; color: #ffd700; font-size: 1rem; letter-spacing: 2px; }
.slider-controls { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
.slider-btn:hover { background: var(--mint); color: var(--dark); border-color: var(--mint); }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.slider-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dots .dot.active { background: var(--mint); width: 24px; border-radius: 4px; }

/* ===== TECHNOLOGY ===== */
.tech-section { background: var(--dark-navy); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 60px; }
.tech-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg-secondary); box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.tech-card img { width: 100%; height: 260px; object-fit: cover; }
.tech-card-body {
  padding: 28px 32px;
}
.tech-card-body h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.tech-card-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== APPOINTMENT ===== */
.appointment {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--bg-primary) 100%);
}
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
.appt-info h3 { font-size: 1.6rem; margin-bottom: 16px; }
.appt-info p { color: var(--text-light); margin-bottom: 32px; line-height: 1.8; }
.appt-perks { display: flex; flex-direction: column; gap: 16px; }
.appt-perk {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.95rem; font-weight: 500; color: #e2e8f0;
}
.appt-perk .perk-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-secondary); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; color: var(--mint);
  border: 1px solid var(--glass-border);
}
.appt-form {
  background: var(--bg-secondary); border-radius: var(--radius-md);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #e2e8f0; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--glass-border); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.92rem;
  color: var(--white); background: rgba(0,0,0,0.2);
  transition: var(--transition-fast); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border: none; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45,156,219,0.3); }

/* ===== CONTACT / FOOTER ===== */
.footer {
  background: var(--dark-navy); color: rgba(255,255,255,0.7); padding: 80px 0 0;
  position: relative;
  /* Surgical fix: extend footer background downwards to fill any white space */
  box-shadow: 0 100vh 0 var(--dark-navy);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin: 16px 0 24px; font-size: 0.9rem; line-height: 1.8; }
.footer-brand .social-links { display: flex; gap: 12px; }
.footer-brand .social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: var(--transition-fast);
  border: 1px solid var(--glass-border);
}
.footer-brand .social-links a:hover { background: var(--mint); color: var(--dark-navy); }
.footer-col h4 { color: var(--white); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 0.88rem; transition: var(--transition-fast); }
.footer-col ul a:hover { color: var(--mint); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.88rem; }
.footer-contact-item .fc-icon { font-size: 1.1rem; margin-top: 2px; }
.footer-map { margin-top: 48px; border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; height: 300px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.6) contrast(1.1); }
.footer-bottom {
  margin-top: 0; padding: 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  text-align: center;
}

/* Remove gap between map and footer bottom only on home page */
.footer-map + .footer-bottom {
  margin-top: 0;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px); z-index: 2000;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-container {
  background: var(--bg-secondary); width: 92%; max-width: 500px;
  border-radius: var(--radius-md); padding: 40px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--glass-border);
  transform: translateY(20px); transition: transform 0.3s ease;
  position: relative;
}
.modal-overlay.active .modal-container { transform: translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--text-light);
  font-size: 1.4rem; cursor: pointer; transition: var(--transition-fast);
}
.modal-close:hover { color: var(--mint); transform: rotate(90deg); }
.modal-header { margin-bottom: 24px; text-align: center; }
.modal-header h2 { font-size: 1.8rem; font-family: 'Playfair Display', serif; color: var(--white); }
.modal-header p { color: var(--text-light); font-size: 0.9rem; margin-top: 8px; }

/* ===== FLOATING ELEMENTS ===== */
.floating-cta {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-book {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(45,156,219,0.4);
  cursor: pointer; border: none; transition: var(--transition);
}
.float-book:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 40px rgba(45,156,219,0.5); }
.float-whatsapp {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  cursor: pointer; border: none; transition: var(--transition);
}
.float-whatsapp:hover { transform: scale(1.1); }

/* ===== ANIMATIONS ===== */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes scroll-down { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .appt-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .services-grid, .ba-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { 
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-secondary); flex-direction: column; padding: 100px 40px 40px;
    gap: 24px; box-shadow: var(--shadow-xl); transition: var(--transition);
    border-left: 1px solid var(--glass-border);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text) !important; font-size: 1rem; }
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none !important;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 12px;
    padding-left: 0;
    border: none;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
  }
  .nav-dropdown .dropdown-menu.active {
    display: block;
  }
  .hamburger { display: flex; }
  .services-grid, .ba-grid, .team-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { grid-template-columns: 1fr; padding: 0 20px; text-align: center; }
  .testimonial-content blockquote { padding-left: 0; border-left: none; border-top: 3px solid var(--mint); padding-top: 20px; }
  .hero-image { display: flex; flex-direction: column; gap: 16px; }
  .hero-float-card { 
    position: relative; top: auto !important; bottom: auto !important; left: auto !important; right: auto !important;
    width: 100%; animation: none; justify-content: flex-start;
  }
  .section { padding: 80px 0; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .stats-bar { padding: 40px 0; }
  .page-header, .service-hero { padding: 140px 0 60px; min-height: 60vh; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stat-num { font-size: 2.4rem; }
  .about-image img { height: 350px; }
  .ba-slider { height: 220px; }
  .team-photo { height: 300px; }
  .hero { padding-top: 120px; }
}
