/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */

:root {
  /* Colors */
  --primary-color: #2E3192;      /* Deep Blue */
  --primary-light: #4A4DAB;      /* Lighter Blue */
  --secondary-color: #00B4D8;    /* Cyan/Teal */
  --secondary-dark: #0096B4;     /* Darker Teal */
  
  --text-dark: #1F2937;
  --text-body: #4B5563;
  --text-light: #6B7280;
  
  --bg-color: #FFFFFF;
  --bg-light: #F3F4F6;
  --bg-soft: #F9FAFB;
  
  --border-color: #E5E7EB;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-cyan: 0 10px 25px rgba(0, 180, 216, 0.2);
  --shadow-blue: 0 10px 25px rgba(46, 49, 146, 0.2);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Accounts for sticky header */
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Layout & Utility Classes
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: white;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.3);
  color: white;
}

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px) scale(1.05);
  color: white;
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-block {
  width: 100%;
}

.section-badge {
  display: inline-block;
  background-color: rgba(0, 180, 216, 0.1);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-title span, .highlight {
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ==========================================================================
   Urgency Banner
   ========================================================================== */
.urgency-banner {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 8px 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.urgency-banner a {
  color: white;
  text-decoration: underline;
  margin-left: 5px;
  transition: var(--transition);
}

.urgency-banner a:hover {
  color: var(--secondary-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  background-color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  font-size: 2.2rem;
  color: var(--secondary-color);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 60px 0 100px;
  background: linear-gradient(to bottom, #f0f9ff, var(--bg-color));
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
}

.hero-badge i {
  color: #F59E0B;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
  flex-wrap: wrap;
  transition: var(--transition);
}

.trust-strip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-strip .text-yellow {
  color: #F59E0B;
  margin-right: 5px;
}

.trust-strip .divider {
  color: var(--border-color);
}

@media (max-width: 768px) {
  .trust-strip {
    justify-content: center;
    padding: 12px 20px;
    gap: 10px;
  }
  .trust-strip .divider {
    display: none;
  }
}

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

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.blob-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(46, 49, 146, 0.1));
  border-radius: 50% 40% 60% 40% / 40% 50% 40% 60%;
  z-index: 1;
  animation: blob-anim 10s infinite alternate linear;
}

@keyframes blob-anim {
  0% { border-radius: 50% 40% 60% 40% / 40% 50% 40% 60%; }
  100% { border-radius: 40% 60% 50% 40% / 60% 40% 50% 40%; }
}

.floating-card {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: white;
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-card .icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-card h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.floating-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

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

/* ==========================================================================
   Why Choose Us (Features)
   ========================================================================== */
.features {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 180px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 180, 216, 0.1);
  color: var(--secondary-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   About Doctor
   ========================================================================== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.dr-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.experience-badge {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--primary-color);
  color: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  border: 5px solid white;
}

.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.dr-qualification {
  font-size: 1.25rem;
  color: var(--secondary-dark);
  margin-bottom: 5px;
}

.reg-no {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cert-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-soft);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--secondary-color);
}

.cert-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.cert-item span {
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

.service-card:hover::before {
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(46, 49, 146, 0.05);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ==========================================================================
   Before/After Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.before-after-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

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

.label-wrapper {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.label {
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.label.after {
  background: var(--primary-color);
}

.gallery-info {
  padding: 20px;
}

.gallery-info h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.gallery-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card .stars {
  color: #F59E0B;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.review-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.patient-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.patient-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

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

/* ==========================================================================
   Appointment & Contact
   ========================================================================== */
.appointment-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.booking-form-box {
  padding: 50px;
}

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

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-soft);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.contact-info-box {
  padding: 50px;
  background-color: var(--primary-color);
  color: white;
}

.contact-info-box .section-badge {
  background-color: rgba(255,255,255,0.1);
  color: white;
}

.contact-info-box .section-title {
  color: white;
}

.location-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}

.loc-icon {
  width: 45px;
  height: 45px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.loc-details h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.loc-details p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.map-embeds {
  margin-top: 30px;
}

.map-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #111827;
  color: #D1D5DB;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  margin-bottom: 25px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 15px;
}

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

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 25px;
  font-family: var(--font-heading);
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links ul li a i {
  color: var(--secondary-color);
  font-size: 0.8rem;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.hours-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.hours-list li span:first-child {
  color: white;
  font-weight: 500;
}

.hours-list li span:last-child {
  color: var(--secondary-color);
}

.footer-bottom {
  background-color: #030712;
  padding: 20px 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Floating Widgets
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
  color: white;
}

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

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-bottom-bar a {
  flex: 1;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-call-btn {
  background-color: var(--primary-color);
  color: white;
}

.mobile-book-btn {
  background-color: var(--secondary-color);
  color: white;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .about-container {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .show-md {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  .hero-container, .about-container, .appointment-wrapper {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 20px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .google-rating {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .floating-card {
    left: 10px;
    bottom: -20px;
  }
  
  .experience-badge {
    right: 10px;
  }
  
  .features-grid {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    padding: 20px;
    margin: 0 -20px;
  }
  
  .feature-card {
    min-width: 250px;
    scroll-snap-align: start;
    background: var(--bg-soft);
    padding: 15px;
    border-radius: var(--radius-sm);
  }
  
  .appointment-wrapper {
    box-shadow: none;
    border-radius: 0;
  }
  
  .booking-form-box, .contact-info-box {
    padding: 30px 20px;
    border-radius: var(--radius-md);
  }
  
  .floating-wa {
    bottom: 90px; /* Safe margin above mobile bottom bar */
    right: 20px;
  }
  
  .mobile-bottom-bar {
    display: flex;
    height: 60px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  }
  
  .mobile-action {
    flex: 1; /* Equal width */
    text-align: center;
    padding: 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
  }

  .mobile-action i {
    font-size: 1rem;
  }

  .mobile-action:hover, .mobile-action:active {
    transform: scale(0.98);
  }
  
  .mobile-action:last-child {
    border-right: none;
  }

  .mb-call { background-color: var(--primary-color); }
  .mb-call:hover, .mb-call:active { background-color: var(--primary-light); }

  .mb-book { background-color: var(--secondary-color); }
  .mb-book:hover, .mb-book:active { background-color: var(--secondary-dark); }

  body {
    padding-bottom: 80px; /* Safe spacing */
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
    width: 100%;
  }
  
  .experience-badge {
    width: 90px;
    height: 90px;
  }
  
  .experience-badge .years {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   Phase 2 Enhancements (UI Polish, FAQ, Modals)
   ========================================================================== */
.glassmorphism {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
  transition: var(--transition);
}

.glassmorphism:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-5px);
}

.float-anim {
  animation: float-hero 6s ease-in-out infinite;
}

@keyframes float-hero {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-5deg) translateY(-15px); }
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider .shape-fill {
  fill: #FFFFFF;
}

/* premium rating removed */
/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 25px 25px;
  color: var(--text-body);
}

/* Before/After Slider */
.slider-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.gallery-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

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

.gallery-slider .gallery-card {
  min-width: 300px;
  flex: 0 0 calc(33.333% - 20px);
  scroll-snap-align: center;
}

@media (max-width: 900px) {
  .gallery-slider .gallery-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .gallery-slider .gallery-card {
    flex: 0 0 85%;
  }
}

/* Clinic Gallery */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.clinic-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

/* Exit Intent Popup */
.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.exit-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.exit-popup {
  width: 90%;
  max-width: 500px;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exit-popup-overlay.show .exit-popup {
  transform: translateY(0) scale(1);
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.close-popup:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Mobile Nav adjustments */
@media (max-width: 768px) {
  .wave-divider svg {
    height: 30px;
  }
}
