/* assets/css/style.css */

/* -------------------------
   Variables & Base
   ------------------------- */
:root{
  --bg:#f5f8fb;
  --card:#ffffffcc;
  --glass: rgba(255,255,255,0.55);
  --muted:#6b7280;
  --accent-1: #0066ff;
  --accent-2: #00d4b5;
  --cta: linear-gradient(135deg,var(--accent-1),#2c8cff 60%, var(--accent-2));
  --radius: 14px;
  --shadow-lg: 0 15px 40px rgba(10,20,40,0.12);
  --shadow-sm: 0 6px 16px rgba(10,20,40,0.06);
  --glass-border: rgba(255,255,255,0.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg,#f6f9fc 0%, #eef6fb 100%);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#0f1724;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* utility */
.container{width:92%;max-width:1200px;margin:0 auto}

/* -------------------------
   Header / Nav
   ------------------------- */
.header {
  position:sticky; top:0; z-index:60; backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.55));
  box-shadow: var(--shadow-sm);
}
.header .bar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:160px; height:auto; display:block}

/* nav */
.nav-links{display:flex; gap:14px; list-style:none; padding:0; margin:0; align-items:center}
.nav-links a{
  text-decoration:none; color:var(--muted); font-weight:600; padding:10px 12px; border-radius:10px;
  transition:all .18s ease;
}
.nav-links a:hover{color:var(--accent-1); transform:translateY(-2px)}
.cta-btn{
  display:inline-block; padding:10px 16px; border-radius:12px; color:white; font-weight:700;
  background:var(--cta); box-shadow: 0 8px 20px rgba(6,78,193,0.14);
  text-decoration:none;
}

/* mobile menu */
.mobile-toggle{display:none}

/* -------------------------
   HERO
   ------------------------- */
.hero{
  width:100%;
  min-height: 64vh;
  display:grid; place-items:center;
  padding:64px 0;
  background:
    linear-gradient(180deg, rgba(5,20,45,0.35), rgba(5,20,45,0.12)),
    url('../img/hero-hospital.jpg') center/cover no-repeat;
  color:white;
  position:relative;
  overflow:hidden;
}
.hero .container{display:grid; grid-template-columns: 1fr 420px; gap:32px; align-items:center}
.hero .eyebrow{display:inline-block;background:rgba(255,255,255,0.08);padding:8px 12px;border-radius:999px;font-weight:700;color:#dbeafe;margin-bottom:16px}
.hero h1{font-size:40px;line-height:1.02;margin:0 0 10px;font-weight:800;letter-spacing:-0.4px}
.hero p{margin:0 0 18px; color:rgba(255,255,255,0.92); font-size:16px}

/* hero card (glass appointment box) */
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius:16px; padding:20px; backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
}
.hero-card h4{margin:0 0 8px; color:white}
.hero-card small{color:rgba(255,255,255,0.85)}

/* -------------------------
   Sections: glass cards grid
   ------------------------- */
.section{
  padding:64px 0;
}
.section .title{
  text-align:center; margin-bottom:28px;
}
.grid{
  display:grid; gap:22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* glass card component */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.38));
  border-radius: var(--radius); padding:20px; border:1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  transition: transform .32s cubic-bezier(.2,.9,.2,1), box-shadow .32s;
}
.card:hover{ transform: translateY(-8px); box-shadow: 0 30px 60px rgba(10,20,40,0.12); }

/* service card */
.service-icon{
  width:56px;height:56px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(0,102,255,0.12), rgba(45,212,181,0.08));
  margin-bottom:12px;
}

/* about layout */
.about-grid{display:grid; grid-template-columns: 1fr 420px; gap:28px; align-items:center}

/* departments carousel-like area */
.dept-grid{display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:18px}

/* doctors */
.doctor-grid{display:grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap:18px}
.doctor{
  text-align:center; padding:18px; border-radius:12px; background:var(--card); box-shadow:var(--shadow-sm);
}
.doctor img{width:120px;height:120px;object-fit:cover;border-radius:999px; margin-bottom:12px;}

/* appointment form (in sections) */
.form-grid{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.input, select, textarea{
  padding:12px 14px;border-radius:10px;border:1px solid rgba(12,20,40,0.06); font-size:14px;
  background:white;
}
.btn-primary{
  display:inline-block;padding:12px 18px;border-radius:12px;color:white;font-weight:700;border:none;
  background:var(--cta); box-shadow: 0 10px 30px rgba(6,78,193,0.12);
}

/* small helpers */
.kv{display:flex;gap:14px;align-items:center}
.kv .num{font-size:18px;font-weight:800;color:var(--accent-1)}
.kv .label{font-size:13px;color:var(--muted)}

/* -------------------------
   Footer
   ------------------------- */
.footer{
  padding:40px 0;background: linear-gradient(180deg,#021831,#05263f); color:#dbeaf6; margin-top:40px;
}
.footer .fgrid{display:grid; grid-template-columns: 1fr 220px 220px; gap:22px}
.footer a{color:#bfe8ff; text-decoration:none; display:block; margin-bottom:8px}
.copy{margin-top:18px; text-align:center; font-size:13px; color:#94b8d8}

/* -------------------------
   Animations & micro-interactions
   ------------------------- */
.fadeIn{animation:fadeIn .8s ease both}
@keyframes fadeIn{ from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width:1024px){
  .hero .container{grid-template-columns:1fr; text-align:left}
  .about-grid{grid-template-columns:1fr}
  .container{width:94%}
}
@media (max-width:680px){
  .nav-links{display:none}
  .mobile-toggle{display:block}
  .brand img{width:140px}
  .form-grid{grid-template-columns:1fr}
  .hero h1{font-size:28px}
  .hero{padding:46px 0}
  .footer .fgrid{grid-template-columns:1fr}
}
/* ===========================
   GLOBAL STYLES
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f7f9fc;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* ===========================
   CONTAINER
   =========================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #004f7c, #0097c7);
  color: white;
  text-align: center;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 10px;
}

/* ===========================
   SECTION HEADINGS
   =========================== */
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 40px 0 20px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #0097c7;
  display: block;
  margin: 12px auto 0;
  border-radius: 10px;
}

/* ===========================
   INFO BLOCKS (GLASS CARD)
   =========================== */
.info-block {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.info-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.info-block h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #004f7c;
}

/* ===========================
   IMPLANT TYPE GRID
   =========================== */
.implant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.implant-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.implant-card:hover {
  transform: translateY(-6px);
}

.implant-card h4 {
  color: #0097c7;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

/* ===========================
   VIDEO SECTION
   =========================== */
.video-box {
  margin: 20px 0;
  text-align: center;
}

.video-box iframe {
  width: 100%;
  max-width: 780px;
  height: 400px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ===========================
   IMAGE GALLERY
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
  padding-bottom: 30px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
}

/* ===========================
   CALL TO ACTION BOX
   =========================== */
.cta-box {
  background: linear-gradient(135deg, #0097c7, #004f7c);
  padding: 40px;
  border-radius: 25px;
  text-align: center;
  color: white;
  margin: 50px 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.cta-box h2 {
  font-size: 2.2rem;
}

.cta-box p {
  margin: 10px 0;
  font-size: 1.15rem;
}

.cta-box .btn {
  display: inline-block;
  padding: 14px 35px;
  margin-top: 15px;
  background: #ffffff;
  color: #004f7c;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-box .btn:hover {
  background: #e8e8e8;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }

  .video-box iframe {
    height: 260px;
  }
}
/* GLOBAL */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f6f9fc;
  color: #1a1a1a;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HERO */
.hero {
  padding: 90px 20px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #005b82, #00a2c7);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 40px 0 20px;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #00a2c7;
  display: block;
  margin: 10px auto 0;
  border-radius: 20px;
}

/* INTRO */
.big-text {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  line-height: 1.7;
}

/* TYPES GRID */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.type-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.type-card:hover {
  transform: translateY(-6px);
}

/* PROCEDURE */
.procedure-steps .step {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step h4 {
  color: #005b82;
  margin-bottom: 8px;
}

/* VIDEOS */
.video-box iframe {
  width: 100%;
  max-width: 780px;
  height: 400px;
  border-radius: 20px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  padding-bottom: 40px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.gallery-grid img:h