/* ============================================
   LUXE DENTAL AESTHETICS – FULL OVERRIDE THEME
   Pink: #B0336B
   Gold: #D4B46A
============================================ */
/* ===============================
   LUXE DENTAL – PURPLE GOLD THEME
   This file ONLY controls theme + custom layout
================================= */

:root {

  /* Background Colors */
  --background-color: #ffffff;
  --surface-color: #f8f6f2;

  /* Text Colors */
  --default-color: #444444;
  --heading-color: #B0336B;

  /* Brand Colors */
  --primary-color: #B0336B;
  --primary-dark: #9C2C5F;

  --accent-color: #D4B46A;
  --accent-light: #E2C780;

  --contrast-color: #ffffff;

}

/* ===============================
   HEADINGS FIX (If needed)
================================= */

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
}


/* ===============================
   FOOTER THEME FIX
================================= */

.footer {
  background-color: var(--primary-color);
  color: var(--contrast-color);
}

.footer a {
  color: var(--accent-color);
}

.footer a:hover {
  color: var(--contrast-color);
}

/* ===============================
   BUTTON CLEAN FIX
================================= */

.btn,
.btn-primary,
.btn-book-a-table {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--contrast-color);
  border-radius: 50px;
}

.btn:hover,
.btn-primary:hover,
.btn-book-a-table:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

button,
input[type="submit"] {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}

button:hover,
input[type="submit"]:hover {
  background-color: var(--accent-light);
}

/* ===============================
   FIX LOGO SIZE
================================= */

.header .logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .header .logo img {
    max-height: 40px;
  }
}

/* ===============================
   FIXED TOP INFO BAR
================================= */

.top-info-bar {
  background-color: #8f2d5b;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.top-info-content .info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 500;
}

.top-info-content .info-item a {
  color: #ffffff;
  text-decoration: none;
}

.top-info-content .info-item a:hover {
  text-decoration: underline;
}

/* Mobile top bar */
@media (max-width: 768px) {

  .top-info-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .top-info-content .info-item {
    justify-content: center;
    font-size: 13px;
  }
}


/* ===============================
   PUSH HEADER BELOW TOP BAR
================================= */

header.header {
  position: fixed;
  top: 50px;
  width: 100%;
  z-index: 9998;
}

body {
  padding-top: 120px; /* Adjust if header height changes */
}
/* ===============================
   HERO VIDEO
================================= */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}


/* ===============================
   BUTTON CLEAN FIX
================================= */

.btn,
.btn-primary,
.btn-book-a-table {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--contrast-color);
  border-radius: 50px;
}

.btn:hover,
.btn-primary:hover,
.btn-book-a-table:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

button,
input[type="submit"] {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}

button:hover,
input[type="submit"]:hover {
  background-color: var(--accent-light);
}


/* ===== SECTIONS ===== */
section {
  background-color: #ffffff !important;
}

.section-bg {
  background-color: #f8f6f2 !important;
}

/* ===== CARDS ===== */
.card,
.icon-box,
.surface-box {
  background-color: #ffffff !important;
  border: 1px solid #f1f1f1 !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #B0336B !important;
  color: #ffffff !important;
}

.footer h4,
.footer .logo span {
  color: #ffffff !important;
}

.footer a {
  color: #D4B46A !important;
}

.footer a:hover {
  color: #ffffff !important;
}

.footer .newsletter-form input[type="submit"] {
  background-color: #D4B46A !important;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  background-color: #B0336B !important;
}

.scroll-top:hover {
  background-color: #9C2C5F !important;
}

/* ===== PRELOADER ===== */
#preloader {
  background: #ffffff !important;
}

#preloader:before {
  border-color: #B0336B transparent #B0336B transparent !important;
}
.header .logo img {
  max-height: 100px;
  width: auto;
  display: block;
}
/* === FIXED TOP INFO BAR === */
.top-info-bar {
  background-color: #8f2d5b;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* Top bar text/icons */
.top-info-content .info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 500;
}

.top-info-content .info-item i {
  font-size: 16px;
  color: #ffffff;
}

.top-info-content .info-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.top-info-content .info-item a:hover {
  text-decoration: underline;
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  .top-info-content {
    flex-direction: column;  /* Stack items */
    align-items: center;
    text-align: center;
  }

  .top-info-content .info-item {
    justify-content: center;
    font-size: 13px;
  }

}

/* === PUSH MAIN HEADER DOWN (under fixed topbar) === */
header.header {
  position: fixed;
  top: 50px;   /* SAME AS TOP BAR HEIGHT */
  width: 100%;
  z-index: 9998;
}

/* === Prevent hero from sliding under both bars === */
body {
  padding-top: 120px;   /* topbar (50px) + header(70px) adjust if needed */
}
/* Hero Background Video */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about {
  padding: 100px 0;
  background: #f9f9f9;
}

/* ===== Section Title ===== */
.about .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.about .section-title h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about .section-title p {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}
/* Force equal height columns in About section */
.about .row {
  display: flex;
  align-items: stretch;
}

/* ===== Content Layout ===== */
.about .row.align-items-center {
  align-items: stretch !important;
}

/* ===== Left Content ===== */
.about .about-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about .about-content h2 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 32px;
}

.about .about-content .fst-italic {
  font-size: 16px;
  margin-bottom: 15px;
  color: #666;
}

.about .about-content p {
  font-size: 15px;
  color: #555;
}

.about .about-content .feature-item {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about .about-content .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about .about-content .feature-item i {
  font-size: 28px;
  color: #d17842; /* Accent color */
  margin-bottom: 12px;
  display: inline-block;
}

.about .about-content .feature-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.about .about-content .feature-item p {
  margin-bottom: 0;
  font-size: 14px;
}

.about .about-content .signature .chef-name {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 5px;
}

.about .about-content .signature img {
  max-width: 160px;
  height: auto;
  margin-top: 5px;
}

/* ===== Gallery ===== */
.about .about-gallery {
  position: relative;
}

/* Equal size for first two images */
.about .about-gallery .col-6 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Bigger bottom image */
.about .about-gallery .col-12 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about .about-gallery img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about .about-gallery img:hover {
  transform: scale(1.03);
}

/* ===== Years Badge ===== */
.about .about-gallery .years-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 2;
  background-color: #d17842;
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .about-gallery .years-badge .number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.about .about-gallery .years-badge .text {
  font-size: 14px;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about .about-gallery {
    margin-top: 40px;
  }

  .about .about-gallery .col-6 img,
  .about .about-gallery .col-12 img {
    height: auto;
  }

  .about .section-title h1 {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .about .section-title h1 {
    font-size: 28px;
  }

  .about .section-title p {
    font-size: 13px;
  }
}
/* Gallery Section */
.gallery .gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;   /* Keeps all boxes same ratio */
  overflow: hidden;
  border-radius: 8px;
  background: #f3f3f3;
}

/* Image */
.gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* Shows full image */
  display: block;
  transition: 0.4s ease-in-out;
}

/* Hover */
.gallery .gallery-item:hover img {
  transform: scale(1.05);
}
/* ==========================================
   DOCTORS SECTION COMPLETE UPDATED CSS
========================================== */

#doctors {
  padding: 80px 0;
  background: #f9f9f9;
}

/* Doctor Card */
.doctor-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hover Effect */
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===============================
   IMAGE FIX (EQUAL SIZE IMAGES)
================================ */

.doctor-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.05);
}

/* ===============================
   CONTENT AREA
================================ */

.doctor-content {
  padding: 22px;
  text-align: center;
  flex-grow: 1;
}

/* Doctor Name - THEME PINK */
.doctor-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e83e8c;  /* ✅ Pink Theme */
  letter-spacing: 0.5px;
}

/* Doctor Specialty - Larger + Proper Alignment */
.doctor-specialty {
  font-size: 16px;        /* Increased size */
  font-weight: 500;
  color: #555;
  display: block;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: center;     /* Equal alignment */
  min-height: 60px;       /* Makes all cards equal height */
}

/* Bio */
.doctor-bio {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .doctor-image {
    height: 260px;
  }
}

@media (max-width: 576px) {
  .doctor-image {
    height: 300px;
  }
}
/* =========================================
   PAGE TITLE SECTION (NO BLUR / CLEAN)
========================================= */

.page-title {
  background: #ffffff;
  padding: 90px 0;
  text-align: center;
}

.page-title .breadcrumb {
  background: transparent;
  justify-content: center;
  margin-bottom: 15px;
}

.page-title .breadcrumb-item,
.page-title .breadcrumb-item a {
  color: #444 !important;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.page-title h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 10px;
}

.page-title p {
  font-size: 18px;
  color: #666;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about {
  padding: 80px 0 100px 0;
  margin-top: -40px;   /* this creates overlap */
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}
/* =========================================
   PAGE TITLE (ABOUT SECTION TOP)
========================================= */



/* Dark overlay so text is not blurry */
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
}

/* Title wrapper */
.page-title .title-wrapper {
  position: relative;
  z-index: 2;
}

/* About Heading */
.page-title h1 {
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Subtitle */
.page-title p {
  font-size: 20px;
  color: #f1f1f1;
}


/* LEFT CONTENT */

.about .content h2 {
  font-size: 38px;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 20px;
  position: relative;
}

.about .content h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #c9a227;
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
}

.about .content p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

/* =========================================
   STATS BOX
========================================= */

.stats-container {
  margin-top: 30px;
}

.stat-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  text-align: center;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 34px;
  font-weight: 700;
  color: #c9a227;
}

.stat-label {
  font-size: 15px;
  color: #555;
  margin-top: 6px;
}

/* =========================================
   BUTTONS
========================================= */

.cta-buttons {
  margin-top: 30px;
}

.cta-buttons a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  margin-right: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: #0d1b2a;
  color: #fff;
}

.btn-primary:hover {
  background: #c9a227;
  color: #fff;
}

.btn-secondary {
  border: 2px solid #0d1b2a;
  color: #0d1b2a;
  background: transparent;
}

.btn-secondary:hover {
  background: #0d1b2a;
  color: #fff;
}

/* =========================================
   IMAGE SECTION
========================================= */

.image-section {
  position: relative;
}

.main-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: 0.4s ease;
}

.main-image img:hover {
  transform: scale(1.03);
}

.image-grid {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.grid-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: 0.4s ease;
}

.grid-item img:hover {
  transform: scale(1.05);
}

/* =========================================
   CERTIFICATIONS SECTION (LARGER IMAGES)
========================================= */

.certifications-section {
  margin-top: 100px;
  text-align: center;
}

.certifications-section p {
  font-size: 20px;
  color: #555;
  margin-bottom: 50px;
}

.certifications-grid {
  display: flex;
  justify-content: center;
  gap: 50px;              /* more spacing */
  flex-wrap: wrap;
}

/* Bigger Card */
.certification-item {
  width: 300px;           /* increased from 220px */
  height: 280px;          /* increased height */
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: 0.4s ease;
  padding: 15px;
}

/* Bigger Image */
.certification-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* makes image fill properly */
  border-radius: 15px;
  transition: 0.4s ease;
}

/* Hover Effect */
.certification-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.15);
}

.certification-item:hover img {
  transform: scale(1.05);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 992px) {

  .page-title h1 {
    font-size: 34px;
  }

  .about .content h2 {
    font-size: 28px;
  }

  .image-grid {
    flex-direction: column;
  }

  .certification-item {
    width: 200px;
    height: 220px;
  }

}
/* --------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/

.gallery .gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background: #fff;
  transition: .3s;
  padding-bottom: 20px;
   margin-bottom: 40px; 
}

.gallery .gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: .4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item h1 {
  text-align: center;
  font-size: 20px;
  margin-top: 12px;
  color: #333;
}
.gallery-item h3,
.gallery-item h1,
.gallery-item h2 {
  text-align: center;
  font-size: 20px;
  color: #b93d6b; /* your pink */
  margin-top: 15px;      /* space between image + heading */
  margin-bottom: 50px;   /* space between heading + next picture */
  font-weight: 700;
}
/* =====================================================
   REVIEWS HERO SECTION
===================================================== */

.reviews-hero {
  background: 
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('assets/img/dental checkup.webp') center center/cover no-repeat;
  padding: 140px 0;
  color: #fff;
  text-align: center;
}

.reviews-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.reviews-hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* =====================================================
   RATING SUMMARY
===================================================== */

.rating-summary {
  padding: 70px 0;
  background: #fff;
  text-align: center;
}

.rating-summary h2 {
  font-size: 40px;
  font-weight: 700;
  color: #B0336B;
  margin-bottom: 10px;
}

.rating-summary p {
  font-size: 18px;
  color: #555;
}

.stars {
  margin: 15px 0;
}

.stars i {
  color: #D4B46A;
  font-size: 28px;
  margin: 4px;
}

/* === FIX: Limit background area ONLY to reviews section === */
.featured-reviews {
  background: linear-gradient(135deg, #b795a6, #795e6c);
  padding: 40px 0 40px 0 !important; 
  position: relative;
  overflow: hidden;
}

/* === FIX: Remove extra spacing from the title === */
.featured-reviews .section-title {
  margin-bottom: 20px !important;
  padding: 0 !important;
}

/* === FIX: Lock slider height (avoids extra background area) === */
.review-slider img {
  height: 350px; 
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* === FIX: Move dots UP === */
.review-slider {
  padding-bottom: 20px !important;
}

.review-slider .swiper-pagination {
  bottom: 0px !important; 
}

/* === Fix bullets appearing outside === */
.swiper-pagination-bullet {
  background: #ddd !important;
}
.swiper-pagination-bullet-active {
  background: #B0336B !important;
}
/* =====================================================
   REVIEW CARD
===================================================== */

.review-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  background: #fff;
}

.review-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.review-card:hover img {
  transform: scale(1.08);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Review Text Overlay */

.review-content {
  padding: 25px;
  text-align: center;
}

.review-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.review-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* =====================================================
   SWIPER PAGINATION
===================================================== */

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #B0336B;
}

/* =====================================================
   REVIEW CTA SECTION
===================================================== */

.review-cta {
  background: linear-gradient(135deg, #B0336B, #8f2d5b);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.review-cta h2 {
  font-size: 34px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff !important;
}

.review-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.review-cta a {
  display: inline-block;
  background: #D4B46A;
  color: #000 !important;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.review-cta a:hover {
  background: #ffffff;
  color: #B0336B !important;
  transform: translateY(-3px);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {
  .reviews-hero h1 {
    font-size: 36px;
  }

  .rating-summary h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .reviews-hero {
    padding: 100px 0;
  }

  .reviews-hero h1 {
    font-size: 28px;
  }

  .review-card img {
    height: 220px;
  }

  .review-cta h2 {
    font-size: 26px;
  }
}
    
    .section-title {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-title h2 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      font-size: 36px;
      color: #222;
    }
/* Header Logo */
.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 60px;   /* Better desktop size */
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  .header .logo img {
    max-height: 100px;  /* Smaller on mobile */
  }

  .header .logo {
    display: flex;
    align-items: center;
  }

  .branding .container {
    padding: 10px 15px;
  }

}
/*--------------------------------------------------------------
# Why Us Section - Luxury Background Version
--------------------------------------------------------------*/

.why-us {
  position: relative;
  padding: 120px 0;
  background-image: url("../img/orthodontic.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.why-us .container {
  position: relative;
  z-index: 2;
}


/* Section Title */
.why-us .section-title h2 {
  color: #c9a227;
  font-weight: 700;
  letter-spacing: 2px;
}

.why-us .section-title p {
  color: #ffffff;
  font-size: 34px;
  font-weight: 600;
  margin-top: 10px;
}

/* Cards */
.why-us .card-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 50px 35px;
  border-radius: 25px;
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Number */
.why-us .card-item span {
  color: #c9a227;
  display: block;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Heading */
.why-us .card-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.why-us .card-item h4 a {
  color: #ffffff;
  text-decoration: none;
}

/* Text */
.why-us .card-item p {
  font-size: 15px;
  color: #e6e6e6;
  margin: 0;
}

/* Hover Effect */
.why-us .card-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 1px solid #c9a227;
}

/* Hover Text Effect */
.why-us .card-item:hover span {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 992px) {
  .why-us {
    padding: 80px 0;
  }

  .why-us .section-title p {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .why-us .card-item {
    padding: 40px 25px;
  }
}
/* Remove purple overlay from hero section */
#hero.dark-background::before {
  content: none !important;
}

/* OR — If your template forces the overlay color */
#hero::before {
  background: none !important;
  opacity: 0 !important;
}
main {
  margin-top: 40px;
}

@media (max-width: 768px) {
  main {
    margin-top: 50px;
  }
}