/* ---- CSS Variables ---- */
:root {
  --primary: #007bff;
  --primary-dark: #0056cc;
  --primary-gradient: linear-gradient(271.58deg, #1A73E8 3.95%, #257BEC 96.98%);
  --text-dark: #0e1612;
  --text-body: #050C2D;
  --text-light: #6b7280;
  --bg-light-blue: #f5faff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --font-family: "Urbanist", sans-serif;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Urbanist';
  src: url('../fonts/urbanist-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  overflow-x: hidden;
}



/* ---- TOP BAR ---- */
.topbar {
  background: var(--primary);
  font-size: 16px;
  min-height: 40px;
}
.topbar-icon {
  font-size: 14px;
  opacity: 0.9;
}
.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: var(--radius-sm);
  color: #0E1612 !important;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-icon-btn i::before{
  color: #0E1612 !important;
}
.social-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* ---- NAVBAR ---- */
.main-nav {
  background: var(--bg-light-blue);
  border-bottom: 1px solid rgba(14, 22, 18, 0.1);
  padding: 0;
  z-index: 1000;
}
.navbar-brand.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  padding: 24px 0;
}
.main-nav .nav-link {
  font-size: 18px;
  color: var(--text-dark);
  padding: 28px 8px;
  transition: color 0.2s;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #0E1612;
}
.navbar-nav .nav-link.active {
  font-weight: 600; 
}

.btn-book {
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  padding: 12px 31px;
  white-space: nowrap;
}
.btn-book:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.navbar-toggler:focus, .btn-close:focus{
  box-shadow: none !important;
}

/* ---- SECTION COMMON ---- */
.section-heading {
  font-size: 48px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-body-text {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.75;
}
.bg-light-blue {
  background: var(--bg-light-blue);
}

/* ---- CLINICS ---- */
.section-clinics {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
.section-clinics .btn-book{
  width: auto !important;
}
.clinic-card {
  background: #FBFBFB;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.clinic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.clinic-img-wrap {
  overflow: hidden;
}
.clinic-img {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  object-fit: cover;
}
.clinic-info {
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Push the button row to the bottom so Call & Directions align across cards */
.clinic-actions {
  margin-top: auto;
}
.clinic-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.badge-emergency {
    background: #fff;
  color: #000;
}
.badge-appt {
  background: #fff;
  color: #000;
}
.clinic-name {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.clinic-address {
  font-size: 16px;
  color: #7B7B7B;
  line-height: 1.5;
  margin-bottom: 20px;
}
.clinic-days,
.clinic-hours {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.clinic-days {
  background: rgba(0, 0, 0, 0.04);
}
.clinic-hours {
  background: rgba(0, 123, 255, 0.08);
}
.btn-clinic-action {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  border: 1px solid #000000;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-clinic-action:hover {
  background: rgba(0, 123, 255, 0.08);
  border-color: rgba(0, 123, 255, 0.08);
  color: var(--primary);
}

/* ---- FAQ ---- */
.section-faq {
  padding: 80px 0;
}
.section-faq .section-body-text{
  font-size: 16px !important;
  color: #50556C !important;
  line-height: 20px !important;
}
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 16px;
}
.faq-item {
  background: #FAFAFA;
  border-radius: 20px !important;
  overflow: hidden;
  transition: background 0.3s ease;
}
.faq-btn {
  background: transparent !important;
  padding: 18px 20px !important;
  font-size: 15px;
  font-weight: 500;
  color: #1C2706 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}
.accordion-button::after {
  display: none;
}
.faq-btn:focus {
  box-shadow: none !important;
}
.faq-icon {
  margin-left: auto;
  font-size: 16px;
  transition: transform 0.3s ease;
}
.faq-btn:not(.collapsed) .faq-icon {
  transform: rotate(180deg);
}
.faq-body {
  padding: 0 20px 20px;
  font-size: 15.5px;
  color: #1C2706;
  line-height: 1.6;
}
.accordion-collapse {
  border: none;
  transition: height 0.3s ease;
}

/* ---- FOOTER ---- */
.site-footer {
  background: #edf2ff;
}
.footer-top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 120px !important;
  padding-top: 120px !important;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}
.footer-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #0E1612;
}
.footer-follow {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0px 12px 28px 0px #00000014;
}
.footer-social:hover {
  background: var(--primary) !important;
  color: #fff;
}
.footer-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 15px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li a {
  font-size: 18px;
  color: #0E1612;
  text-decoration: none;
}
.footer-contact-list li a:hover {
  color: var(--primary);
}
.footer-copy,
.footer-credit {
  font-size: 18px;
  color: #676E71;
}
.footer-credit {
  font-size: 16px;
}
.footer-bottom-link {
  font-size: 18px;
  color: #676E71;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-link:hover {
  color: var(--primary);
}
.footer-bottom-sep {
  background-color: #0E1612;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.footer-bottom span a{  
  text-decoration: none;
  color: var(--primary) !important;
}

/* ---- BANNER (shared across about, service pages) ---- */
.about-banner {
  height: 400px;
}
.banner-img {
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(179.97deg, rgba(26, 115, 232, 0.08) 0%, rgba(2, 22, 49, 0.72) 80%);
  border-radius: 32px;
}
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #AFB8C5 !important;
}
.about-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff !important;
}
.banner-content a{
  color: #AFB8C5 !important;
}
.banner-content a:hover{
  color: #fff !important;
}
.text-danger{
  color: #FF383C !important;
}

/* Hide desktop menu on mobile */
@media (max-width: 991px) {
  #mainNav {
    display: none !important;
  }
}

/* Sidebar width */
.offcanvas {
  width: 260px;
}

/* Mobile link styling */
.offcanvas .nav-link {
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}

.offcanvas .nav-link:hover {
  background: #f8f9fa;
  padding-left: 20px;
}


/* ---- APPOINTMENT FORM ---- */
.section-appointment {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
.appt-input {
  font-size: 16px;
  color: rgba(6, 20, 39, 0.6) !important;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;

}
.appt-input:focus {
  box-shadow: none;
}
.appt-input::placeholder {
  color: rgba(6, 20, 39, 0.6) !important;
}
.input-icon {
  position: absolute;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}
.btn-appt-submit {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 14px 32px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-appt-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
  color: #fff;
}
.appt-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}
.appt-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---- TESTIMONIALS ---- */
.section-testimonials {
  padding: 80px 0;
}
.section-testimonials .section-heading::before{
  content: "";
  position: absolute;
  top: -73px;
  left: -90px;
  width: 187px;
  height: 135px;
  background-image: url(../images/heart_Shape.png);
}
.testimonials-box {
  background: #F5F6F9;
  border-radius: 20px;
  padding: 40px;
}
.testimonial-card {
  padding: 30px;
  height: 100%;
  margin: 0;
  border: none;
}

.testimonial-card p {
  font-size: 28px;
  color: #1B123D;
  min-height: 168px;
}
.testimonial-card .bottom {
  margin-top: 30px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #E7E7E7;
}
.testimonial-card .user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-card .user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain; 
}
.testimonial-card .user span {
  font-size: 20px;
  font-weight: 500;
}
.testimonial-card .stars {
  color: #1e1b4b;
  letter-spacing: 2px;
}
.custom-nav {
  margin-top: 30px;
  gap: 30px;
  padding: 20px;
}
.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  background: #F5F6F9;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #E7E7E7;
}
.nav-btn:hover {
  background: #2563eb;
  color: #fff;
}
.pagination-numbers {
  display: flex;
  gap: 20px;
}
.pagination-numbers .page {
  font-size: 20px;
  color: #636977;
  cursor: pointer;
  position: relative;
  font-weight: 600;
}
.pagination-numbers .page.active {
  color: #1B123D;
}

/* ---- ABOUT ---- */
.section-about {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.stats-row {
  background: #FAFAFA;
  padding: 32px 24px;
  border-radius: 32px;
}
.stat-number {
  font-size: 48px;
  font-weight: 500;
  color: #1C274C;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #787878;
  margin-top: 4px;
}
.stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1C274C;
}

/* ---- SERVICES ---- */
.section-services {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  background: #EDF2FF;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card-wide {
  display: flex;
  align-items: flex-start;
}
.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(0, 123, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon {
  color: #000;
}
.service-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.6;
}
.service-link {
  font-size: 14px;
  font-weight: 600;
  color: #0E1612;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover {
  color: var(--primary-dark);
}
.btn-explore {
  border: 2px solid #000000;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  padding: 11px 24px;
  transition: background 0.2s, color 0.2s;
}
.btn-explore:hover {
  background: #000000;
  color: #fff;
  border-color: #000;
}

.section-appointment {
  scroll-margin-top: 100px; /* adjust based on header height */
}


.date-input-box {
  position: relative;
}

.date-input-box input {
  width: 100%;
  padding-right: 40px; /* space for icon */
}

/* Hide default icon (Chrome, Edge, Safari) */
.date-input-box input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Custom icon */
.custom-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* click passes to input */
  color: #555;
}