/* ============================================================
   Tabeeb Platform — Visual Identity & Design System
============================================================ */
:root {
  
    --bg-nav:#FFFFFF;
    --color-btn:#2E4493;
    --btn-color:#ffffff;
    --font-colornav:black;
    --btn1:white;
    --bg:#8DC1CD;
    --font-colorbg:#263F5E;
    --font-colorbtbg:#263F5E;
    --bg2:#e5f3fa;
    --font1:#13C5DD;
    --font2:#1D2A4D;
    --font3:#1D2A4D;
    --bg3:#E5F3FA;
    --bg-footer:#1A233A;
    --footer-color:#13C5DD;
    --footer-color2:#a0a6b5;
    --bg-footer2:#111827;
    --footer-links-color:#a0a6b5;
    --btn-color2: #0b0b0b;
    --pColor:rgb(13, 13, 13);
    --card-bg:rgb(255, 255, 255);
    --background-color: #11a2d7;
    --background-color2: #e5f3fa;
    --j:rgb(247, 187, 58);

}


    /* start-darkMode */
 body.dark-mode {
    --bg-nav: #0a0a0a;         
    --color-btn: #eff4fd;    
    --btn-color: #000000;  
    --btn1:rgb(3, 3, 3);     
    --font-colornav: #fef8f8;   
    --bg: #000000;             
    --font-colorbg: #f9f2f2;   
    --bg2: #000101;             
    --font1: #f3f3f3;          
    --font2: #dbe4ef;           
    --font3: #f1f3f6;         
    --bg3: #0b0f19;             
    --bg-footer: #020617;      
    --footer-color: #38bdf8; 
    --footer-color2: #9ca3af;   
    --bg-footer2: #030712;      
    --footer-links-color: #9ca3af; 
    --btn-color2: gold;
    --pColor:rgb(230, 230, 230);
    --card-bg:rgb(93, 87, 87);
    --background-color: black;
    --background-color2: gray;
    --j:black;


}


.toggle-button {
    margin-left:30px;
    background: none;
    border:none;
    color: var(--btn-color2);
    font-size:22px;
    position:absolute;
    right:95px;
    top:25px
} 

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg2);
  color: var(--font-colornav);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}



h1, h2, h3 {
  font-family: var(--font-display);
  color:var(--font-colornav);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--color-btn); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
}

/* =============================
   Buttons
============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: .75em 1.5em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { 
  background: var(--color-btn); 
  color: var(--btn-color); 
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-primary:hover { 
  background: var(--primary-dark); 
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.35);
}

.btn-ghost { 
  background: transparent; 
  color: var(--color-btn); 
  border-color: var(--color-btn); 
}
.btn-ghost:hover { 
  border-color: var(--primary); 
  background: var(--surface);
}

.btn-outline { 
  background: var(--color-btn); 
  color: var(--btn-color); 
  border-color: var(--primary); 
}
.btn-outline:hover { 
  background: var(--primary-tint); 
}

.btn-lg { padding: .9em 1.8em; font-size: 1.02rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* =============================
   Header
============================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: .6em; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--color-btn);
  color: var(--btn-color);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}
.brand-text { 
  font-family: var(--font-display); 
  font-weight: 800; 
  font-size: 1.4rem; 
  color: var(--primary-deep); 
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none; font-weight: 600; color: var(--ink-soft);
  font-size: .95rem;
  padding: .3em 0;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}
.main-nav a:hover { color: white; border-color: whitesmoke }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--font-colornav);
  background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* =============================
   Hero Section
============================= */
.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-lead { font-size: 1.1rem; max-width: 46ch; color: var(--ink-soft); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 34px; }

.hero-stats {
  display: flex; gap: 34px;
  margin: 0; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: .2em; }
.stat dt { font-size: .85rem; color: var(--ink-soft); font-weight: 500; }
.stat dd { 
  margin: 0; 
  font-family: var(--font-display); 
  font-size: 1.8rem; 
  font-weight: 800; 
  color: var(--primary-dark); 
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 4px solid var(--surface);
}

/* =============================
   About Section
============================= */
.about { padding: 40px 0 80px; }
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3/2;
  object-fit: cover;
  box-shadow: var(--shadow-1);
  border: 4px solid var(--surface);
}
.about-role { color: var(--accent-dark); font-weight: 700; margin-top: -.4em; }
.credentials {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.credentials li {
  position: relative; padding-inline-start: 26px;
  color: var(--ink-soft);
  font-weight: 500;
}
.credentials li::before {
  content: "✓";
  position: absolute; inset-inline-start: 0; top: .1em;
  color: var(--accent);
  font-weight: bold;
}

/* =============================
   Services Section
============================= */
.services { padding: 20px 0 80px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-1);
  transition: all .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-tint);
}
.service-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-tint); color: var(--primary);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: .4em; font-size: 1.15rem; color: var(--primary-deep); }
.service-card p { margin: 0; font-size: .94rem; }

/* =============================
   Reviews Section
============================= */
.reviews { padding: 20px 0 80px; }
.reviews-summary {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  background:  var(--font1);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
}
.rating-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rating-big #avgRatingNumber {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--primary-deep);
}
.stars-static { color: var(--j); font-size: 1.15rem; letter-spacing: 2px; }
.rating-count { color: var(--btn-color); font-size: .95rem; font-weight: 500; }

.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: var(--font1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.review-header strong { font-weight: 700; font-size: .95rem; color: black; }
.review-header .stars { color: black; font-size: .85rem; letter-spacing: 1px; }
.review-card p { margin: 0 0 10px; font-size: .92rem; color:black; }
.review-date { color: black; font-size: .78rem; }

/* =============================
   Footer
============================= */
.site-footer {
  background: var(--bg-footer);
  color: #fee2e0;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.site-footer h4 { color: var( --footer-links-color); font-size: .98rem; margin: 0 0 .8em; font-weight: 700; }
.site-footer p { color: var( --footer-links-color); margin: 0 0 .4em; }
.site-footer .brand-text { color:var( --footer-links-color); }
.site-footer .brand-mark { background: var(--color-btn) }
.footer-note { margin-top: 10px; opacity: .9; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: .85rem;
  color: var(--bg-nav);
}
.footer-bottom p { margin: 0; color: inherit; }

/* =============================
   Floating Action Button (FAB)
============================= */
.fab {
  position: fixed;
  inset-inline-end: 26px;
  bottom: 26px;
  z-index: 50;
  display: flex; align-items: center; gap: .5em;
  background: var(--primary);
  color: var(--bg-nav);
  border: none;
  border-radius: 100px;
  padding: .85em 1.4em;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.35);
  cursor: pointer;
  transition: all .2s ease;
}
.fab:hover { background: var(--primary-dark); transform: translateY(-2px); }
.fab-icon { font-size: 1.1rem; }

/* =============================
   Modal & Rating Dialog
============================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 74, 110, 0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--color-btn);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 460px;
  padding: 34px 30px 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute; inset-inline-start: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: var(--bg); color: var(--ink-soft);
  cursor: pointer; font-size: .9rem;
  transition: background .15s ease;
}
.modal-close:hover { background: var(--line); }

.modal-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; }
.modal-progress .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
}
.modal-progress .dot.active { background: var(--primary); }

.modal-step h3 { text-align: center; margin-bottom: .3em; color: var(--btn-color); }
.modal-sub { text-align: center; font-size: .9rem; margin-bottom: 22px; }
.star-picker {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 30px;
}
.star {
  background: none; border: none; cursor: pointer;
  font-size: 2.2rem; line-height: 1;
  color: var(--j);
  transition: all .15s ease;
}
.star:hover { transform: scale(1.15); }
.star.active { color: var(--star); }

.quick-question { margin-bottom: 20px; }
.quick-question p { margin: 0 0 .5em; font-size: .92rem; font-weight: 600; color: var(--ink); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 100px;
  padding: .5em 1.1em;
  font-size: .85rem;
  font-family: var(--font-body); font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.chip.selected {
  border-color: var(--primary);
  background: var(--primary-tint);
  color: var(--primary-dark);
}

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7em .9em;
  font-size: .92rem;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); }

.modal-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 12px;
}
.modal-actions .btn { flex: 1; }

.modal-thanks { text-align: center; }
.thanks-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px; font-weight: bold;
}

/* =============================
   Responsive Design
============================= */
@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 380px; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute; top: 76px; inset-inline: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 16px 24px;
    display: none;
    box-shadow: var(--shadow-1);
  }
  .main-nav.nav-open { display: flex; }
  .nav-toggle { display: flex; }
  #bookBtn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab .fab-label { display: none; }
  .fab { padding: .85em; }
}