@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM PROPERTIES & THEME SYSTEM --- */
:root {
  /* Color Palette - HSL (Deep Teal & Warm Emerald Theme) */
  --primary-hue: 180;
  --secondary-hue: 150;
  
  --primary-color: HSL(var(--primary-hue), 65%, 22%);     /* Deep clinical teal */
  --primary-light: HSL(var(--primary-hue), 55%, 35%);     /* Muted teal */
  --primary-ultra-light: HSL(var(--primary-hue), 40%, 94%);/* Light blue-teal tint */
  --secondary-color: HSL(var(--secondary-hue), 60%, 30%); /* Healing emerald */
  --secondary-light: HSL(var(--secondary-hue), 50%, 45%); /* Soft emerald */
  
  /* Neutral Palette */
  --neutral-dark: HSL(220, 25%, 12%);     /* Deep charcoal */
  --neutral-muted: HSL(215, 15%, 45%);    /* Slate gray */
  --neutral-light: HSL(210, 30%, 98%);    /* Soft cream white */
  --white: #ffffff;
  
  /* Semantic Status Colors */
  --emergency: HSL(0, 85%, 45%);          /* Urgent red */
  --emergency-hover: HSL(0, 85%, 40%);
  --info: HSL(200, 75%, 45%);             /* Blue info */
  --warning: HSL(35, 90%, 50%);           /* Amber warning (Aarogyasri etc.) */
  --warning-hover: HSL(35, 90%, 45%);
  --success: HSL(140, 60%, 40%);          /* Green success */
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 59, 66, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 59, 66, 0.12);
  --shadow-emergency: 0 8px 30px rgba(220, 38, 38, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(13, 59, 66, 0.08);
  --glass-blur: blur(12px);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 110px;
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.25;
}

p {
  color: var(--neutral-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* --- LAYOUT WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- EMERGENCY TOP ALERT BANNER --- */
.emergency-top-banner {
  background: linear-gradient(90deg, var(--emergency), #b91c1c);
  color: var(--white);
  padding: 10px 0;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
  z-index: 1001;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.emergency-top-banner a {
  background: var(--white);
  color: var(--emergency);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  font-weight: 700;
}

.emergency-top-banner a:hover {
  background: var(--primary-ultra-light);
  transform: translateY(-1px);
}

/* --- HEADER & DUAL LOGO NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 96% !important;
  width: 96% !important;
  flex-wrap: wrap; /* allows two-row wrap on desktop */
}

@media (min-width: 1025px) {
  .brand-logos {
    display: contents; /* splits logo-link and brand-info to direct children of header-container */
  }
  .logo-link {
    order: 1;
    display: block;
  }
  .brand-info {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;   /* Center-align brand title and subtitle horizontally */
    text-align: center;    /* Center-align text */
    flex-grow: 1;
    margin: 0 20px;
  }
  .right-logos {
    order: 3;
    display: flex;
    align-items: center;
  }
  .main-nav {
    order: 4;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    border-top: 1px solid rgba(13, 59, 66, 0.08);
    padding-top: 12px;
  }
  .nav-list {
    width: auto;
    justify-content: center;
    gap: 16px !important;
  }
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  height: 125px;
  width: 125px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0d9488;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3), inset 0 2px 4px rgba(255,255,255,0.8);
  filter: drop-shadow(0 6px 14px rgba(13, 59, 66, 0.25));
  background-color: var(--white);
  transition: var(--transition);
  display: block;
}

.logo-link img:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.45);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #dc2626;
  text-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.brand-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d9488;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.brand-motto {
  font-size: 0.72rem !important;
  color: #475569 !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  margin-top: 4px !important;
  text-transform: uppercase;
}

.right-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-telangana, .logo-rising {
  height: 110px;
  width: 110px;
  object-fit: contain;
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  box-shadow: 0 6px 18px rgba(13, 59, 66, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
  transition: var(--transition);
  display: block;
}

.logo-telangana:hover, .logo-rising:hover {
  transform: scale(1.06);
  border-color: #0d9488;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

  box-shadow: 0 4px 12px rgba(13, 59, 66, 0.08);
  background-color: var(--white);
  display: block;
}

/* --- MAIN MENU NAVIGATION --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  color: var(--neutral-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  background-color: var(--primary-ultra-light);
}

/* --- MOBILE MENU BUTTON --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, HSL(var(--primary-hue), 65%, 15%), HSL(var(--primary-hue), 50%, 25%));
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr; /* Balanced columns to let buttons align horizontally */
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: HSL(var(--secondary-hue), 70%, 75%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-ultra-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 1px solid var(--secondary-light);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-emergency {
  background-color: var(--emergency);
  color: var(--white);
  box-shadow: var(--shadow-emergency);
}

.btn-emergency:hover {
  background-color: var(--emergency-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.btn-warning {
  background-color: var(--warning);
  color: var(--neutral-dark);
  font-weight: 700;
}

.btn-warning:hover {
  background-color: var(--warning-hover);
  transform: translateY(-2px);
}

/* --- HERO IMAGE HOLDER --- */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.15); /* Glass beveled border */
  outline: 1px solid rgba(255, 255, 255, 0.25); /* Fine outline for sharpness */
  box-shadow: 
    0 25px 60px rgba(13, 59, 66, 0.3), /* Outset depth shadow */
    inset 0 2px 0 rgba(255, 255, 255, 0.4), /* Top-side emboss highlight */
    inset 0 -2px 0 rgba(0, 0, 0, 0.15); /* Bottom depth highlight */
  aspect-ratio: 16/9;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.hero-image-wrapper:hover {
  transform: translateY(-8px) scale(1.02); /* 3D lift */
  box-shadow: 
    0 35px 80px rgba(13, 59, 66, 0.4), 
    0 0 30px rgba(79, 209, 197, 0.2), /* Cyan neon reflection */
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03); /* Subtle zoom in */
}

/* --- QUICK LINK CARDS --- */
.quick-links-section {
  margin-top: -60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

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

.quick-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 59, 66, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: HSL(var(--primary-hue), 50%, 85%);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.quick-card.emergency-card {
  background: linear-gradient(135deg, var(--emergency), HSL(0, 80%, 35%));
  color: var(--white);
}

.quick-card.emergency-card .card-icon {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.quick-card.emergency-card h3 {
  color: var(--white);
}

.quick-card.emergency-card p {
  color: rgba(255, 255, 255, 0.85);
}

.quick-card.aarogyasri-card {
  background: linear-gradient(135deg, HSL(35, 90%, 96%), HSL(35, 90%, 90%));
  border: 1px solid HSL(35, 90%, 80%);
}

.quick-card.aarogyasri-card .card-icon {
  background-color: var(--warning);
  color: var(--neutral-dark);
}

.quick-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.card-link {
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.95rem;
}

.quick-card.emergency-card .card-link {
  color: var(--white);
}

.quick-card.aarogyasri-card .card-link {
  color: HSL(35, 90%, 30%);
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 60px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--neutral-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- GENERIC SECTION HEADERS --- */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--primary-ultra-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--neutral-muted);
}

/* --- SCHEME & BENEFITS ROW (aarogyasri highlights) --- */
.schemes-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.schemes-image-holder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.15);
  outline: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 25px 60px rgba(13, 59, 66, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/11;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.schemes-image-holder:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 
    0 35px 80px rgba(13, 59, 66, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.schemes-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.schemes-image-holder:hover img {
  transform: scale(1.02);
}

.scheme-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scheme-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.scheme-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.scheme-check {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-ultra-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

.scheme-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.scheme-text p {
  font-size: 0.95rem;
}

/* --- TWO COLUMN HIGHLIGHT --- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: 80px 0 0;           /* Remove bottom padding — footer-bottom handles it */
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;            /* Clip footer-bottom edges cleanly */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo img {
  height: 55px;
  width: auto;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 35px;
  height: 3px;
  background-color: var(--secondary-light);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-link a:hover {
  color: var(--white);
  padding-left: 6px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-item strong {
  color: var(--white);
  display: block;
}

/* FOOTER BOTTOM — full-width, centered copyright + Deepthi logo */
.footer-bottom {
  /* Break out of any container/padding constraints — go full width */
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  padding: 22px 20px 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #0d3b42 0%, #166534 100%);
}

.footer-bottom .copyright {
  color: #a5f3fc;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
}

.footer-bottom .powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  flex-wrap: wrap;
}

.footer-bottom .powered-by img {
  height: 30px;
  width: auto;
  border-radius: 4px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- TAB COMPONENT FOR DEPARTMENTS --- */
.tab-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  border: 1px solid var(--glass-border);
  color: var(--neutral-muted);
  font-family: var(--font-headings);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
  display: block;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: HSL(var(--primary-hue), 50%, 80%);
}

.dept-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.dept-card hr {
  border: none;
  border-top: 1px solid var(--glass-border);
}

.dept-timing {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

.dept-timing span {
  font-weight: 700;
  color: var(--neutral-dark);
}

/* --- PATIENT REACH & ROUTE GUIDE --- */
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.map-placeholder-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  border: 1px solid var(--glass-border);
}

.map-iframe-container {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background-color: var(--primary-ultra-light);
  border: 1px solid var(--glass-border);
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.route-steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.route-step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.route-step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--secondary-color);
  color: var(--white);
  font-family: var(--font-headings);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.route-step-text h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

/* --- CONTACT DIRECTORY & FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.directory-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.directory-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.directory-item:hover {
  border-color: HSL(var(--primary-hue), 50%, 80%);
}

.directory-label {
  font-weight: 700;
}

.directory-number {
  color: var(--primary-color);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 59, 66, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 59, 66, 0.1);
}

/* --- BLOG ARTICLE LAYOUT --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: HSL(var(--primary-hue), 50%, 80%);
}

.blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary-light);
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.95rem;
}

.blog-readmore {
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* --- FLOATING ACTIONS --- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.08);
}

.floating-emergency {
  background-color: var(--emergency);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.floating-phone {
  background-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(13, 59, 66, 0.4);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col-grid, .schemes-row, .route-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 80px;
  }
  .menu-toggle {
    display: block !important;
  }
  .main-nav {
    display: none; /* Controlled via JS for mobile drawer */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--glass-border);
    padding: 20px;
    z-index: 1000;
  }
  .main-nav.open {
    display: block !important;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-link {
    padding: 12px;
  }
  .right-logos {
    display: flex !important; /* Keep visible on mobile for menu toggle */
    align-items: center;
    gap: 12px;
    order: 3;
  }
  .logo-telangana {
    height: 40px !important;
    width: 40px !important;
    object-fit: contain;
    display: block !important;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-subtitle {
    font-size: 0.72rem;
  }
  .brand-motto {
    display: none !important; /* Hide long motto text on mobile header */
  }
  .logo-link img {
    height: 55px !important;
    width: 55px !important;
    min-width: 55px !important;
    border-radius: 50%;
    object-fit: cover;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .quick-links-section {
    margin-top: -30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}

/* --- ADMIN PANEL SPECIFIC STYLES --- */
.admin-lock-screen {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.admin-dashboard {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  padding: 40px;
}

.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-ultra-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--neutral-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.admin-row:hover {
  transform: translateX(4px);
  border-color: HSL(var(--primary-hue), 50%, 80%);
}

.admin-row-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-row-title {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.15rem;
}

.admin-row-desc {
  font-size: 0.9rem;
  color: var(--neutral-muted);
}

/* iOS Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-muted);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

input:checked + .slider {
  background-color: var(--secondary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--secondary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.status-badge {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.online {
  background-color: var(--primary-ultra-light);
  color: var(--primary-color);
}

.status-badge.offline {
  background-color: HSL(0, 85%, 95%);
  color: var(--emergency);
}

/* --- SCROLLING ANNOUNCEMENT TICKER --- */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--primary-ultra-light);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.ticker {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  gap: 80px;
  color: var(--primary-color);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-badge {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker-badge.alert {
  background-color: var(--emergency);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --- 6-COLUMN QUICK ACTIONS GRID --- */
.quick-actions-section {
  margin-top: -50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.quick-btn-card {
  border-radius: var(--radius-md);
  padding: 24px 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Modifier: Appointment */
.quick-btn-card.appointment {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}
.quick-btn-card.appointment .quick-btn-icon {
  background-color: #ffffff;
  color: #0284c7;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.08);
}
.quick-btn-card.appointment .quick-btn-title {
  color: #0369a1;
}
.quick-btn-card.appointment:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.15);
  border-color: #38bdf8;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}
.quick-btn-card.appointment:hover .quick-btn-icon {
  background-color: #0284c7;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

/* Modifier: Emergency */
.quick-btn-card.emergency {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
}
.quick-btn-card.emergency .quick-btn-icon {
  background-color: #ffffff;
  color: #dc2626;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.08);
}
.quick-btn-card.emergency .quick-btn-title {
  color: #991b1b;
  font-weight: 800;
}
.quick-btn-card.emergency:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.15);
  border-color: #f87171;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}
.quick-btn-card.emergency:hover .quick-btn-icon {
  background-color: #dc2626;
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
}

/* Modifier: Doctor */
.quick-btn-card.doctor {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
}
.quick-btn-card.doctor .quick-btn-icon {
  background-color: #ffffff;
  color: #16a34a;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.08);
}
.quick-btn-card.doctor .quick-btn-title {
  color: #15803d;
}
.quick-btn-card.doctor:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.15);
  border-color: #4ade80;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.quick-btn-card.doctor:hover .quick-btn-icon {
  background-color: #16a34a;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

/* Modifier: Departments */
.quick-btn-card.departments {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
}
.quick-btn-card.departments .quick-btn-icon {
  background-color: #ffffff;
  color: #9333ea;
  box-shadow: 0 4px 10px rgba(147, 51, 234, 0.08);
}
.quick-btn-card.departments .quick-btn-title {
  color: #7e22ce;
}
.quick-btn-card.departments:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(147, 51, 234, 0.15);
  border-color: #c084fc;
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}
.quick-btn-card.departments:hover .quick-btn-icon {
  background-color: #9333ea;
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
}

/* Modifier: Packages */
.quick-btn-card.packages {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
}
.quick-btn-card.packages .quick-btn-icon {
  background-color: #ffffff;
  color: #d97706;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.08);
}
.quick-btn-card.packages .quick-btn-title {
  color: #b45309;
}
.quick-btn-card.packages:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(217, 119, 6, 0.15);
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.quick-btn-card.packages:hover .quick-btn-icon {
  background-color: #d97706;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

/* Modifier: Contact */
.quick-btn-card.contact {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border: 1px solid #99f6e4;
}
.quick-btn-card.contact .quick-btn-icon {
  background-color: #ffffff;
  color: #0d9488;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.08);
}
.quick-btn-card.contact .quick-btn-title {
  color: #0f766e;
}
.quick-btn-card.contact:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(13, 148, 136, 0.15);
  border-color: #2dd4bf;
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
}
.quick-btn-card.contact:hover .quick-btn-icon {
  background-color: #0d9488;
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
}

.quick-btn-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-btn-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

/* --- LIVE HOSPITAL OPERATIONS HUB --- */
.live-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.live-status-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.live-status-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: HSL(var(--primary-hue), 50%, 80%);
}

.live-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.live-card-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--neutral-muted);
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--success);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: 50%;
  animation: status-pulse 1.8s infinite ease-in-out;
  opacity: 0.8;
}

.pulse-dot.danger { background-color: var(--emergency); }
.pulse-dot.warning { background-color: var(--warning); }

@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

.live-metric-value {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 6px;
}

.live-metric-label {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  font-weight: 600;
}

.live-status-card.alert-card {
  background: linear-gradient(135deg, HSL(0, 85%, 97%), HSL(0, 85%, 93%));
  border: 1px solid HSL(0, 85%, 85%);
}

.live-status-card.alert-card .live-card-title {
  color: var(--emergency);
}

.live-status-card.alert-card .live-metric-value {
  color: var(--emergency);
  font-size: 1.6rem;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Responsive adjustments for 6-column grid */
@media (max-width: 1024px) {
  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .quick-actions-section {
    margin-top: -30px;
    margin-bottom: 40px;
  }
}

/* --- HEADER NAVIGATION DROPDOWNS --- */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 8px 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1002;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--neutral-dark) !important;
  background-color: transparent !important;
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background-color: var(--primary-ultra-light) !important;
  color: var(--primary-color) !important;
  padding-left: 24px;
}

/* Submenu arrow indicators */
.nav-link.has-submenu::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link.has-submenu::after {
  transform: rotate(180deg);
}

/* Responsive Menu Adjustments for Mobile */
@media (max-width: 1024px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0 0 0 15px;
    opacity: 1;
    visibility: visible;
    display: none; /* Controlled via click/hover on mobile */
    min-width: auto;
    background-color: transparent;
  }
  .nav-item:hover .dropdown-menu {
    display: block;
  }
  .dropdown-menu li a {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* Refine header responsiveness to prevent wrapping on medium screens */
@media (min-width: 1025px) and (max-width: 1366px) {
  .brand-title {
    font-size: 1.45rem;
  }
  .brand-subtitle {
    font-size: 0.7rem;
  }
  .nav-link {
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    gap: 6px !important;
  }
  .dropdown-menu {
    min-width: 180px;
  }
  .dropdown-menu li a {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  .logo-link img {
    height: 95px !important;
    width: 95px !important;
  }
  .logo-telangana {
    height: 90px !important;
    width: 90px !important;
  }
  .brand-logos {
    gap: 10px;
  }
  .right-logos {
    gap: 10px;
  }
}

/* Google Translate Widget Custom Styling */
#google_translate_element {
  display: inline-block;
  vertical-align: middle;
}
.goog-te-gadget {
  font-family: inherit !important;
  font-size: 0px !important; /* Hides "Powered by Google" string */
  color: transparent !important;
}
.goog-te-gadget span {
  display: none !important;
}
.goog-te-gadget .goog-te-combo {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}
.goog-te-gadget .goog-te-combo option {
  background: #0d3b42;
  color: #fff;
  font-family: 'Outfit', sans-serif;
}
.goog-te-gadget .goog-te-combo:hover {
  background: rgba(255, 255, 255, 0.25);
}
/* Hide translation top bar frame */
iframe.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
.goog-logo-link {
  display: none !important;
}
.goog-te-gadget {
  font-size: 0px !important;
}

/* --- DYNAMIC HERO LAYOUT SWITCHER --- */

/* 1. Cinematic Split Style (Default) */
.hero.hero-style-split .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.hero.hero-style-split .hero-background-slideshow {
  display: none;
}
.hero.hero-style-split .hero-right-visual {
  display: block;
}

/* 2. Full-Bleed Background Style */
.hero.hero-style-bleed {
  padding: 120px 0 140px;
  background: none;
}
.hero.hero-style-bleed .hero-background-slideshow {
  display: block !important;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero.hero-style-bleed .hero-background-slideshow::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(3, 21, 24, 0.8), rgba(9, 44, 48, 0.85));
  z-index: 2;
}
.hero.hero-style-bleed .hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero.hero-style-bleed .hero-content {
  max-width: 800px;
  text-align: center;
  background: rgba(13, 59, 66, 0.45);
  backdrop-filter: blur(14px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero.hero-style-bleed .hero-buttons {
  justify-content: center;
}
.hero.hero-style-bleed .hero-right-visual {
  display: none !important;
}

/* 3. 3D Stack Carousel Style */
.hero.hero-style-carousel .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.hero.hero-style-carousel .hero-background-slideshow {
  display: none;
}
.hero.hero-style-carousel .hero-right-visual {
  display: block;
  perspective: 1200px;
}
.hero.hero-style-carousel .hero-slideshow-container {
  display: block !important;
  position: relative;
  height: 380px;
  width: 100%;
  transform: none !important;
}
.hero.hero-style-carousel .hero-slideshow-container img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 20px;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  transform: scale(0.8) translateZ(-150px);
  z-index: 1;
}
.hero.hero-style-carousel .hero-slideshow-container img.active {
  opacity: 1;
  transform: scale(1) translateZ(0);
  z-index: 3;
}
.hero.hero-style-carousel .hero-slideshow-container img.prev {
  opacity: 0.55;
  transform: translateX(-24%) scale(0.85) rotateY(20deg);
  z-index: 2;
}
.hero.hero-style-carousel .hero-slideshow-container img.next {
  opacity: 0.55;
  transform: translateX(24%) scale(0.85) rotateY(-20deg);
  z-index: 2;
}
.hero.hero-style-carousel #heroCarouselDots {
  display: none !important;
}

/* --- NEWS & NOTIFICATIONS BOARD COMPONENT --- */
.notif-board-section {
  padding: 45px 0;
  background: #f8fafc;
}

.notif-board-wrapper {
  background: #e8f2fc;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 24px rgba(13, 59, 66, 0.06);
  border: 1px solid #d0e2f5;
}

.notif-tabs-header {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
}

.notif-tab-btn {
  background: transparent;
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 10px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notif-tab-btn:hover {
  color: #0d9488;
}

.notif-tab-btn.active {
  background: #ffffff;
  border-color: #cbd5e1 #cbd5e1 #ffffff;
  color: #0d3b42;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.03);
}

.notif-content-box {
  background: #ffffff;
  border-radius: 0 12px 12px 12px;
  border: 1px solid #cbd5e1;
  padding: 20px 24px;
}

.notif-list-scroll {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 6px;
}

.notif-list-scroll::-webkit-scrollbar {
  width: 6px;
}
.notif-list-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.notif-list-scroll::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 10px;
}

.notif-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.notif-item-row:nth-child(even) {
  background: #f8fafc;
}

.notif-item-row:hover {
  background: #f0fdfa;
}

.notif-left-info {
  flex: 1;
}

.notif-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.notif-item-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 4px;
}

.notif-item-date {
  font-size: 0.83rem;
  color: #64748b;
  font-weight: 600;
}

/* Animated Pulsing Icon Badge */
.animated-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffe4e6;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: pulseGlow 1.5s infinite alternate;
  flex-shrink: 0;
  margin-right: 6px;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
  100% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
}

.notif-btn-view {
  background: #ffffff;
  border: 1.5px solid #1d4ed8;
  color: #1d4ed8;
  padding: 6px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.notif-btn-view:hover {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.notif-footer-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.notif-btn-viewall {
  background: #eab308;
  color: #000000;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
}

.notif-btn-viewall:hover {
  background: #ca8a04;
  color: #ffffff;
  transform: translateY(-1px);
}

/* --- LEADERSHIP DIGNITARIES SECTION --- */
.notif-leadership-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .notif-leadership-grid {
    grid-template-columns: 1fr;
  }
}

.leadership-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(13, 59, 66, 0.05);
}

.leadership-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.leadership-title-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.leadership-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0d3b42;
  margin: 0;
}

.dignitary-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dignitary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  transition: all 0.25s ease;
}

.dignitary-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.12);
}

.dignitary-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0d9488;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
  flex-shrink: 0;
}

.dignitary-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dignitary-role {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(13, 148, 136, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

.dignitary-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d3b42;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.dignitary-name:hover {
  color: #0d9488;
  text-decoration: underline;
}

.dignitary-icon {
  font-size: 0.75rem;
  color: #0d9488;
  opacity: 0.7;
}

.dignitary-dept {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}







