/* =========================================================================
   INDORE INTERNATIONAL SCHOOL — Main Stylesheet
   Evekon / Jo CMS Premium Theme System
   ========================================================================= */

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

:root {
  --brand: #1b5c4a;
  --brand-dark: #123d35;
  --brand-light: #2d7c69;
  --gold: #f5c76a;
  --gold-light: #fef0c7;
  --gold-dark: #d99a2b;
  --white: #ffffff;
  --light-bg: #f8faf9;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(27, 92, 74, 0.06);
  --shadow: 0 8px 30px rgba(27, 92, 74, 0.08);
  --shadow-lg: 0 20px 45px rgba(27, 92, 74, 0.14);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Universal Top Scroll Progress Bar */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #ffde82, var(--brand-light));
  z-index: 10001;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(245, 199, 106, 0.8);
  pointer-events: none;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000 !important;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 2px 14px rgba(18, 61, 53, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar.scrolled {
  background: rgba(18, 61, 53, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(18, 61, 53, 0.4);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 250px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo .logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--brand-dark);
  box-shadow: 0 3px 10px rgba(245, 199, 106, 0.4);
}

.nav-logo img {
  height: 38px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.nav-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  overflow: hidden;
}

.nav-name .school-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-name .school-sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(245, 199, 106, 0.92);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 1px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 10px;
  flex-wrap: nowrap;
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-menu li a {
  display: block;
  padding: 6px 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-menu li a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu li a.active {
  color: var(--gold);
  font-weight: 700;
  background: rgba(245, 199, 106, 0.12);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 3px 12px rgba(245, 199, 106, 0.35);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(245, 199, 106, 0.5);
  color: var(--brand-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 6.5s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 61, 53, 0.88) 0%, rgba(18, 61, 53, 0.72) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(245, 199, 106, 0.3);
}

.hero-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  max-width: 820px;
  margin-bottom: 20px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .gold-text {
  color: var(--gold);
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin-bottom: 34px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  box-shadow: 0 6px 20px rgba(245, 199, 106, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245, 199, 106, 0.55);
  color: var(--brand-dark);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(27, 92, 74, 0.35);
}

.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27, 92, 74, 0.45);
  color: var(--white);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 61, 53, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--brand-dark);
  border-color: var(--gold);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots .dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--gold);
}

/* ===== PAGE HERO BANNER ===== */
.page-hero {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 61, 53, 0.88) 0%, rgba(18, 61, 53, 0.78) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 16px;
}

.breadcrumbs {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: var(--white);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--gold);
}

.breadcrumbs .current {
  color: var(--gold);
  font-weight: 600;
}

/* ===== STATS COUNTER BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 48px 0;
  border-bottom: 3px solid var(--gold);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

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

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

.section-bg-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
}

.section-bg-brand .section-header h2 {
  color: var(--white);
}

.section-divider {
  width: 70px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold), #ffde82);
  margin: 14px auto;
  border-radius: 4px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.section-bg-brand .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.25;
  margin: 8px 0 20px;
}

.two-col-content p {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.features-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--brand-dark);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Two-col image composite */
.two-col-media {
  position: relative;
}

.two-col-media .main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat-floating-card {
  position: absolute;
  bottom: -24px;
  right: -16px;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  padding: 22px 28px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.stat-floating-card .big-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.stat-floating-card .small-txt {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* ===== PROGRAM CARDS GRID ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.program-card .card-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.program-card .card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-card .stage-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.program-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.program-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== NOTICE BOARD & WHY CHOOSE US ===== */
.notice-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.notice-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.notice-bar-marker {
  width: 4px;
  height: 28px;
  border-radius: 4px;
  background: var(--gold);
}

.notice-box-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #fbfdfc;
  border: 1px solid #edf2f0;
  transition: var(--transition);
}

.notice-item:hover {
  background: #f0fdf4;
  border-color: var(--brand-light);
  transform: translateX(4px);
}

.notice-badge-new {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.notice-info .notice-date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.notice-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 2px 0 4px;
}

.notice-info p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.why-card {
  padding: 24px;
  border-radius: var(--radius);
  background: #f8faf9;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.why-card .why-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.why-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.testimonial-card .quote-text {
  font-style: italic;
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.author-meta .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-dark);
}

.author-meta .role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== GALLERY GRID & LIGHTBOX ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 61, 53, 0.85) 0%, rgba(18, 61, 53, 0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
}

/* ===== FACULTY & FACILITIES ===== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.faculty-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.faculty-card .faculty-photo {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.faculty-card .faculty-info {
  padding: 18px;
}

.faculty-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark);
}

.faculty-card .faculty-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 4px;
}

.faculty-card .faculty-qual {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.facility-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.facility-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.facility-card .facility-body {
  padding: 24px;
}

.facility-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.facility-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ADMISSION STEPS & TABLES ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--card-bg);
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.table-wrap {
  overflow-x: auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.styled-table th {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 20px;
  letter-spacing: 0.5px;
}

.styled-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: #334155;
}

.styled-table tr:hover td {
  background: #f8faf9;
}

/* ===== CONTACT & FORMS ===== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 54px;
}

.contact-card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.contact-card .contact-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.contact-card p, .contact-card a {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--gold-dark);
}

.form-box {
  background: var(--card-bg);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 92, 74, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 70px;
  border-top: 4px solid var(--gold);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-brand .brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .footer-brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact .icon {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 16px;
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.footer-hours .time {
  color: var(--gold);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 14px;
}

.cms-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  border: 1px solid rgba(245, 199, 106, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.cms-login-badge:hover {
  background: var(--gold);
  color: var(--brand-dark);
  border-color: var(--gold);
}

/* ===== FLOATING BUTTONS ===== */
/* Floating WhatsApp Button */
.fab-wa {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
}

.fab-wa:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Floating Scroll To Top Button */
#scrollToTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e2aa3f 100%);
  color: var(--brand-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTop:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 26px rgba(245, 199, 106, 0.55);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== JoCMS / Evekon CMS Integration Styles ===== */
.editable {
  position: relative;
  transition: outline 0.2s ease;
}

.editable:hover {
  outline: 1.5px dashed rgba(245, 199, 106, 0.7);
  outline-offset: 2px;
}

.jo_img_change_btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(18, 61, 53, 0.94) !important;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold) !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35) !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.jo_img_change_btn:hover {
  background: var(--gold) !important;
  color: var(--brand-dark) !important;
  transform: scale(1.06) !important;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1220px) {
  .nav-name .school-sub { display: none; }
  .nav-name .school-title { font-size: 14.5px; }
  .nav-menu { gap: 1px; margin: 0 6px; }
  .nav-menu li a { padding: 6px 8px; font-size: 13px; }
  .nav-cta { padding: 7px 13px; font-size: 12px; }
}

@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 992px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 0;
  }
  .nav-menu li a::after { display: none; }
  .nav-cta { display: none; }
  
  .hero-slider { height: 500px; }
  .hero-content h1 { font-size: 38px; }
  .hero-content p { font-size: 16px; }
  .slider-arrow { display: none; }
}

@media (max-width: 580px) {
  .hero-slider { height: 440px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 14.5px; }
  .programs-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .features-check-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }
  .two-col-content h2 { font-size: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
/* ============================================================
   OFFICIAL DOCUMENTS (PDF)  —  disclosure.html
   Presentation layer: 4 thumbnail cards, click opens a viewer.
   Edit-mode-only chrome lives inside CMS INCLUSIONS markers
   and is stripped by the CMS on save.
   ============================================================ */

.pdf-docs {
  margin: 0 0 40px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(27, 92, 74, .14);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(18, 61, 53, .05);
}

.pdf-docs-head { margin-bottom: 20px; }
.pdf-docs-head h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 6px;
}
.pdf-docs-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* --- 4 cards per row --- */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pdf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(27, 92, 74, .16);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pdf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(18, 61, 53, .13);
  border-color: var(--brand-light);
}

/* selected state — only meaningful while editing */
.pdf-card.is-selected {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(245, 199, 106, .38);
}

/* --- thumbnail: 16:10 page-shaped preview --- */
.pdf-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(27, 92, 74, .12);
  cursor: pointer;
}
.pdf-thumb canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  background: #fff;
}
.pdf-thumb-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pdf-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  padding: 4px 9px;
  border-radius: 4px;
}
.pdf-doc-icon {
  font-size: 30px;
  line-height: 1;
  opacity: .5;
}
.pdf-thumb-empty {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  padding: 0 10px;
  line-height: 1.4;
}

.pdf-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 12px 14px 4px;
  line-height: 1.35;
}
.pdf-card-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0 14px 14px;
}
.pdf-card-meta.is-empty { color: #b45309; }

/* --- per-card Upload button + editor toolbar: EDIT MODE ONLY ---
   The markup also sits inside CMS INCLUSIONS markers so the CMS strips it on
   save. These rules are the second line of defence: hidden for visitors,
   revealed only when the studio puts jo-editing-mode on <body>. */
.pdf-card-upload { display: none; }
.pdf-edit-bar {
  display: none;
  margin-top: 18px;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 16px;
  background: #fffbeb;
  border: 1px dashed var(--gold-dark);
  border-radius: 10px;
}
body.jo-editing-mode .pdf-card-upload { display: block; padding: 0 14px 14px; }
body.jo-editing-mode .pdf-edit-bar { display: flex; }
.pdf-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .18s ease;
}
.pdf-upload-btn:hover { background: var(--brand-light); }
.pdf-upload-btn.is-busy { opacity: .65; pointer-events: none; }

/* --- editor toolbar below the row --- */
.pdf-edit-label {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: .2px;
}
.pdf-edit-actions {
  display: flex;
  gap: 9px;
  margin-left: auto;
  flex-wrap: wrap;
}
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .18s ease, background .18s ease;
}
.pdf-btn-primary { background: var(--brand); color: #fff; }
.pdf-btn-primary:hover { filter: brightness(1.12); }
.pdf-btn-danger { background: #fff; color: #b91c1c; border-color: #fca5a5; }
.pdf-btn-danger:hover { background: #fee2e2; }
.pdf-btn:disabled { opacity: .5; cursor: not-allowed; }

/* --- viewer popup (presentation layer) --- */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdf-modal[hidden] { display: none; }
.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 18, .74);
  backdrop-filter: blur(3px);
}
.pdf-modal-box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(940px, 100%);
  height: min(88vh, 900px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}
.pdf-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--brand-dark);
  color: #fff;
  flex: 0 0 auto;
}
.pdf-modal-head h4 {
  flex: 1;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-modal-tools { display: flex; align-items: center; gap: 6px; }
.pdf-icon-btn {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s ease;
}
.pdf-icon-btn:hover { background: rgba(255, 255, 255, .26); }
.pdf-icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.pdf-modal-x { background: rgba(220, 38, 38, .82); border-color: transparent; }
.pdf-modal-x:hover { background: #dc2626; }
.pdf-page-count {
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  padding: 0 5px;
  opacity: .9;
}
.pdf-modal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  background: #eef2f6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.pdf-canvas {
  max-width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  border-radius: 4px;
}
.pdf-loading { font-size: 14px; color: var(--text-muted); padding: 40px 0; }
.pdf-modal-error {
  padding: 14px 18px;
  background: #fef2f2;
  border-top: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  flex: 0 0 auto;
}

/* --- transient status line inside the section --- */
.pdf-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  z-index: 10000;
  max-width: min(560px, 92vw);
  padding: 11px 18px;
  background: #123d35;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.pdf-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pdf-toast.is-error { background: #b91c1c; }

/* --- responsive --- */
@media (max-width: 1024px) {
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pdf-docs { padding: 20px 16px; }
  .pdf-grid { grid-template-columns: 1fr; }
  .pdf-edit-actions { margin-left: 0; width: 100%; }
  .pdf-edit-actions .pdf-btn { flex: 1; justify-content: center; }
  .pdf-modal { padding: 10px; }
}

/* ===== CMS Login link in the top navigation =====
   The link used to sit in the footer. It now appears in the nav menu directly
   after "Contact Us", so it needs nav-specific sizing: the shared
   .cms-login-badge rule assumes a footer context (dimmed, margin-left). */
.nav-menu .cms-login-item {
  display: flex;
  align-items: center;
}

.nav-menu .cms-login-item .cms-login-badge {
  margin-left: 0;
  padding: 5px 12px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.10);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-menu .cms-login-item .cms-login-badge:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.75);
  color: #ffd97a;
  transform: none;
}

/* Inside the collapsed mobile menu keep it left-aligned with the other items. */
@media (max-width: 992px) {
  .nav-menu .cms-login-item {
    justify-content: flex-start;
  }
}
