/* ==========================================================================
   SHANTI SKIN CARE - PREMIUM DESIGN SYSTEM & STYLESHEET
   Medical Luxury Aesthetic
   ========================================================================== */

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

:root {
  /* Color Palette */
  --primary: #0A66C2;
  --primary-hover: #08529c;
  --secondary: #4FC3F7;
  --secondary-light: #e1f5fe;
  --accent-cyan: #00bcd4;
  --bg-main: #F8FBFF;
  --bg-alt: #FFFFFF;
  --card-bg: #FFFFFF;
  --text-dark: #1B2A41;
  --text-muted: #5C6B73;
  --text-light: #8D99AE;
  --border-color: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 4px 12px rgba(10, 102, 194, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 102, 194, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 102, 194, 0.12);
  --shadow-glow: 0 0 25px rgba(79, 195, 247, 0.4);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 85px;
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-main: #0B132B;
  --bg-alt: #1C2541;
  --card-bg: #1C2541;
  --text-dark: #F8FBFF;
  --text-muted: #A0AEC0;
  --text-light: #CBD5E0;
  --border-color: #2D3748;
  --glass-bg: rgba(28, 37, 65, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Setup */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--secondary-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

[data-theme="dark"] .badge {
  background: rgba(79, 195, 247, 0.15);
  color: var(--secondary);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #08529c);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(10, 102, 194, 0.45);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* Glassmorphism utility */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Header & Sticky Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  height: 75px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo-img {
  height: 54px;
}

.footer-logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}
}

.footer-brand-name {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--secondary);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

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

/* Nav Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  display: grid;
  gap: 4px;
  z-index: 1100;
}

.dropdown-menu.mega-menu {
  width: 650px;
  grid-template-columns: repeat(2, 1fr);
  max-height: 450px;
  overflow-y: auto;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: var(--bg-main);
  color: var(--primary);
  transform: translateX(4px);
}

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

.theme-toggle, .search-trigger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-alt);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover, .search-trigger:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Search Bar Overlay Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.search-modal.active {
  opacity: 1;
  pointer-events: all;
}

.search-box-container {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 20px 24px;
  font-size: 1.25rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--secondary);
  background: var(--bg-alt);
  color: var(--text-dark);
  outline: none;
  box-shadow: var(--shadow-glow);
}

.search-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  background: linear-gradient(180deg, var(--bg-main) 0%, #EBF4FF 100%);
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(180deg, var(--bg-main) 0%, #0D1B2A 100%);
}

.hero-bg-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.5;
}

.shape-1 {
  top: -100px;
  right: -100px;
  background: var(--secondary);
}

.shape-2 {
  bottom: -150px;
  left: -100px;
  background: var(--primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item h3 {
  font-size: 1.8rem;
  color: var(--primary);
}

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

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.main-hero-img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Hero Floating Badges */
.floating-badge {
  position: absolute;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 12%;
  right: -20px;
  animation-delay: 2s;
}

.floating-badge-3 {
  bottom: 35%;
  left: -30px;
  animation-delay: 1s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
}

.badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* FEATURES SECTION */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.feature-icon {
  width: 65px;
  height: 65px;
  background: var(--secondary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* SERVICES SECTION */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 102, 194, 0.85);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

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

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

.service-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.service-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 10px 12px;
}

/* Service Detail Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--card-bg);
  max-width: 700px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.about-experience-badge h3 {
  font-size: 2.2rem;
  color: white;
}

.about-tabs-content {
  margin: 24px 0 32px;
}

.about-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.bullet-item i {
  color: var(--secondary);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

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

.counter-item h2 {
  font-size: 2.2rem;
  color: var(--primary);
}

.counter-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* OUR CONSULTANT */
.doctor-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 380px 1fr;
}

.doctor-img {
  height: 100%;
}

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

.doctor-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-info h3 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.doctor-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.doctor-specs {
  display: flex;
  gap: 20px;
  margin: 20px 0 30px;
}

.spec-pill {
  background: var(--bg-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* BEFORE & AFTER GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.comparison-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.comp-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comp-overlay {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.comp-overlay.before { left: 10px; }
.comp-overlay.after { right: 10px; background: var(--primary); }

.gallery-title {
  padding: 16px;
  text-align: center;
  font-weight: 600;
}

/* PATIENT TESTIMONIALS */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.patient-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.stars {
  color: #FFC107;
  font-size: 0.9rem;
}

/* APPOINTMENT FORM */
.appointment-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}

.appointment-info {
  background: linear-gradient(135deg, var(--primary), #08529c);
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appointment-info h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item i {
  font-size: 1.4rem;
  color: var(--secondary);
}

.appointment-form {
  padding: 50px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form-control {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}

/* CAREER & CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.map-container {
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Floating Quick Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1500;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.float-whatsapp {
  background: #25D366;
}

.float-call {
  background: var(--primary);
}

.scroll-top {
  background: var(--text-dark);
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.float-btn:hover {
  transform: scale(1.1);
}

/* FOOTER */
.footer {
  background: #0B132B;
  color: #A0AEC0;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-style: italic;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

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

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 0.875rem;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .appointment-wrapper, .doctor-card, .contact-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .services-grid, .testimonials-slider, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega-menu {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 38px;
    max-width: 140px;
    object-fit: contain;
  }
  .header {
    height: 64px;
  }
  .nav-actions .btn {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--card-bg);
    flex-direction: column;
    padding: 30px 20px;
    transition: var(--transition);
    overflow-y: auto;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-menu.active {
    left: 0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100% !important;
    padding-left: 16px;
    display: none;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .nav-item.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-btns .btn {
    width: 100%;
  }
  .hero-image-wrapper {
    width: 100%;
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .main-hero-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 16px;
  }
  .floating-badge, .floating-badge-1, .floating-badge-2, .floating-badge-3 {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    animation: none;
    box-shadow: var(--shadow-sm);
  }
  .nav-actions {
    gap: 8px;
  }
  .theme-toggle, .search-trigger {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .features-grid, .services-grid, .testimonials-slider, .gallery-grid, .counters-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }
  .hero-stat-item {
    flex: 1 1 28%;
    min-width: 75px;
  }
  .hero-stat-item h3 {
    font-size: 1.3rem;
  }
  .hero-stat-item p {
    font-size: 0.72rem;
  }
  .floating-actions {
    bottom: 16px;
    right: 12px;
  }
  .float-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .procedure-img-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 34px;
    max-width: 120px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
    word-break: break-word;
  }
  .section-title {
    font-size: 1.6rem;
    word-break: break-word;
  }
  .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .container {
    padding: 0 12px;
  }
}
