/* ===================================
   CSS VARIABLES & ROOT STYLES
   =================================== */
:root {
  /* Primary Colors */
  --primary-color: #d93b86;
  --primary-light: #f07fb2;
  --primary-dark: #b82e6f;
  --secondary-color: #8a4e87;
  --accent-color: #d93b86;

  /* Neutral Colors */
  --bg-color: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-color: #2c3e50;
  --text-light: #6c757d;
  --text-muted: #95a5a6;

  /* Border & Shadow */
  --border-color: #e6d3df;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #d93b86 0%, #8a4e87 100%);
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(217, 59, 134, 0.9) 0%,
    rgba(138, 78, 135, 0.9) 100%
  );

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Typography */
  --font-primary: "Cinzel", sans-serif;
  --font-display: "Cinzel", serif;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-color: #1a1a2e;
  --bg-secondary: #16213e;
  --text-color: #edf2f4;
  --text-light: #a8b2d1;
  --text-muted: #717c9b;
  --border-color: #2d3561;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-tag {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ===================================
   LOADING SCREEN
   =================================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
  color: white;
}

.heartbeat {
  font-size: 4rem;
  animation: heartbeat 1.5s ease-in-out infinite;
  margin-bottom: 1rem;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

/* ===================================
   FLOATING BUTTONS
   =================================== */
.floating-buttons {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  animation: float 3s ease-in-out infinite;
}

.call-btn {
  background: #2b93e3;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

/* Scroll to Top */
#scroll-top {
  position: fixed;
  right: 2rem;
  bottom: 13rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Theme Toggle */
#theme-toggle {
  position: fixed;
  top: 100px;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: all var(--transition-base);
}

#theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* =========================
   TOP INFO BAR
========================= */
.top-info-bar {
  width: 100%;
  font-size: 16px;
  padding: 12px 0;
  position: relative;
  z-index: 1001;
  background: var(--gradient-primary);
  color: white;
  font-weight: bolder;
}

.top-info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-right a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* =========================
   HEADER
========================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar {
  padding: 1rem 0;
}

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

.logo img {
  height: 70px;
  transform: scale(1.2);
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: bold;
  font-size: 16px;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

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

.mobile-toggle {
  display: none;
}


/* ========================= HERO SECTION ========================= */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px; /* space for fixed header */
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(233, 30, 99, 0.05) 0%,
    rgba(156, 39, 176, 0.05) 100%
  );
}
.pattern-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(233, 30, 99, 0.05),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(156, 39, 176, 0.05),
      transparent 50%
    );
} /* layout */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
 /* text */
.hero-title {
  font-size: 2.8rem;
  /* margin-top: 20px; */
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.5;
}
 /* buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 85px;
  margin-bottom: 20px;
} 
/* ========================= HERO IMAGE FIX ========================= */
/* image container */
.hero-image {
  position: relative;
  height: 100%;
  margin-right: 0;
  /* display: flex; */
  align-items: stretch;
  /* justify-content: flex-end; */
}

/* image itself */
.hero-image img {
  width: 180%;
  height: 128%;
  object-fit: cover;      
  object-position: right center; 
}

/* =========================
   STATS BAR
========================= */
.stats-section {
  background: var(--gradient-primary);
  padding: 30px 0;
}

.hero-stats {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 80px;
  text-align: center;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: white;
}

.stat-item p {
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image img {
    max-width: 420px;
  }

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

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* ===================================
   ABOUT SECTION
   =================================== */

/* Fix scroll when clicking About in menu */
/* section {
  scroll-margin-top: 10px;
} */

.section-title {
  font-family: var(--font-primary);
  margin-bottom: -5px;
}

.about {
  background: var(--bg-secondary);
  padding-top: 38px;
  padding-bottom: 50px;
}

.about .container {
  max-width: 1280px;
  margin: 0 auto;
}

/* GRID */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: stretch;
}

/* IMAGE */
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 480px;
  height: 100%;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.about-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-primary);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

/* TEXT */
/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
  text-align: center;
}

/* ITEM */
.feature-item {
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* CIRCLE STYLE */
/* .feature-circle{
  width:120px;
  height:120px;
  border-radius:50%;
  border:8px solid #2f4a6b;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  background:#fff;
} */

/* ICON */
.feature-circle img {
  transform: scale(2.3);
  /* width:60px;
  height:60px; */
  object-fit: contain;
}

/* TEXT */
.feature-item h4 {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-color);
  max-width: 220px;
}

/* ===================================
   SERVICE SECTION
   =================================== */

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

.service-card {
  background: #fff;
  padding: 45px 5px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.service-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(217, 59, 134, 0.9);
}

.hidden {
  display: none;
}

.center {
  text-align: center;
  margin-top: 30px;
}

.see-more-btn {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bolder;
  cursor: pointer;
}

/* ===================================
   WOMEN CARE SECTION
   =================================== */
.womens-care {
  background: #fff6f9;
}

.womens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.w-card {
  background: #ffffff;
  padding: 58px 18px;
  border-radius: 14px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #f1dbe2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* .w-card i {
  font-size: 34px;
  color: #e91e63;
  margin-bottom: 15px;
} */

.w-card h3 {
  color: #e91e63;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.w-card p {
  font-size: 14px;
  color: #555;
}

.w-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(217, 59, 134, 0.9);
}

/* ===============================
   DOCTOR FEATURE SECTION
================================ */

.doctors-feature {
  background: var(--bg-secondary);
  padding: 90px 0;
}

/* main layout */
.doctor-feature-wrapper {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 60px; /* close to image */
  align-items: start;
}

/* image */
.doctor-feature-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

/* right content */
.doctor-feature-content {
  max-width: 640px;
}

/* align image top with role text */
.doctor-role {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 6px;
  margin-top: 0;
}

.doctor-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.doctor-degree {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.doctor-exp {
  font-weight: 600;
  margin-bottom: 16px;
}

.doctor-desc p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text-light);
}

/* button bottom align */
.doctor-btn {
  margin-top: 20px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
  .doctor-feature-wrapper {
    grid-template-columns: 1fr;
  }

  .doctor-feature-image img {
    height: auto;
  }
}

/* ===================================
   APPOINTMENT SECTION
   =================================== */
.appointment {
  background: var(--gradient-primary);
  color: white;
}

.appointment .section-tag,
.appointment .section-title,
.appointment .section-description {
  color: white;
}

.appointment-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.appointment-info h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.appointment-info p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  opacity: 0.9;
  margin: 0;
}

.appointment-form-wrapper {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--bg-color);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ===================================
   REVIEW SECTION
   =================================== */
.review-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.review-container {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.review-header span {
  color: var(--primary-color);
  font-weight: 600;
}

.review-header h2 {
  margin: 10px 0;
  font-size: 32px;
}

.review-slider {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.review-track {
  display: flex;
  transition: transform 0.6s ease;
}

.review-card {
  min-width: 100%;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 15px;
}

.review-card p {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}

.review-card h4 {
  font-weight: 600;
}

.review-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.review-btn.prev {
  left: 20px;
  top: 200px;
}
.review-btn.next {
  right: 20px;
  top: 200px;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-overlay i {
  font-size: 3rem;
  color: white;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
}

.contact-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-base);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  /* background: var(--gradient-primary); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-card p,
.contact-card a {
  color: var(--text-light);
  line-height: 1.6;
}

/* Location */
.contact-icon .fa-map-marker-alt {
  background: #ea4335;
  padding: 15px;
  border-radius: 50%;
}

/* Phone */
.contact-icon .fa-phone {
  background: #25d366;
  padding: 15px;
  border-radius: 50%;
}

/* Email */
.contact-icon .fa-envelope {
  background: #1e88e5;
  padding: 15px;
  border-radius: 50%;
}

.contact-card a:hover {
  color: var(--primary-color);
}

.social-links h3 {
  margin-bottom: var(--spacing-md);
  color: var(--text-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* background: #f1f1f1; */
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

/* Facebook */
.social-icons a.facebook {
  background: #1877f2;
  color: #fff;
}

/* YouTube */
.social-icons a.youtube {
  background: #ff0000;
  color: #fff;
}

/* Instagram gradient */
.social-icons a.instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: #fff;
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); */
  background: rgb(63, 62, 62);
  color: rgb(255, 255, 255);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--spacing-md);
}

.footer-logo img {
  /* margin-left: 10px; */
  height: 70px;
  transform: scale(1.2);
  width: auto;
}

.footer-description {
  margin-left: -15px;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  opacity: 0.8;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--primary-dark);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  opacity: 0.8;
}

.footer-contact i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.8;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-bottom-links a {
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-bottom-links a:hover {
  opacity: 1;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .about-content,
  .appointment-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

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

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .features-grid,
  .departments-grid,
  .doctors-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  #scroll-top {
    right: 1rem;
    margin-bottom: -20px;
  }
  #theme-toggle {
    right: 1rem;
  }

  .yt-card {
    min-width: 50%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-logo {
    margin-left: 10px;
  }
  .footer-description {
    margin-left: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .logo img {
    transform: scale(1.3);
    margin-left: 20px;
    height: 45px;
  }
  .section-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

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

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .yt-card {
    min-width: 100%;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .floating-buttons,
  #scroll-top,
  #theme-toggle,
  .mobile-toggle,
  .scroll-indicator {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}
