@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-sans: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Primary Deep Teal Brand Branding */
  --color-primary: #004d40; /* 600 equivalent */
  --color-primary-light: #00796b;
  --color-primary-dark: #00251a;
  --color-accent: #00a86b; /* Emerald green */
  --color-accent-hover: #008753;
  --color-accent-bg: #e8f5e9;

  /* Neutrals */
  --color-bg-light: #f8fafc;
  --color-card-light: #ffffff;
  --color-text-dark: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Layout Variables */
  --header-height: 80px;
  --announcement-height: 38px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 77, 64, 0.1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset and Global Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography styles */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

code, pre, .font-mono {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Bar & News Ticker */
.news-ticker-wrapper {
  background-color: var(--color-primary-dark);
  color: white;
  border-bottom: 2px solid var(--color-accent);
  overflow: hidden;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: var(--announcement-height);
}

.news-ticker {
  display: flex;
  white-space: nowrap;
  width: 100%;
}

.news-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: ticker 40s linear infinite;
  padding-right: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.news-ticker-content a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.4);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.announcement-bar {
  background-color: var(--color-accent);
  color: white;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 1rem;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.announcement-bar a {
  text-decoration: underline;
  font-weight: 600;
}

/* Institutional Navigation Header */
.global-header {
  height: var(--header-height);
  background: white;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  sticky: top;
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.logo-emblem {
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-emblem-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

/* Coat of arms peak */
.logo-emblem::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid #00d9a6;
  position: absolute;
  bottom: 8px;
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-text p {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-tree {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary-light);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Custom CSS Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
}

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

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: rgba(0, 77, 64, 0.04);
}

.btn-outline-white {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: white;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

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

.btn-danger:hover {
  background-color: #dc2626;
}

/* Hamburger menu for mobile */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary-dark);
}

/* General Layout Elements */
.section {
  padding: 80px 0;
}

.section-bg-alt {
  background-color: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  color: var(--color-primary-light);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2rem;
  color: var(--color-primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--color-accent);
}

/* ---------------- HOME PAGE HERO ---------------- */
.hero-wrapper {
  background: linear-gradient(135deg, #001f18 0%, #004d40 100%);
  color: white;
  padding: 100px 0 120px 0;
  position: relative;
  overflow: hidden;
}

/* Background grid accents */
.hero-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(0, 168, 107, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 168, 107, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-text h2 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #80f5d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 300;
}

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

/* Metrics side block */
.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 107, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.metric-card h3 {
  font-size: 2.2rem;
  color: #00d9a6;
  margin-bottom: 4px;
}

.metric-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* Slider and notice boards layout */
.home-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* High-framerate Graphic Slider */
.slider-container {
  background-color: #00251a;
  border-radius: var(--radius-md);
  height: 400px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0, 31, 24, 0.95) 0%, rgba(0, 31, 24, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.slide-media {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
}

.slide-badge {
  background-color: var(--color-accent);
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 12px;
}

.slide-content h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
}

.slider-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 5px;
  transition: all 0.3s;
}

/* Notice board/syndication feed */
.notice-board {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.notice-header {
  padding: 16px 20px;
  border-bottom: 2px solid var(--color-primary-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-header h3 {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-danger);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse 1.6s infinite;
}

.notice-list {
  padding: 12px;
  list-style: none;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 320px;
}

.notice-item {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background-color: #f1f5f9;
}

.notice-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.notice-tag {
  background-color: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.notice-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

/* ---------------- SCHOOLS ACADEMIC LISTING ---------------- */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.school-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.school-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(0, 121, 107, 0.08);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.school-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.school-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.school-card .link-arrow {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.school-card .link-arrow:hover {
  color: var(--color-accent);
}

/* Provost Address Section */
.provost-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.provost-img-wrap {
  background-color: #00251a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.provost-quote-bg {
  color: rgba(255,255,255,0.1);
  font-size: 6rem;
  font-family: serif;
  line-height: 0;
}

.provost-body {
  padding: 40px;
}

.provost-meta h3 {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
}

.provost-meta p {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.provost-text {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ---------------- ABOUT CREDITABILITY PAGE & MATRIX ---------------- */
.about-flow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.timeline-milestones {
  list-style: none;
  position: relative;
  padding-left: 24px;
}

.timeline-milestones::before {
  content: "";
  position: absolute;
  top: 0; left: 6px; bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.milestone-item {
  position: relative;
  padding-bottom: 24px;
}

.milestone-item::after {
  content: "";
  position: absolute;
  top: 6px; left: -22px;
  width: 10px;
  height: 10px;
  background-color: var(--color-accent);
  border-radius: 50%;
  border: 2px solid white;
}

.milestone-year {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.milestone-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.council-org-chart {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.council-board-node {
  text-align: center;
  padding: 16px;
  background: #f1f5f9;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.council-board-node.main {
  background: var(--color-accent-bg);
  border-color: var(--color-accent);
}

.council-board-node h4 {
  color: var(--color-primary-dark);
  font-size: 1rem;
}

.council-board-node p {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-weight: 600;
}

.accreditation-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.accreditation-badge {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.accreditation-badge span {
  font-size: 1.5rem;
}

.accreditation-badge div h5 {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.accreditation-badge div p {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: 600;
}

/* Matrix Table View of Prerequisites */
.matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: white;
}

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

.matrix-table th {
  background-color: var(--color-primary);
  color: white;
  padding: 14px 18px;
  font-weight: 500;
  font-family: var(--font-display);
}

.matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.matrix-table tr:hover {
  background-color: #f8fafc;
}

.matrix-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.matrix-badge.primary { background-color: #e0f2fe; color: #0369a1; }
.matrix-badge.teal { background-color: #e0f2f1; color: #00796b; }
.matrix-badge.purple { background-color: #faf5ff; color: #7e22ce; }

/* ---------------- ADMISSIONS FUNNEL PAGE ---------------- */
.funnel-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pipeline-node {
  background: white;
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.node-num {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0 auto 16px auto;
}

.pipeline-node h4 {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.pipeline-node p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Dates Card Layout */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.date-card {
  background: white;
  border-left: 4px solid var(--color-accent);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.date-card h4 {
  font-size: 1.1rem;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.date-card .meta-date {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.date-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------------- AUTH PAGES ---------------- */
.auth-wrapper {
  max-width: 440px;
  width: 100%;
  margin: 80px auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header img, .auth-header .logo-emblem {
  margin: 0 auto 16px auto;
}

.auth-header h2 {
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.auth-footer a {
  color: var(--color-primary-light);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Feedback messages style */
.banner-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-alert.success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.banner-alert.warning {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.banner-alert.danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Config status widget at top of settings / dashboard */
.config-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
}

.config-badge.active {
  background: var(--color-accent-bg);
  border-color: #a7f3d0;
  color: #065f46;
}

.config-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--color-danger);
  border-radius: 50%;
}

.config-badge.active .config-indicator {
  background-color: var(--color-success);
}

/* ---------------- STUDENT PORTAL DASHBOARD ---------------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-height));
}

.sidebar {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar-title {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-link:hover, .sidebar-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.08);
}

.sidebar-link.active {
  background-color: var(--color-primary-light);
}

.dashboard-content {
  padding: 40px;
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.dashboard-header h2 {
  font-size: 1.8rem;
  color: var(--color-primary-dark);
}

/* Admission Step Flow on Dashboard */
.admission-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 20px 0;
}

.admission-progress::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  background-color: var(--color-bg-light);
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.progress-step.completed .step-marker {
  background-color: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.progress-step.active .step-marker {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: white;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.progress-step.active .step-label {
  color: var(--color-primary-dark);
}

/* Dashboard Information Blocks */
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

/* Upload zone */
.upload-zone {
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(0, 121, 107, 0.01);
  transition: all var(--transition-fast);
}

.upload-zone:hover {
  border-color: var(--color-primary-light);
  background-color: rgba(0, 121, 107, 0.03);
}

.upload-zone-icon {
  font-size: 2rem;
  color: var(--color-primary-light);
  margin-bottom: 12px;
}

.upload-zone h5 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.upload-zone p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Table styles for users and admins */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th {
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.dashboard-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.pending { background-color: #fef3c7; color: #d97706; }
.status-badge.under_review { background-color: #e0f2fe; color: #0284c7; }
.status-badge.verified { background-color: #d1fae5; color: #059669; }
.status-badge.rejected { background-color: #fee2e2; color: #dc2626; }
.status-badge.paid { background-color: #d1fae5; color: #059669; }
.status-badge.unpaid { background-color: #f3f4f6; color: #4b5563; }

/* ---------------- FOOTER ---------------- */
.global-footer {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--color-accent);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-size: 1.05rem;
  color: #00d9a6;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Viewports adjustment rules */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .home-layout-grid {
    grid-template-columns: 1fr;
  }
  .funnel-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Navigation Drawer Shroud Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .global-header {
    height: auto;
    padding: 14px 0;
  }
  .nav-tree {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    height: 100vh;
    background-color: white;
    border-left: 1px solid var(--color-border);
    box-shadow: -10px 0 40px rgba(0, 77, 64, 0.15);
    z-index: 99;
    padding: 90px 24px 40px 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-tree.active {
    transform: translateX(0);
  }
  .nav-tree li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-tree li:last-child {
    border-bottom: none;
  }
  .nav-tree .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-transform: capitalize;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 121, 107, 0.05);
    color: var(--color-primary);
    transition: all var(--transition-fast);
    z-index: 100;
  }
  .mobile-nav-toggle:hover {
    background-color: rgba(0, 121, 107, 0.1);
  }
  .header-actions .btn {
    display: none; /* Hidden on phone screens, integrated into main flow links instead */
  }
  .provost-wrap {
    grid-template-columns: 1fr;
  }
  .about-flow-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-column:first-child,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Mega Dropdown Core Styles */
.dropdown-container {
  position: relative;
}

/* On Desktop: Show Mega Menu and Grid styles */
@media (min-width: 769px) {
  .mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 630px;
    background-color: var(--color-card-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    z-index: 210;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dropdown-container:hover .mega-dropdown,
  .dropdown-container:focus-within .mega-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* Splits the layout into Left Info and Right Info */
  .mega-dropdown-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }

  .mega-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mega-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-primary);
    border-bottom: 2px solid rgba(0, 121, 107, 0.1);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  
  .mega-section-title svg {
    color: var(--color-accent);
  }

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

  .mega-links li {
    width: 100%;
  }

  .mega-link-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
  }

  .mega-link-item:hover {
    background-color: rgba(0, 121, 107, 0.04);
    border-left-color: var(--color-accent);
    padding-left: 12px;
  }

  .mega-link-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: color var(--transition-fast);
  }

  .mega-link-item:hover .mega-link-label {
    color: var(--color-primary-light);
  }

  .mega-link-desc {
    font-size: 0.74rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-top: 3px;
  }

  .mega-section.border-right {
    border-right: 1.5px dashed var(--color-border);
    padding-right: 20px;
  }
}

/* Mobile-optimization for Dropdown on Phone Screen */
@media (max-width: 768px) {
  .mega-dropdown {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    margin-top: 0;
    padding: 0 0 0 16px;
    box-sizing: border-box;
    border-left: 2px solid transparent;
  }

  .mega-dropdown.mobile-expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 8px;
    padding: 10px 0 10px 16px;
    border-left-color: var(--color-accent);
    background-color: rgba(0, 0, 0, 0.015);
  }

  .mega-dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mega-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mega-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary-light);
    letter-spacing: 0.05em;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--color-border);
  }
  
  .mega-section-title svg {
    width: 12px;
    height: 12px;
  }

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

  .mega-link-item {
    display: block;
    text-decoration: none;
    padding: 6px 0;
  }

  .mega-link-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
  }
  
  .mega-link-label:hover {
    color: var(--color-primary-light);
  }

  .mega-link-desc {
    display: none; /* Hide descriptions to conserve mobile real estate */
  }

  .mega-section.border-right {
    border-right: none;
    padding-right: 0;
  }

  /* Dropdown Trigger indicator on mobile */
  .nav-tree .dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-tree .dropdown-trigger svg {
    transition: transform 0.28s ease;
  }

  .nav-tree .dropdown-trigger.expanded svg {
    transform: rotate(180deg);
    color: var(--color-accent);
  }
}

/* ================== NILE UNIVERSITY STYLE EXTENSIONS ================== */
.top-utility-bar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 101;
}
.utility-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-left {
  display: flex;
  gap: 16px;
  align-items: center;
}
.utility-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.utility-right a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.utility-right a:hover {
  color: var(--color-accent);
}
.utility-portal-btn {
  background: var(--color-primary-light);
  color: white !important;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}
.utility-portal-btn:hover {
  background: var(--color-accent) !important;
}
@media (max-width: 768px) {
  .top-utility-bar {
    display: none; /* Hide on mobile to conserve narrow screen height */
  }
}

/* Integrated Header Search UI */
.header-search-container {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search-trigger {
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.header-search-trigger:hover {
  background-color: rgba(0, 168, 107, 0.08);
  color: var(--color-accent);
}
.header-search-dropdown-box {
  position: absolute;
  top: 100%;
  right: 0;
  width: 380px;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.header-search-dropdown-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  background-color: var(--color-bg-light);
}
.search-input-wrapper input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.88rem;
  padding: 8px;
  color: var(--color-text-dark);
}
.search-input-wrapper button {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0 4px;
}
.search-results {
  margin-top: 12px;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.search-result-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast);
  background-color: #f8fafc;
  border-left: 3px solid var(--color-primary-light);
}
.search-result-item:hover {
  background-color: var(--color-accent-bg);
  border-left-color: var(--color-accent);
}
.search-result-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.search-result-desc {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}
.search-empty-state {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 16px 0;
}

/* Premium Nile University Style Hero Slideshow */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: #001f18;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}
.hero-slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0, 31, 24, 0.95) 0%, rgba(0, 77, 64, 0.82) 45%, rgba(0, 168, 107, 0.35) 100%);
  z-index: 2;
}
.hero-slide-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-slide-content {
  max-width: 800px;
  color: white;
}
.hero-slide-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}
.hero-slide-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  font-family: var(--font-display);
}
.hero-slide-title span {
  background: linear-gradient(to right, #ffffff, #80f5d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-slide-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 650px;
}
.hero-slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.hero-nav-arrow:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-sm);
  color: white;
}
.hero-nav-arrow svg {
  width: 22px;
  height: 22px;
}
.hero-prev-arrow {
  left: 24px;
}
.hero-next-arrow {
  right: 24px;
}
.hero-slide-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hero-indicator-dot.active {
  background-color: var(--color-accent);
  width: 28px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .hero-slider-wrapper {
    height: 480px;
  }
  .hero-slide-title {
    font-size: 2.2rem;
  }
  .hero-slide-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-nav-arrow {
    width: 36px;
    height: 36px;
  }
}

/* Provost Welcome Nile University Layout */
.nile-provost-section {
  background-color: white;
  padding: 85px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.nile-provost-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}
.nile-provost-left {
  position: relative;
  display: flex;
  justify-content: center;
}
.nile-provost-frame {
  position: relative;
  z-index: 2;
  max-width: 380px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}
.nile-provost-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}
.nile-provost-frame:hover img {
  transform: scale(1.02);
}
.nile-provost-frame-bg {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  z-index: 1;
}
.nile-provost-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 37, 26, 0.95) 70%, rgba(0, 37, 26, 0));
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 3;
}
.nile-provost-caption h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00d9a6;
  margin-bottom: 4px;
}
.nile-provost-caption p {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}
.nile-provost-right {
  display: flex;
  flex-direction: column;
}
.nile-provost-tag {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  display: block;
}
.nile-provost-title {
  font-size: 2.3rem;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 700;
  font-family: var(--font-display);
}
.nile-provost-quote-wrapper {
  position: relative;
  border-left: 4px solid var(--color-accent);
  padding-left: 20px;
  margin-bottom: 24px;
}
.nile-provost-giant-quote {
  position: absolute;
  top: -30px;
  left: 10px;
  font-size: 7rem;
  color: rgba(0, 168, 107, 0.08);
  font-family: serif;
  font-weight: bold;
  user-select: none;
  pointer-events: none;
}
.nile-provost-quote-text {
  font-size: 1.12rem;
  font-style: italic;
  color: var(--color-primary-light);
  font-weight: 500;
  line-height: 1.5;
}
.nile-provost-body-text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.nile-provost-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.nile-provost-signature-block {
  display: flex;
  flex-direction: column;
}
.nile-provost-signature-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}
.provost-cursive-sig {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-accent-hover);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
@media (max-width: 992px) {
  .nile-provost-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nile-provost-left {
    margin-bottom: 20px;
  }
  .nile-provost-frame img {
    height: 380px;
  }
}

/* ================== EXTRA MOBILE OPTIMIZATIONS ================== */
@media (max-width: 768px) {
  /* Announcement Bar Mobile Size */
  .announcement-bar {
    font-size: 0.75rem;
    padding: 8px;
    flex-wrap: wrap;
    line-height: 1.4;
    text-align: center;
  }

  /* Layout Spacing */
  body {
    overflow-x: hidden;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .container {
    padding: 0 1rem;
  }
  
  /* Hero Overrides */
  .hero-slide-title {
    font-size: 1.9rem;
    margin-bottom: 16px;
  }
  .hero-slide-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .hero-nav-arrow {
    width: 36px;
    height: 36px;
  }
  .hero-prev-arrow { left: 16px; }
  .hero-next-arrow { right: 16px; }
  
  /* Info Slider Overlay / Notice Board */
  .slider-container {
    height: 300px;
  }
  .slide {
    padding: 24px;
  }
  .slide-content h3 {
    font-size: 1.4rem;
  }
  .notice-board {
    margin-top: 16px;
  }

  /* Header Search Fix */
  .header-search-dropdown-box {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 14px;
  }
  .header-actions {
    margin-right: 0;
    order: 2;
  }
  .mobile-nav-toggle {
    margin-left: 8px;
    order: 3;
    width: 38px;
    height: 38px;
  }
  .mobile-nav-toggle svg {
    width: 20px;
    height: 20px;
  }
  .logo-block {
    order: 1;
    margin-right: auto;
  }
  .logo-emblem-img {
    height: 44px !important;
  }

  /* Nile Provost Mobile Perfection */
  .nile-provost-section {
    padding: 60px 0;
  }
  .nile-provost-frame img {
    height: 300px;
  }
  .nile-provost-frame-bg {
    top: 10px;
    left: -10px;
    border-width: 2px;
  }
  .nile-provost-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }
  .nile-provost-giant-quote {
    font-size: 4.5rem;
    top: -20px;
    left: 5px;
  }
  .nile-provost-quote-wrapper {
    padding-left: 16px;
  }
  .nile-provost-body-text {
    font-size: 0.9rem;
  }
  .nile-provost-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .nile-provost-footer > div {
    align-items: flex-start !important; /* overrides inline styles on smaller screens */
  }
  
  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Auth / Login Forms */
  .auth-wrapper {
    margin: 40px auto;
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }
  .auth-header h2 {
    font-size: 1.4rem;
  }

  /* Academics */
  .school-card {
    padding: 20px;
  }
  
  /* About / History */
  .about-flow-grid {
    gap: 32px;
  }
  .council-org-chart {
    padding: 20px;
  }

  /* Admissions Pipeline Setup */
  .funnel-pipeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dates-grid {
    grid-template-columns: 1fr;
  }
  .date-card {
    border-radius: var(--radius-md);
    border-left-width: 4px;
  }

  /* Dashboard Adjustments */
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .dashboard-header h2 {
    font-size: 1.5rem;
  }
  .dashboard-content {
    padding: 20px 16px;
  }
  .admission-progress {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .step-label {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  .card {
    padding: 16px;
  }
  .card-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    gap: 20px 10px; /* Reduced gap horizontally to ensure they fit */
  }
  /* Extra small screens */
  .hero-slider-wrapper {
    height: 420px;
  }
  .hero-slide-title {
    font-size: 1.6rem;
  }
  .metric-card {
    padding: 16px;
  }
  .metric-card h3 {
    font-size: 1.8rem;
  }
  .provost-quote-bg {
    font-size: 4rem;
  }
  .provost-body {
    padding: 24px 20px;
  }
  .provost-meta h3 {
    font-size: 1.25rem;
  }
}

/* ================== GLOBAL DISCLAIMER POPUP ================== */
.disclaimer-overlay {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  background-color: rgba(0, 31, 24, 0.85); /* Deep Savannah green/black backdrop */
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.disclaimer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.disclaimer-modal {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
  width: 100%;
  max-width: 650px;
  border-radius: 24px 24px 0 0;
  padding: 32px 32px 40px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 4px solid var(--color-accent);
}
@media (min-width: 768px) {
  .disclaimer-overlay {
    align-items: center;
  }
  .disclaimer-modal {
    border-radius: var(--radius-lg);
    padding: 40px;
    border-top: none;
    border-left: 5px solid var(--color-accent);
    transform: translateY(20px) scale(0.95);
  }
}
.disclaimer-modal.active {
  transform: translateY(0) scale(1);
}
.disclaimer-title {
  color: #ff8a8a;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.disclaimer-title::before {
  content: "!";
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 138, 138, 0.15);
  border-radius: 50%;
  font-size: 1.25rem;
  color: #ff8a8a;
}
.disclaimer-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  line-height: 1.4;
}
.disclaimer-list {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0;
}
.disclaimer-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.disclaimer-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
#disclaimer-close-btn {
  width: 100%;
}
#disclaimer-close-btn:disabled {
  background-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
}

/* ================== OFFLINE ALERT BANNER ================== */
.offline-alert-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background-color: #ef4444;
  color: white;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 12px rgba(239, 68, 68, 0.3);
}
.offline-alert-banner.active {
  transform: translateY(0);
}
.offline-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}
.offline-refresh-btn {
  background: white;
  color: #ef4444;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.offline-refresh-btn:hover {
  background: #f87171;
  color: white;
}
@media (max-width: 600px) {
  .offline-alert-banner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ================== SCROLL INTERSECTION OBSERVER ================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================== ACTIVE LINK OVERRIDES ================== */
.mega-link-item.active {
  background-color: rgba(0, 121, 107, 0.05);
  border-left-color: var(--color-accent);
}
.mega-link-item.active .mega-link-label {
  color: var(--color-primary-light);
}

.footer-menu a.active {
  color: white;
  margin-left: 5px;
  position: relative;
}
.footer-menu a.active::before {
  content: '✓';
  position: absolute;
  left: -15px;
  color: var(--color-accent);
  font-size: 12px;
}

#scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

#scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-to-top-btn:hover {
  background-color: var(--color-primary-light);
  transform: translateY(0) scale(1.05);
}

.suggestion-item {
  background-color: rgba(0, 121, 107, 0.03);
}

/* Skeleton Loaders */
.skeleton-box {
  animation: skeletonPulse 1.5s infinite ease-in-out;
  background: linear-gradient(90deg, var(--color-bg-alt, #f7f9fc) 25%, #e2e8f0 50%, var(--color-bg-alt, #f7f9fc) 75%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
}

@keyframes skeletonPulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  border-radius: 4px;
  background-color: transparent;
}
.skeleton-text.short { width: 30%; }
.skeleton-text.med { width: 60%; }
.skeleton-text.long { width: 90%; }
.skeleton-text:last-child { margin-bottom: 0; }



/* Campus Events Slider */
.events-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  display: flex;
}
.events-track {
  display: flex;
  gap: 20px;
  animation: marquee-left 30s linear infinite;
}
.events-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.event-marquee-card {
  position: relative;
  width: 250px;
  flex: 0 0 250px;
  text-decoration: none;
  display: block;
}
.event-marquee-card:hover .event-frame {
  transform: translateY(-5px);
}
.event-frame {
  position: relative;
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
  height: 300px;
}
.event-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 77, 64, 0.9);
  color: white;
  padding: 15px;
  text-align: center;
}
.event-ribbon h4 {
  margin: 0;
  font-size: 1.1rem;
}

/* Partners Slider */
.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  display: flex;
}
.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: marquee-left 25s linear infinite;
}
.partners-track img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.partners-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Matrix Visibility Classes (Desktop/Mobile Toggle) */
@media (max-width: 768px) {
  .matrix-table-wrap.desktop-only, .matrix-table.desktop-only {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .matrix-accordion-wrap.mobile-only {
    display: none !important;
  }
}

/* Accordion Styles */
.matrix-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  overflow: hidden;
}
.matrix-accordion-header {
  background: white;
  padding: 15px 20px;
  font-weight: bold;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.matrix-accordion-header:hover {
  background: var(--color-bg-alt);
}
.matrix-accordion-content {
  padding: 0 20px;
  background: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.matrix-accordion.active .matrix-accordion-content {
  max-height: 500px;
  padding: 15px 20px;
  border-top: 1px solid var(--color-border);
}
.matrix-accordion-item {
  margin-bottom: 10px;
}
.matrix-accordion-item strong {
  display: block;
  font-size: 0.9em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

/* Ensure matrix table inherits desktop-only correctly if needed */
@media (max-width: 768px) {
  .matrix-table-wrap {
    display: none;
  }
}
@media (min-width: 769px) {
  .matrix-accordion-wrap {
    display: none;
  }
}

/* Enhanced Mobile Footer */
@media (max-width: 768px) {
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 40px !important;
  }
  .footer-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .social-links {
    justify-content: center;
  }
  .footer-bottom {
    text-align: center;
    flex-direction: column;
    gap: 15px;
  }
}

/* Staff Card Styling (Square, Image, Ribbon) */
.staff-card {
  width: 280px;
  max-width: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.staff-card:hover {
  transform: translateY(-8px);
}
.staff-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
  background: white;
}
.staff-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  padding: 15px;
  text-align: center;
}
.staff-ribbon h3 {
  margin: 0 0 5px 0;
  font-size: 1.15rem;
  color: white;
}
.staff-ribbon span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
}

/* Provost special styling */
.provost-card {
  width: 360px;
  transform: scale(1.05); /* slightly bigger */
}
.provost-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.provost-card .staff-frame {
  height: 420px;
  border: 4px solid var(--color-accent); /* bitter/larger/stronger look */
}
.provost-ribbon {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(20, 184, 166, 0.9));
}
.provost-ribbon h3 {
  font-size: 1.3rem;
  color: #fff;
}
.provost-ribbon span {
  color: #fbbf24; /* gold accent */
  font-size: 0.95rem;
  font-weight: bold;
}

/* Big News Slider Styling */
.news-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.news-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  height: 500px;
}
.news-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.news-slide-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  text-align: left;
}
.news-slide-tag {
  background: var(--color-accent);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}
.news-slide-content h3 {
  font-size: 2rem;
  margin: 0 0 10px 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.news-slide-content p {
  font-size: 1.1rem;
  margin: 0;
  color: #f1f5f9;
  max-width: 600px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.news-slider-controls {
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.ns-btn {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ns-btn:hover {
  background: rgba(255,255,255,0.4);
}
.ns-btn-main {
  background: var(--color-accent);
  border: none;
}
.ns-btn-main:hover {
  background: #00b686;
}

@media (max-width: 768px) {
  .news-slider-track { height: 400px; }
  .news-slide-content h3 { font-size: 1.5rem; }
  .news-slide-content p { font-size: 1rem; }
  .news-slide-content { padding: 25px; }
  .news-slider-controls { right: 15px; bottom: 15px; }
}

/* Lightbox Modal */
.media-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.media-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.ml-content-box {
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ml-content-box img, .ml-content-box video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.ml-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
}
.ml-close:hover { color: var(--color-accent); }
.ml-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10001;
  border-radius: 5px;
}
.ml-nav:hover { background: rgba(255,255,255,0.3); }
.ml-prev { left: 20px; }
.ml-next { right: 20px; }

/* Mobile card sizing */
@media (max-width: 768px) {
  .staff-card {
    width: 100%;
    max-width: 320px;
  }
}

html { scroll-behavior: smooth; }

.weather-widget { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }

/* Image Disclaimer Styles */
.image-disclaimer {
  max-width: 380px;
  width: 90%;
  background: #fff;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(18, 94, 54, 0.12);
  position: relative;
  text-align: center;
  border: none;
  backdrop-filter: blur(10px);
}
.image-disclaimer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  border: none;
  font-size: 1.4rem;
  font-weight: 300;
  color: #999;
  cursor: pointer;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(18, 94, 54, 0.15);
  padding: 0;
  line-height: 1;
}
.image-disclaimer-close:hover {
  background: #b30c0c;
  color: #fff;
 
}
.image-disclaimer-content {
  padding: 20px 24px 28px 24px;
  background: #fff;
}
.idc-header {
  margin-bottom: 0;
  padding: 24px 24px 16px 24px;
  background: linear-gradient(135deg, rgba(18, 94, 54, 0.02), rgba(0, 168, 107, 0.03));
  border-bottom: 1px solid rgba(18, 94, 54, 0.06);
  position: relative;
}
.idc-logo {
  height: 52px;
  margin-bottom: 10px;
}
.idc-title {
  color: #125e36;
  font-size: 1.3rem;
  margin: 0;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.idc-divider {
  height: 1px;
  background: #e0e0e0;
  width: 60%;
  margin: 12px auto;
  position: relative;
}
.idc-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #125e36;
  border-radius: 50%;
}
.idc-subtitle {
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
  text-align: center;
}
.idc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.idc-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.idc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #125e36, #00a86b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.idc-list-item p {
  color: #444;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}
.idc-list-item p strong {
  color: #000;
  font-weight: 700;
}
.idc-footer {
  background: linear-gradient(135deg, #125e36, #0d4a2a);
  color: #fff;
  padding: 20px 24px;
  border-radius: 0;
}
.idc-footer p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.95;
  line-height: 1.4;
}
.idc-footer h3 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
@media (max-width: 640px) {
  .image-disclaimer { max-width: 100%; width: 95%; }
  .image-disclaimer-close { top: 12px; right: 12px; width: 32px; height: 32px; }
  .idc-title { font-size: 1.15rem; }
  .idc-subtitle { font-size: 0.85rem; }
  .idc-list-item { flex-direction: column; text-align: center; gap: 10px; align-items: center; }
  .idc-list-item p { font-size: 0.8rem; }
  .image-disclaimer-content { padding: 20px 16px; }
}
