/**
 * Sanart Theme Main Stylesheet
 * 
 * Design based on Dentakay homepage
 */

/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
  --color-primary: #0066cc;
  --color-primary-dark: #0052a3;
  --color-dark: #000000;
  --color-dark-bg: #0a0a0a;
  --color-white: #ffffff;
  --color-gray: #666666;
  --color-gray-light: #f5f5f5;
  --color-gray-dark: #333333;
  --color-whatsapp: #25d366;
  --font-heading: "Cal Sans", sans-serif;
  --font-primary: "Hanken Grotesk", sans-serif;
  --container-width: 1400px;
  --section-padding: 100px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 24px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(141 112 32 / 30%);
}

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

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

.btn-service {
  padding: 10px 24px;
  font-size: 14px;
}

/* ============================================
   Container & Layout
   ============================================ */

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray);
  font-size: 18px;
  margin-top: 30px;
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.site-logo .logo-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
}

.site-logo img {
  max-height: 50px;
  width: auto;
}

.main-navigation ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-navigation a {
  color: var(--color-gray-dark);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
}

.main-navigation a:hover {
  color: var(--color-primary);
}

/* ============================================
   Treatments Mega Menu
   ============================================ */

.menu-item-has-megamenu {
  position: relative;
}

.treatments-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100vw;
  max-width: 1200px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 40px 30px;
  margin-top: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.menu-item-has-megamenu:hover .treatments-megamenu,
.menu-item-has-megamenu .treatments-megamenu:hover,
.treatments-megamenu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.treatments-megamenu-container {
  max-width: 100%;
}

.treatments-megamenu-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.treatments-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.treatment-megamenu-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.treatment-megamenu-item:hover {
  transform: translateY(-2px);
}

.treatment-megamenu-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-gray-light);
}

.treatment-megamenu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treatment-megamenu-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 12px;
}

.treatment-megamenu-content {
  flex: 1;
  min-width: 0;
}

.treatment-megamenu-item-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: var(--transition);
}

.treatment-megamenu-item:hover .treatment-megamenu-item-title {
  color: var(--color-primary-dark);
}

.treatment-megamenu-item-excerpt {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.5;
  margin: 0;
}

/* Responsive adjustments for mega-menu */
@media (max-width: 1200px) {
  .treatments-megamenu {
    max-width: 90vw;
    padding: 30px 20px;
  }

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

@media (max-width: 968px) {
  .treatments-megamenu {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 15px;
    background-color: var(--color-gray-light);
  }

  .menu-item-has-megamenu:hover .treatments-megamenu {
    transform: none;
  }

  .treatments-megamenu-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .treatment-megamenu-item {
    padding: 12px;
  }

  .treatment-megamenu-image {
    width: 60px;
    height: 60px;
  }
}

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

.btn-header-cta {
  padding: 12px 24px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--color-gray-light);
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-gray-dark);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.main-navigation.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.main-navigation.active ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: block;
  will-change: width, max-width, left, transform;
  position: relative;
}

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--color-dark-bg);
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  width: 100%;
  margin: 0;
  will-change: border-radius;
}

.hero-background-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--color-dark-bg);
}

.hero-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  animation: heroImage3d 20s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

@keyframes heroImage3d {
  0%,
  100% {
    transform: scale(1) translateZ(0) rotateY(0deg);
  }
  25% {
    transform: scale(1.05) translateZ(20px) rotateY(2deg);
  }
  50% {
    transform: scale(1.08) translateZ(30px) rotateY(-2deg);
  }
  75% {
    transform: scale(1.05) translateZ(20px) rotateY(1deg);
  }
}

.particle-effect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent),
    radial-gradient(2px 2px at 10% 50%, white, transparent),
    radial-gradient(1px 1px at 15% 20%, white, transparent),
    radial-gradient(2px 2px at 75% 40%, white, transparent),
    radial-gradient(1px 1px at 45% 90%, white, transparent),
    radial-gradient(2px 2px at 85% 25%, white, transparent),
    radial-gradient(1px 1px at 25% 60%, white, transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  animation: particleMove 20s ease-in-out infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes particleMove {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

.hero-3d-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  animation: parallax3d 15s ease-in-out infinite;
}

@keyframes parallax3d {
  0%,
  100% {
    transform: translateX(0) translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateX(-20px) translateY(-20px);
    opacity: 0.5;
  }
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 100%;
  margin: 0 auto;
  padding: 120px 20px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

.hero-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  will-change: max-width, margin, padding;
  text-align: center;
  backface-visibility: hidden;
  transform: translateZ(0); /* Force GPU acceleration */
}

.hero-content {
  color: var(--color-white);
  z-index: 4;
  max-width: 100%;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-secondary-content {
  opacity: 0;
  transform: translateY(30px);
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
  will-change: opacity, transform;
  width: 100%;
  backface-visibility: hidden;
}

.hero-headline {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0;
  color: var(--color-white);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.7;
  transform: translateY(0) scale(1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.headline-line {
  display: block;
  text-align: center;
}

.headline-line:first-child {
  margin-bottom: 8px;
}

.hero-subheading {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 0;
  opacity: 0;
  font-weight: 400;
  transform: translateY(20px);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.btn-hero-cta {
  font-size: 18px;
  padding: 16px 40px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* GSAP will handle the animations, but we keep these for fallback */
.hero-section.scrolled .hero-secondary-content {
  opacity: 1;
  display: flex;
}

.hero-section.scrolled .hero-headline {
  display: none !important;
}

.hero-section.scrolled .hero-subheading,
.hero-section.scrolled .btn-hero-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Mouse parallax effect for 3D feel */
@media (hover: hover) and (pointer: fine) {
  .hero-section:hover .hero-background-image {
    animation-play-state: paused;
  }

  .hero-section:hover .hero-background-image {
    transition: transform 0.1s ease-out;
  }
}

/* ============================================
   Services Grid Section
   ============================================ */

.services-grid-section {
  padding: var(--section-padding) 0;
  background-color: #fafafa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card-special {
    grid-column: span 3;
  }
}

.service-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.service-icon-wrapper {
  margin-bottom: 16px;
}

.service-icon {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
  line-height: 1.3;
}

.service-description {
  color: var(--color-gray);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.btn-service {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  margin-top: auto;
}

.btn-full-width {
  width: 100%;
  display: block;
}

/* Special Blue Card */
.service-card-special {
  background-color: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.service-card-special:hover {
  background-color: var(--color-primary-dark);
}

.service-icon-special {
  width: 50px;
  height: 50px;
  background-color: transparent;
  margin-bottom: 20px;
  color: var(--color-white);
}

.service-icon-special svg {
  width: 24px;
  height: 24px;
}

.service-title-special {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
}

/* ============================================
   Process Steps Section
   ============================================ */

.process-steps-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-light);
}

.process-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.process-content {
  position: relative;
}

.process-content .section-title {
  text-align: left;
  margin-bottom: 50px;
  font-weight: 500;
}

.title-part {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.title-highlight {
  color: var(--color-primary);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.steps-list {
  position: relative;
  padding-left: 20px;
}

/* Timeline line */
.steps-list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e0e0e0;
  z-index: 0;
}

.step-item {
  position: relative;
  margin-bottom: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-dot {
  position: absolute;
  left: -29px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e0e0e0;
  border: 3px solid var(--color-white);
  z-index: 2;
  transition: var(--transition);
}

.step-item.active .step-dot {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.step-item.active .step-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
}

.step-content {
  padding-left: 0;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0;
  transition: var(--transition);
}

.step-item:not(.active) .step-title {
  color: var(--color-gray);
  font-weight: 400;
}

.step-description-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.step-item.active .step-description-wrapper {
  max-height: 500px;
  margin-top: 12px;
}

.step-description {
  color: var(--color-gray);
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
}

/* Process Visual - Right Column */
.process-visual {
  position: relative;
}

.process-image-container {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.process-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.process-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.process-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 500;
  background-color: #000000;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Procedure Tabs */
.procedure-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.procedure-tab {
  padding: 10px 20px;
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: var(--color-dark);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.procedure-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* Responsive Design */
@media (max-width: 968px) {
  .process-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .title-highlight {
    font-size: 36px;
  }

  .process-image-container {
    order: -1;
  }
}

/* ============================================
   Case Studies Section
   ============================================ */

.case-studies-section {
  padding: var(--section-padding) 0;
  background-color: #fafafa;
}

.case-studies-wrapper {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Left Side: Images */
.case-studies-images {
  position: relative;
}

/* Thumbnail Carousel */
.case-thumbnails-wrapper {
  margin-bottom: 18px;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-thumbnails {
  overflow: visible;
  padding: 8px 0;
  display: flex;
  justify-content: center;
}

.case-thumbnail {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  border: 2.5px solid transparent;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.case-thumbnail.swiper-slide {
  width: 56px !important;
  margin-right: -12px !important;
}

.case-thumbnail:last-child {
  margin-right: 0 !important;
}

.case-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-thumbnail.active {
  opacity: 1;
  border-color: var(--color-primary);
  transform: scale(1.12);
  z-index: 10;
}

.case-thumbnail:hover:not(.active) {
  opacity: 0.75;
  transform: scale(1.08);
  z-index: 5;
}

/* Main Before/After Slider */
.case-main-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-white);
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.case-main-slider.swiper {
  width: 100% !important;
  max-width: 100% !important;
}

.case-main-slider .swiper-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  box-sizing: border-box;
}

.case-main-slider .swiper-slide {
  width: 100% !important;
  max-width: 100% !important;
  flex-shrink: 0;
  display: flex;
  box-sizing: border-box;
  height: auto;
}

.case-slide {
  position: relative;
  width: 100%;
  height: auto;
}

.before-after-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.before-after-container:active {
  cursor: grabbing;
}

.after-image-wrapper,
.before-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

.after-image-wrapper {
  z-index: 1;
}

.before-image-wrapper {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s ease-out;
}

.after-image,
.before-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* Draggable Separator */
.before-after-separator {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 3;
  cursor: ew-resize;
  margin-left: -2px; /* Center the 4px wide separator */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.1s ease-out;
  user-select: none;
  pointer-events: auto;
}

.separator-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: #e8ddd0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: grab;
  transition: transform 0.1s ease-out;
}

.separator-handle:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.separator-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(0.98);
}

.separator-handle svg {
  width: 18px;
  height: 18px;
  color: #6b5d4a;
  pointer-events: none;
}

/* Navigation Arrows */
.case-nav-prev,
.case-nav-next {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 10;
}

.case-nav-prev {
  left: 15px;
  color: #b0b0b0;
}

.case-nav-next {
  right: 15px;
  color: #4fc3f7;
}

.case-nav-prev:hover,
.case-nav-next:hover {
  background-color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.case-nav-prev::after,
.case-nav-next::after {
  font-size: 18px;
  font-weight: 700;
}

/* Right Side: Content */
.case-studies-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 0;
  height: 100%;
}

.case-studies-heading {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 35px;
  text-align: left;
  letter-spacing: -0.015em;
}

.heading-line {
  display: block;
}

.heading-bold {
  color: var(--color-dark);
  font-weight: 700;
}

.heading-blue {
  color: var(--color-primary);
  font-weight: 700;
}

.case-studies-btn {
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  background: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%) !important;
  border: none !important;
  color: var(--color-white) !important;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.case-studies-btn:hover {
  background: linear-gradient(135deg, #0052a3 0%, #0096d1 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  color: var(--color-white) !important;
}

/* Responsive */
@media (max-width: 968px) {
  .case-studies-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .case-studies-content {
    align-items: center;
    text-align: center;
  }

  .case-studies-heading {
    text-align: center;
  }

  .case-thumbnails-wrapper {
    padding: 0 20px;
  }

  .case-nav-prev,
  .case-nav-next {
    width: 40px;
    height: 40px;
  }

  .case-nav-prev {
    left: 10px;
  }

  .case-nav-next {
    right: 10px;
  }
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-light);
}

.faq-search {
  max-width: 600px;
  margin: 0 auto 50px;
}

.faq-search-input {
  width: 100%;
  padding: 16px 24px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  transition: var(--transition);
}

.faq-icon {
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 20px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--color-gray);
  line-height: 1.8;
}

/* ============================================
   Services Filter Section
   ============================================ */

.services-filter-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.service-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.service-filter-btn {
  padding: 10px 24px;
  border-radius: 25px;
  background-color: var(--color-gray-light);
  color: var(--color-gray-dark);
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

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

.service-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-item-image {
  height: 200px;
  overflow: hidden;
}

.service-item-content {
  padding: 24px;
}

.service-item-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.service-item-description {
  color: var(--color-gray);
  font-size: 14px;
}

.service-item.hidden {
  display: none;
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.reviews-header {
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background-color: rgba(0, 102, 204, 0.1);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.reviews-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.reviews-heading {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.reviews-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

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

.rating-stars {
  display: flex;
  gap: 4px;
}

.star {
  font-size: 24px;
  line-height: 1;
  color: #ffc107;
}

.star-full {
  color: #ffc107;
}

.star-half {
  color: #ffc107;
  opacity: 0.7;
}

.star-empty {
  color: #e0e0e0;
}

.rating-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  font-family: var(--font-heading);
}

.reviews-count {
  font-size: 16px;
  color: var(--color-gray);
  margin: 0;
}

.reviews-carousel-wrapper {
  margin-bottom: 40px;
  position: relative;
}

.reviews-carousel {
  padding: 20px 0 60px;
  overflow: visible;
}

.review-card {
  height: auto;
}

.review-card-inner {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.review-card-inner:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-gray-light);
}

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

.review-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-author-info {
  flex: 1;
}

.review-author-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 8px 0;
  font-family: var(--font-heading);
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-rating .star {
  font-size: 16px;
}

.review-text {
  flex: 1;
  margin-bottom: 20px;
}

.review-text p {
  color: var(--color-gray-dark);
  line-height: 1.7;
  font-size: 16px;
  margin: 0;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: auto;
}

.review-time {
  font-size: 14px;
  color: var(--color-gray);
}

.review-source {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}

.reviews-nav-prev,
.reviews-nav-next {
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  color: var(--color-dark);
  transition: var(--transition);
  margin-top: -24px;
}

.reviews-nav-prev:hover,
.reviews-nav-next:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.reviews-nav-prev {
  left: -24px;
}

.reviews-nav-next {
  right: -24px;
}

.reviews-pagination {
  position: relative;
  margin-top: 20px;
}

.reviews-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.reviews-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

.reviews-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-gray);
}

.reviews-footer {
  text-align: center;
  margin-top: 40px;
}

.reviews-write-btn {
  display: inline-block;
}

/* Responsive */
@media (max-width: 968px) {
  .reviews-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-heading {
    font-size: 36px;
  }

  .reviews-stats {
    align-items: flex-start;
  }

  .review-card-inner {
    padding: 24px;
  }

  .reviews-nav-prev {
    left: 10px;
  }

  .reviews-nav-next {
    right: 10px;
  }

  .reviews-nav-prev,
  .reviews-nav-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .reviews-heading {
    font-size: 28px;
  }

  .rating-value {
    font-size: 24px;
  }

  .review-card-inner {
    padding: 20px;
  }

  .review-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .review-author-info {
    text-align: center;
  }
}

/* ============================================
   Press Section
   ============================================ */

.press-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-light);
}

.press-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.press-logo-item {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.press-slider {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.press-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.press-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.press-description {
  color: var(--color-gray);
  line-height: 1.8;
  font-size: 16px;
}

/* ============================================
   Locations Section
   ============================================ */

.locations-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

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

.location-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.location-image {
  height: 250px;
  overflow: hidden;
}

.location-content {
  padding: 30px;
}

.location-name {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.location-address {
  color: var(--color-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.location-link {
  color: var(--color-primary);
  font-weight: 600;
  transition: var(--transition);
}

.location-link:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   Consultation Form Section
   ============================================ */

.consultation-form-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-light);
}

.consultation-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
  margin-bottom: 24px;
}

.form-group {
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 14px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
  background-color: var(--color-white);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 14px;
  color: var(--color-gray);
  cursor: pointer;
}

.form-input.error,
.form-select.error {
  border-color: #dc3545;
}

.error-message {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}

.form-checkbox.error {
  border: 2px solid #dc3545;
  padding: 10px;
  border-radius: var(--border-radius);
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 18px;
}

/* ============================================
   Blog Preview Section
   ============================================ */

.blog-preview-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

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

.blog-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

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

.blog-content {
  padding: 24px;
}

.blog-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.blog-title a {
  color: inherit;
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  color: var(--color-gray);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.blog-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.blog-link:hover {
  color: var(--color-primary-dark);
}

.treatments-megamenu {
  max-width: 1360px;
  padding: 22px;
}

.header-wrapper {
  position: relative;
}

.menu-item-has-megamenu {
  position: unset;
}

.menu-item-has-megamenu:before {
  content: "";
  width: 100px;
  height: 70px;
  bottom: -26px;
  position: absolute;
  cursor: pointer;
}
.treatments-megamenu-title {
  font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
  position: relative;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-white);
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

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

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ============================================
   Doctors Page
   ============================================ */

.doctors-page-header {
  background-color: var(--color-dark-bg);
  padding: 60px 0 80px;
  position: relative;
}

.doctors-page-header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.doctors-page-header .breadcrumb {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--color-white);
}

.doctors-page-header .breadcrumb a {
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition);
}

.doctors-page-header .breadcrumb a:hover {
  opacity: 0.8;
}

.doctors-page-header .breadcrumb .current {
  color: var(--color-white);
  font-weight: 600;
}

.doctors-page-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.doctors-page-content {
  background-color: #fafafa;
  padding: 80px 0;
  min-height: 60vh;
}

.doctors-page-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.doctor-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.doctor-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-card-image-wrapper {
  width: 100%;
  padding-top: 75%; /* 4:3 aspect ratio */
  position: relative;
  overflow: hidden;
  background-color: var(--color-gray-light);
}

.doctor-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.doctor-card-content {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doctor-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.3;
}

.doctor-card-text {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  margin: 0;
  text-align: center;
  flex: 1;
}

.doctor-card-footer {
  padding: 0 24px 24px;
  text-align: center;
}

.btn-doctor-discover {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-doctor-discover:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.doctors-empty-message {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-gray);
  font-size: 18px;
}

/* Responsive adjustments for doctors page */
@media (max-width: 1200px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 968px) {
  .doctors-page-title {
    font-size: 48px;
  }

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

  .doctors-page-content {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .doctors-page-header {
    padding: 40px 0 60px;
  }

  .doctors-page-title {
    font-size: 36px;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doctors-page-content {
    padding: 40px 0;
  }

  .doctor-card-content {
    padding: 20px 20px 16px;
  }

  .doctor-card-footer {
    padding: 0 20px 20px;
  }
}

/* ============================================
   Doctors Page FAQ Section
   ============================================ */

.doctors-faq-section {
  padding: 50px 0;
  background: #fafafa;
}

.doctors-faq-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.doctors-faq-header {
  text-align: center;
  margin-bottom: 30px;
}

.doctors-faq-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.doctors-faq-subtitle {
  font-size: 18px;
  color: var(--color-gray-dark);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.doctors-faq-content {
  display: grid;
  grid-template-columns: 680px 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Panel - Search and Questions */
.doctors-faq-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doctors-faq-search {
  margin-bottom: 4px;
}

.doctors-faq-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.doctors-faq-search-icon {
  position: absolute;
  left: 18px;
  color: #999999;
  pointer-events: none;
  z-index: 1;
  width: 20px;
  height: 20px;
}

.doctors-faq-item-icon {
  width: 24px !important;
  height: 24px !important;
  background: #6e97ff;
  border-radius: 50%;
}

.doctors-faq-search-input {
  width: 100%;
  padding: 16px 18px 16px 50px;
  border: none;
  font-size: 18px;
  font-family: inherit;
  background-color: #fff;
  color: var(--color-dark);
  transition: var(--transition);
}

.doctors-faq-search-input:focus {
  outline: none;
}

.doctors-faq-search-input::placeholder {
  color: #999999;
}

.doctors-faq-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.doctors-faq-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 16px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.doctors-faq-item:hover {
  background-color: #ecf2ff;
}

.doctors-faq-item.active {
  background-color: #ecf2ff;
}

.doctors-faq-item-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

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

.doctors-faq-item.active .doctors-faq-item-icon .icon-circle-fill {
  display: block;
}

.doctors-faq-item.active .doctors-faq-item-icon .icon-circle-stroke {
  display: none;
}

.doctors-faq-item:not(.active) .doctors-faq-item-icon {
  color: var(--color-primary);
  opacity: 0.5;
}

.doctors-faq-item:not(.active) .doctors-faq-item-icon .icon-circle-fill {
  display: none;
}

.doctors-faq-item:not(.active) .doctors-faq-item-icon .icon-circle-stroke {
  display: block;
}

.doctors-faq-item-text {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
}

.doctors-faq-item-arrow {
  flex-shrink: 0;
  color: #999999;
  font-size: 16px;
  font-weight: 300;
  opacity: 0.7;
}

.doctors-faq-cta {
  margin-top: auto;
  padding-top: 16px;
}

.doctors-faq-cta-link {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  line-height: 1.5;
}

.doctors-faq-cta-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Right Panel - Answer */
.doctors-faq-right {
  display: flex;
  align-items: flex-start;
}

.doctors-faq-answer-wrapper {
  width: 100%;
  background-color: #ecf2ff;
  padding: 40px 36px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.doctors-faq-answer-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 20px;
  line-height: 1.3;
}

.doctors-faq-answer-content {
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.75;
  flex: 1;
}

.doctors-faq-answer-content p {
  margin: 0;
  color: var(--color-dark);
}

/* Responsive adjustments for FAQ section */
@media (max-width: 1200px) {
  .doctors-faq-content {
    grid-template-columns: 380px 1fr;
    gap: 35px;
    padding: 40px;
  }
}

@media (max-width: 968px) {
  .doctors-faq-section {
    padding: 60px 0;
  }

  .doctors-faq-title {
    font-size: 36px;
  }

  .doctors-faq-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .doctors-faq-left {
    order: 1;
  }

  .doctors-faq-right {
    order: 2;
  }

  .doctors-faq-answer-wrapper {
    min-height: auto;
    padding: 30px 20px;
  }
}

@media (max-width: 640px) {
  .doctors-faq-section {
    padding: 40px 0;
  }

  .doctors-faq-header {
    margin-bottom: 40px;
  }

  .doctors-faq-title {
    font-size: 28px;
  }

  .doctors-faq-subtitle {
    font-size: 16px;
  }

  .doctors-faq-content {
    padding: 20px 15px;
  }

  .doctors-faq-item {
    padding: 14px 16px;
  }

  .doctors-faq-item-text {
    font-size: 14px;
  }

  .doctors-faq-answer-wrapper {
    padding: 24px 16px;
  }

  .doctors-faq-answer-heading {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .doctors-faq-answer-content {
    font-size: 14px;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
  :root {
    --section-padding: 80px;
  }

  .hero-headline {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }
}

@media (max-width: 968px) {
  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-container {
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    justifycontent: "center";
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
  }

  .hero-headline {
    font-size: 48px;
    text-align: center;
    align-items: center;
  }

  .hero-content-wrapper {
    padding: 0 10px;
    text-align: center;
  }

  .hero-secondary-content {
    align-items: center;
    text-align: center;
  }

  .hero-background-image {
    animation-duration: 15s;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-special {
    grid-column: span 2;
  }

  .process-wrapper {
    grid-template-columns: 1fr;
  }

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

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filterable-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 60px;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-subheading {
    font-size: 18px;
  }

  .hero-container {
    padding: 60px 15px;
    min-height: auto;
    justifycontent: "center";
    alignitems: "center";
  }

  .hero-headline {
    font-size: 36px;
    align-items: center;
  }

  .hero-content-wrapper {
    padding: 0;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-background-image {
    animation-duration: 12s;
  }

  /* Disable GSAP pin on mobile */
  .hero-section.is-pinned {
    position: relative !important;
  }

  h2 {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .service-card-special {
    grid-column: 1 / -1;
  }

  .blog-grid,
  .filterable-services-grid {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    padding: 30px 20px;
  }

  .case-images {
    grid-template-columns: 1fr;
  }
}
