@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");
/* Design System */
:root {
  /* Color Palette */
  --primary: #1e3a8a; /* Royal Medical Navy */
  --primary-light: #3b82f6;
  --primary-dark: #172554;
  --accent: #b48c08; /* Premium Clinic Gold */
  --accent-light: #fef3c7;
  --secondary: #0f172a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --white: #ffffff;
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dot: #e2e8f0;

  /* Spacing Scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 100px;
  --container-max: 1280px;

  /* Glass & Shadows */
  --glass: rgba(255, 255, 255, 0.7);
  --glass-heavy: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-soft:
    0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-premium:
    0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);

  /* Transitions & Radii */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  background-image: radial-gradient(var(--bg-dot) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Section Spacing Utility */
section {
  padding: var(--space-2xl) 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}

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

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

/* Base Typo */
h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 12px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

.book-btn {
  margin-bottom: 30px;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.5);
}

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

.btn-white:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  gap: 8px;
}

/* Top Bar */
.top-bar {
  background-color: #0c1222; /* Slightly darker for better color pop */
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.top-address {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.top-actions {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.top-actions a {
  font-size: 1.15rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

/* Official Brand Colors */
.top-actions a[title="Call Us"] {
  color: var(--white);
}

.top-actions a[title="WhatsApp"] {
  color: #25D366; /* WhatsApp Green remains */
}

.top-actions a[title="Directions"] {
  color: var(--white);
}

.top-actions a:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

@media (max-width: 550px) {
  .top-bar {
    padding: 10px 0;
  }
  .top-bar .container {
    gap: 5px;
  }
  .top-address {
    font-size: 0.75rem;
  }
  .top-actions {
    gap: 12px;
  }
  .top-actions a {
    font-size: 1rem;
  }
}

.top-contact {
  display: flex;
  gap: var(--space-md);
}

.top-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-contact i {
  color: var(--primary-light);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--glass-border);
}

header.scrolled {
  padding: var(--space-sm) 0;
  background: var(--glass-heavy);
  box-shadow: var(--shadow-premium);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

/* Hero Section */
.hero {
  padding: var(--space-lg) 0 80px; /* Increased bottom padding for clearance */
  min-height: calc(100vh - 120px); /* Keep it within the first screen view */
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(30, 58, 138, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(180, 140, 8, 0.05),
      transparent 40%
    );
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr; /* Increased left text area */
  gap: var(--space-lg);
  align-items: center;
  width: 100%;
}

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

.tagline {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.hero-content h1 {
  margin-bottom: var(--space-md);
}
.hero-content p {
  margin-bottom: var(--space-lg);
  max-width: 580px;
}

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

.hero-image {
  width: 100%;
  max-width: 450px; /* Reduced image size */
  margin-left: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-10px);
}

.stats-grid {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.stat-item h3 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sticky-cta-row {
  margin-top: -60px; /* Reduced negative margin to prevent overlap */
  position: relative;
  z-index: 100;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.cta-box {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-box::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  pointer-events: none;
}

.cta-box:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.cta-box i {
  font-size: 3rem;
  opacity: 0.9;
}

.cta-box h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.cta-box p {
  font-size: 0.95rem;
}
.cta-box.purple {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}
.cta-box.teal {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
}
.cta-box.dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
 .cta-box  p {
  color: #ffffff;
  opacity: 0.7;
}
/* Commitment Section */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.feature-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.feature-content .tagline {
  background: #E6F9F0;
  color: #059669;
}

.feature-content h2 {
  margin-bottom: var(--space-md);
}

.feature-content p {
  margin-bottom: var(--space-lg);
}

/* Services Section */
.services-section {
  background-color: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid var(--bg-dot);
  padding: var(--space-md);
  box-shadow: var(--shadow-premium);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--bg-dot);
  margin-bottom: var(--space-sm);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0;
  color: var(--text-main);
  font-weight: 700;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  min-height: 80px;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Blog Section Fixes */
.blog-section .service-card {
  gap: var(--space-md);
}
.blog-section .service-card h3 {
  margin-bottom: var(--space-sm);
}
.blog-section .service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: var(--transition);
}
.blog-section .service-link:hover {
  color: var(--primary-light);
  gap: 12px;
}

/* Smile Transformations */
.transformation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.transformation-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--bg-dot);
}

.transformation-info {
  margin-bottom: var(--space-md);
}

.transformation-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.transformation-info p {
  font-size: 0.95rem;
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.comparison-slider .img-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.comparison-slider .img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: left center;
  border-right: 3px solid var(--white);
  pointer-events: none;
  z-index: 1;
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}

.slider-button::before,
.slider-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.slider-button::before {
  border-right: 6px solid var(--primary);
  margin-right: 2px;
}

.slider-button::after {
  border-left: 6px solid var(--primary);
  margin-left: 2px;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.why-card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  transition: var(--transition);
  border: 1px solid var(--bg-dot);
}

.why-card:hover {
  transform: translateX(10px);
  border-color: var(--primary-light);
}

.why-card i {
  font-size: 2.5rem;
  color: var(--primary);
}

.why-center img {
  border-radius: 50%;
  border: 12px solid var(--bg-soft);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.95rem;
}

/* Gallery Horizontal */
.gallery-section {
  background-color: var(--bg-soft);
  color: var(--text-main);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.gallery-section .tagline {
  background: var(--accent-light);
  color: var(--accent);
}

.gallery-section h2 {
  color: var(--text-main);
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--space-lg);
}

.gallery-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-md) var(--space-xs) var(--space-xl);
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  min-width: 380px;
  flex: 0 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
  scroll-snap-align: center;
  border: 1px solid var(--bg-dot);
  margin-bottom: var(--space-xs); /* Extra space for shadow */
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.gallery-item img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-content {
  padding: var(--space-md);
  background: var(--white);
}

.gallery-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.gallery-item h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--text-main);
}

.gallery-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Gallery Navigation Buttons */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  font-size: 1.1rem;
}

.gallery-nav:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 8px 32px 0 rgba(79, 70, 229, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav.prev {
  left: -27px;
}

.gallery-nav.next {
  right: -27px;
}

/* Disability state for navigation */
.gallery-nav[style*="opacity: 0.5"] {
  opacity: 0.3 !important; /* Slightly more subtle disability */
  filter: grayscale(1);
  cursor: not-allowed;
}

/* Responsive adjustment for nav buttons */
@media (max-width: 1400px) {
  .gallery-nav.prev {
    left: 10px;
  }
  .gallery-nav.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .gallery-item {
    min-width: 300px;
  }
  .gallery-nav {
    display: none;
  }
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.accordion-item {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--bg-dot);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
}

.accordion-item.active {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-premium);
}

.accordion-body {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-muted);
  display: none;
  font-size: 1rem;
  animation: fadeIn 0.3s ease;
}

.accordion-item.active .accordion-body {
  display: block;
}

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

/* Blog Section */
.blog-section {
  background-color: var(--white);
}

/* Info Cards / Contact */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.info-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  text-align: center;
  border: 1px solid var(--bg-dot);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  background: var(--bg-soft);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.info-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.appointment-form {
  width: 100%;
}

.form-control {
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--bg-soft);
  background: var(--bg-soft);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.schedule-table {
  width: 100%;
  margin-top: auto;
  text-align: left;
}

.schedule-table td {
  padding: 10px 0;
  border-bottom: 1px dashed var(--bg-dot);
  font-size: 1rem;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--primary);
}

/* Success Banner */
.success-banner {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.success-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

/* Footer */
footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(8px);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    justify-content: center;
  }

  .hero-image {
    transform: none !important;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .sticky-cta-row {
    margin-top: -40px;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .comparison-slider {
    height: 300px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-center {
    order: -1;
    margin-bottom: var(--space-lg);
  }

  header .container {
    padding: 0 var(--space-sm);
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-sub {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .info-cards {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item h3 {
    font-size: 2.2rem;
  }
}
