/* --- Responsive Service Images --- */
.service-media img,
.service-media .service-image {
  width: 100%;
  height: auto;
  max-width: 350px;
  display: block;
  margin: 0 auto;
  border-radius: var(--border-radius);
}

@media (max-width: 768px) {
  .service-sections .service-article {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-media img,
  .service-media .service-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}
/* ============================================================
   Carter Dermatology - P.brand.alt-bg .hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
  height: 140px;
  width: 140px;
  border-radius: 80%;
  background: url('ass') center/cover;
  padding: 0px;
  border: 20px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  object-fit: contain;
  object-position: center bottom;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1px;
}ical Website Styles
   ============================================================ */

:root {
  --primary-color: #6B8A9A; /* Van Courtland Blue (HC-145) */
  --secondary-color: #4A6B7C; /* Philipsburg Blue (HC-159) */
  --accent-color: #C4A484; /* Truffle (AF-130) */
  --light-bg: #F5F1E8; /* Mascarpone (AF-20) */
  --dark-text: #3A4A52; /* Darker version of Philipsburg Blue for text */
  --light-text: #F5F1E8; /* Mascarpone for light text */
  --border-radius: 12px;
  --header-height: 140px;
}

/* --- Base & Typography --- */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000000; /* Changed to black */
  background: url('assets/wood-tile.jpeg') repeat;
  background-attachment: fixed;
  padding-top: 0;
}

/* Main content positioning */
main#content {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #000000; /* Changed to black */
  margin-top: 0;
}

.display {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: #000000; /* Changed to black */
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

/* --- Dr. Carter Section (NEW) --- */
.meet-dr-carter {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  background: transparent;
  overflow: hidden;
}

.carter-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carter-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carter-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.carter-slide.active {
  opacity: 0.7;
}

.carter-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(106, 138, 154, 0.95) 0%, 
    rgba(74, 107, 124, 0.9) 40%, 
    rgba(196, 164, 132, 0.3) 100%);
  z-index: 2;
}

.carter-wrapper {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 2fr 350px;
  gap: 2rem;
  align-items: center;
  min-height: 70vh;
}

.carter-text-content {
  color: white;
}

.carter-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carter-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carter-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
}

.carter-qualifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.qualification {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qual-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.qual-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.qual-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.carter-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.carter-image-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carter-portrait-frame {
  position: relative;
  width: 280px;
  height: 280px;
}

.carter-portrait {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.portrait-border {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 1;
}

.text-center {
  text-align: center;
}

/* --- Header --- */
.cd-header {
  background-color: var(--light-text);
  border-bottom: 1px solid var(--accent-color); /* Truffle color border */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 120px;
  width: 120px;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-line-1 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.brand-line-2 {
  font-size: 0.8rem;
  color: var(--secondary-color);
}
/* --- Bootstrap Navbar Customization --- */
.navbar {
  background: #fff !important; /* Solid white background */
  border-bottom: 1px solid var(--secondary-color);
  padding-top: 0;
  padding-bottom: 0;
  min-height: var(--header-height);
  max-height: var(--header-height);
  height: var(--header-height);
  position: relative;
}

.navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent; /* Remove overlay for pure white navbar */
  z-index: -1;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #000000 !important; /* Changed to black */
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
  color: #333333 !important; /* Dark gray for hover */
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-brand.brand {
  margin-right: 0;
  padding: 0;
}

/* Dr. Carter Certification Image */
.cert-image {
  height: 80px;
  width: auto;
  margin-right: 1rem;
  border-radius: 4px;
  object-fit: contain;
}

/* Hide cert image on mobile */
@media (max-width: 991.98px) {
  .cert-image {
    display: none;
  }
}

/* Mobile cert image styling */
.cert-image-mobile {
  height: 60px;
  width: auto;
  margin: 0.5rem auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}

/* Book Now button styling */
.navbar-nav .nav-link.btn-primary {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 0.375rem;
  margin-left: 0.5rem;
  color: white !important; /* This controls the text color */
}

.navbar-nav .nav-link.btn-primary:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: white !important; /* This controls the hover text color */
}

/* --- Mobile Dropdown Styling --- */
@media (max-width: 991.98px) {
  .navbar-collapse {
  background: #fff;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .navbar-nav {
    background: var(--light-bg); /* Mascarpone color */
    border-radius: 0.375rem;
    padding: 0.5rem;
    opacity: 0.95;
  }
  
  .navbar-nav .nav-link {
    color: var(--primary-color) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(196, 164, 132, 0.1); /* Truffle color with transparency */
  }
}

/* --- Quick Navigation - Cycling Carousel --- */
.quick-nav-section {
  background: var(--light-bg) url('assets/wood-tile.jpeg') repeat; /* Wood tile background */
  background-attachment: fixed;
  padding: 3rem 0;
  border-bottom: 3px solid var(--accent-color); /* Thicker Truffle color border */
  box-shadow: 0 3px 6px rgba(196, 164, 132, 0.3); /* Subtle shadow below */
  overflow: hidden;
  position: relative;
}

.quick-nav-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--secondary-color) 20%, 
    var(--accent-color) 50%, 
    var(--secondary-color) 80%, 
    transparent 100%);
  opacity: 0.6;
}

/* Cycling Carousel Styles */
.cycling-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  animation: cycle-slides 20s linear infinite;
  gap: 2rem;
  width: max-content;
  align-items: center;
  height: 100%;
}

.carousel-slide {
  background: rgba(107, 138, 154, 0.85); /* Blue transparent background using primary color */
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  min-width: 280px;
  max-width: 320px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(0, 0, 0, 0.05) 100%);
  border-radius: 18px;
  pointer-events: none;
}

.carousel-slide h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Playfair Display', serif;
}

.carousel-slide p {
  color: #f8f9fa;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.carousel-slide:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(74, 107, 124, 0.9); /* Darker blue on hover */
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

@keyframes cycle-slides {
  0% { transform: translateX(0); }
  25% { transform: translateX(-25%); }
  50% { transform: translateX(-50%); }
  75% { transform: translateX(-75%); }
  100% { transform: translateX(-100%); }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Add padding to sections to account for fixed header */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

/* --- Buttons --- */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-ghost {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
}

/* Video Carousel Background */
.video-carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-carousel-bg video,
.video-carousel-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.video-carousel-bg video.active,
.video-carousel-bg img.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 100%;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 600px;
}

.hero-cta-row {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Highlighted Text Styles */
.highlighted-text {
    background: rgba(107, 138, 154, 0.95); /* Much more opaque blue background */
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 24px rgba(107, 138, 154, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    display: inline-block;
    line-height: 1.3;
    font-weight: 600;
    margin: 0.3rem;
}

.highlighted-text-transparent {
    background: rgba(107, 138, 154, 0.7); /* Slightly more transparent blue */
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    color: #f8f9fa;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(107, 138, 154, 0.25);
    display: inline-block;
    line-height: 1.4;
}

/* --- Page Hero --- */
.page-hero {
  padding: 2rem 0;
  text-align: center;
  background: var(--light-bg) url('assets/AdobeStock_1346511928.jpeg') repeat;
  background-attachment: fixed;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(245, 241, 232, 0.85);
  z-index: 1;
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

/* --- Services Page --- */
.service-sections .service-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--accent-color); /* Truffle color border */
}

.service-sections .service-article:last-child {
  border-bottom: none;
}

.service-media iframe, .service-media .service-image {
  width: 100%;
  border-radius: var(--border-radius);
}

.additional-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color); /* Truffle color border */
}

/* --- Modern Conditions Page --- */
/* Conditions Hero Section */
.conditions-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.conditions-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conditions-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(74, 107, 124, 0.8) 0%, 
    rgba(107, 138, 154, 0.6) 50%, 
    rgba(196, 164, 132, 0.4) 100%);
  z-index: 2;
}

.conditions-hero .hero-content {
  position: relative;
  z-index: 3;
  color: white;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Search Section */
.conditions-search-section {
  background: var(--light-bg);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(107, 138, 154, 0.1);
}

.search-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.search-header h2 {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  padding: 1rem 2rem;
  border-radius: 20px;
  border: 2px solid rgba(107, 138, 154, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(107, 138, 154, 0.1);
  display: inline-block;
}

.search-header p {
  background: rgba(255, 255, 255, 0.85);
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(107, 138, 154, 0.15);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(107, 138, 154, 0.08);
  display: inline-block;
  max-width: 600px;
}

.search-bar-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
  z-index: 2;
}

#cond-search {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(107, 138, 154, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#cond-search:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 30px rgba(107, 138, 154, 0.25);
}

.search-counter {
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(107, 138, 154, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(107, 138, 154, 0.1);
  display: inline-block;
}

/* Category Tabs */
.conditions-category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-tab {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(107, 138, 154, 0.3);
  color: var(--primary-color);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(107, 138, 154, 0.1);
}

.category-tab:hover,
.category-tab.active {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 138, 154, 0.3);
  border-color: var(--primary-color);
}

/* Main Conditions Section */
.conditions-main-section {
  background: var(--light-bg) url('assets/wood-tile.jpeg') repeat;
  padding: 4rem 0;
  min-height: 60vh;
}

/* Modern Conditions Grid */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.condition-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(107, 138, 154, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.condition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.condition-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.condition-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 138, 154, 0.25);
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 1);
}

.condition-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(107, 138, 154, 0.3);
  position: relative;
  z-index: 2;
}

.card-icon i {
  color: white;
  font-size: 1.5rem;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content h3 {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(107, 138, 154, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(107, 138, 154, 0.1);
}

.card-content p {
  background: rgba(255, 255, 255, 0.85);
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(107, 138, 154, 0.15);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(107, 138, 154, 0.08);
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(107, 138, 154, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 4px rgba(107, 138, 154, 0.1);
}

/* Call to Action */
.conditions-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: white;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.conditions-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/wood-tile.jpeg') repeat;
  opacity: 0.1;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary-color);
  border: none;
}

.cta-buttons .btn-primary:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-outline-secondary {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.cta-buttons .btn-outline-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design for Conditions Page */
@media (max-width: 768px) {
  .conditions-hero {
    height: 60vh;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .search-header h2 {
    font-size: 2rem;
  }
  
  .conditions-category-tabs {
    gap: 0.5rem;
  }
  
  .category-tab {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .conditions-cta {
    padding: 2rem;
  }
  
  .cta-content h3 {
    font-size: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .conditions-category-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .category-tab {
    width: 100%;
    max-width: 200px;
  }
}

/* --- Video Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-item iframe {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius);
}

.video-item p {
  text-align: center;
  margin-top: 0.5rem;
}


/* --- FAQs Page --- */
.faq-list .faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--accent-color); /* Truffle color border */
}

.faq-list .faq-item:last-child {
  border-bottom: none;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.map-card iframe {
  border-radius: var(--border-radius);
}

.scheduler-frame {
    position: relative;
    width: 100%;
    min-height: 700px;
    border: 1px solid var(--accent-color); /* Truffle color border */
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.scheduler-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-bg); /* Mascarpone color */
}

/* ========================================
   CONTACT PAGE PROFESSIONAL DESIGN
======================================== */

/* Contact Hero Section - Matching home page style */
.contact-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(107, 138, 154, 0.95) 0%, 
    rgba(74, 107, 124, 0.9) 40%, 
    rgba(196, 164, 132, 0.3) 100%);
  z-index: 2;
}

.contact-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.contact-badge {
  display: inline-block;
  background: rgba(196, 164, 132, 0.9);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.contact-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.contact-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(196, 164, 132, 0.3);
}

.btn-primary-contact:hover {
  background: #d4b498;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 164, 132, 0.4);
  text-decoration: none;
}

.btn-secondary-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-secondary-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
  text-decoration: none;
}

/* Quick Contact Section */
.quick-contact-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.quick-contact-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.quick-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.quick-contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.quick-contact-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.quick-contact-content p {
  color: var(--dark-text);
  margin: 0;
  line-height: 1.5;
}

.quick-contact-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.quick-contact-content a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Medical Team Section */
.medical-team-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  position: relative;
}

.section-header-contact {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-description {
  font-size: 1.1rem;
  color: var(--dark-text);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
  grid-auto-rows: max-content;
}

.team-member-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.team-member-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f5f5f5;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  background-color: #f5f5f5;
}

/* Ensure consistent image display - focus on face/upper body */
.team-member-card:nth-child(1) .team-member-image img,
.team-member-card:nth-child(2) .team-member-image img,
.team-member-card:nth-child(3) .team-member-image img,
.team-member-card:nth-child(4) .team-member-image img {
  object-position: center center;
}

.team-member-card:hover .team-member-image img {
  transform: scale(1.08);
}

.team-member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member-role-badge {
  background: rgba(107, 138, 154, 0.95);
  color: white;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-member-info {
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: fit-content;
}

.team-member-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.team-member-title {
  color: var(--dark-text);
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.team-member-credentials {
  color: var(--dark-text);
  opacity: 0.65;
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.5rem;
  line-height: 1.4;
}

.team-member-toggle {
  margin-top: auto;
  margin-bottom: 0;
  background: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.team-member-toggle:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.team-member-toggle .toggle-icon {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.75rem;
}

.team-member-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}


.team-member-bio {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

.team-member-bio.open {
  max-height: 600px;
  opacity: 1;
}

.team-member-bio p {
  color: var(--dark-text);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
  opacity: 0.8;
}

.team-member-bio p:last-child {
  margin-bottom: 0;
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact-info-header p {
  color: var(--dark-text);
  opacity: 0.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-details-list {
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
}

.contact-detail-content strong {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail-content span {
  color: var(--dark-text);
}

.contact-detail-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-detail-content a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.office-hours-card {
  background: var(--accent-color);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.office-hours-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-hours-card p {
  margin: 0;
  color: var(--dark-text);
}

.new-patients-notice {
  display: flex;
  gap: 1rem;
  background: rgba(107, 138, 154, 0.05);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

.notice-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.notice-content strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.notice-content p {
  margin: 0;
  color: var(--dark-text);
  line-height: 1.5;
}

/* SADIO Portal Card */
.sadio-portal-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 2.5rem;
  border-radius: 20px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 30px rgba(107, 138, 154, 0.3);
}

.sadio-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.sadio-portal-card h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.sadio-portal-card p {
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-sadio-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-sadio-portal:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Online Scheduling Section */
.online-scheduling-section {
  padding: 80px 0;
  background: white;
}

.scheduling-header {
  text-align: center;
  margin-bottom: 3rem;
}

.scheduling-instructions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.instruction-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(107, 138, 154, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
}

.instruction-number {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.scheduler-container {
  max-width: 900px;
  margin: 0 auto;
}

.scheduler-status {
  display: block;
  text-align: center;
  color: var(--dark-text);
  opacity: 0.7;
  font-size: 0.9rem;
}

.scheduling-alternative {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 15px;
}

.phone-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.phone-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Map & Location Section */
.map-location-section {
  padding: 100px 0;
  background: var(--light-bg);
}

.map-location-header {
  text-align: center;
  margin-bottom: 3rem;
}

.map-location-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 3rem;
}

.map-embed-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-embed {
  width: 100%;
  height: 400px;
  min-height: 300px;
}

.map-embed iframe {
  border-radius: 20px;
}

.location-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.location-info-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.location-info-icon {
  width: 60px;
  height: 60px;
  background: rgba(107, 138, 154, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.location-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.location-info-card p {
  color: var(--dark-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.location-info-card .hours-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.location-info-card .btn-directions {
  margin-top: auto;
  width: 100%;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

/* Old styles - keeping for reference, will be replaced */
.location-details {
  display: none;
}

.location-address {
  display: none;
}

.location-features {
  display: none;
}

.location-directions {
  display: none;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .contact-subtitle {
    font-size: 1.1rem;
  }

  .contact-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-contact,
  .btn-secondary-contact {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .quick-contact-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    grid-auto-rows: max-content;
    align-items: start;
  }

  .team-member-image {
    height: 260px;
  }

  .team-member-info {
    padding: 1.5rem;
  }

  .map-embed {
    height: 280px;
  }

  .location-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .location-info-card {
    padding: 1.5rem;
  }

  .location-info-card h3 {
    font-size: 1.05rem;
  }

  .location-info-card p {
    font-size: 0.9rem;
  }

  .location-info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Medium screens - 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    grid-auto-rows: max-content;
    align-items: start;
    align-content: start;
  }

  .team-member-image {
    height: 300px;
  }

  .map-embed {
    height: 350px;
  }

  .location-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .location-info-card {
    padding: 1.75rem;
  }
}

/* Large screens - 3 columns */
@media (min-width: 1025px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    grid-auto-rows: max-content;
    align-items: start;
    align-content: start;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-card {
    padding: 2rem;
  }
  
  .sadio-portal-card {
    padding: 2rem;
  }
  
  .map-location-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .map-embed {
    height: 400px;
    min-height: 300px;
  }

  .location-info-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .location-info-card {
    padding: 2rem;
  }

  
  .scheduling-instructions {
    flex-direction: column;
    align-items: center;
  }
  
  .instruction-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* --- Footer --- */
.cd-footer {
  background: url('assets/granite.jpeg') repeat;
  background-attachment: fixed;
  color: var(--light-text);
  padding: 3rem 0 1rem;
  position: relative;
}

.cd-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  z-index: 1;
}

.cd-footer > * {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-grid > div {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.footer-grid > div:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.cd-footer h4 {
  color: var(--light-text);
  margin-bottom: 1rem;
}

.cd-footer a {
  color: var(--accent-color);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 0.5rem;
}

.footer-brand .logo {
  background-color: var(--light-text);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Shop Modal --- */
#shop-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

#shop-modal > div {
  background: var(--light-text);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 400px;
  text-align: center;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  z-index: 1100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
  body {
    padding-top: 100px; /* Medium increase for tablet/small laptop screens */
  }
  
  .hero-content {
    max-width: 90%;
    padding: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 120px; /* Increased padding for mobile to accommodate larger navbar */
  }
  
  .service-sections .service-article, .contact-grid, .additional-services {
    grid-template-columns: 1fr;
  }
  
  /* Mobile styles for new Dr. Carter section */
  .meet-dr-carter {
    min-height: auto;
    padding: calc(var(--header-height) + 1rem) 0 2rem;
  }
  
  .carter-bg-slider {
    width: 100%;
    opacity: 0.3;
  }
  
  .carter-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .carter-qualifications {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .qualification {
    padding: 1rem;
  }
  
  .carter-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .carter-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .carter-portrait-frame {
    width: 200px;
    height: 200px;
  }
  
  .hero-section {
    height: 50vh;
  }
  
  .hero-content {
    padding: 1rem;
    max-width: 95%;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    max-width: 100%;
  }
  
  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
  }
  
  .hero-cta-row .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .display {
    font-size: 2rem;
  }
}

/* Extra small screens (480px and below) */
@media (max-width: 480px) {
  /* Mobile styles for new Dr. Carter section */
  .meet-dr-carter {
    padding: calc(var(--header-height) + 0.5rem) 0 1.5rem;
  }
  
  .carter-title {
    font-size: 2rem;
  }
  
  .carter-description {
    font-size: 1rem;
  }
  
  .qualification {
    padding: 0.75rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .qual-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .carter-portrait-frame {
    width: 160px;
    height: 160px;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Hero section for very small screens */
  .hero-section {
    height: 45vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 0.75rem;
    max-width: 98%;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .hero-cta-row {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .hero-cta-row .btn {
    max-width: 250px;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* ===============================
   SERVICES PAGE
   =============================== */
.services-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/wood-tile.jpeg') center/cover;
  background-attachment: fixed;
}

.services-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 107, 124, 0.85) 0%, rgba(106, 138, 154, 0.75) 100%);
}

.services-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.services-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}

.services-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.services-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-2px);
}

.featured-services {
  padding: 100px 0;
  background: var(--mascarpone);
  position: relative;
}

.featured-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 241, 232, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.featured-services > * {
  position: relative;
  z-index: 2;
}

.featured-service {
  margin-bottom: 120px;
  padding: 0 20px;
}

.featured-service:last-child {
  margin-bottom: 0;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.service-content.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-content.reverse .service-text-area {
  order: 2;
}

.service-content.reverse .service-media-area {
  order: 1;
}

.service-category {
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
}

.service-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-intro {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.service-details {
  margin-bottom: 40px;
}

.service-benefit {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-secondary);
}

.service-benefit i {
  color: var(--primary);
  margin-right: 12px;
  font-size: 18px;
}

.video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.additional-services-section {
  padding: 100px 0;
  background: url('assets/wood-tile.jpeg') center/cover;
  background-attachment: fixed;
  position: relative;
}

.additional-services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(245, 241, 232, 0.5);
  backdrop-filter: blur(12px);
}

.additional-services-section > * {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-grid-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-grid-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
}

.service-grid-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-grid-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.services-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Responsive Design */
@media (max-width: 768px) {
  .services-title {
    font-size: 2.5rem;
  }
  
  .services-description {
    font-size: 1.1rem;
  }
  
  .service-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-content.reverse .service-text-area,
  .service-content.reverse .service-media-area {
    order: unset;
  }
  
  .service-heading {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-grid-card {
    padding: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}


/* === SERVICES PAGE WHITE BUBBLE STYLES === */

/* White bubble highlighting for all services page text */
.featured-services h2,
.featured-services h3,
.featured-services p,
.featured-services .service-category,
.featured-services .service-intro,
.featured-services .service-benefit span,
.additional-services-section h2,
.additional-services-section h3,
.additional-services-section p,
.service-item h3,
.service-item p,
.service-item .service-description,
.services-cta h2,
.services-cta p {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin-bottom: 15px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  color: var(--primary-color) !important;
  display: inline-block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Specific adjustments for different text elements */
.featured-services .service-category {
  background: rgba(107, 138, 154, 0.9) !important;
  color: white !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.9rem !important;
  padding: 8px 16px !important;
  width: auto !important;
  display: inline-block !important;
}

.featured-services h2 {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  font-size: 2.5rem !important;
  text-align: center !important;
  padding: 20px !important;
  border-radius: 20px !important;
}

.featured-services h3,
.service-item h3 {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
  font-size: 1.8rem !important;
  padding: 16px 20px !important;
}

.featured-services .service-intro,
.featured-services p,
.service-item p,
.service-item .service-description {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #5a6c7d !important;
  line-height: 1.6 !important;
  padding: 14px 18px !important;
}

.service-benefit {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.service-benefit span {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #5a6c7d !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  flex: 1 !important;
  margin-bottom: 0 !important;
}

.service-benefit i {
  color: var(--primary-color) !important;
  font-size: 1.2rem !important;
  flex-shrink: 0 !important;
}

/* CTA section white bubbles */
.services-cta h2 {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--secondary-color) !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 20px !important;
  border-radius: 20px !important;
}

.services-cta p {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #5a6c7d !important;
  font-size: 1.1rem !important;
  text-align: center !important;
  padding: 16px 20px !important;
  border-radius: 15px !important;
}

/* Additional services section */
.additional-services-section h2 {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 20px !important;
  border-radius: 20px !important;
  margin-bottom: 30px !important;
}

/* Responsive adjustments for white bubbles */
@media (max-width: 768px) {
  .featured-services h2 {
    font-size: 2rem !important;
    padding: 16px !important;
  }
  
  .featured-services h3,
  .service-item h3 {
    font-size: 1.5rem !important;
    padding: 14px 16px !important;
  }
  
  .featured-services .service-intro,
  .featured-services p,
  .service-item p {
    padding: 12px 14px !important;
  }
  
  .services-cta h2 {
    font-size: 1.8rem !important;
    padding: 16px !important;
  }
}


/* === DR. CARTER PAGE STYLES === */

/* Modern Hero Section */
.dr-carter-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.dr-carter-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(107, 138, 154, 0.9) 0%,
    rgba(74, 107, 124, 0.8) 50%,
    rgba(196, 164, 132, 0.7) 100%
  );
  backdrop-filter: blur(2px);
}

.dr-carter-hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dr-carter-hero .hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.dr-carter-hero .hero-subtitle {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 200px;
}

.credential-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.credential-text {
  color: white;
  text-align: left;
}

.credential-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1rem;
}

.credential-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Dr. Carter Section - Now the main section */
.dr-carter-about-section {
  padding: 140px 0 120px 0; /* Extra top padding since it's now the first section */
  background: linear-gradient(135deg, var(--light-bg) 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.dr-carter-about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(107, 138, 154, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.dr-carter-about-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 138, 154, 0.05) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(1deg); }
  66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.dr-carter-about-section .section-header {
  margin-bottom: 60px;
}

.dr-carter-about-section .section-badge {
  display: inline-block;
  background: rgba(107, 138, 154, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(107, 138, 154, 0.3);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dr-carter-about-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.dr-carter-about-section .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.dr-carter-about-section .hero-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dr-carter-about-section .credential-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(107, 138, 154, 0.15);
  padding: 25px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dr-carter-about-section .credential-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107, 138, 154, 0.1), transparent);
  transition: left 0.6s ease;
}

.dr-carter-about-section .credential-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 60px rgba(107, 138, 154, 0.2);
  border-color: rgba(107, 138, 154, 0.3);
}

.dr-carter-about-section .credential-item:hover::before {
  left: 100%;
}

.dr-carter-about-section .credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--accent-color), #8aa8b5);
  border-radius: 50%;
  color: white;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(107, 138, 154, 0.3);
  position: relative;
  overflow: hidden;
}

.dr-carter-about-section .credential-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  transition: transform 0.3s ease;
  transform: scale(0);
}

.dr-carter-about-section .credential-item:hover .credential-icon::before {
  transform: scale(1);
}

.dr-carter-about-section .credential-text {
  color: var(--secondary-color);
  text-align: left;
}

.dr-carter-about-section .credential-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1rem;
}

.dr-carter-about-section .credential-text span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.dr-carter-about-section .hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.dr-carter-about-section .hero-actions .btn {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}

.dr-carter-about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(107,138,154,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.about-content {
  position: relative;
  z-index: 3; /* Lower than image gallery */
  padding: 0 15px;
}

.about-text-blocks {
  display: grid;
  gap: 30px;
  position: relative;
}

.text-block {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(107, 138, 154, 0.12);
  border-radius: 25px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.text-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: left 0.6s ease;
}

.text-block:hover {
  transform: translateY(-8px) translateX(5px);
  box-shadow: 0 25px 60px rgba(107, 138, 154, 0.15);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(107, 138, 154, 0.2);
}

.text-block:hover::before {
  left: 0;
}

.text-block:nth-child(even) {
  margin-left: 20px;
}

.text-block:nth-child(odd) {
  margin-right: 20px;
}

.text-block-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  color: white;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(107, 138, 154, 0.4);
  position: relative;
  overflow: hidden;
}

.text-block-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  transition: transform 0.4s ease;
  transform: scale(0) rotate(45deg);
}

.text-block:hover .text-block-icon::before {
  transform: scale(1) rotate(45deg);
}

.text-block:hover .text-block-icon {
  transform: rotate(5deg) scale(1.05);
}

.text-block-content h4 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.text-block-content p {
  color: #5a6c7d;
  line-height: 1.6;
  margin: 0;
}

/* Image Gallery */
.dr-carter-image-gallery {
  position: sticky;
  top: 140px;
  text-align: center;
  padding: 30px 20px 60px 20px; /* Added bottom padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  z-index: 10; /* Ensure it stays above other sections */
  margin-bottom: 40px; /* Add margin to separate from next section */
  min-height: 600px; /* Ensure minimum height for proper spacing */
}

.main-image-container {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(107, 138, 154, 0.2);
  aspect-ratio: 1/1;
  max-width: 380px;
  width: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(45deg, rgba(107, 138, 154, 0.1), rgba(255, 255, 255, 0.1));
  z-index: 12; /* Ensure main image is above other content */
}

.main-image-container:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 35px 100px rgba(107, 138, 154, 0.3);
}

.main-doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

/* Ensure all text in image overlays is white */
.image-overlay * {
  color: white !important;
}

.main-image-container:hover .image-overlay {
  opacity: 1;
}

.image-caption h5 {
  font-weight: 600;
  margin-bottom: 5px;
  color: white; /* Ensure white text */
}

.image-caption p {
  margin: 0;
  opacity: 0.9;
  color: white; /* Ensure white text */
}

.thumbnail-gallery {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 10px;
  position: relative;
  z-index: 15; /* Ensure thumbnails are above everything */
}

.thumbnail {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid transparent;
  position: relative;
  background: linear-gradient(45deg, rgba(107, 138, 154, 0.1), rgba(255, 255, 255, 0.1));
  pointer-events: auto; /* Ensure thumbnails are clickable */
  z-index: 20; /* High z-index for individual thumbnails */
}

.thumbnail::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thumbnail.active::before {
  opacity: 1;
}

.thumbnail:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(107, 138, 154, 0.3);
}

.thumbnail.active {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(107, 138, 154, 0.4);
}

.thumbnail:nth-child(2) {
  margin-top: 10px;
}

.thumbnail:nth-child(3) {
  margin-top: -5px;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Personal Life Section */
.personal-life-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  z-index: 1; /* Lower z-index to stay below image gallery */
}

.personal-life-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.personal-life-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2; /* Lower than image gallery */
}

.personal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.personal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.personal-title h3 {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.personal-title p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
}

.personal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.personal-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.personal-detail-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-content h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.detail-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Family Section */
.family-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--light-bg) 100%);
  position: relative;
  overflow: hidden;
}

.family-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20,15 C25,10 35,10 40,20 C35,10 25,10 20,15 C15,10 5,10 0,20 C5,10 15,10 20,15 Z" fill="rgba(196,164,132,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
  opacity: 0.6;
}

.family-content {
  position: relative;
  z-index: 2;
}

/* Single White Text Section */
.family-text-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

.family-intro-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.family-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #d4b896);
  border-radius: 20px;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(196, 164, 132, 0.4);
}

.family-intro-text h3 {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
}

.family-intro-text p {
  color: #5a6c7d;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.family-intro-text p:last-child {
  margin-bottom: 0;
}

/* Family Values Grid */
.family-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.family-value-item {
  background: rgba(107, 138, 154, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(107, 138, 154, 0.1);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.family-value-item:hover {
  transform: translateY(-5px);
  background: rgba(107, 138, 154, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(107, 138, 154, 0.3);
}

.value-content h4 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.value-content p {
  color: #5a6c7d;
  line-height: 1.6;
  margin: 0;
}

/* Horizontal Widescreen Gallery */
.family-widescreen-gallery {
  position: relative;
}

.widescreen-image-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  background: #000;
}

.widescreen-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  opacity: 0;
  transition: all 0.8s ease;
  z-index: 1;
}

.widescreen-background.active {
  opacity: 0.7;
}

.widescreen-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: all 0.8s ease;
  transform: scale(1.02);
  z-index: 2;
}

.widescreen-image.active {
  opacity: 1;
  transform: scale(1);
}

.widescreen-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px;
  color: white;
  z-index: 2;
}

.widescreen-caption h4 {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: white;
}

.widescreen-caption p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  color: white;
}

/* Widescreen Controls */
.widescreen-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.widescreen-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.widescreen-nav:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.widescreen-indicators {
  display: flex;
  gap: 15px;
}

.indicator {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.family-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #d4b896);
  border-radius: 20px;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(196, 164, 132, 0.4);
}

.family-intro-text h3 {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.family-intro-text p {
  color: #5a6c7d;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.family-intro-text p:last-child {
  margin-bottom: 0;
}

/* Family Photo Gallery */
.family-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.family-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  height: fit-content;
}

.main-family-photo {
  grid-row: 1 / 3;
  grid-column: 1;
}

.family-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.main-family-photo {
  aspect-ratio: 3/4;
}

.family-photo:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.family-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.family-photo:hover .family-image {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 25px;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

.family-photo:hover .photo-overlay {
  opacity: 1;
}

.photo-caption h4 {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.photo-caption p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Family Values */
.family-values {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.family-value-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.family-value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(107, 138, 154, 0.3);
}

.value-content h4 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.value-content p {
  color: #5a6c7d;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design for Family Section */
@media (max-width: 992px) {
  .family-text-section {
    padding: 40px;
  }
  
  .family-intro-text h3 {
    font-size: 2.2rem;
  }
  
  .widescreen-image-container {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .family-text-section {
    padding: 30px 20px;
  }
  
  .family-intro-card {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .family-intro-text h3 {
    font-size: 1.8rem;
  }
  
  .family-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .family-value-item {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .widescreen-image-container {
    height: 400px;
  }
  
  .widescreen-overlay {
    padding: 25px;
  }
  
  .widescreen-caption h4 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .family-section {
    padding: 80px 0;
  }
  
  .family-text-section {
    padding: 25px 15px;
    margin-bottom: 40px;
  }
  
  .family-intro-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .family-intro-text h3 {
    font-size: 1.6rem;
  }
  
  .widescreen-image-container {
    height: 300px;
    border-radius: 20px;
  }
  
  .widescreen-controls {
    gap: 20px;
    margin-top: 20px;
  }
  
  .widescreen-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .indicator {
    width: 12px;
    height: 12px;
  }
}

/* Educational Videos Section */
.educational-videos-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--light-bg) 100%);
  position: relative;
}

.modern-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.video-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.video-card:hover .play-button {
  transform: scale(1);
}

.video-info {
  padding: 30px;
}

.video-info h4 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.video-info p {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.video-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(107, 138, 154, 0.3);
}

/* Videos CTA */
.videos-cta {
  text-align: center;
  padding: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.videos-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="50" height="50" patternUnits="userSpaceOnUse"><polygon points="25,5 45,17.5 45,32.5 25,45 5,32.5 5,17.5" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 2;
}

.videos-cta h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.videos-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dr-carter-hero .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-credentials {
    flex-direction: column;
    align-items: center;
  }
  
  .credential-item {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
  
  .personal-header {
    flex-direction: column;
    text-align: center;
  }
  
  .personal-details {
    grid-template-columns: 1fr;
  }
  
  .modern-video-grid {
    grid-template-columns: 1fr;
  }
  
  .videos-cta {
    padding: 40px 20px;
  }
  
  .videos-cta h3 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .personal-life-card {
    padding: 30px 20px;
  }
  
  .text-block {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .dr-carter-hero .hero-title {
    font-size: 2rem;
  }
  
  .hero-credentials {
    gap: 15px;
  }
  
  .credential-item {
    padding: 15px 20px;
    gap: 10px;
  }
  
  .credential-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* === BOOK ONLINE BUBBLE STYLES === */
#online-scheduling {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 60px 0;
}

.book-online-bubble {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 3px solid rgba(107, 138, 154, 0.4);
  border-radius: 25px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
}

.book-online-bubble.high-visibility {
  background: rgba(255, 255, 255, 0.99);
  border: 4px solid #6B8A9A;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.book-online-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6B8A9A, #4A5350);
  border-radius: 25px 25px 0 0;
}

.book-online-bubble:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.book-online-bubble .bubble-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6B8A9A, #4A5350);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(107, 138, 154, 0.4);
}

.book-online-bubble h2 {
  color: #ffffff !important;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.book-online-bubble p,
.book-online-bubble .bubble-text {
  color: #ffffff !important;
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.book-online-bubble p:last-child,
.book-online-bubble .bubble-text:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments for book online bubble */
@media (max-width: 768px) {
  .book-online-bubble {
    padding: 40px 25px;
    margin: 0 15px 2rem;
    border-radius: 20px;
  }
  
  .book-online-bubble h2 {
    font-size: 2.5rem;
  }
  
  .book-online-bubble p,
  .book-online-bubble .bubble-text {
    font-size: 1.1rem;
  }
  
  .book-online-bubble .bubble-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .book-online-bubble {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  .book-online-bubble h2 {
    font-size: 2rem;
  }
  
  .book-online-bubble p,
  .book-online-bubble .bubble-text {
    font-size: 1rem;
  }
}

/* ============================================================
   DR. CARTER PAGE - CLEAN & EVEN LAYOUT
   ============================================================ */

/* About Dr. Carter Section */
.dr-carter-about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.dr-carter-about-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.dr-carter-about-section .section-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dr-carter-about-section .hero-subtitle {
  font-size: 1.5rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

/* Credentials Grid - Even Layout */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.credential-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.credential-card .credential-icon {
  background: #4a6b7c;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.credential-card .credential-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.credential-card .credential-content p {
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  font-size: 0.95rem;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 200px;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
}

/* About Content Section */
.about-content-section {
  background: white;
  padding: 3rem 0;
}

.about-content-wrapper {
  padding-right: 2rem;
}

.about-content-wrapper .section-header {
  margin-bottom: 2rem;
}

.about-content-wrapper .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
}

/* Text Blocks - Even Spacing */
.about-text-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.text-block {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.text-block:hover {
  transform: translateX(5px);
  background: #e9ecef;
}

.text-block-icon {
  background: #4a6b7c;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.text-block-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.text-block-content p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Image Gallery - Original Functionality Restored */
.dr-carter-image-gallery {
  position: relative;
  text-align: center;
  padding: 20px;
  z-index: 10; /* Ensure proper z-index */
  margin-bottom: 40px; /* Add margin */
}

.main-image-container {
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1/1; /* Square aspect ratio */
  max-width: 350px; /* Responsive size limit */
  margin-left: auto;
  margin-right: auto;
}

.main-doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem;
  transition: opacity 0.3s ease;
}

/* Ensure all text in image overlays is white */
.image-overlay * {
  color: white !important;
}

.image-caption h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white; /* Ensure white text */
}

.image-caption p {
  margin: 0;
  opacity: 0.9;
  color: white; /* Ensure white text */
}

/* Thumbnail Gallery - Original Layout */
.thumbnail-gallery {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 15; /* Ensure high z-index */
}

.thumbnail {
  width: 90px;
  height: 90px;
  border-radius: 50%; /* Make circular like the main version */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.thumbnail:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail.active {
  border-color: #4a6b7c;
  box-shadow: 0 5px 15px rgba(74, 107, 124, 0.3);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content-wrapper {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .dr-carter-image-gallery {
    padding-left: 0;
    padding: 15px;
  }
  
  .main-image-container {
    max-width: 300px;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .dr-carter-about-section .section-header h1 {
    font-size: 2.5rem;
  }
  
  .dr-carter-about-section .hero-credentials {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .dr-carter-image-gallery {
    padding: 20px 15px;
    top: 120px;
  }
  
  .main-image-container {
    max-width: 280px;
    border-radius: 25px;
  }
  
  .about-text-blocks {
    gap: 25px;
  }
  
  .text-block {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .text-block-icon {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  
  .thumbnail-gallery {
    gap: 15px;
  }
  
  .thumbnail {
    width: 75px;
    height: 75px;
  }
  
  .thumbnail:nth-child(2),
  .thumbnail:nth-child(3) {
    margin-top: 0;
  }
}

/* Scroll offset for anchor links to account for fixed navbar */
.service-section-clean {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

/* Clean Hero Section */
.services-hero-clean {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: calc(var(--header-height) + 2rem) 0 60px; /* Proper spacing for fixed navbar */
  text-align: center;
}

.hero-content-center {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title-clean {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle-clean {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-quick-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-pill {
  background: #4a6b7c;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-pill:hover {
  background: #6b8a9a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 107, 124, 0.3);
}

/* Clean Overview Cards */
.services-overview-clean {
  padding: 80px 0;
  background: white;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.overview-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.overview-card.medical .card-header {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
}

.overview-card.surgical .card-header {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #7b1fa2;
}

.overview-card.cosmetic .card-header {
  background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
  color: #ef6c00;
}

.overview-card.cash-services .card-header {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  color: #2e7d32;
}

.card-header {
  padding: 30px;
  text-align: center;
}

.card-header i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.card-content {
  padding: 30px;
}

.card-content p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-list li {
  color: #495057;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.card-button {
  background: #4a6b7c;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.card-button:hover {
  background: #6b8a9a;
  color: white;
  transform: translateY(-2px);
}

/* Clean Service Sections */
.service-section-clean {
  padding: 80px 0;
}

.medical-bg {
  background: #f8fbff;
}

.surgical-bg {
  background: #faf8ff;
}

.cosmetic-bg {
  background: #fffbf8;
}

.section-header-clean {
  text-align: center;
  margin-bottom: 60px;
}

.section-header-clean h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.section-header-clean p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Detail Cards */
.service-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card-clean {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-clean:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card-clean.featured {
  border: 3px solid #4a6b7c;
}

.service-card-header {
  padding: 25px 30px 20px;
  border-bottom: 1px solid #e9ecef;
}

.service-tag {
  background: #4a6b7c;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 15px;
}

.service-card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.service-card-body {
  padding: 30px;
}

.service-description p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-video iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.service-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 25px;
}

.service-benefits h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-benefits li {
  color: #495057;
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.service-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.service-btn {
  background: #4a6b7c;
  color: white;
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.service-btn:hover {
  background: #6b8a9a;
  color: white;
  transform: translateY(-2px);
}

/* Cosmetic Grid */
.cosmetic-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cosmetic-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cosmetic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cosmetic-icon {
  background: #f8f9fa;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.cosmetic-icon i {
  font-size: 2rem;
  color: #4a6b7c;
}

.cosmetic-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.cosmetic-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cosmetic-features {
  margin-bottom: 25px;
}

.cosmetic-features span {
  display: block;
  color: #495057;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.cosmetic-btn {
  background: #4a6b7c;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.cosmetic-btn:hover {
  background: #6b8a9a;
  color: white;
  transform: translateY(-2px);
}

/* Educational Section */
.educational-section-clean {
  padding: 80px 0;
  background: #f8f9fa;
}

.educational-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.educational-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.educational-card:hover {
  transform: translateY(-5px);
}

.educational-video iframe {
  width: 100%;
  height: 250px;
}

.educational-content {
  padding: 25px;
}

.educational-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.educational-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.educational-link {
  color: #4a6b7c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.educational-link:hover {
  color: #6b8a9a;
}

/* Clean CTA Section */
.cta-section-clean {
  background: linear-gradient(135deg, #4a6b7c 0%, #6b8a9a 100%);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.cta-content-clean h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content-clean p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-primary-btn {
  background: white;
  color: #4a6b7c;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-primary-btn:hover {
  background: #f8f9fa;
  color: #4a6b7c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-phone {
  text-align: center;
}

.cta-phone span {
  display: block;
  margin-bottom: 8px;
  opacity: 0.9;
}

.cta-phone a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.cta-phone a:hover {
  color: white;
  border-bottom-color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title-clean {
    font-size: 2.5rem;
  }
  
  .hero-quick-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-pill {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .overview-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cosmetic-grid-clean {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .educational-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cta-buttons-clean {
    flex-direction: column;
    gap: 20px;
  }
  
  .cta-primary-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cash-menu-card {
    margin-bottom: 1rem;
  }
  
  .cash-menu-image img {
    width: 100%;
    height: auto;
  }
}

/* ============================================================
   Cash Service Menu Styles
   ============================================================ */

.cash-menu-gallery {
  margin-top: 3rem;
}

.cash-menu-gallery .row:first-child {
  margin-bottom: 2rem;
}

.cash-menu-gallery .row:last-child {
  border-top: 2px solid rgba(74, 83, 80, 0.1);
  padding-top: 2rem;
}

.cash-menu-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cash-menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.cash-menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.cash-menu-title {
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
  position: relative;
}

.cash-menu-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

.cash-menu-image {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cash-menu-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(74, 83, 80, 0.05) 0%, rgba(74, 83, 80, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cash-menu-image:hover::after {
  opacity: 1;
}

.cash-menu-image img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  cursor: pointer;
  display: block;
}

.cash-menu-image img:hover {
  transform: scale(1.05);
}

.cash-menu-description {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 0;
}

/* Cash Service Menu Section Background */
#cash-service-menu {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  position: relative;
}

#cash-service-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

#cash-service-menu .section-header-clean {
  margin-bottom: 3rem;
  text-align: center;
}

#cash-service-menu .section-header-clean h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#cash-service-menu .section-header-clean p {
  color: var(--text-color);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cash Service Pricing Panel */
.cash-menu-scrollable-panel {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(74, 83, 80, 0.1);
  position: relative;
}

.cash-menu-scrollable-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 20px 20px 0 0;
}

/* Cash Service Categories */
.cash-service-categories {
  max-height: 75vh;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 15px;
  background: #f8f9fa;
  border: 2px solid rgba(74, 83, 80, 0.08);
}

.cash-service-categories::-webkit-scrollbar {
  width: 8px;
}

.cash-service-categories::-webkit-scrollbar-track {
  background: rgba(74, 83, 80, 0.1);
  border-radius: 4px;
}

.cash-service-categories::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.cash-service-categories::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.pricing-category {
  background: white;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(74, 83, 80, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pricing-category:last-child {
  margin-bottom: 0;
}

.category-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5a6b5d 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-header i {
  font-size: 1.8rem;
  opacity: 0.9;
}

.category-header h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.pricing-grid {
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.price-item {
  display: flex;
  justify-content: between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

.price-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.price-item.featured {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-left-color: #f39c12;
  font-weight: 600;
}

.price-item.premium {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left-color: #2196f3;
  font-weight: 600;
}

.service-name {
  flex: 1;
  color: var(--text-color);
  font-weight: 500;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  background: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pricing-disclaimer {
  margin-top: 2rem;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e4 100%);
  border-radius: 12px;
  border-left: 4px solid #e74c3c;
  overflow: hidden;
}

.disclaimer-content {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.disclaimer-content i {
  font-size: 1.5rem;
  color: #e74c3c;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.disclaimer-content h4 {
  color: #c0392b;
  margin: 0 0 0.8rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.disclaimer-content ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.disclaimer-content li {
  margin-bottom: 0.4rem;
}

/* Pricing Subcategories */
.pricing-subcategory {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(74, 83, 80, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.pricing-subcategory:last-child {
  margin-bottom: 0;
}

.pricing-subcategory h5 {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  color: var(--primary-color);
  margin: 0;
  padding: 0.8rem 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(74, 83, 80, 0.1);
}

.pricing-subcategory .price-item {
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-bottom: 1px solid rgba(74, 83, 80, 0.05);
  background: white;
}

.pricing-subcategory .price-item:last-child {
  border-bottom: none;
}

.pricing-subcategory .price-item:hover {
  background: #f8f9fa;
  transform: none;
  box-shadow: inset 3px 0 0 var(--primary-color);
}

.cash-menu-scroll-container {
  max-height: 70vh;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 15px;
  background: #f8f9fa;
  border: 2px solid rgba(74, 83, 80, 0.08);
}

.cash-menu-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.cash-menu-scroll-container::-webkit-scrollbar-track {
  background: rgba(74, 83, 80, 0.1);
  border-radius: 4px;
}

.cash-menu-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.cash-menu-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

.cash-menu-page {
  margin-bottom: 2rem;
  position: relative;
}

.cash-menu-page:last-child {
  margin-bottom: 0;
}

.cash-menu-page img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.cash-menu-page:hover img {
  transform: scale(1.02);
}

.page-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(74, 83, 80, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.scroll-indicator {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

.scroll-indicator i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Cash Service Menu */
@media (max-width: 768px) {
  .cash-menu-card {
    padding: 1.2rem;
  }
  
  .cash-menu-title {
    font-size: 1.2rem;
  }
  
  .cash-menu-description {
    font-size: 0.9rem;
  }
  
  #cash-service-menu {
    padding: 3rem 0;
  }
  
  .cash-menu-scrollable-panel {
    padding: 1.5rem;
  }
  
  .cash-service-categories {
    max-height: 65vh;
    padding: 0.5rem;
  }
  
  .category-header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .category-header i {
    font-size: 1.5rem;
  }
  
  .category-header h3 {
    font-size: 1.2rem;
  }
  
  .pricing-grid {
    padding: 1rem;
    gap: 0.6rem;
  }
  
  .price-item {
    padding: 0.8rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .service-name {
    font-size: 0.9rem;
  }
  
  .price {
    font-size: 1.1rem;
  }
  
  .disclaimer-content {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
  }
  
  .disclaimer-content h4 {
    font-size: 1rem;
  }
}