:root{
  --primary:#22d3ee;
  --glow:rgba(34,211,238,.35);
  --bg-main:#060b14;
  --bg-section:#0b1324;
  --bg-card:rgba(255,255,255,.05);
  --text:#e7eef9;
  --muted:#9fb3c8;
  --border:rgba(255,255,255,.08);
  --radius:22px;
  --shadow:0 40px 120px rgba(0,0,0,.7);
}

/* ================= BASE ================= */
/* ===== FORCE DARK BACKGROUND (FIXES WHITE FLASH) ===== */
html,
body{
  background-color: var(--bg-main) !important;
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100%;
}

section{
  padding:50px 0;
  position:relative;
}
.container{position:relative;z-index:2}
h1,h2,h3,h4{font-weight:800}

/* subtle medical icons */
section::before{
  content:'\f0f8  \f481  \f21e';
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  position:absolute;
  top:15%;
  left:5%;
  font-size:160px;
  color:rgba(255,255,255,.02);
  white-space:pre;
}

/* ================= NAVBAR ================= */
.navbar{
  background:rgba(6,11,20,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.navbar-brand{
  font-size:1.7rem;
  font-weight:800;
  color:#fff;
}
.navbar-brand i{color:var(--primary)}
.nav-link{
  color:var(--muted);
  font-weight:600;
  margin:0 14px;
}
.nav-link i{color:var(--primary);margin-right:6px}
.nav-link:hover,.nav-link.active{color:#fff}
.nav-cta{
  background:linear-gradient(135deg,var(--primary),#4ff1ff);
  color:#000;
  padding:10px 26px;
  border-radius:40px;
  font-weight:700;
}
.navbar-brand:focus, .navbar-brand:hover {
    color: #fff;
}
/* ================= HERO ================= */
.top90{    position: relative;
    top: 230px;}
#hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 20% 30%, rgba(34,211,238,.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(34,211,238,.12), transparent 50%);
}
 #hero img   {width: 100%;}
.hero-title{font-size:5rem}
.hero-subtitle{font-size:2.3rem;color:var(--primary)}
.hero-desc{font-size:1.35rem;color:var(--muted);     padding-top: 30px; }

/* ================= HEADERS ================= */
.section-header{text-align:center;margin-bottom:90px}
.section-title{font-size:3.2rem}
.section-title::after{
  content:'';
  width:120px;height:4px;
  background:linear-gradient(90deg,var(--primary),transparent);
  display:block;margin:30px auto 0;
}
.section-desc{
  max-width:780px;
  margin:35px auto 0;
  color:var(--muted);
}

/* ================= GLASS CARD ================= */
.glass{
  background:var(--bg-card);
  backdrop-filter:blur(18px);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* ================= ABOUT ================= */
.about-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:80px;
}
.about-image img{
  width:100%;
  border-radius:var(--radius);    height: 500px;
    object-fit: cover;
    margin-top: 20px;

}

/* ================= TIMELINE ================= */
.timeline{
  max-width:1000px;
  margin:auto;
  position:relative;
}
.timeline::before{
  content:'';
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  background:linear-gradient(var(--primary),transparent);
}
.timeline-item{
  width:50%;
  padding:40px;
  position:relative;
}
.timeline-item:nth-child(odd){left:0;text-align:right}
.timeline-item:nth-child(even){left:50%}
.timeline-icon{
  width:60px;height:60px;
  background:var(--primary);
  color:#000;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:absolute;
  top:45px;
}
.timeline-item:nth-child(odd) .timeline-icon{right:-30px}
.timeline-item:nth-child(even) .timeline-icon{left:-30px}

/* ================= SERVICES ================= */
.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: rgb(63 231 249);
}
.service-img {height: 360px; width: 100%;}
.service-img img {height: 340px; width: 100%;     object-fit: cover;}

/* ================= CONTACT ================= */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:80px;
}
.form-control{
  background:transparent;
  border:1px solid var(--border);
  color:#fff;
  margin-bottom:25px;
}
.form-control::placeholder{color:var(--muted)}
.btn-submit{
  background:linear-gradient(135deg,var(--primary),#4ff1ff);
  color:#000;
  padding:18px 60px;
  border-radius:50px;
  font-weight:700;
  border:none;
}

/* ================= FOOTER ================= */
footer{
  background:#04080f;
  padding:100px 0 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:70px;
}
.footer-logo{font-size:2.4rem}
.footer-logo i{color:var(--primary)}
.footer-social a{
  width:46px;height:46px;
  background:rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  margin-right:12px;
}
.footer-social a:hover{background:var(--primary);color:#000}
.footer-bottom{text-align:center;margin-top:60px;opacity:.6}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    section::before {
    content: '\f0f8 \f481 \f21e';
    left: 9%;
    font-size: 80px;
    color: rgba(255, 255, 255, .02);
    white-space: pre;
}
  .about-grid,.services,.contact-grid,.footer-grid{
    grid-template-columns:1fr;
  }
  .timeline::before{left:20px}
  .timeline-item{
    width:100%;
    left:0!important;
    text-align:left;
    padding-left:70px;
  }
  .timeline-icon{left:10px!important}
}

/* ================= SCROLL BUTTON ================= */
.scroll-top-btn{
  position:fixed;
  right:25px;
  bottom:25px;
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  border:none;
  display:none;
}
.scroll-top-btn.show{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ================= RESPONSIVE ================= */

/* ================= LUXURY FOOTER ================= */
.luxury-footer{
  background:#04080f;
  padding:110px 0 40px;
  color:var(--muted);
  position:relative;
  overflow:hidden;
}

/* subtle medical background */
.luxury-footer::before{
  content:'\f0f8  \f481';
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  position:absolute;
  top:20%;
  right:5%;
  font-size:180px;
  color:rgba(255,255,255,.02);
  white-space:pre;
}

.footer-grid{
  display:grid;
  grid-template-columns:2.2fr 1.2fr 1.2fr;
  gap:80px;
  position:relative;
  z-index:2;
}

.footer-logo{
  font-size:2.6rem;
  font-weight:800;
  color:#fff;
  margin-bottom:25px;
}
.footer-logo i{
  color:var(--primary);
  margin-right:10px;
}

.footer-desc{
  max-width:420px;
  line-height:1.8;
  margin-bottom:35px;
}

/* Social */
.footer-social{
  display:flex;
  gap:16px;
}
.footer-social a{
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:1.1rem;
  transition:.35s ease; text-decoration: none;
}
.footer-social a:hover{
  background:var(--primary);
  color:#000;
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(34,211,238,.4);
}

/* Links */
.footer-links h5{
  color:#fff;
  font-size:1.4rem;
  margin-bottom:30px;
}
.footer-links h5 i{
  color:var(--primary);
  margin-right:8px;
}
.footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{
  margin-bottom:18px;
}
.footer-links a{
  color:var(--muted);
  text-decoration:none;
  transition:.3s;
}
.footer-links a:hover{
  color:#fff;
  padding-left:6px;
}

/* Contact */
.footer-contact li{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-contact i{
  color:var(--primary);
}

/* Bottom */
.footer-bottom{
  margin-top:70px;
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  font-size:.95rem;
  opacity:.7;
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:60px;
  }
  .footer-social{
    justify-content:center;
  }
  .top90{    position: relative;
    top: 100px;}
     .top90 h1{font-size: 3rem;}
     .section-title {
    font-size: 2.2rem;
}
.footer-links ul {
    display: grid;
    justify-content: center;
}
.navbar {
    background: rgb(201 208 211 / 52%);}

.nav-link {
    color: #ffffff;}
.navbar-brand {
    font-size: 20px;}
}