/* =========================================================
   Sau. Surekhatai Prakash Kolpe Ayurveda College & Research Centre
   Stylesheet — single-file design system
   Palette: Deep Sadabahar green / Turmeric gold / Oxblood maroon / Parchment ivory
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root{
  --forest: #1E4C8A;        /* royal blue — navbar, primary buttons */
  --forest-deep: #16386B;   /* darker blue — footer, sticky nav shadow */
  --forest-light: #2E5FA3;  /* lighter blue accent */
  --gold: #F5C518;          /* golden yellow — ERP-style CTA button */
  --gold-light: #FFD84D;
  --maroon: #E08A1E;        /* amber/orange — active nav item, eyebrow accents */
  --maroon-light: #F2A93D;
  --ivory: #F7F7F4;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #5C6672;
  --line: #E2E2E0;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(20,42,29,0.25);
  --container: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; font-size: 18px; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.15; font-weight:600; }
p{ margin:0 0 1em; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width: var(--container); margin:0 auto; padding:0 24px; }
:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maroon);
  display:flex; align-items:center; gap:10px;
  margin-bottom: 10px;
}
.eyebrow::before{
  content:"";
  width: 26px; height:1px; background: var(--maroon);
  display:inline-block;
}
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-title{ font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--forest-deep); }
.section-sub{ color: var(--muted); margin-top:12px; font-size:1.02rem; }

section{ padding: 84px 0; }
.bg-alt{ background: var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.bg-forest{ background: var(--forest-deep); color: var(--ivory); }
.bg-forest .section-title{ color: var(--ivory); }
.bg-forest .section-sub{ color: rgba(246,242,231,.72); }

/* ---------- Leaf-vein divider (signature motif) ---------- */
.vein-divider{ width:100%; height:34px; overflow:hidden; }
.vein-divider svg{ width:100%; height:100%; display:block; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight:600; font-size:1rem;
  border:1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover{ background: var(--gold-light); }
.btn-line{ border-color: rgba(246,242,231,.55); color: inherit; }
.btn-line:hover{ background: rgba(246,242,231,.12); }
.btn-maroon{ background: var(--maroon); color: var(--ivory); }
.btn-maroon:hover{ background: var(--maroon-light); }
.btn-ghost{ border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover{ background: var(--forest); color: var(--ivory); }
.btn-sm{ padding: 8px 16px; font-size:.98rem; }

/* =========================================================
   TOP UTILITY BAR
   ========================================================= */
.topbar{
  background: var(--forest-deep);
  color: rgba(246,242,231,.85);
  font-size: .8rem;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px; gap: 16px; flex-wrap:wrap;
}
.topbar-left{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-left span{ display:inline-flex; align-items:center; gap:6px; }
.topbar-right{ display:flex; gap:14px; align-items:center; }
.topbar-right a{ opacity:.85; }
.topbar-right a:hover{ opacity:1; color: var(--gold-light); }
.topbar .divider{ width:1px; height:14px; background: rgba(246,242,231,.25); }

/* =========================================================
   BAR 2: BRAND BAR (logo + college name)
   ========================================================= */
.brand-bar{
  background: var(--paper);
  border-bottom:1px solid var(--line);
}
.brand-bar-inner{
  display:flex; align-items:center; justify-content:space-between;
  position:relative;
  padding: 3px 0;
  gap: 24px;
}
.brand-bar .container{
  max-width: none;
  padding-left: 24px;
}
.brand{ display:flex; align-items:center; gap:16px; min-width:0; flex-shrink:1; }
.brand-text{ min-width:0; overflow:hidden; }
.brand-mark{
  width:110px; height:86px;
  border-radius:0;              /* remove circle */
  background:none;              /* remove gradient */
  box-shadow:none;               /* remove inset ring */
  object-fit:contain;            /* keep logo proportions */
  flex-shrink:0;
}
.brand-text .name{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  font-weight:700;
  color: var(--forest-deep);
  line-height:1.15;
  white-space: nowrap;
}
.brand-text .sub{ font-family: var(--font-mono); font-size:.78rem; letter-spacing:.06em; color: var(--muted); text-transform:uppercase; margin-top:2px; }


/* =========================================================
   BAR 3: NAV BAR + MEGA MENU
   ========================================================= */
.nav-bar{
  background: var(--forest-deep);
  border-bottom: 3px solid var(--gold);
  position: sticky; top:0; z-index: 500;
  transition: box-shadow .25s ease;
}
.nav-bar.is-stuck{ box-shadow: 0 6px 24px -10px rgba(20,42,29,.45); }
.nav-bar-inner{
  display:flex; align-items:center; justify-content:center;
  position:relative;
}

.main-nav{ display:flex; }
.main-nav > ul{ display:flex; align-items:center; justify-content:center; gap: 4px; flex-wrap:wrap; }
.main-nav > ul > li{ position:relative; }
.main-nav > ul > li > a{
  display:flex; align-items:center; gap:6px;
  padding: 15px 16px;
  font-weight:600; font-size:.95rem; color: var(--ivory);
  border-radius: 0;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a{ color: var(--forest-deep); background: var(--gold); }
.caret{ font-size:.6rem; opacity:.7; }

.mega{
  position:absolute; left:0; top: 100%;
  background: var(--paper);
  border:1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  min-width: 240px;
  padding: 10px;
  opacity:0; visibility:hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 400;
}
.main-nav li:hover > .mega{ opacity:1; visibility:visible; transform: translateY(0); }
.mega.mega-wide{ min-width: 280px; max-width: 300px; max-height: 380px; overflow-y: auto; padding: 10px; }
.mega a{ 
  display:block; 
  padding: 8px 10px; 
  border-radius:4px; 
  font-size:12.5px;   
  color: var(--ink); 
}
.mega a:hover{ background: var(--ivory); color: var(--maroon); }
.mega-col-title{ font-family: var(--font-mono); font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color: var(--maroon); padding: 8px 10px 4px; }

.nav-toggle{ display:none; background:none; border:none; padding:8px; }
.nav-toggle span{ display:block; width:26px; height:2px; background: var(--forest-deep); margin:5px 0; }

/* =========================================================
   NOTICE TICKER
   ========================================================= */
.ticker{
  background: var(--gold);
  color: var(--forest-deep);
  overflow:hidden;
  position:relative;
}
.ticker .container{ display:flex; align-items:center; gap:16px; padding: 8px 24px; }
.ticker-label{
  font-family: var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em;
  background: var(--forest-deep); color: var(--gold-light);
  padding: 4px 12px; border-radius: 20px; flex-shrink:0;
}
.ticker-track{ overflow:hidden; flex:1; white-space:nowrap; }
.ticker-track ul{ display:inline-flex; gap:60px; animation: ticker 60s linear infinite; padding-left:100%; }
.ticker-track ul li{ font-size:.95rem; font-weight:600; }
@keyframes ticker{ from{ transform: translateX(0); } to{ transform: translateX(-100%); } }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height: 92vh;
  display:flex; align-items:center;
  overflow:hidden;
  background: var(--forest-deep);
}
.hero-slide{
  position:absolute; inset:0;
  background-size: cover; background-position:center;
  opacity:0; transition: opacity 1.1s ease;
}
.hero-slide.active{ opacity:1; }

.hero-content{
  position:relative; z-index:5; color: var(--ivory);
  max-width: 680px;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-mono); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase;
  color: var(--gold-light);
  border:1px solid rgba(228,193,113,.4); padding:7px 14px; border-radius: 30px;
  margin-bottom: 22px;
}
.hero-title{ font-size: clamp(2.4rem, 5.2vw, 4rem); color: var(--ivory); }
.hero-title em{ font-style:italic; color: var(--gold-light); }
.hero-desc{ margin-top:20px; font-size:1.08rem; color: rgba(246,242,231,.82); max-width: 560px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 32px; }
.hero-dots{ position:absolute; bottom:32px; left:50%; transform: translateX(-50%); z-index:6; display:flex; gap:10px; }
.hero-dots button{
  width:34px; height:4px; border-radius:2px; border:none; background: rgba(246,242,231,.35);
}
.hero-dots button.active{ background: var(--gold); }
.hero-shloka{
  position:absolute; right:40px; bottom:100px; z-index:6;
  font-family: var(--font-display); font-style:italic; color: rgba(246,242,231,.55);
  font-size: .95rem; max-width:260px; text-align:right; display:none;
}

/* =========================================================
   WELCOME / PRINCIPAL
   ========================================================= */
.welcome-grid{
  display:grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items:center;
}
.welcome-portrait{
  position:relative; border-radius: var(--radius); overflow:hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow);
}
.welcome-portrait img{ width:100%; height:100%; object-fit:cover; filter: sepia(.12) saturate(1.05); }
.welcome-portrait .tag{
  position:absolute; left:16px; bottom:16px; background: var(--paper);
  padding: 10px 16px; border-radius: 4px; font-family: var(--font-mono); font-size:.78rem;
  box-shadow: var(--shadow);
}
.welcome-quote{
  font-family: var(--font-display); font-style:italic; font-size:1.35rem; color: var(--forest-deep);
  border-left: 3px solid var(--gold); padding-left:22px; margin: 24px 0;
}
.signature-line{ font-family: var(--font-mono); font-size:.8rem; color: var(--muted); margin-top:18px; }
.signature-line strong{ color: var(--forest-deep); display:block; font-family: var(--font-body); font-size:.95rem; }

/* =========================================================
   QUICK INFO CARDS
   ========================================================= */
.quick-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:18px;
  margin-top: 20px; position:relative; z-index: 20;
}
.quick-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.quick-card:hover{ transform: translateY(-6px); border-color: var(--gold); }
.quick-card .num{ font-family: var(--font-mono); font-size:.78rem; color: var(--gold); letter-spacing:.1em; }
.quick-card h3{ font-size:1.25rem; margin: 10px 0 8px; color: var(--forest-deep); }
.quick-card p{ font-size:.98rem; color: var(--muted); margin-bottom:14px; }
.quick-card a{ font-size:.98rem; font-weight:600; color: var(--maroon); }
.quick-spacer{ height: 40px; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.why-item{ text-align:center; padding: 10px; }
.why-icon{
  width:64px; height:64px; margin: 0 auto 18px; border-radius:50%;
  background: var(--ivory); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-size:1.6rem; color: var(--forest);
}
.why-item h4{ font-size:1.08rem; margin-bottom:8px; color: var(--forest-deep); }
.why-item p{ font-size:.95rem; color: var(--muted); }

/* =========================================================
   COUNTERS
   ========================================================= */
.counter-strip{
  display:grid; grid-template-columns: repeat(6,1fr); gap: 10px;
  text-align:center;
}
.counter-item .val{ font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.8rem); color: var(--gold-light); font-weight:700; }
.counter-item .lbl{ font-family: var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color: rgba(246,242,231,.65); margin-top:6px; }

/* =========================================================
   COURSES
   ========================================================= */
.course-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.course-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow); display:flex; flex-direction:column;
}
.course-media{
  height:220px;
  position:relative;
  overflow:hidden;
  background:#f0f0ee;   /* image load hoण्याआधी/blank space साठी हलकं background */
}
.course-media img{
  width:100%;
  height:100%;
  object-fit:contain;   /* पूर्ण image disेल, crop होणार नाही */
}
.course-media span{
  position:absolute; top:14px; left:14px; background: var(--maroon); color:var(--ivory);
  font-family:var(--font-mono); font-size:.74rem; padding:5px 12px; border-radius: 20px; letter-spacing:.06em;
}
.course-body{ padding: 22px; flex:1; display:flex; flex-direction:column; }
.course-body h3{ font-size:1.3rem; color: var(--forest-deep); margin-bottom:8px; }
.course-body p{ font-size:.98rem; color: var(--muted); flex:1; }
.course-meta{ display:flex; gap:16px; font-family: var(--font-mono); font-size:.78rem; color: var(--muted); margin: 12px 0 16px; }

/* =========================================================
   DEPARTMENTS
   ========================================================= */
.dept-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.dept-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align:left; position:relative; overflow:hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.dept-card:hover{ border-color: var(--gold); transform: translateY(-4px); }
.dept-card .leaf{ font-size:1.4rem; color: var(--forest); margin-bottom:12px; display:block; }
.dept-card h4{ font-size: 1.02rem; color: var(--forest-deep); margin-bottom:6px; }
.dept-card p{ font-size:.95rem; color: var(--muted); margin-bottom:0; }

/* =========================================================
   HOSPITAL SERVICES
   ========================================================= */
.hospital-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.hospital-media{ position:relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.hospital-media img{ width:100%; height:100%; object-fit:cover; }
.hospital-stat{
  position:absolute; right:18px; bottom:18px; background: var(--maroon); color: var(--ivory);
  padding: 14px 20px; border-radius: var(--radius); text-align:center;
}
.hospital-stat .n{ font-family: var(--font-display); font-size:1.8rem; font-weight:700; }
.hospital-stat .l{ font-family: var(--font-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; }
.service-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.service-list li{
  display:flex; align-items:center; gap:10px; font-size:1rem; font-weight:500;
  padding: 12px 14px; background: var(--paper); border:1px solid var(--line); border-radius: 4px;
}
.service-list li::before{ content:"✦"; color: var(--gold); }

/* =========================================================
   NEWS / EVENTS
   ========================================================= */
.news-events-grid{ display:grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.news-card{
  display:flex; gap:18px; padding: 18px 0; border-bottom:1px solid var(--line);
}
.news-card:last-child{ border-bottom:none; }
.news-date{
  flex-shrink:0; width:64px; height:64px; background: var(--forest-deep); color: var(--ivory);
  border-radius: var(--radius); display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.news-date .d{ font-family: var(--font-display); font-size:1.3rem; font-weight:700; line-height:1; }
.news-date .m{ font-family: var(--font-mono); font-size:.7rem; text-transform:uppercase; }
.news-body h4{ font-size:1.05rem; color: var(--forest-deep); margin-bottom:6px; }
.news-body p{ font-size:.95rem; color: var(--muted); margin-bottom:0; }
.tag-pill{ display:inline-block; font-family: var(--font-mono); font-size:.72rem; text-transform:uppercase; color: var(--maroon); margin-bottom:6px; letter-spacing:.05em; }

.event-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px;
  display:flex; justify-content:space-between; gap: 12px; align-items:center;
}
.event-card:last-child{ margin-bottom:0; }
.event-when{ font-family: var(--font-mono); font-size:.78rem; color: var(--maroon); }
.event-card h4{ font-size:1rem; margin: 4px 0 0; color: var(--forest-deep); }
.event-count{ text-align:center; flex-shrink:0; }
.event-count .n{ font-family: var(--font-display); font-weight:700; font-size:1.6rem; color: var(--gold); }
.event-count .l{ font-family: var(--font-mono); font-size:.6rem; text-transform:uppercase; color: var(--muted); }

/* =========================================================
   RESEARCH
   ========================================================= */
.research-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.research-card{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.research-card .n{ font-family: var(--font-display); font-size: 2.2rem; font-weight:700; color: var(--maroon); }
.research-card p{ font-size:.95rem; color: var(--muted); margin-top:6px; margin-bottom:0; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 12px;
}
.gallery-item{ position:relative; border-radius: var(--radius); overflow:hidden; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item.wide{ grid-column: span 2; }
.gallery-item.tall{ grid-row: span 2; }
.gallery-item .cap{
  position:absolute; inset:auto 0 0 0; padding: 10px 12px; font-size:.82rem; color:#fff;
  background: linear-gradient(to top, rgba(20,42,29,.85), transparent);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.testi-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.testi-card .stars{ color: var(--gold); letter-spacing:2px; margin-bottom:14px; }
.testi-card p{ font-size:1rem; color: var(--ink); font-style:italic; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; background: var(--forest); color:var(--ivory); display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--font-display); }
.testi-person .role{ font-size:.8rem; color: var(--muted); }

/* =========================================================
   COLLAB STRIP + REVIEWS
   ========================================================= */
.collab-strip{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 30px; opacity:.75; }
.collab-strip span{ font-family: var(--font-mono); font-size:.95rem; letter-spacing:.05em; color: var(--muted); border:1px solid var(--line); padding:10px 18px; border-radius:30px; }

.reviews-wrap{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.review-card{ background: var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.review-card .stars{ color: var(--gold); margin-bottom:10px; }
.review-card p{ font-size:.95rem; color:var(--muted); }
.review-name{ font-weight:600; font-size:.95rem; color: var(--forest-deep); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--forest-deep); color: rgba(246,242,231,.78); padding-top: 70px; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px 48px;
  padding-bottom: 50px;
}
.footer-brand .name{ font-family: var(--font-display); font-size:1.3rem; color: var(--ivory); margin-bottom:12px; }
.footer-brand p{ font-size:.95rem; }
.footer-col h5{ font-family: var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color: var(--gold-light); margin-bottom: 16px; }
.footer-col li{ margin-bottom:10px; font-size:.95rem; }
.footer-col a:hover{ color: var(--gold-light); }
.footer-map iframe{ width:100%; height:160px; border:0; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); }
.footer-social{ display:flex; gap:10px; margin-top:14px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(246,242,231,.3);
  display:flex; align-items:center; justify-content:center; font-size:.95rem;
}
.footer-social a:hover{ background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.footer-bottom{
  border-top:1px solid rgba(246,242,231,.15); padding: 18px 0; font-size:.95rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.float-btns{ position:fixed; right:22px; bottom:22px; display:flex; flex-direction:column; gap:12px; z-index: 600; }
.float-btn{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow); font-size:1.3rem; color:#fff; border:none;
  transition: transform .2s ease;
}
.float-btn:hover{ transform: scale(1.08); }
.whatsapp-btn{ background:#25D366; }
.top-btn{ background: var(--forest); opacity:0; pointer-events:none; transition: opacity .2s ease; }
.top-btn.show{ opacity:1; pointer-events:auto; }

/* =========================================================
   COOKIE CONSENT
   ========================================================= */
.cookie-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:700;
  background: var(--forest-deep); color: var(--ivory);
  padding: 16px 0; transform: translateY(100%); transition: transform .3s ease;
}
.cookie-bar.show{ transform: translateY(0); }
.cookie-bar .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.cookie-bar p{ margin:0; font-size:.95rem; }

/* =========================================================
   ANNOUNCEMENT POPUP
   ========================================================= */
.popup-overlay{
  position:fixed; inset:0; background: rgba(20,42,29,.72); z-index:800;
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity .25s ease;
}
.popup-overlay.show{ opacity:1; pointer-events:auto; }
.popup-box{
  background: var(--paper); border-radius: var(--radius); max-width:420px; width:90%;
  padding: 36px 32px; position:relative; text-align:center; box-shadow: var(--shadow);
}
.popup-close{
  position:absolute; top:14px; right:14px; background:none; border:none; font-size:1.2rem; color: var(--muted);
}
.popup-box .eyebrow{ justify-content:center; }
.popup-box h3{ font-size:1.5rem; color: var(--forest-deep); margin: 8px 0 14px; }
.popup-box p{ font-size:.9rem; color: var(--muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .quick-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid, .dept-grid, .course-grid, .research-grid, .gallery-grid, .testi-grid, .reviews-wrap{ grid-template-columns: repeat(2,1fr); }
  .counter-strip{ grid-template-columns: repeat(3,1fr); row-gap:24px; }
  .welcome-grid, .hospital-wrap, .news-events-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1150px){
  .main-nav{ position:fixed; top:0; right:-100%; height:100vh; width:min(340px,86vw);
    background: var(--paper); flex-direction:column; padding: 90px 20px 20px; transition: right .3s ease;
    box-shadow: -12px 0 30px rgba(0,0,0,.15); overflow-y:auto; }
  .main-nav.open{ right:0; }
  .main-nav > ul{ flex-direction:column; align-items:stretch; width:100%; gap:0; }
  .main-nav > ul > li > a{ padding: 14px 6px; border-bottom:1px solid var(--line); border-radius:0; justify-content:space-between; color: var(--forest-deep); }
  .main-nav > ul > li > a:hover{ color: var(--forest-deep); }
  .mega{ position:static; box-shadow:none; border:none; opacity:1; visibility:visible; transform:none; display:none; padding: 4px 0 4px 14px; }
  .mega.mega-wide{ max-width:none; max-height:none; overflow:visible; min-width:0; padding: 4px 0 4px 14px; }
  .main-nav li.open > .mega{ display:block; }
  .nav-toggle{ display:block; }


  .brand-bar-inner{ padding: 16px 0; }
  .brand-text .name{ font-size: 1.15rem; }
  .brand-mark{ width:64px; height:52px; }
}
@media (max-width: 480px){
  .brand-mark{ width:56px; height:46px; }
}
@media (max-width: 640px){
  section{ padding: 56px 0; }
  .quick-grid{ grid-template-columns: 1fr; }
  .why-grid, .dept-grid, .course-grid, .research-grid, .gallery-grid, .testi-grid, .reviews-wrap{ grid-template-columns: 1fr; }
  .gallery-item.wide{ grid-column: span 1; }
  .counter-strip{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero{ min-height: 100vh; }
  .hero-shloka{ display:none; }
}
/* =========================================================
   NAV BAR — ONE-LINE FIT (FULL WIDTH, NORMAL FONT SIZE)
   Replace the previous "NAV BAR — ONE-LINE FIT" block at the
   end of style.css with this one.
   ========================================================= */

@media (min-width: 1151px) {

  /* Full viewport width for the nav row (not capped at 1200/1600px) */
  .nav-bar-inner.container {
    max-width: 100%;
    width: 100%;
    padding: 0 24px;
  }

  .main-nav > ul {
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    justify-content: space-between;  /* spreads 13 items across full screen width */
  }

  .main-nav > ul > li > a {
    font-size: 14.5px;   /* barely smaller than original .95rem (~15.2px) */
    padding: 20px 12px;
    white-space: nowrap;
  }

  .main-nav > ul > li > a .caret {
    font-size: 10px;
    margin-left: 2px;
  }

}


/* =========================================================
   MEGA DROPDOWN — VISIBLE BLUE COLOR (BOLDER VERSION)
   Replace the previous "MEGA DROPDOWN — ATTRACTIVE BLUE THEME"
   block with this one.
   ========================================================= */

.mega{
  background: #eff0f3;              /* clearly visible light blue, not near-white */
  border: 1px solid #d7e1f1;
  border-top: 4px solid var(--gold);
  box-shadow: 0 16px 40px -14px rgba(30,76,138,0.45);
}

.mega a{
  position: relative;
  padding-left: 16px;
  border-left: 3px solid transparent;
  color: var(--forest-deep);
  transition: background .15s ease, color .15s ease, border-color .15s ease, padding-left .15s ease;
}

.mega a:hover{
  background: var(--forest);
  color: #fff;
  border-left-color: var(--gold);
  padding-left: 20px;
}

.mega-col-title{
  color: #fff;
  background: var(--forest);
  border-radius: 4px;
  margin-top: 6px;
  padding: 8px 10px;
}

.mega-col-title:first-child{
  margin-top: 0;
}


/* =====================================================
   Accommodation Module — styles
   Existing site cha color-language follow karto:
   forest green primary, gold accent, cream background
   ===================================================== */

:root{
  --acc-forest:#1f3d2c;
  --acc-forest-dark:#132a1d;
  --acc-sidebar-bg:#2f5844;
  --acc-gold:#c8963e;
  --acc-cream:#f7f4ec;
  --acc-line:#e4ddc9;
  --acc-text:#2b2b26;
  --acc-muted:#6b6b5f;
}

.acc-wrap{ max-width:1100px; margin:0 auto; padding:0 24px; }

/* ---- Availability search form ---- */
.acc-search-box{
  background:var(--acc-cream);
  border:1px solid var(--acc-line);
  border-radius:10px;
  padding:28px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:18px;
  align-items:end;
  margin:32px 0;
}
.acc-field{ display:flex; flex-direction:column; gap:6px; }
.acc-field label{ font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; color:var(--acc-muted); font-weight:600; }
.acc-field input, .acc-field select{
  padding:11px 12px; border:1px solid var(--acc-line); border-radius:6px;
  font-size:.95rem; background:#fff; color:var(--acc-text);
}
.acc-field input:focus, .acc-field select:focus{ outline:2px solid var(--acc-gold); outline-offset:1px; }
.acc-btn{
  background:var(--acc-forest); color:#fff; border:none; border-radius:6px;
  padding:12px 22px; font-weight:600; cursor:pointer; font-size:.95rem;
  transition:background .2s ease;
}
.acc-btn:hover{ background:var(--acc-forest-dark); }
.acc-btn-gold{ background:var(--acc-gold); color:var(--acc-forest-dark); }
.acc-btn-gold:hover{ background:#b3852f; }
.acc-btn:disabled{ opacity:.5; cursor:not-allowed; }

/* ---- Room result cards ---- */
.acc-room-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; margin:24px 0 40px; }
.acc-room-card{ border:1px solid var(--acc-line); border-radius:10px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.acc-room-top{ background:var(--acc-forest); color:#fff; padding:16px 18px; }
.acc-room-top .room-no{ font-size:1.4rem; font-weight:700; }
.acc-room-top .room-cat{ font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color:var(--acc-gold); }
.acc-room-body{ padding:16px 18px; flex:1; display:flex; flex-direction:column; gap:8px; }
.acc-room-meta{ display:flex; justify-content:space-between; font-size:.85rem; color:var(--acc-muted); }
.acc-room-price{ font-size:1.1rem; font-weight:700; color:var(--acc-forest); }
.acc-room-price span{ font-size:.75rem; font-weight:400; color:var(--acc-muted); }
.acc-empty{ text-align:center; padding:50px 20px; color:var(--acc-muted); border:1px dashed var(--acc-line); border-radius:10px; }

/* ---- Booking form ---- */
.acc-form-card{ background:#fff; border:1px solid var(--acc-line); border-radius:10px; padding:28px; max-width:640px; margin:32px auto; }
.acc-form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.acc-form-grid .full{ grid-column:1 / -1; }
.acc-summary{ background:var(--acc-cream); border-radius:8px; padding:16px 18px; margin-bottom:20px; font-size:.9rem; }
.acc-summary strong{ color:var(--acc-forest); }

/* ---- Confirmation ---- */
.acc-confirm{ text-align:center; max-width:480px; margin:40px auto; padding:32px; border:1px solid var(--acc-line); border-radius:10px; background:#fff; }
.acc-confirm .ref{ font-size:1.3rem; font-weight:700; color:var(--acc-forest); margin:10px 0; }
.acc-confirm img{ margin:18px 0; }

/* ---- Status badges (shared front + admin) ---- */
.badge{ display:inline-block; padding:3px 10px; border-radius:20px; font-size:.75rem; font-weight:600; }
.badge-blue{ background:#e3edf7; color:#2a5c8a; }
.badge-green{ background:#e5f2e6; color:#2c7a37; }
.badge-gray{ background:#eee; color:#666; }
.badge-red{ background:#fbe4e4; color:#b03636; }
.badge-amber{ background:#fbeece; color:#96690f; }

/* =====================================================
   ADMIN PANEL
   ===================================================== */
.admin-body{ background:#f2f0e8; min-height:100vh; font-family:inherit; }
.admin-shell{ display:flex; min-height:100vh; }
.admin-side{ width:210px; background:#ffffff !important; color:#2b2b26; flex-shrink:0; padding:20px 0; border-right:1px solid #e4ddc9; }
.admin-side .brand{ padding:0 22px 20px; font-weight:700; color:#7a1f3d; border-bottom:1px solid #e4ddc9; margin-bottom:10px; font-size:.95rem; }
.admin-side a{ display:block; padding:12px 22px; color:#4a4a42; text-decoration:none; font-size:.9rem; cursor:pointer; border-left:3px solid transparent; }
.admin-side a:hover{ background:#f7f4ec; color:#2b2b26; }
.admin-side a.active{ background:#f7f4ec; color:#c8963e; font-weight:700; border-left:3px solid #c8963e; }
.admin-main{ flex:1; padding:30px 34px; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.admin-topbar h1{ font-size:1.4rem; color:var(--acc-forest-dark); margin:0; }
.admin-card{ background:#fff; border:1px solid var(--acc-line); border-radius:10px; padding:22px; margin-bottom:22px; }
.admin-stat-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; margin-bottom:26px; }
.admin-stat{ background:#fff; border:1px solid var(--acc-line); border-radius:10px; padding:18px; }
.admin-stat .n{ font-size:1.7rem; font-weight:700; color:var(--acc-forest); }
.admin-stat .l{ font-size:.8rem; color:var(--acc-muted); }
.admin-table{ width:100%; border-collapse:collapse; font-size:.88rem; }
.admin-table th{ text-align:left; padding:10px 12px; background:var(--acc-cream); color:var(--acc-forest-dark); border-bottom:1px solid var(--acc-line); }
.admin-table td{ padding:10px 12px; border-bottom:1px solid var(--acc-line); vertical-align:middle; }
.admin-table tr:hover td{ background:#faf9f4; }
.admin-actions a, .admin-actions button{ font-size:.8rem; margin-right:8px; color:var(--acc-forest); background:none; border:none; cursor:pointer; text-decoration:underline; padding:0; }
.admin-login-wrap{ display:flex; align-items:center; justify-content:center; min-height:100vh; background:var(--acc-forest-dark); }
.admin-login-card{ background:#fff; padding:36px; border-radius:10px; width:100%; max-width:340px; }
.admin-login-card h2{ margin-top:0; color:var(--acc-forest-dark); }
.admin-filter-bar{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.admin-filter-bar select, .admin-filter-bar input{ padding:8px 10px; border:1px solid var(--acc-line); border-radius:6px; font-size:.85rem; }
.alert{ padding:12px 16px; border-radius:6px; margin-bottom:16px; font-size:.9rem; }
.alert-success{ background:#e5f2e6; color:#2c7a37; }
.alert-error{ background:#fbe4e4; color:#b03636; }
/* =====================================================
   Accommodation — Photo Gallery additions
   (append this block to the end of style.css)
   ===================================================== */

.acc-filter-bar{
  display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap;
  background:var(--acc-cream); border:1px solid var(--acc-line); border-radius:10px;
  padding:20px 24px; margin:24px 0;
}
.acc-filter-bar select{
  padding:11px 12px; border:1px solid var(--acc-line); border-radius:6px;
  font-size:.95rem; background:#fff; min-width:200px;
}

.acc-room-photo{
  height:190px; background-size:cover; background-position:center; background-color:var(--acc-line);
  position:relative;
}
.acc-room-tag{
  position:absolute; top:12px; left:12px; background:var(--acc-forest-dark); color:#fff;
  font-size:.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  padding:4px 10px; border-radius:20px;
}
/* Language & Apply Now Button */
.lang-btn,
.brand-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 40px;
    padding: 0 18px;
   font-size: 0.9rem;
    font-weight: 600;

    background: var(--gold);      /* Notice bar cha yellow */
    color: var(--forest-deep);    /* Blue text */
    border: none;
    border-radius: 6px;

    transition: all .3s ease;
}

.lang-btn:hover,
.brand-cta:hover{
    background: var(--gold-light);
    color: var(--forest-deep);
}
@media (max-width: 1150px){
  .main-nav{ position:fixed; top:0; right:-100%; height:100vh; width:min(340px,86vw);
    background: var(--paper); flex-direction:column; padding: 90px 20px 20px; transition: right .3s ease;
    box-shadow: -12px 0 30px rgba(0,0,0,.15); overflow-y:auto; }
  .main-nav.open{ right:0; }
  .main-nav > ul{ flex-direction:column; align-items:stretch; width:100%; gap:0; }
  .main-nav > ul > li > a{ padding: 14px 6px; border-bottom:1px solid var(--line); border-radius:0; justify-content:space-between; color: var(--forest-deep); }
  .main-nav > ul > li > a:hover{ color: var(--forest-deep); }
  .mega{ position:static; box-shadow:none; border:none; opacity:1; visibility:visible; transform:none; display:none; padding: 4px 0 4px 14px; }
  .mega.mega-wide{ max-width:none; max-height:none; overflow:visible; min-width:0; padding: 4px 0 4px 14px; }
  .main-nav li.open > .mega{ display:block; }
  .nav-toggle{ display:block; }

/* ---- Topbar: stack vertically, no cut-off ---- */
  .topbar .container{ flex-direction: column; align-items: flex-start; gap: 4px; padding-top:6px; padding-bottom:6px; }
  .topbar-left{ flex-direction: column; gap: 4px; width: 100%; }
  .topbar-left span{ font-size: .74rem; white-space: normal; word-break: break-word; }

  /* ---- Brand bar: logo+name on top row, buttons on next row ---- */
  .brand-bar-inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 0;
    row-gap: 12px;
  }
  .brand{ flex: 1 1 auto; min-width: 0; }
  .brand-mark{ width:64px; height:52px; }
  .brand-text .name{ font-size: 1rem; white-space: normal; }
  .brand-text .sub{ font-size: .68rem; }

  .brand-actions{
    width: 100%;
    justify-content: center;
    order: 3;
  }
  .lang-btn, .brand-cta{
    height: 38px;
    padding: 0 16px;
    font-size: .9rem;
  }
}
/* ---- Move hamburger next to brand-actions on mobile ---- */
  .nav-toggle{
    position: static;
    transform: none;
    order: 4;
    padding: 6px;
    margin-left: 6px;
  }
  .brand-actions{
    display: flex;
    align-items: center;
  }
@media (max-width: 480px){
  .brand-mark{ width:56px; height:46px; }
  .brand-text .name{ font-size: .92rem; }
  .lang-btn, .brand-cta{
    font-size: .82rem;
    padding: 0 12px;
  }
}


/* =========================================================
   FOOTER — MOBILE POLISH
   ========================================================= */
@media (max-width: 860px){
  .site-footer{ padding-top: 40px; text-align: center; }

  .footer-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding-bottom: 30px;
  }

  /* Brand: full width, centered, first */
  .footer-brand{
    grid-column: 1 / -1;
    display:flex; flex-direction:column; align-items:center;
    order: 1;
  }
  .footer-brand .name{ font-size: 1.15rem; }
  .footer-brand p{ max-width: 320px; margin-left:auto; margin-right:auto; font-size:.88rem; }
  .footer-social{ justify-content:center; }

  /* Quick Links + 2nd col + Important Links: side by side */
  .footer-col{
    text-align: left;
    border-top: 1px solid rgba(246,242,231,.12);
    padding-top: 18px;
    order: 2;
  }
  .footer-col h5{ font-size:.74rem; margin-bottom: 10px; }
  .footer-col ul{ display:flex; flex-direction:column; gap:7px; }
  .footer-col li{ margin-bottom:0; font-size:.86rem; }

  /* Map: full width, last */
  .footer-map{
    grid-column: 1 / -1;
    order: 3;
    text-align: left;
  }
  .footer-map iframe{ height: 170px; }

  .footer-bottom{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    font-size: .8rem;
  }
}

@media (max-width: 480px){
  .site-footer{ padding-top: 36px; }
  .footer-grid{ gap: 28px; }
  .footer-brand .name{ font-size: 1.1rem; }
  .footer-col h5{ margin-bottom: 10px; }
}
/* Admissions CTA strip — kami padding, kami blue empty space */
#admissions{
  padding: 5px 0;
}
