/* ===============================
   GLOBAL STYLES
=============================== */
/* ===============================
   GLOBAL STYLES
=============================== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fffdfd;
  padding-top: 90px; /* same as navbar height so content starts below it */
}
/* ===============================
   NAVBAR
=============================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background-color: #fdf6f1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;             /* 🔒 stays locked at the top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;               /* ensures it’s above all other elements */
  height: 90px;
  overflow: visible;
}

.brand-logo {
  height: 280px;
  width: auto;
  object-fit: contain;
  position: absolute;
  left: 40px;
  bottom: -88px;
  z-index: 1;
}

.navbar nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.navbar a {
  position: relative;
  color: #333;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease,
              box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #41c5b8;
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #41c5b8;
  background-color: rgba(65, 197, 184, 0.1);
  box-shadow: 0 2px 6px rgba(65, 197, 184, 0.15);
  transform: translateY(-1px);
}
.navbar a:hover::after { width: 100%; }

.navbar .booknow {
  font-weight: 700;
  color: #fff;
  background-color: #41c5b8;
  border-radius: 8px;
  padding: 8px 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.navbar .booknow:hover {
  background-color: #2ca798;
  transform: scale(1.05);
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
  position: relative;
  height: calc(100vh - 90px);
  background-color: #fffdfd;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.logo-area {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.logo {
  height: 80vh;
  width: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  object-fit: contain;
  transition: all 0.3s ease;
}
.logo:hover {
  filter: drop-shadow(0 0 20px rgba(65, 197, 184, 0.4));
  transform: scale(1.02);
}

/* ===============================
   CTA AREA
=============================== */
.cta-area {
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  background: #fffffffa;
  backdrop-filter: blur(8px);
  padding: 40px 50px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  text-align: left;
}
.cta-area h1 {
  color: #226d8d;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.6em;
}
.cta-area p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1.5em;
}
.get-started {
  background-color: #41c5b8;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(65, 197, 184, 0.25);
  transition: all 0.25s ease;
}
.get-started:hover {
  background-color: #2ca798;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(65, 197, 184, 0.3);
}

/* ===============================
   APPOINTMENT PANEL
=============================== */
.panel-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 99;
  background: transparent;
}
.panel-wrapper.active {
  pointer-events: all;
}

/* hidden by default */
.appointment-panel {
  position: fixed;
  top: 0;
  left: -45%;
  width: 45%;
  height: 100vh;
  background-color: #fdf6f1;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* keep normal flow */
  align-items: stretch;
  transition: left 0.4s ease;
  z-index: 99;
}
.panel-wrapper.active .appointment-panel {
  transform: translateX(0);
  opacity: 1;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.15);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* hard hide tab on wide screens */
@media (min-width: 769px) {
  .appointment-panel {
    transform: translateX(-200%) !important;
    box-shadow: none !important;
  }
  .appointment-panel.active {
    transform: translateX(0) !important;
  }
}

/* ===============================
   OVERLAY
=============================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 98;
}
.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===============================
   APPOINTMENT PANEL
=============================== */
.panel-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 99;
  background: transparent;
}
.panel-wrapper.active {
  pointer-events: all;
}

/* hidden by default */
.appointment-panel {
  position: fixed;
  top: 0;
  left: -45%;
  width: 45%;
  height: 100vh;
  background-color: #fdf6f1;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  transition: left 0.4s ease;
  z-index: 99;
}

.panel-wrapper.active .appointment-panel {
  left: 0; /* This is the key fix */
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.15);
}

/* Mobile styles */
@media (max-width: 768px) {
  .appointment-panel {
    width: 100%;
    left: -100%; /* Completely off-screen on mobile */
    border-radius: 0;
  }
  
  .panel-wrapper.active .appointment-panel {
    left: 0; /* Slide in fully on mobile */
  }
}

/* Remove or comment out these conflicting media queries: */
/*
@media (min-width: 769px) {
  .appointment-panel {
    transform: translateX(-200%) !important;
    box-shadow: none !important;
  }
  .appointment-panel.active {
    transform: translateX(0) !important;
  }
}
*/
/* ===============================
   CUSTOM DATE INPUT (CALENDAR)
=============================== */
.appointment-panel input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  color: #333;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/* Add a small calendar icon */
.appointment-panel input[type="date"]::-webkit-calendar-picker-indicator {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2341c5b8' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V6a2 2 0 00-2-2h-2V2h-2v2H9V2H7zm12 8H5v10h14V10z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 20px;
  cursor: pointer;
  opacity: 0.6;
}
.appointment-panel input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Hover & focus effects */
.appointment-panel input[type="date"]:hover {
  border-color: #41c5b8;
  box-shadow: 0 0 0 3px rgba(65, 197, 184, 0.15);
}
.appointment-panel input[type="date"]:focus {
  outline: none;
  border-color: #41c5b8;
  box-shadow: 0 0 0 4px rgba(65, 197, 184, 0.25);
}
/* ===============================
   STATS + REVIEWS SECTION
=============================== */
.stats-reviews {
  background: #fff;
  padding: 80px 10%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #222;
}
.stat img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 6px rgba(65,197,184,0.25));
}
.stat h3 {
  font-size: 2rem;
  color: #1f5a2b;
  margin: 0;
}
.stat p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* --- Review Carousel --- */
.review-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  height: 60px;
}
.review {
  position: absolute;
  width: 100%;
  opacity: 0;
  font-size: 1.2rem;
  color: #333;
  transition: opacity 1s ease;
}
.review.active {
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .stats-row { gap: 40px; }
  .stat img { width: 50px; height: 50px; }
  .review-carousel { height: auto; }
}
/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
  }
  .cta-area {
    align-items: center;
    padding: 0;
  }
  .cta-area p { max-width: 90%; }
  .logo-area { max-width: 90%; }
  .logo { width: 100%; height: auto; }

  .appointment-panel {
    width: 100%;
    transform: translateX(-110%);
    border-radius: 0;
  }
  .appointment-panel.active {
    transform: translateX(0);
  }
}
