/* =======================
   ROOT VARIABLES
======================= */
:root {
  --primary: #165F7E;
  --secondary: #B4E1F3;
  --gradient-left: #B4E1F3;
  --gradient-right: #115B7B;

  --card-bg: rgba(255, 255, 255, 0.95);
  --text-dark: #0f172a;
  --text-light: #ffffff;

  --radius: 18px;
  --container-width: 1200px;
}

/* =======================
   RESET & BASE
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text-dark);
}

/* =======================
   GLOBAL PAGE GRADIENT
======================= */
.page-wrapper {
  min-height: 100vh;
  background: linear-gradient(
    to right,
    var(--gradient-left),
    var(--gradient-right)
  );
}

/* =======================
   CONTAINER
======================= */
.container {
  max-width: var(--container-width);
  margin: auto;
  padding: 40px 20px;
}

/* =======================
   NAVBAR (BIG LOGO, NORMAL HEIGHT)
======================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 95, 126, 0.85);
  backdrop-filter: blur(10px);
  overflow: visible;
}

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

/* LOGO WRAPPER (CONTROLS NAV HEIGHT) */
.logo {
  height: 70px;
  display: flex;
  align-items: center;
}

/* LOGO IMAGE (VISUALLY LARGE) */
.logo img {
  height: 70px;                 /* layout size */
  width: auto;
  transform: scale(2.2);        /* visual size */
  transform-origin: left center;
  pointer-events: auto;
}

/* NAV LINKS */
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* UNDERLINE HOVER */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* BOOK APPOINTMENT BUTTON */
nav a:last-child {
  background: white;
  color: #165F7E;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
}

nav a:last-child::after {
  display: none;
}

/* =======================
   MOBILE NAVBAR (ONE LINE)
======================= */
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    height: 55px;
  }

  .logo img {
    height: 55px;
    transform: scale(1.6);
  }

  nav {
    gap: 12px;
    flex-wrap: nowrap;
  }

  nav a {
    font-size: 0.85rem;
  }

  nav a:last-child {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* =======================
   HERO
======================= */
.hero-section {
  padding: 80px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero-content p {
  color: var(--text-light);
  max-width: 500px;
}

.hero-actions a {
  display: inline-block;
  margin-right: 15px;
  margin-top: 20px;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.hero-actions a:first-child {
  background: white;
  color: var(--primary);
}

.hero-actions a:last-child {
  border: 2px solid white;
  color: white;
}

.hero-media video {
  width: 100%;
  border-radius: var(--radius);
}

/* =======================
   SECTION HEADINGS
======================= */
section h2 {
  margin-bottom: 25px;
  color: var(--text-light);
}

/* =======================
   WHY CHOOSE US
======================= */
.why-choose-us {
  padding: 5rem 0;
  background: var(--section-bg, #f9f9f9);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1.5rem;
}

/* Base card */
.why-card {
  background: var(--card-bg, #ffffff);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.why-card h3 {
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.why-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Wide card (like the image) */
.why-card--wide {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark, var(--primary))
  );
  color: #fff;
}

.why-card--wide h3,
.why-card--wide p {
  color: #fff;
}

/* Highlight card (bottom right in image) */
.why-card--highlight {
  grid-column: span 2;
  background: var(--secondary);
}

.why-card--highlight h3,
.why-card--highlight p {
  color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .why-card,
  .why-card--wide,
  .why-card--highlight {
    grid-column: span 1;
  }
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-choose-us {
  animation: slideUpFade 0.9s ease-out both;
}
@keyframes softBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.why-card {
  animation: softBounce 4s ease-in-out infinite;
}
.why-card:nth-child(1) {
  animation-delay: 0s;
}

.why-card:nth-child(2) {
  animation-delay: 0.4s;
}

.why-card:nth-child(3) {
  animation-delay: 0.8s;
}

.why-card:nth-child(4) {
  animation-delay: 1.2s;
}
.why-card:hover {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .why-choose-us,
  .why-card {
    animation: none;
  }
}

/* =======================
   SERVICES
======================= */
.service-card {
  min-width: 240px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 35px 25px;
  font-weight: 600;
  text-align: center;
  border-left: 6px solid var(--primary);
}

/* =======================
   SPLIT SECTIONS
======================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.text-content {
  background: var(--card-bg);
  padding: 35px;
  border-radius: var(--radius);
}

.image-content img {
  width: 100%;
  border-radius: var(--radius);
}

/* =======================
   PRACTICE HOURS
======================= */
.practice-hours {
  background: #f7f9fb;
  padding: 60px 20px;

  opacity: 0;
  transform: translateY(60px);
}

.practice-hours.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* LAYOUT */
.hours-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* MAP */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  border-radius: 16px;
  background: #165F7E;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.map-placeholder:hover {
  transform: scale(1.03);
  background: #0f4c66;
}

/* TEXT */
.hours-text h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #165F7E;
}

.hours-text p {
  margin-bottom: 8px;
  color: #333;
}

/* BUTTON */
.nav-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: #165F7E;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: #0f4c66;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hours-layout {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    height: 200px;
  }
}

/* =======================
   FORMS
======================= */
form {
  background: var(--card-bg);
  padding: 35px;
  border-radius: var(--radius);
  max-width: 520px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
}

form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

/* ============================
   HOME GALLERY – FULL GRID
============================ */
.home-gallery {
  padding: 90px 0;
}

/* Header */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.gallery-header h2 {
  color: white;
  font-size: 2.2rem;
}

.view-gallery-link {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.view-gallery-link:hover {
  text-decoration: underline;
}

/* Grid */
.gallery-magazine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 22px;
}

/* Card */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay */
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.15)
  );
}

/* Text */
.gallery-info {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: white;
}

.gallery-info span {
  font-weight: 700;
}

.gallery-info p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Hover */
.gallery-card:hover img {
  transform: scale(1.08);
}

/* Layout modifiers */
.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card.tall {
  grid-row: span 2;
}

/* Mobile */
@media (max-width: 900px) {
  .gallery-magazine {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-header {
    flex-direction: column;
    gap: 10px;
  }

  .view-gallery-link {
    align-self: flex-end;
  }
}
/* ============================
   GALLERY ANIMATION
============================ */
.gallery-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.gallery-card.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* ============================
   LIGHTBOX
============================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* =======================
   MEET THE DENTIST (EDITORIAL)
======================= */

/* Section spacing */
.meet-dentist {
  padding: 100px 0;
}

/* Heading top-left */
.meet-title {
  font-size: 2.4rem;
  margin-bottom: 50px;
  color: white;
}

/* Two-column layout underneath */
.meet-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* Image styling */
.meet-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Text block */
.meet-text p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.meet-text h3 {
  margin: 20px 0 10px;
}

/* Qualifications list */
.meet-text ul {
  padding-left: 18px;
}

.meet-text li {
  margin-bottom: 6px;
}

/* Mobile */
@media (max-width: 900px) {
  .meet-layout {
    grid-template-columns: 1fr;
  }

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

/* =======================
   MEET THE DENTIST TEXT COLOR
======================= */
.meet-dentist {
  color: white;
}

.meet-dentist p,
.meet-dentist li,
.meet-dentist h3 {
  color: white;
}

/* =======================
   MEET SECTION ANIMATION
======================= */

/* Start hidden */
.slide-left,
.slide-right {
  opacity: 0;
  transition: all 0.9s ease;
}

/* Image enters from left */
.slide-left {
  transform: translateX(-80px);
}

/* Text enters from right */
.slide-right {
  transform: translateX(80px);
}

/* Active state when visible */
.slide-left.active,
.slide-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* SECTION BACKGROUND */
.fees-section {
  background: #165F7E;
  padding: 50px 20px;
  color: #ffffff;

  /* hidden before JS animation */
  opacity: 0;
  transform: translateX(-60px);
}

/* JS will add this */
.fees-section.animate {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
}

/* MAIN LAYOUT */
.fees-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

/* LEFT TEXT */
.fees-text h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.fees-text p {
  opacity: 0.9;
  line-height: 1.6;
  max-width: 420px;
  font-size: 0.95rem;
}

/* RIGHT GRID */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* POLICY CARD */
.policy-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 14px;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.policy-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
}

/* ICON + TITLE INLINE */
.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.card-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.policy-card h3 {
  font-size: 1rem;
  margin: 0;
}

.policy-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .fees-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .fees-text p {
    max-width: 100%;
  }
}
/* =======================
   FOOTER
======================= */
.site-footer {
  background: #165F7E;
  color: #ffffff;
  padding-top: 35px; /* reduced height */
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
  padding-bottom: 25px; /* reduced */
  align-items: start;
}

/* CENTER ALIGNMENT */
.footer-center {
  text-align: center;
}

/* TITLES */
.footer-col h3,
.footer-col h4 {
  margin-bottom: 10px;
}

/* TEXT */
.footer-col p {
  margin-bottom: 6px;
  opacity: 0.9;
  line-height: 1.4;
  font-size: 0.9rem;
}

.footer-slogan {
  opacity: 0.85;
}

/* LINKS */
.footer-link {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.footer-link:hover {
  opacity: 1;
  transform: translateX(3px);
}

/* CONTACT BUTTONS */
.contact-btn {
  display: block;
  margin-bottom: 8px;
  padding: 8px 12px; /* smaller buttons */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.25s ease;
}

/* Call */
.call-btn {
  background: #ffffff;
  color: #165F7E;
}

.call-btn:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
}

/* WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: #ffffff;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 12px 10px; /* reduced */
  font-size: 0.8rem;
  opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-link:hover {
    transform: none;
  }
}

/* =======================
   RESPONSIVE LAYOUT
======================= */
@media (max-width: 900px) {
  .hero-layout,
  .split-layout {
    grid-template-columns: 1fr;
  }
}

/* =======================
   SCROLL REVEAL (SECTIONS)
======================= */
section {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

section.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* =======================
   STAGGERED CHILD ANIMATION
======================= */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-stagger.reveal-active > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.reveal-active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.reveal-active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.reveal-active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.reveal-active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.reveal-active > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.reveal-active > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.reveal-active > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger.reveal-active > *:nth-child(8) { transition-delay: 0.8s; }

/* =========================
   LOGO LOADER (SPLIT REVEAL)
========================= */
#logo-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(to right, #B4E1F3, #115B7B);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.logo-mask {
  width: min(90vw, 420px);
}

.logo-mask img {
  width: 100%;
  display: block;
  clip-path: inset(0 0 100% 0);
  animation: revealTeeth 1.1s ease forwards;
}

@keyframes revealTeeth {
  to {
    clip-path: inset(0 0 48% 0);
  }
}

.logo-mask.reveal-text img {
  animation: revealFull 0.9s ease forwards;
}

@keyframes revealFull {
  to {
    clip-path: inset(0 0 0 0);
  }
}

#logo-loader.hide {
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

/* =======================
   SECTION CTA (RIGHT ALIGNED)
======================= */
.section-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 25px;
}

.section-cta a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.section-cta a::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.section-cta a:hover::after {
  transform: translateX(6px);
}

.small-note {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

/* =======================
   GALLERY (MODERN CARDS)
======================= */
.gallery-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* =======================
   BLOG (CARD GRID)
======================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.blog-card h3 {
  margin-bottom: 10px;
}

.blog-card p {
  margin-bottom: 15px;
  color: #334155;
}

.blog-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.15);
}

/* =======================
   REVIEWS SLIDER
======================= */
.reviews-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

/* Review Card */
.review-card {
  min-width: 300px;
  max-width: 320px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  scroll-snap-align: center;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

/* Patient Image */
.review-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Stars */
.stars {
  color: #fbbf24; /* gold */
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Text */
.review-card p {
  font-style: italic;
  margin-bottom: 12px;
}

.review-card strong {
  color: var(--primary);
}

/* =======================
   REVIEW ACTION LINKS
======================= */
.review-action {
  color: white;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.review-action:hover {
  text-decoration: underline;
}

/* =======================
   BLOG PAGE
======================= */
.blog-page h1 {
  color: white;
  margin-bottom: 30px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.blog-post {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform .35s ease, box-shadow .35s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.blog-post h2 {
  margin-bottom: 10px;
}

.blog-post p {
  color: #334155;
}

/* =======================
   BOOKING PAGE
======================= */
.booking-section h1 {
  color: white;
  margin-bottom: 25px;
}

.booking-section form {
  margin-top: 20px;
}

.booking-section form input,
.booking-section form select,
.booking-section form textarea {
  background: rgba(255,255,255,0.95);
}

/* =======================
   GALLERY PAGE
======================= */
.gallery-section h1 {
  color: white;
  margin-bottom: 30px;
}

.gallery-section .gallery-item {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #334155;
}

/* =======================
   REVIEWS PAGE
======================= */
.all-reviews-section h2 {
  color: white;
  margin-bottom: 30px;
}

.all-reviews-section .review-card {
  text-align: center;
}

/* =======================
   SERVICES PAGE
======================= */
.services-page h1 {
  color: white;
  margin-bottom: 30px;
}

.services-page article {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.services-page article h2 {
  margin-bottom: 8px;
}

/* ============================
   SERVICES HUB — FULL BANNER
============================ */
.services-hub-banner {
  position: relative;
  padding: 90px 0 110px;

  /* BACKGROUND IMAGE */
  background-image: url("../../images/services-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* DARK OVERLAY (LIKE REFERENCE IMAGE) */
.services-hub-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.35)
  );
  z-index: 1;
}

/* KEEP CONTENT ABOVE OVERLAY */
.services-hub-banner .container {
  position: relative;
  z-index: 2;
}

/* TITLE */
.services-banner-title {
  color: white;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 50px;
  max-width: 600px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

/* SERVICES LAYOUT */
.services-banner-content {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* SERVICE ITEM */
.service-banner-item {
  position: relative;
  text-decoration: none;
}

/* CIRCLE IMAGE */
.circle-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  transition: transform 0.35s ease;
}

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

/* LABEL OVERLAP */
.circle-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f4f78;
  color: white;
  padding: 12px 26px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  white-space: nowrap;
}

/* HOVER */
.service-banner-item:hover .circle-image {
  transform: scale(1.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .services-banner-title {
    text-align: center;
    font-size: 1.9rem;
  }

  .circle-image {
    width: 170px;
    height: 170px;
  }
}
/* ============================
   SLIDE IN FROM RIGHT (SERVICES)
============================ */
.slide-in-right {
  opacity: 0;
  transform: translateX(120px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

/* When visible */
.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ============================
   SERVICE CIRCLE ANIMATION
============================ */
.circle-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* Activated state */
.circle-animate.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background: #1ebe5d;
}


/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 90px; /* sits above WhatsApp */
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #165F7E;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #0f4c66;
}

/* =======================
   Q&A SECTION
======================= */
.qa-section {
  padding: 110px 0;
}

.qa-title {
  color: white;
  font-size: 2.3rem;
  margin-bottom: 50px;
}

/* Horizontal carousel */
.qa-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

/* Hide scrollbar */
.qa-carousel::-webkit-scrollbar {
  display: none;
}

/* Cards */
.qa-card {
  flex: 0 0 320px;
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  padding: 28px;
  scroll-snap-align: center;

  opacity: 0.35;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

/* Active center card */
.qa-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.qa-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.qa-card p {
  color: #334155;
  line-height: 1.6;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .qa-card {
    flex: 0 0 85%;
  }
}

/* =======================
   Q&A SECTION BACKGROUND
======================= */
.qa-section {
  padding: 110px 0;
  background: #3C94B9; /* branded blue background */
}

html {
  scroll-behavior: smooth;
}