/* Homepage Scoped Stylesheet - Hero Slider */

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 600; /* Matches banner image dimensions */
  height: auto;
  margin-top: var(--header-total-height);
  overflow: hidden;
  background-color: #1A041A; /* Dark fallback */
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slide Layout */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Cinematic Vignette Overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(26, 4, 26, 0.82) 0%,
    rgba(26, 4, 26, 0.5) 50%,
    rgba(35, 82, 147, 0.3) 100%
  );
  z-index: 3;
}

/* Content Container Alignment */
.slide-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--bg-white);
  max-width: 720px;
  padding-bottom: 2rem;
}

/* Typography animations in slide */
.slide-tagline {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  opacity: 0;
}

.slide-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  opacity: 0;
}

.slide-desc {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  opacity: 0;
}

.slide-actions {
  display: flex;
  gap: 1rem;
  opacity: 0;
}

/* Staggered slide up animation classes (triggered when slide becomes active) */
.slide.active .slide-tagline {
  animation: slideUpFade 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

.slide.active .slide-title {
  animation: slideUpFade 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.4s;
}

.slide.active .slide-desc {
  animation: slideUpFade 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.6s;
}

.slide.active .slide-actions {
  animation: slideUpFade 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Slider Buttons */
.btn-primary-slider {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--bg-white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(94, 18, 94, 0.25);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary-slider:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 18, 94, 0.4);
  color: var(--bg-white);
}

.btn-secondary-slider {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--bg-white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

.btn-secondary-slider:hover {
  background-color: var(--bg-white);
  color: var(--primary-purple);
  border-color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* Glassmorphic Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #1A041A;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 5px 15px rgba(72, 192, 192, 0.3);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

/* Dot Indicators */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.slider-dots .dot.active {
  background-color: var(--accent-teal);
  width: 26px; /* Dynamic pill layout for active dot */
  border-radius: var(--radius-pill);
  border-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(72, 192, 192, 0.4);
}

/* About Doctor Section */
.about-doctor-section {
  background-color: var(--primary-purple-light); /* Theme background tint */
}

.about-grid {
  display: block;
}

.about-grid::after {
  content: "";
  display: table;
  clear: both;
}

/* Left Image wrapper & decorations */
.about-image-wrapper {
  position: relative;
  float: left;
  width: 100%;
  max-width: 480px;
  margin-right: 3.5rem;
  margin-bottom: 2rem;
  z-index: 5;
}

.about-details {
  display: block;
}

.doctor-image-container {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1.15; /* Forces a taller portrait height */
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents stretching, crops cleanly */
  display: block;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .doctor-img {
  transform: scale(1.03);
}

.doctor-image-decor {
  position: absolute;
  top: 18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background-color: var(--bg-white);
  border: 2px dashed rgba(94, 18, 94, 0.15);
  z-index: 1;
}

/* Floating badge */
.floating-badge {
  position: absolute;
  bottom: 25px;
  right: -25px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-white);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: badgeFloat 4s ease-in-out infinite;
}

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

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

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-number {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-purple);
  line-height: 1.1;
}

.badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Right Column: Bio & Specialties */
.section-tagline {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-tagline i {
  color: var(--accent-teal);
}

.about-title {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 1.75rem;
}

/* Enhanced About Bio Styling */
.lead-bio {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--primary-purple);
  margin-bottom: 2rem;
}

.drop-cap {
  float: left;
  font-size: 3.5rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  color: var(--secondary-blue);
  font-family: var(--font-primary);
  font-weight: 800;
}

.highlight-text {
  font-weight: 700;
  color: var(--secondary-blue);
  background: linear-gradient(120deg, rgba(72, 192, 192, 0.2) 0%, rgba(72, 192, 192, 0) 100%);
  padding: 0 4px;
  border-radius: 4px;
}

.standard-bio {
  padding-left: 1rem;
  border-left: 2px solid rgba(94, 18, 94, 0.1);
  margin-bottom: 2rem;
}

.highlight-bio-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, var(--bg-light));
  border-left: 4px solid var(--accent-teal);
  padding: 1.8rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
  margin-bottom: 2rem;
  z-index: 1;
}

.quote-icon-bg {
  position: absolute;
  top: -15px;
  right: 10px;
  font-size: 5rem;
  color: rgba(72, 192, 192, 0.08);
  z-index: -1;
  transform: rotate(-10deg);
}

.highlight-bio {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
}

.text-teal {
  color: var(--accent-teal);
  font-weight: 700;
  font-style: normal;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* Specialties list styling */
.specialties-quick-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.specialty-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: var(--bg-white);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(94, 18, 94, 0.03);
  transition: var(--transition-smooth);
}

.specialty-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(94, 18, 94, 0.1);
}

.specialty-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--secondary-blue-light);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.specialty-item:hover .specialty-icon {
  background-color: var(--primary-purple-light);
  color: var(--primary-purple);
  transform: scale(1.05);
}

.specialty-text h5 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 2px;
}

.specialty-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.btn-about-more {
  background-color: var(--secondary-blue);
  color: var(--bg-white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(35, 82, 147, 0.2);
  transition: var(--transition-smooth);
}

.btn-about-more:hover {
  background-color: var(--primary-purple);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 18, 94, 0.3);
}

.btn-about-more i {
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.btn-about-more:hover i {
  transform: translateX(4px);
}

/* Responsive Scaling */
@media (max-width: 1024px) {
  .hero-slider {
    height: auto;
  }
  
  .slide-title {
    font-size: 2.75rem;
  }

  .about-image-wrapper {
    max-width: 340px;
    margin-right: 2.5rem;
  }
  
  .about-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: auto;
  }
  
  .slide-content {
    align-items: center;
    text-align: center;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
  
  .slide-title {
    font-size: 2.25rem;
  }
  
  .slide-desc {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  
  .slider-arrow {
    display: none;
  }

  .about-grid {
    display: block;
    text-align: center;
  }

  .about-image-wrapper {
    float: none;
    margin: 0 auto 2.5rem auto;
    max-width: 360px;
  }

  .floating-badge {
    right: -10px;
    bottom: 15px;
  }

  .section-tagline {
    justify-content: center;
  }

  .specialty-item {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: auto;
  }
  
  .slide-tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  
  .slide-title {
    font-size: 1.85rem;
  }
  
  .slide-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .slide-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }

  .about-image-wrapper {
    max-width: 290px;
  }

  .doctor-image-decor {
    top: 10px;
    left: -10px;
  }

  .floating-badge {
    padding: 0.6rem 1rem;
    gap: 8px;
    right: -5px;
    bottom: 10px;
  }

  .badge-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .badge-number {
    font-size: 1rem;
  }

  .badge-text {
    font-size: 0.62rem;
  }

  .about-title {
    font-size: 1.65rem;
  }

  .about-bio {
    font-size: 0.95rem;
  }

  .btn-about-more {
    width: 100%;
    justify-content: center;
  }
}

/* Illustrative Cases Section */
.illustrative-cases-section {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-light); 
  background-image: linear-gradient(135deg, rgba(72, 192, 192, 0.03) 0%, rgba(94, 18, 94, 0.03) 100%);
}

.case-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* Required for sticky to work */
  gap: 4rem;
}

.case-grid-reverse {
  flex-direction: row-reverse;
}

.case-content.premium-card {
  flex: 1.2;
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent-teal);
  position: relative;
}

.case-badge {
  display: inline-block;
  background-color: var(--primary-purple-light);
  color: var(--primary-purple);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.case-title {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.case-subtitle {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
  font-style: italic;
  text-transform: none;
}

.case-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
}

.highlight-text-light {
  font-weight: 700;
  color: var(--secondary-blue);
}

.case-image-wrapper {
  flex: 1;
  position: sticky;
  top: 130px; /* Sticks slightly below the header */
  height: fit-content;
  border-radius: var(--radius-lg);
}

.case-image-decor {
  position: absolute;
  top: 15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(72, 192, 192, 0.4);
  z-index: 1;
}

.case-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.case-image-wrapper:hover .case-image {
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .case-grid, .case-grid-reverse {
    flex-direction: column-reverse;
    gap: 3.5rem;
  }
  .case-image-wrapper {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* What We Cure / Services Overview Section */
.services-overview-section {
  background-color: var(--secondary-blue-light); /* Soft blue theme background */
  background-image: radial-gradient(rgba(35, 82, 147, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

/* Center Section Header */
.section-header-center {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
  z-index: 2;
}

.section-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-primary);
  font-size: 5.5rem;
  font-weight: 850;
  color: rgba(35, 82, 147, 0.035);
  letter-spacing: 6px;
  z-index: -1;
  pointer-events: none;
  text-transform: uppercase;
}

.section-header-center .section-tagline {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-header-center .section-tagline i {
  color: var(--accent-teal);
}

.section-header-center .section-title {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.section-header-line {
  width: 60px;
  height: 3px;
  background-color: var(--accent-teal);
  margin: 0 auto;
  border-radius: var(--radius-pill);
}

/* Cards Grid */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-screenshot-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.service-screenshot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

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

.service-screenshot-body {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.service-screenshot-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: #000;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.service-screenshot-subtitle {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}

.btn-screenshot-outline {
  display: inline-block;
  background-color: transparent;
  border: 1.5px solid var(--primary-purple);
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-top: auto;
}

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

.services-overview-actions {
  text-align: center;
  margin-top: 3.5rem;
}

.btn-services-all {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-purple) 100%);
  color: var(--bg-white);
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(35, 82, 147, 0.25);
  transition: var(--transition-smooth);
}

.btn-services-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 82, 147, 0.35);
  color: var(--bg-white);
}

.btn-services-all i {
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.btn-services-all:hover i {
  transform: translateX(4px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .services-cards-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-bg-text {
    display: none; /* Hide background overlay text on mobile for cleanliness */
  }
  
  .services-cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section-header-center .section-title {
    font-size: 1.85rem;
  }
  
  .btn-card-book, .btn-services-all {
    width: 100%;
    justify-content: center;
  }
}

/* Vertebroplasty Section */
.vertebroplasty-section {
  background: linear-gradient(135deg, var(--secondary-blue-light) 0%, var(--accent-teal-light) 100%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.vp-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
}

.vp-image-col {
  flex: 1;
}

.vp-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.vp-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.vp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-purple) 100%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.8rem;
  box-shadow: var(--shadow-md);
  border-radius: 50%;
  border: 4px solid var(--bg-white);
}

.vp-content-col {
  flex: 1.2;
}

.vp-title {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-purple);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.vp-quote {
  border-left: 4px solid var(--accent-teal);
  padding-left: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-style: italic;
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.vp-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-main);
  text-align: justify;
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
  .vp-grid {
    flex-direction: column;
    gap: 3.5rem;
  }
  .vp-badge {
    right: 10px;
    bottom: -10px;
  }
}

/* Statistics / Achievements Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--bg-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(72, 192, 192, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(72, 192, 192, 0.15);
}

.stat-icon-wrapper {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  transform: scale(1.05);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--bg-white);
  text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stat-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-teal-light);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.stat-desc {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-white);
  padding: 6rem 0;
}

.faq-grid {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.faq-content {
  flex: 1;
}

.faq-main-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.faq-item {
  background: var(--bg-light);
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--border-color);
  transition: var(--transition-smooth);
}

.faq-item[open] {
  background: var(--bg-white);
  border-left-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
}

.faq-header {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-purple);
  font-size: 0.95rem;
  gap: 1rem;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-header::-webkit-details-marker {
  display: none;
}

.faq-header:hover {
  color: var(--secondary-blue);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent-teal);
  font-size: 1.1rem;
}

.faq-item .fa-minus { display: none; }
.faq-item[open] .fa-plus { display: none; }
.faq-item[open] .fa-minus { display: block; color: var(--primary-purple); }

.faq-body {
  padding: 0 1.5rem 1.5rem 3.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* FAQ Images Collage */
.faq-images {
  flex: 1;
  display: flex;
  justify-content: center;
}

.faq-image-main-wrapper {
  position: relative;
  width: 80%;
  max-width: 420px;
}

.faq-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  display: block;
}

.faq-decor {
  position: absolute;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.faq-decor-top {
  top: -40px;
  left: -50px;
  border-radius: 50%; /* Circle cut out */
}

.faq-decor-bottom {
  bottom: -40px;
  right: -50px;
  border-radius: var(--radius-lg);
}

@media (max-width: 992px) {
  .faq-grid {
    flex-direction: column;
    gap: 4rem;
  }
  .faq-images {
    width: 100%;
    margin-top: 2rem;
  }
}

/* 3D Certificates Carousel Section */
.certificates-section {
  overflow-x: hidden; /* Prevents the rotating cards from creating a horizontal scroll gap on mobile */
  width: 100%;
}

.certificates-carousel-container {
  perspective: 2500px; 
  width: 100%;
  height: 400px; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  overflow: visible; /* Must remain visible for 3D effect, but parent hides the horizontal overflow */
}

.certificates-spinner {
  width: 280px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinnerRotate 35s infinite linear;
}

.certificates-spinner:hover {
  animation-play-state: paused;
}

@keyframes spinnerRotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}

.certificate-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-white);
  padding: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  transition: all 0.5s ease;
  overflow: hidden; 
}

/* 12 items -> 30deg each. Radius ~500px */
.certificate-card:nth-child(1) { transform: rotateY(0deg) translateZ(500px); }
.certificate-card:nth-child(2) { transform: rotateY(30deg) translateZ(500px); }
.certificate-card:nth-child(3) { transform: rotateY(60deg) translateZ(500px); }
.certificate-card:nth-child(4) { transform: rotateY(90deg) translateZ(500px); }
.certificate-card:nth-child(5) { transform: rotateY(120deg) translateZ(500px); }
.certificate-card:nth-child(6) { transform: rotateY(150deg) translateZ(500px); }
.certificate-card:nth-child(7) { transform: rotateY(180deg) translateZ(500px); }
.certificate-card:nth-child(8) { transform: rotateY(210deg) translateZ(500px); }
.certificate-card:nth-child(9) { transform: rotateY(240deg) translateZ(500px); }
.certificate-card:nth-child(10) { transform: rotateY(270deg) translateZ(500px); }
.certificate-card:nth-child(11) { transform: rotateY(300deg) translateZ(500px); }
.certificate-card:nth-child(12) { transform: rotateY(330deg) translateZ(500px); }

.certificate-card:hover {
  box-shadow: 0 10px 40px rgba(72, 192, 192, 0.4); 
  border-color: rgba(72, 192, 192, 0.6); 
}

.certificate-img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  display: block;
}

@media (max-width: 992px) {
  .certificates-carousel-container {
    perspective: 1500px;
    height: 350px;
  }
  .certificates-spinner {
    width: 220px;
    height: 300px;
  }
  /* Recalculate radius */
  .certificate-card:nth-child(1) { transform: rotateY(0deg) translateZ(380px); }
  .certificate-card:nth-child(2) { transform: rotateY(30deg) translateZ(380px); }
  .certificate-card:nth-child(3) { transform: rotateY(60deg) translateZ(380px); }
  .certificate-card:nth-child(4) { transform: rotateY(90deg) translateZ(380px); }
  .certificate-card:nth-child(5) { transform: rotateY(120deg) translateZ(380px); }
  .certificate-card:nth-child(6) { transform: rotateY(150deg) translateZ(380px); }
  .certificate-card:nth-child(7) { transform: rotateY(180deg) translateZ(380px); }
  .certificate-card:nth-child(8) { transform: rotateY(210deg) translateZ(380px); }
  .certificate-card:nth-child(9) { transform: rotateY(240deg) translateZ(380px); }
  .certificate-card:nth-child(10) { transform: rotateY(270deg) translateZ(380px); }
  .certificate-card:nth-child(11) { transform: rotateY(300deg) translateZ(380px); }
  .certificate-card:nth-child(12) { transform: rotateY(330deg) translateZ(380px); }
}

@media (max-width: 576px) {
  .certificates-carousel-container {
    perspective: 1000px;
    height: 300px;
    margin: 1rem 0;
  }
  .certificates-spinner {
    width: 160px;
    height: 220px;
  }
  /* Recalculate radius */
  .certificate-card:nth-child(1) { transform: rotateY(0deg) translateZ(280px); }
  .certificate-card:nth-child(2) { transform: rotateY(30deg) translateZ(280px); }
  .certificate-card:nth-child(3) { transform: rotateY(60deg) translateZ(280px); }
  .certificate-card:nth-child(4) { transform: rotateY(90deg) translateZ(280px); }
  .certificate-card:nth-child(5) { transform: rotateY(120deg) translateZ(280px); }
  .certificate-card:nth-child(6) { transform: rotateY(150deg) translateZ(280px); }
  .certificate-card:nth-child(7) { transform: rotateY(180deg) translateZ(280px); }
  .certificate-card:nth-child(8) { transform: rotateY(210deg) translateZ(280px); }
  .certificate-card:nth-child(9) { transform: rotateY(240deg) translateZ(280px); }
  .certificate-card:nth-child(10) { transform: rotateY(270deg) translateZ(280px); }
  .certificate-card:nth-child(11) { transform: rotateY(300deg) translateZ(280px); }
  .certificate-card:nth-child(12) { transform: rotateY(330deg) translateZ(280px); }
}

/* Fancy Patient Experience Section */
.testimonial-fancy-section {
  background: linear-gradient(135deg, #1A041A 0%, #2a082a 100%);
  position: relative;
  overflow: hidden;
}

/* Optional subtle texture behind testimonials */
.testimonial-fancy-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background-image: radial-gradient(var(--accent-teal) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.03;
  transform: rotate(15deg);
  z-index: 0;
}

.testi-fancy-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 1rem; /* Reduced to compensate for padding */
  padding-top: 50px; /* Prevents the floating avatar (top: -40px) from being clipped */
}

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

.testi-fancy-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 2rem; /* Extra padding top for overlapping avatar */
  position: relative;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.testi-fancy-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(72, 192, 192, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(72, 192, 192, 0.1);
}

.testi-avatar-wrapper {
  position: absolute;
  top: -40px;
  left: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1A041A; /* Match section background */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.testi-fancy-card:hover .testi-avatar {
  border-color: var(--accent-teal);
}

.testi-quote-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  background: var(--accent-teal);
  color: #1A041A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.testi-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-text {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #D6C2D6;
  font-style: italic;
  margin-bottom: 2rem;
}

.testi-author {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

.testi-author h4 {
  font-family: var(--font-primary);
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.testi-author span {
  font-family: var(--font-secondary);
  color: var(--accent-teal);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .testi-fancy-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Turn into a horizontal scroll slider on mobile */
  .testi-fancy-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    margin-right: -5%; /* Bleed to edge */
    padding-right: 5%;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .testi-fancy-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  .testi-fancy-grid {
    display: flex;
    gap: 1.5rem;
    width: max-content;
  }
  
  .testi-fancy-card {
    width: 85vw; /* Almost full width, peeks next card */
    scroll-snap-align: center;
  }
}

/* Fancy Outline Button for Testimonials */
.btn-fancy-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
  background: transparent;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-fancy-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-teal);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.btn-fancy-outline:hover {
  color: #1A041A;
  box-shadow: 0 8px 25px rgba(72, 192, 192, 0.3);
}

.btn-fancy-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  background-image: radial-gradient(rgba(72, 192, 192, 0.06) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1.35 / 1;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--bg-white);
  transition: var(--transition-smooth);
}

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

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(26, 4, 26, 0.92) 0%,
    rgba(26, 4, 26, 0.4) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.gallery-text {
  color: var(--bg-white);
}

.gallery-text h5 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-text p {
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-family: var(--font-secondary);
}

/* News Feeds Section */
.news-feeds-section {
  /* A beautiful soft premium background */
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f6 100%);
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

/* Add a subtle background pattern/mesh for texture */
.news-feeds-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(var(--primary-purple-light) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

.news-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.news-tagline {
  display: inline-block;
  color: #e63946; /* Accent red */
  background: rgba(230, 57, 70, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.news-title {
  font-family: var(--font-primary); 
  color: #0f172a; /* Very dark rich blue */
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Slider setup */
.news-slider-wrapper {
  width: 100%;
  overflow: visible; /* Changed from hidden so arrows don't get clipped */
  position: relative;
  padding: 1rem 0 4rem; 
}

/* Slider Navigation Arrows (Desktop Only) */
.news-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--bg-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-teal);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.news-slider-arrow:hover {
  background-color: var(--accent-teal);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(72, 192, 192, 0.4);
}

.left-arrow {
  left: -20px;
}

.right-arrow {
  right: -20px;
}

@media (max-width: 992px) {
  .news-slider-arrow {
    display: none !important;
  }
}

.news-slider {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 2rem 3rem 2rem;
  
  /* Custom stylish scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.3) rgba(0,0,0,0.05);
}

.news-slider::-webkit-scrollbar {
  height: 8px;
}
.news-slider::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
}
.news-slider::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 10px;
}
.news-slider::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.6);
}

/* /* The Premium Fantastic Card Design */
.news-slide-card {
  min-width: 420px;
  max-width: 420px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05), 0 5px 15px rgba(0,0,0,0.02);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-slide-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(72, 192, 192, 0.15);
}

/* Beautiful Geometric Header for Cards */
.news-card-header {
  height: 180px;
  background: linear-gradient(135deg, #1A041A 0%, var(--primary-purple) 100%);
  position: relative;
  overflow: hidden;
}

/* Abstract overlay shape inside header */
.news-card-header::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.news-card-header::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(72, 192, 192, 0.15);
}

.news-card-tag {
  position: absolute;
  bottom: 0;
  left: 2.5rem;
  background: var(--bg-white);
  color: var(--accent-teal);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}

.news-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(transparent calc(100% - 2px), rgba(72, 192, 192, 0.4) 2px);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.4s ease, color 0.3s;
}

.news-card-title a:hover {
  background-size: 100% 100%;
  color: var(--accent-teal);
}

.news-card-desc {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

.news-card-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.news-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid var(--bg-white);
}

.news-author-info {
  display: flex;
  flex-direction: column;
}

.news-author-name {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 2px;
}

.news-author-title {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .news-slide-card {
    min-width: 85vw;
    max-width: 85vw;
  }
  .news-card-body {
    padding: 2rem 1.5rem;
  }
  .news-card-tag {
    left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .news-slider {
    gap: 1.5rem;
    padding: 1rem;
  }
  .news-slide-card {
    min-width: 85vw;
    max-width: 85vw;
    padding: 2rem 1.5rem;
  }
  .news-title {
    font-size: 2rem;
  }
  .news-card-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .news-slide-card {
    min-width: 88vw;
    max-width: 88vw;
    padding: 1.75rem 1.25rem;
  }
  .news-title {
    font-size: 1.75rem;
  }
  .news-card-desc {
    font-size: 0.95rem;
  }
}

/* Booking Section */
.booking-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.booking-form-wrapper {
  display: flex;
  flex-direction: column;
}

.booking-title {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.booking-desc {
  font-family: var(--font-secondary);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.booking-form label {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-light);
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(72, 192, 192, 0.12);
}

.booking-form textarea {
  resize: vertical;
  margin-bottom: 1.5rem;
}

.form-submit-btn {
  width: 100%;
  padding: 0.95rem 2rem;
  font-size: 1.02rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--bg-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(94, 18, 94, 0.22);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 18, 94, 0.38);
  color: var(--bg-white);
}

/* Booking Details Coordinates Column */
.booking-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-card {
  display: flex;
  gap: 1.25rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color-light);
  transition: var(--transition-smooth);
}

.contact-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(94, 18, 94, 0.1);
}

.contact-detail-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-card .card-text {
  flex: 1;
}

.contact-detail-card h4 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 0.85rem;
}

.timings-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timings-list li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-main);
}

.timings-list li span:first-child {
  font-weight: 600;
}

.badge-closed {
  background-color: #FADBD8;
  color: #C0392B;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.latenight-alert {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  color: var(--secondary-blue);
  line-height: 1.45;
  margin-top: 12px;
}

.latenight-alert i {
  color: var(--accent-teal);
  margin-right: 4px;
}

.tel-block {
  margin-bottom: 1rem;
}

.tel-block:last-child {
  margin-bottom: 0;
}

.phone-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.phone-link, .email-link {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-blue);
  text-decoration: none;
  transition: var(--transition-fast);
}

.phone-link:hover, .email-link:hover {
  color: var(--primary-purple);
}

.warning-call-label {
  display: block;
  font-size: 0.72rem;
  color: #C0392B;
  font-weight: 600;
  margin-top: 3px;
}

.attachment-name {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.attachment-desc {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Map Location Section */
.map-section {
  padding: 0;
  line-height: 0;
  border-top: 1px solid var(--border-color);
  background-color: #eee;
}

.map-iframe-container {
  width: 100%;
  height: 450px;
}

/* Responsive Overrides Expansion */
@media (max-width: 1024px) {
  .testimonials-grid {
    gap: 1.5rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .blog-grid {
    gap: 1.5rem;
  }

  .booking-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 2rem;
  }

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

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 2rem;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .booking-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .booking-details-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .booking-form .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 0;
  }
  
  .booking-form .form-group {
    margin-bottom: 1.25rem;
  }

  .booking-title {
    font-size: 1.85rem;
    text-align: center;
  }

  .booking-desc {
    font-size: 0.92rem;
    text-align: center;
  }

  .form-submit-btn {
    width: 100%;
    text-align: center;
  }
}

/* Certificate Lightbox Modal */
.lightbox-modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.85); 
  backdrop-filter: blur(8px);
  align-items: center; 
  justify-content: center;
  flex-direction: column;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  animation: lightboxZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 50px;
  font-weight: 300;
  transition: var(--transition-fast);
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #fff;
  text-decoration: none;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
  }
}
