/* ═══════════════════════════════════════════
   FIT N ACTIVE PHYSIOTHERAPY – MODERN DESIGN SYSTEM (BLUE THEME)
   ═══════════════════════════════════════════ */

:root {
  /* Color Palette - Premium Blues */
  --blue-950: #080f1e;
  --blue-900: #0f1e36;
  --blue-800: #1e3a6a;
  --blue-700: #254a8e;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  /* Accent - Cyan & Coral */
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-100: #ecfeff;
  --coral-500: #f43f5e;
  --gold-500: #eab308;
  --gold-400: #facc15;

  /* Neutrals */
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --light: #cbd5e1;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 14px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 60px -8px rgba(15, 23, 42, 0.12), 0 8px 20px -8px rgba(15, 23, 42, 0.06);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-y: 100px;
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transition */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════ RESET & BASE ═══════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

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

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--soft);
}

::-webkit-scrollbar-thumb {
  background: var(--light);
  border-radius: 5px;
  border: 2px solid var(--soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-400);
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.15;
    filter: blur(60px);
  }

  50% {
    opacity: 0.3;
    filter: blur(80px);
  }
}

/* ═══════════ UTILITIES ═══════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 2.5px;
  background: var(--blue-500);
  border-radius: 2px;
}

.section-header h2,
.about-content h2,
.value-card-body h3,
.footer-contact-col h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
}

.section-header h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.2px;
}

.btn-primary {
  color: var(--white);
  background: var(--blue-600);
  border-color: var(--blue-600);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}

.btn-accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  border: none;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.btn-accent:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
  transform: translateY(-3px);
}

.btn-outline {
  color: var(--blue-600);
  border-color: var(--blue-100);
  background: var(--blue-50);
}

.btn-outline:hover {
  background: var(--blue-100);
  border-color: var(--blue-300);
  color: var(--blue-800);
  transform: translateY(-2px);
}

/* ═══════════ TOPBAR ═══════════ */
.topbar {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
}

.topbar-left {
  display: flex;
  gap: 32px;
}

.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.topbar a:hover {
  color: var(--blue-400);
}

.topbar i {
  font-size: 13px;
  color: var(--blue-400);
}

/* ═══════════ NAVBAR ═══════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img,
.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.brand-text,
.footer-logo>div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--blue-900);
  letter-spacing: -0.3px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.nav-links a {
  position: relative;
  color: var(--body);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  border-radius: 10px;
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 10px;
  transition: all 0.3s var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: 100px 0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--blue-700);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.05);
}

.hero-eyebrow i {
  color: var(--gold-500);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-950);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-desc {
  font-size: 18px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 550px;
}

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

.hero-actions .btn-outline {
  border-color: var(--blue-200);
  background: transparent;
  color: var(--blue-600);
}

.hero-actions .btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
}

.hero-graphics {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-image-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
  z-index: -1;
  animation: glow-pulse 6s ease-in-out infinite;
}

.hero-main-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  object-fit: cover;
}

/* Floating Glass Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: var(--shadow-xl);
}

.badge-trust {
  top: 15%;
  left: -20px;
  animation: float-slow 5s ease-in-out infinite;
}

.badge-rating {
  bottom: 12%;
  right: -20px;
  animation: float-reverse 5s ease-in-out infinite;
}

.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.badge-text h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.badge-text p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ═══════════ TRUST BADGES ═══════════ */
.trust-badges {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.trust-badges-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust-logos img {
  max-height: 180px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: all 0.3s var(--ease);
}

.trust-logos img:hover {
  transform: scale(1.03);
}

/* ═══════════ AFFILIATIONS ═══════════ */
.affiliations {
  background: var(--soft);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.affiliations-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.affiliations-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-align: center;
}

.affiliations-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 136px;
  flex-wrap: wrap;
}

.affiliation-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.affiliation-logo-item img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: all 0.3s var(--ease);
}

.affiliation-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.affiliation-logo-item:hover img {
  filter: grayscale(0) opacity(1);
}


/* ═══════════ ABOUT ═══════════ */
.about {
  background: var(--soft);
}

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

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  z-index: 2;
}

.about-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.experience-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--cyan-400);
  line-height: 1;
}

.exp-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 4px solid var(--blue-200);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.5;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--blue-900);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 36px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.check-icon {
  width: 26px;
  height: 26px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  border: 1px solid var(--blue-100);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-count {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1.1;
}

.stat-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

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

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

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  z-index: 10;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  border-color: var(--blue-100);
}

.service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-body {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 13px;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.service-link i {
  font-size: 11px;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ═══════════ CORE VALUES ═══════════ */
.values {
  background: var(--soft);
}

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

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  position: relative;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-100);
}

.value-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.value-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.value-card:hover .value-image-wrapper img {
  transform: scale(1.06);
}

.value-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s var(--ease);
}

.value-card:hover .value-icon {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.value-number {
  position: absolute;
  right: 24px;
  top: 230px;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.05);
  line-height: 1;
  pointer-events: none;
  transition: all 0.4s var(--ease);
}

.value-card:hover .value-number {
  color: rgba(37, 99, 235, 0.12);
  transform: translateY(-5px);
}

.value-card-body {
  padding: 30px 24px;
}

.value-card-body h3 {
  font-size: 22px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 12px;
}

.value-card-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}

/* ═══════════ CLINIC SPACE ═══════════ */
.space {
  background: var(--white);
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease);
}

.gallery-item.large {
  grid-row: span 2;
}

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

.gallery-item.large img {
  min-height: 480px;
}

.gallery-item:not(.large) img {
  height: 230px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--blue-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transform: translateY(20px);
  transition: all 0.35s var(--ease);
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  transform: translateY(15px);
  transition: all 0.35s var(--ease);
}

.gallery-item:hover {
  box-shadow: var(--shadow-xl);
}

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

.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 30, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}

.lightbox-modal.active .lightbox-content img {
  transform: scale(1);
}

.lightbox-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-top: 18px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 44px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.2s;
  user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 60px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-logo img {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.footer-logo .brand-name {
  color: var(--white);
}

.footer-logo .brand-tagline {
  color: rgba(255, 255, 255, 0.45);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.55);
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
}

.footer-contact-col h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-contact-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: var(--blue-500);
  border-radius: 2px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 14px;
}

.footer-contact-list li i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-size: 14px;
  color: var(--blue-400);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-list a:hover {
  color: var(--blue-400);
}

.footer-phone-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-map-col iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: saturate(0.9) contrast(1.02);
}

.footer-badges {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-badges img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 8px 16px;
  transition: all 0.3s var(--ease);
}

.footer-badges img:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 24px 0;
  background: rgba(8, 15, 30, 0.4);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

/* ═══════════ SCROLL REVEAL & LOAD STYLES ═══════════ */
.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-on-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal-on-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.reveal-on-load {
  transition-delay: 0.1s;
}

.hero-graphics.reveal-on-load {
  transition-delay: 0.3s;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  :root {
    --section-y: 80px;
  }

  .hero-container {
    gap: 40px;
  }

  .about-grid {
    gap: 48px;
  }

  .services-grid,
  .values-grid {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-map-col {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 100px 40px 40px;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }

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

  .nav .btn-accent {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 56px);
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-graphics {
    margin-top: 40px;
  }

  .badge-trust {
    left: 0;
  }

  .badge-rating {
    right: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image img {
    height: 420px;
  }

  .experience-card {
    left: 20px;
    bottom: -20px;
  }

  .about-image-accent {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 40px auto 0;
  }

  .space-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item.large img {
    min-height: 300px;
    height: 300px;
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .space-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .gallery-item.large img,
  .gallery-item:not(.large) img {
    height: 240px;
    min-height: unset;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-map-col {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .btn {
    min-height: 48px;
    padding: 0 24px;
    font-size: 14px;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .floating-badge {
    padding: 12px 18px;
  }

  .floating-badge h4 {
    font-size: 13px;
  }

  .floating-badge p {
    font-size: 11px;
  }

  .experience-card {
    padding: 16px 20px;
  }

  .affiliations-logos {
    gap: 16px;
  }

  .affiliation-logo-item {
    flex: 1 1 calc(50% - 16px);
    max-width: calc(50% - 8px);
    height: 72px;
    padding: 8px 16px;
  }

  .affiliation-logo-item img {
    max-height: 48px;
    max-width: 100%;
  }
}

/* ═══════════ FLOATING WHATSAPP BUTTON ═══════════ */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.floating-whatsapp {
  animation: pulse-whatsapp 2s infinite;
}

/* ═══════════ OUR TEAM SECTION ═══════════ */
.team {
  background: var(--white);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-400);
}

.team-card-image {
  width: 300px;
  min-height: 350px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.team-card-info {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.team-card-info .role {
  color: var(--blue-600);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.team-card-info p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.certifications-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.certs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.certs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
}

.certs-list li i {
  color: var(--blue-600);
  font-size: 12px;
}

/* ═══════════ ABOUT US SUMMARY ═══════════ */
.about-summary-box {
  background: var(--soft);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 60px;
  box-shadow: var(--shadow-sm);
}

.about-summary-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--ink);
}

.about-summary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-summary-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}

.about-summary-list li::before {
  content: "•";
  color: var(--blue-600);
  font-weight: bold;
  font-size: 24px;
  position: absolute;
  left: 8px;
  top: -4px;
}

/* ═══════════ DYNAMIC SERVICE DETAIL PAGE ═══════════ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.service-detail-main {
  background: var(--white);
}

.service-detail-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  border: 1px solid var(--line);
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 20px;
}

.service-detail-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 24px;
}

.service-detail-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.service-detail-section h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 18px;
}

.service-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--body);
  font-weight: 500;
}

.service-detail-list li i {
  color: var(--blue-600);
  margin-top: 5px;
  font-size: 14px;
}

/* Sidebar styling */
.service-sidebar {
  background: var(--soft);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 120px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.sidebar-menu a i {
  font-size: 12px;
  transition: transform 0.25s;
}

.sidebar-menu a:hover i {
  transform: translateX(4px);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.sidebar-cta h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.sidebar-cta p {
  font-size: 13px;
  color: var(--blue-100);
  margin-bottom: 18px;
  line-height: 1.5;
}

.sidebar-cta .btn {
  width: 100%;
  min-height: 44px;
}

/* ═══════════ FORMS (CONTACT & BOOKING) ═══════════ */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

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

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  transition: all 0.3s var(--ease);
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 77, 69, 0.1);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-950));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-info-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-details-list li i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-details-list li div {
  display: flex;
  flex-direction: column;
}

.contact-details-list li div span:first-child {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-details-list li div span:last-child,
.contact-details-list li div a {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}

/* Success State styling */
.form-success-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.5s var(--ease);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  font-size: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.form-success-container h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 12px;
}

.form-success-container p {
  font-size: 15px;
  color: var(--body);
  max-width: 450px;
  margin-bottom: 30px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Team Cards */
@media (max-width: 900px) {
  .team-card {
    flex-direction: column;
  }

  .team-card-image {
    width: 100%;
    height: 300px;
    min-height: unset;
  }

  .team-card-info {
    padding: 30px;
  }

  .certs-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-layout,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-sidebar {
    position: static;
    margin-top: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: span 1;
  }
}