/* =========================================================
   Ravine Specialists Hospital — Site Stylesheet (2026 redesign)
   ========================================================= */

:root{
  --navy: #0d2c4e;
  --navy-dark: #081c33;
  --teal: #17a2a0;
  --teal-light: #5fd0c8;
  --red: #e63946;
  --red-dark: #c62839;
  --ink: #24303f;
  --muted: #667485;
  --bg-soft: #f4f7fa;
  --bg-card: #ffffff;
  --border: #e4e9ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 44, 78, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 44, 78, 0.14);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

*{ box-sizing: border-box; }

body{
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--font);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

a{ color: var(--teal); text-decoration: none; transition: .2s ease; }
a:hover{ color: var(--red); text-decoration: none; }

.text-muted{ color: var(--muted) !important; }

.btn{
  font-family: var(--font);
  font-weight: 600;
  border-radius: 50px;
  padding: .75rem 1.75rem;
  font-size: .92rem;
  letter-spacing: .2px;
  border: none;
  transition: all .25s ease;
}
.btn-primary{
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover{ background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-outline-light2{
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline-light2:hover{ background: #fff; color: var(--navy); }
.btn-red{ background: var(--red); color: #fff; }
.btn-red:hover{ background: var(--red-dark); color: #fff; }
.btn-block-sm{ width: 100%; }

.section{ padding: 90px 0; }
.section-sm{ padding: 50px 0; }
@media (max-width: 767px){
  .section{ padding: 56px 0; }
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: '';
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  display: inline-block;
}

.section-title{
  font-size: 2.1rem;
  margin-bottom: 14px;
}
.section-lead{
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 640px;
}

/* ===================== TOPBAR ===================== */
.topbar{
  background: var(--navy-dark);
  color: #cfe0ee;
  font-size: .84rem;
  padding: 9px 0;
}
.topbar a{ color: #cfe0ee; }
.topbar a:hover{ color: var(--teal-light); }
.topbar .item{ display:inline-flex; align-items:center; gap:7px; margin-right: 26px; }
.topbar .item:last-child{ margin-right:0; }
.topbar i{ color: var(--teal-light); }
.topbar .socials a{
  display:inline-flex; align-items:center; justify-content:center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.08); margin-left: 6px; font-size: .8rem;
}
.topbar .socials a:hover{ background: var(--red); color: #fff; }

/* ===================== NAVBAR ===================== */
.navbar{
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 18px rgba(13,44,78,.06);
  position: sticky; top: 0; z-index: 1000;
}
.navbar .navbar-brand img{ height: 52px; }
.navbar-nav .nav-link{
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  padding: .55rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active{ color: var(--teal); }
.navbar-nav .dropdown-menu{
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 10px;
}
.navbar-nav .dropdown-item{
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  padding: .55rem .9rem;
}
.navbar-nav .dropdown-item:hover{ background: var(--bg-soft); color: var(--teal); }
.nav-book-btn{
  background: var(--red);
  color: #fff !important;
  border-radius: 50px;
  padding: .6rem 1.4rem !important;
  margin-left: 8px;
  font-weight: 700 !important;
}
.nav-book-btn:hover{ background: var(--navy); color: #fff !important; }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  overflow: hidden;
  padding: 100px 0 130px;
}
.hero::after{
  content:'';
  position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,162,160,.35), transparent 70%);
}
.hero .badge-pill{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero h1{
  color: #fff; font-size: 3rem; font-weight: 800; margin-bottom: 20px;
}
.hero h1 span{ color: var(--teal-light); }
.hero p{ color: #cddbe8; font-size: 1.08rem; max-width: 520px; }
.hero .hero-actions{ margin-top: 32px; display:flex; gap: 14px; flex-wrap: wrap; }
.hero-img-wrap{ position: relative; z-index: 2; }
.hero-img-wrap img{ border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-stats{
  position: relative; z-index: 3;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px 26px; margin-top: -70px;
}
.hero-stats .row > div{ text-align:center; padding: 10px 6px; border-right: 1px solid var(--border); }
.hero-stats .row > div:last-child{ border-right:none; }
.hero-stats .num{ font-weight: 800; font-size: 1.7rem; color: var(--navy); }
.hero-stats .lbl{ font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing:.4px; }

/* ===================== QUICK INFO STRIP ===================== */
.quickinfo{
  background: #fff; margin-top: -55px; position: relative; z-index: 5;
}
.quickinfo .card{
  border: none; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 22px; height: 100%; text-align:center;
  transition: transform .25s ease;
}
.quickinfo .card:hover{ transform: translateY(-6px); }
.quickinfo .icon{
  width: 58px; height: 58px; border-radius: 16px; display:flex; align-items:center; justify-content:center;
  background: rgba(23,162,160,.12); color: var(--teal); font-size: 1.4rem; margin: 0 auto 14px;
}
.quickinfo h5{ font-size: 1.02rem; margin-bottom: 6px; }
.quickinfo p{ color: var(--muted); font-size: .88rem; margin-bottom: 0; }

/* ===================== SERVICE CARDS ===================== */
.service-card{
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow:hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--border);
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .img-wrap{ height: 190px; overflow:hidden; }
.service-card .img-wrap img{ width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .img-wrap img{ transform: scale(1.08); }
.service-card .img-wrap.icon-tile{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}
.service-card .img-wrap.icon-tile i{ font-size: 3.2rem; color: rgba(255,255,255,.92); }
.service-card:hover .img-wrap.icon-tile i{ transform: scale(1.08); transition: transform .4s ease; }
.service-card .body{ padding: 22px; }
.service-card h5{ font-size: 1.05rem; margin-bottom: 8px; }
.service-card p{ color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.service-card .tag{
  display:inline-block; font-size: .72rem; font-weight: 700; color: var(--teal);
  background: rgba(23,162,160,.1); padding: 4px 10px; border-radius: 50px; margin-bottom: 10px;
}
.service-card .link-more{ font-weight: 700; font-size: .85rem; color: var(--navy); }
.service-card .link-more i{ margin-left: 4px; transition: transform .2s; }
.service-card:hover .link-more i{ transform: translateX(4px); }

/* ===================== ABOUT / WHY US ===================== */
.about-img-grid{ position: relative; }
.about-img-grid img{ border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-grid .float-badge{
  position:absolute; bottom: -24px; left: -24px; background: var(--red); color:#fff;
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
@media (max-width: 991px){ .about-img-grid .float-badge{ left: 10px; bottom: -18px; } }
.about-img-grid .float-badge .num{ font-size: 1.7rem; font-weight: 800; }
.about-img-grid .float-badge .lbl{ font-size: .78rem; }

.feature-item{ display:flex; gap: 16px; margin-bottom: 22px; }
.feature-item .fi-icon{
  flex: 0 0 50px; width:50px; height:50px; border-radius: 12px; background: var(--navy);
  color: var(--teal-light); display:flex; align-items:center; justify-content:center; font-size: 1.2rem;
}
.feature-item h6{ margin-bottom: 4px; font-size: 1rem; }
.feature-item p{ color: var(--muted); font-size: .87rem; margin-bottom:0; }

/* ===================== SCHEDULE TABLE ===================== */
.schedule-table{ width:100%; border-collapse: separate; border-spacing: 0 10px; }
.schedule-table thead th{
  background: var(--navy); color: #fff; padding: 14px 20px; font-size:.82rem;
  text-transform: uppercase; letter-spacing:.5px;
}
.schedule-table thead th:first-child{ border-radius: 10px 0 0 10px; }
.schedule-table thead th:last-child{ border-radius: 0 10px 10px 0; }
.schedule-table tbody tr{ background:#fff; box-shadow: var(--shadow); }
.schedule-table tbody td{ padding: 16px 20px; vertical-align: middle; }
.schedule-table tbody td:first-child{
  border-radius: 10px 0 0 10px; font-weight: 700; color: var(--navy);
  border-left: 4px solid var(--teal);
}
.schedule-table tbody td:last-child{ border-radius: 0 10px 10px 0; }
.schedule-table .note{ color: var(--red); font-weight: 600; font-size: .85rem; }

/* ===================== DOCTORS ===================== */
.doctor-card{ text-align:center; }
.doctor-card .photo{
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); margin-bottom: 16px; position: relative;
}
.doctor-card .photo img{ width:100%; height: 260px; object-fit:cover; }
.doctor-card h6{ margin-bottom: 2px; }
.doctor-card .role{ color: var(--teal); font-size: .84rem; font-weight: 600; }

/* ===================== CTA ===================== */
.cta{
  background: linear-gradient(120deg, var(--teal) 0%, #0f8f8d 100%);
  border-radius: 24px; padding: 60px; color: #fff; position: relative; overflow:hidden;
}
.cta h3{ color:#fff; font-size: 1.8rem; }
.cta p{ color: rgba(255,255,255,.9); }

/* ===================== FOOTER ===================== */
.footer{ background: var(--navy-dark); color: #b9c7d6; padding-top: 70px; }
.footer h6{ color:#fff; font-size: .95rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing:.5px; }
.footer a{ color: #b9c7d6; }
.footer a:hover{ color: var(--teal-light); }
.footer .flogo{ height: 44px; margin-bottom: 16px; }
.footer ul{ list-style:none; padding:0; margin:0; }
.footer ul li{ margin-bottom: 10px; font-size: .88rem; }
.footer .contact-line{ display:flex; gap: 10px; margin-bottom: 14px; font-size: .88rem; }
.footer .contact-line i{ color: var(--teal-light); margin-top: 3px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: .82rem;
}
.footer-social a{
  display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border-radius:50%; background: rgba(255,255,255,.06); margin-right: 8px;
}
.footer-social a:hover{ background: var(--red); color:#fff; }

/* ===================== PAGE HEADER (inner pages) ===================== */
.page-header{
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 64px 0; color:#fff; position:relative; overflow:hidden;
}
.page-header h1{ color:#fff; font-size: 2.2rem; margin-bottom: 8px; }
.page-header .breadcrumb{ background:transparent; padding:0; margin:0; font-size:.85rem; }
.page-header .breadcrumb a{ color: var(--teal-light); }
.page-header .breadcrumb-item.active{ color: #cddbe8; }
.page-header .breadcrumb-item+.breadcrumb-item::before{ color:#8ba3ba; }

/* ===================== FORMS / CARDS ===================== */
.form-card{
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px;
}
.form-label{ font-weight: 600; font-size: .86rem; color: var(--navy); }
.form-control, .form-select{
  border-radius: 10px; border: 1px solid var(--border); padding: .65rem .9rem; font-size: .92rem;
  font-family: var(--font);
}
.form-control:focus, .form-select:focus{
  border-color: var(--teal); box-shadow: 0 0 0 .18rem rgba(23,162,160,.15);
}
.input-icon-group{ position: relative; }
.input-icon-group i{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color: var(--muted); }
.input-icon-group .form-control{ padding-left: 40px; }

.alert-soft-success{ background: rgba(23,162,160,.1); color: #0d7e7c; border: 1px solid rgba(23,162,160,.25); border-radius: 10px; }
.alert-soft-danger{ background: rgba(230,57,70,.08); color: var(--red-dark); border: 1px solid rgba(230,57,70,.25); border-radius: 10px; }
.alert-soft-warning{ background: rgba(255,193,7,.12); color: #8a6800; border: 1px solid rgba(255,193,7,.35); border-radius: 10px; }

.clinic-note{
  font-size: .8rem; color: var(--teal); background: rgba(23,162,160,.08);
  padding: 8px 12px; border-radius: 8px; margin-top: 6px; display: none;
}
.clinic-note.show{ display:block; }
.clinic-note.warn{ color: var(--red-dark); background: rgba(230,57,70,.08); }

/* OTP inputs */
.otp-inputs{ display:flex; gap: 10px; justify-content:center; margin: 22px 0; }
.otp-inputs input{
  width: 48px; height: 56px; text-align:center; font-size: 1.4rem; font-weight:700;
  border-radius: 10px; border: 2px solid var(--border); color: var(--navy);
}
.otp-inputs input:focus{ border-color: var(--teal); outline:none; box-shadow: 0 0 0 .18rem rgba(23,162,160,.15); }

/* Modal tweaks */
.modal-content{ border: none; border-radius: 18px; overflow:hidden; }
.modal-header{ border-bottom: 1px solid var(--border); padding: 20px 26px; }
.modal-header .modal-title{ font-weight:700; font-size: 1.1rem; }
.modal-body{ padding: 26px; }

/* Steps indicator */
.step-indicator{ display:flex; align-items:center; justify-content:center; gap: 8px; margin-bottom: 22px; }
.step-indicator .dot{ width: 30px; height: 4px; border-radius: 4px; background: var(--border); }
.step-indicator .dot.active{ background: var(--teal); }

/* Misc */
.spinner-border-sm2{ width: 1rem; height: 1rem; border-width: .15em; }
.section-bg-soft{ background: var(--bg-soft); }
.divider-dot{ width:6px; height:6px; border-radius:50%; background: var(--red); display:inline-block; margin: 0 8px; }
::selection{ background: var(--teal); color:#fff; }

.back-to-top{
  position: fixed; right: 24px; bottom: 24px; width: 48px; height:48px; border-radius:50%;
  background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .3s ease; z-index: 999;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }
.back-to-top:hover{ background: var(--teal); color:#fff; }

.whatsapp-float{
  position: fixed; left: 24px; bottom: 24px; width: 56px; height:56px; border-radius:50%;
  background: #25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); z-index: 999; font-size: 1.6rem;
  animation: whatsappPulse 2.4s infinite;
}
.whatsapp-float:hover{ background:#1ebd59; color:#fff; }
@keyframes whatsappPulse{
  0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow-lg); }
  70%{ box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-lg); }
}
