/* ==========================================
   Paliwal Hospital & Dental Clinic — Style E
   Bold, Colorful, Modern Healthcare Theme
   ========================================== */

/* ---------------
   Color System
   --------------- */
:root{
  --primary:#0077FF;
  --secondary:#00C9A7;
  --accent:#FF6B6B;
  --bg:#F3F8FF;
  --text:#0F1B2D;
  --muted:#6B7280;
  
  --glass:rgba(255,255,255,0.55);
  --glass-border:rgba(255,255,255,0.35);

  --radius:16px;
  --shadow-lg:0 18px 45px rgba(10,20,40,0.14);
  --shadow-sm:0 8px 20px rgba(10,20,40,0.07);

  --cta:linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Base */
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter",sans-serif;
  line-height:1.55;
}

/* Layout Container */
.container{
  width:92%;
  max-width:1250px;
  margin:auto;
}

/* ==========================================
   HEADER
   ========================================== */
.header{
  position:sticky;
  top:0;
  z-index:100;
  padding:10px 0;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(10px);
  box-shadow:var(--shadow-sm);
}

.header .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* Logo */
.brand img{
  width:170px;
  height:auto;
}

/* NAVIGATION */
.nav-links{
  display:flex;
  gap:18px;
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  font-weight:600;
  padding:10px 14px;
  border-radius:10px;
  transition:0.25s;
  color:var(--muted);
}

.nav-links a:hover{
  color:var(--primary);
  background:rgba(0,119,255,0.08);
  transform:translateY(-2px);
}

/* CTA Button */
.cta-btn{
  background:var(--cta);
  color:white;
  padding:10px 18px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(0,119,255,0.25);
  transition:.25s;
}

.cta-btn:hover{
  transform:translateY(-3px) scale(1.03);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero{
  min-height:70vh;
  padding:80px 0;
  display:grid;
  place-items:center;
  text-align:left;
  color:white;

  background-image:
     linear-gradient(135deg, rgba(0,119,255,0.60), rgba(0,201,167,0.55)),
     url('../img/hero-hospital.jpg');
  background-size:cover;
  background-position:center;
}

.hero .container{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:40px;
  align-items:center;
}

.hero h1{
  font-size:48px;
  line-height:1.1;
  font-weight:800;
}

.hero p{
  font-size:18px;
  opacity:0.9;
  margin:12px 0 20px;
}

/* Hero Glass Card */
.hero-card{
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.3);
  padding:22px;
  border-radius:20px;
  box-shadow:var(--shadow-lg);
}

/* ==========================================
   SECTIONS & CARDS
   ========================================== */
.section{
  padding:80px 0;
}

.section .title{
  text-align:center;
  font-size:34px;
  font-weight:700;
  margin-bottom:28px;
}

.grid{
  display:grid;
  gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

/* Glass Card */
.card{
  background:var(--glass);
  border:1px solid var(--glass-border);
  backdrop-filter:blur(10px);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow-sm);
  transition:.35s ease;
}

.card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-lg);
}

/* Section Icons */
.service-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0077FF22,#00C9A722);
  border-radius:14px;
  margin-bottom:12px;
}

/* ==========================================
   ABOUT GRID
   ========================================== */
.about-grid{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:40px;
  align-items:center;
}

.about-grid img{
  width:100%;
  border-radius:20px;
  box-shadow:var(--shadow-lg);
}

/* ==========================================
   DOCTORS
   ========================================== */
.doctor-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:24px;
}

.doctor{
  background:white;
  padding:22px;
  text-align:center;
  border-radius:18px;
  box-shadow:var(--shadow-sm);
}

.doctor img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:12px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer{
  background:linear-gradient(135deg,#05203A,#003159);
  padding:50px 0;
  color:#DAECF6;
}

.footer .fgrid{
  display:grid;
  grid-template-columns:1fr 220px 220px;
  gap:30px;
}

.footer a{
  color:#A9DDFF;
  text-decoration:none;
  margin-bottom:8px;
  display:block;
}

.copy{
  margin-top:24px;
  text-align:center;
  opacity:0.7;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s cubic-bezier(.2,.9,.2,1);
}

.reveal.active{
  opacity:1;
  transform:none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width:1020px){
  .hero .container{
    grid-template-columns:1fr;
  }
  .about-grid{
    grid-template-columns:1fr;
  }
  .hero h1{font-size:36px}
}

@media (max-width:650px){
  .brand img{width:150px}
  .hero h1{font-size:30px}
  .nav-links{display:none}
}



