/* 🦷 Modern Dentist & Clinic Template - Main Stylesheet */

/* --- 1. DESIGN TOKENS (Variables) --- */
:root {
  /* Colors */
  --primary: #0EA5E9;
  --primary-hover: #0284C7;
  --secondary: #14B8A6;
  --secondary-hover: #0D9488;
  --dark: #1E293B;
  --dark-light: #334155;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 15px -3px rgba(14, 165, 233, 0.3);

  /* Fonts */
  --font-main: 'Poppins', sans-serif;
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s ease;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
}

/* --- 2. BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  position: relative;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

p {
  margin-bottom: 1rem;
  color: #64748B;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- 3. UTILITY CLASSES --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
}

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

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

.section-header {
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header p {
  font-size: 1.1rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(14, 165, 233, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- 4. HEADER & NAVIGATION --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
}

header.sticky {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  height: 70px;
}

header.sticky .nav-container {
  padding-top: 0;
  padding-bottom: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  transition: var(--transition-normal);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.logo i {
  color: var(--primary);
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-light);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.nav-phone i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
}

/* --- 5. HERO SECTION --- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -10%;
  right: -10%;
  z-index: 0;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #64748B;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

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

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 8px solid var(--white);
}

.hero-floating-card {
  position: absolute;
  background-color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 15%;
  left: -10%;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

.floating-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-icon.secondary {
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--secondary);
}

.hero-floating-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.hero-floating-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

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

/* --- 6. QUICK BOOKING FORM --- */
.quick-booking {
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.quick-booking-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.quick-booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.5rem;
  align-items: flex-end;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group select {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--light);
  color: var(--dark);
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* --- 7. ABOUT CLINIC SECTION --- */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.about-feature-item i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

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

.stat-item p {
  margin-bottom: 0;
  font-weight: 500;
}

.about-image-grid {
  position: relative;
}

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

.about-img-sub {
  position: absolute;
  bottom: -10%;
  right: 0;
  width: 50%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}

/* --- 8. TREATMENTS & SERVICES --- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.treatment-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 165, 233, 0.3);
}

.treatment-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: rgba(14, 165, 233, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

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

.treatment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.treatment-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.treatment-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.treatment-link i {
  transition: var(--transition-fast);
}

.treatment-link:hover i {
  transform: translateX(5px);
}

/* --- 9. WHY CHOOSE US --- */
.why-choose {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(14, 165, 233, 0.03) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  gap: 1.25rem;
}

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

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

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- 10. DOCTORS SECTION --- */
.doctor-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.doctor-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.doctor-img-container img {
  width: 100%;
  height: 100%;
  transition: var(--transition-slow);
}

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

.doctor-socials {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 1rem;
  transition: var(--transition-normal);
  z-index: 5;
}

.doctor-card:hover .doctor-socials {
  bottom: 20px;
}

.doctor-socials a {
  color: var(--dark-light);
  font-size: 1.1rem;
}

.doctor-socials a:hover {
  color: var(--primary);
}

.doctor-info {
  padding: 1.75rem;
}

.doctor-spec {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.doctor-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.doctor-details {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.doctor-details p {
  margin-bottom: 0;
}

.doctor-details strong {
  color: var(--dark);
}

.doctor-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* --- 11. BEFORE & AFTER GALLERY --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--dark-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

.gallery-img-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 165, 233, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-normal);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

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

.gallery-hover-overlay i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gallery-hover-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
}

.gallery-item-title {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

/* Before & After Interactive Slider component (For full pages) */
.comparison-slider-container {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.comparison-slider-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.resize-img {
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.comparison-slider-container .slider-label {
  position: absolute;
  bottom: 15px;
  background-color: rgba(30, 41, 59, 0.7);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 3;
  pointer-events: none;
}

.comparison-slider-container .label-before {
  left: 15px;
}

.comparison-slider-container .label-after {
  right: 15px;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--white);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}

/* --- 12. TESTIMONIALS --- */
.testimonials {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.02) 0%, rgba(20, 184, 166, 0.02) 100%);
}

.swiper-container {
  width: 100%;
  padding-bottom: 3rem !important;
  overflow: hidden;
}

.testimonial-card {
  background-color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 8rem;
  color: rgba(14, 165, 233, 0.08);
  font-family: serif;
  line-height: 1;
}

.rating {
  color: var(--warning);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--dark-light);
  position: relative;
  z-index: 1;
}

.patient-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.patient-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.patient-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.patient-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --- 13. BOOKING & CONTACT INFO --- */
.booking-section {
  background-color: var(--white);
}

.booking-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
  align-items: flex-start;
}

.booking-form-wrapper {
  background-color: var(--light);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.booking-form-wrapper textarea {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--dark);
  min-height: 120px;
  resize: vertical;
  transition: var(--transition-fast);
}

.booking-form-wrapper textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.booking-form-wrapper .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Contact detail cards alongside form */
.contact-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
}

.contact-detail-card i {
  font-size: 1.8rem;
  color: var(--primary);
  background-color: rgba(14, 165, 233, 0.08);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-detail-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- 14. FAQ ACCORDION --- */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}

.faq-question i {
  font-size: 1.1rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: #64748B;
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: rgba(14, 165, 233, 0.3);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180px);
  content: "\f068"; /* fa-minus if changing class */
}

/* --- 15. OPENING HOURS & LOCATION --- */
.hours-location-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
}

.hours-card {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hours-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.hours-card h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-row.active {
  color: var(--secondary);
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.status-badge.open {
  background-color: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.status-badge.closed {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: currentColor;
}

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

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

/* --- 16. FOOTER --- */
footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1E293B;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-about .logo {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1E293B;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

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

.footer-links a {
  color: #94A3B8;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- 17. SPECIAL ELEMENTS --- */
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

/* Lightbox Modal CSS */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
}

.lightbox-content img {
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-prev {
  left: -80px;
}

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

/* Preloader Animation */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast Notification for Appointments */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--white);
  border-left: 5px solid var(--success);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999999;
  max-width: 400px;
}

.toast-notification.show {
  transform: translateY(0);
}

.toast-icon {
  color: var(--success);
  font-size: 1.5rem;
}

.toast-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.toast-message {
  font-size: 0.85rem;
  color: var(--dark-light);
}

/* --- 18. INNER PAGE SPECIFICS --- */
/* Page Header */
.page-header {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(20, 184, 166, 0.08) 100%);
  padding: calc(var(--header-height) + 3rem) 0 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs span {
  color: #94A3B8;
}
