/* ==========================================================================
   Areej Institute of Nursing & Allied Health Sciences
   Ultra-Modern, World-Class Educational Institute Design System
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary-color: #0b1e36;
  --primary-dark: #061120;
  --primary-light: #15325b;
  --secondary-color: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #38bdf8;
  --accent-color: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  --emerald: #10b981;
  --emerald-light: #d1fae5;
  --indigo: #6366f1;
  --indigo-light: #e0e7ff;
  
  --text-color: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --heading-color: #0b1e36;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: #cbd5e1;
  
  --white: #ffffff;
  --footer-bg: #061120;
  --footer-text: #94a3b8;
  
  --shadow-xs: 0 1px 2px rgba(11, 30, 54, 0.05);
  --shadow-sm: 0 2px 6px rgba(11, 30, 54, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(11, 30, 54, 0.08), 0 2px 6px -2px rgba(11, 30, 54, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(11, 30, 54, 0.12), 0 6px 16px -4px rgba(11, 30, 54, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(11, 30, 54, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--heading-color);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1.25rem;
}

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

a:hover, a:focus {
  color: var(--secondary-dark);
}

/* --- Layout Containers & Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-padding {
  padding: 85px 0;
}

.section-padding-sm {
  padding: 45px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--bg-body); }
.bg-subtle { background-color: var(--bg-subtle); }
.bg-primary { background-color: var(--primary-color); }
.bg-dark { background-color: var(--primary-dark); }

.relative { position: relative; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* Grid System */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-sidebar { grid-template-columns: 2.3fr 1fr; }

.align-center { align-items: center; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-padding { padding: 55px 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
}

/* --- Section Headings --- */
.section-header {
  margin-bottom: 45px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--secondary-color);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag.tag-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.section-tag.tag-gold {
  background: var(--accent-light);
  color: var(--accent-hover);
}

.section-tag.tag-emerald {
  background: var(--emerald-light);
  color: #047857;
}

.section-title {
  font-size: 2.3rem;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white) !important;
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 30, 54, 0.3);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white) !important;
  border-color: var(--secondary-color);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color) !important;
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white) !important;
  border-color: var(--primary-color);
}

.btn-outline-white {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-color) !important;
  border-color: var(--white);
}

/* --- Top Utility Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-ticker a {
  color: var(--accent-color);
  font-weight: 700;
  text-decoration: underline;
}

.top-bar-ticker a:hover {
  color: var(--white);
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-bar-contacts a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contacts a:hover {
  color: var(--white);
}

.top-bar-contacts .whatsapp-btn {
  color: #22c55e;
  font-weight: 700;
}

@media (max-width: 992px) {
  .top-bar-contacts { display: none; }
  .top-bar-ticker { font-size: 0.8rem; text-align: center; width: 100%; justify-content: center; }
}

/* --- Main Navigation Header --- */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(11, 30, 54, 0.06);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding .custom-logo {
  max-height: 60px;
  width: auto;
}

.site-title {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 800;
}

.site-title a {
  color: var(--primary-color);
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 0;
  display: block;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
  width: 100%;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--secondary-color);
}

/* Dropdown */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  display: block;
  z-index: 100;
  border: 1px solid var(--border-color);
}

.main-navigation li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation ul ul li { width: 100%; }

.main-navigation ul ul a {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
}

.main-navigation ul ul a::after { display: none; }

.main-navigation ul ul a:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--secondary-color);
}

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

.search-toggle-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1rem;
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .main-navigation { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
}

/* --- Mobile Drawer Navigation --- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.active { right: 0; }

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 17, 32, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active { opacity: 1; visibility: visible; }

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

.drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--primary-color);
  cursor: pointer;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--primary-color);
  font-weight: 700;
}

.mobile-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Search Modal Overlay --- */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.search-modal-overlay.active { opacity: 1; visibility: visible; }

.search-modal-box {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.search-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.search-modal-box .search-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.search-modal-box input[type="search"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-family: inherit;
}

.search-modal-box input[type="search"]:focus {
  border-color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 17, 32, 0.92) 0%,
    rgba(11, 30, 54, 0.85) 50%,
    rgba(2, 132, 199, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.4rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #e2e8f0;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .hero-section { min-height: 65vh; padding: 65px 0; }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* --- Admissions Notice Callout Banner --- */
.admissions-callout-banner {
  background: linear-gradient(135deg, #0b1e36 0%, #15325b 100%);
  color: var(--white);
  border-top: 4px solid var(--accent-color);
  padding: 26px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}

.admissions-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.admissions-banner-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admissions-pulse-badge {
  background: var(--accent-color);
  color: #061120;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: pulseGold 2.2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.admissions-banner-text h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.admissions-banner-text p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.admissions-banner-actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .admissions-banner-grid { flex-direction: column; text-align: center; }
  .admissions-banner-info { flex-direction: column; }
}

/* --- Program Pathways Showcase --- */
.program-pathway-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.program-card-header {
  padding: 26px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-color);
}

.program-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.program-pathway-card.card-nursing .program-card-icon { background: #0284c7; }
.program-pathway-card.card-allied .program-card-icon { background: #0d9488; }
.program-pathway-card.card-it .program-card-icon { background: #6366f1; }

.program-card-header h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

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

.program-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
}

.program-items-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

.program-items-list li:last-child {
  border-bottom: none;
}

.program-items-list li i {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.program-card-footer {
  margin-top: auto;
  padding-top: 15px;
}

/* --- Value Pillars / Why Choose Us --- */
.value-card {
  background: var(--white);
  padding: 35px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

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

.value-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.08);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.value-card:hover .value-icon-box {
  background: var(--secondary-color);
  color: var(--white);
  transform: scale(1.08);
}

.value-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

/* --- Director's Message --- */
.director-section {
  background: var(--white);
}

.director-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.director-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.director-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-md);
}

.director-experience-badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-color);
}

.director-quote {
  font-size: 1.12rem;
  font-style: italic;
  color: var(--primary-color);
  border-left: 4px solid var(--secondary-color);
  padding-left: 18px;
  margin-bottom: 20px;
  line-height: 1.65;
}

.director-signature-card {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 2px solid var(--border-color);
}

.director-signature-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.director-signature-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --- Impact & Statistics --- */
.stats-section {
  background: linear-gradient(135deg, #061120 0%, #0b1e36 100%);
  color: var(--white);
}

.stat-item {
  text-align: center;
  padding: 20px 15px;
}

.stat-item i {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: inline-block;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Roboto Slab', serif;
}

.stat-label {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin: 0;
}

/* --- Campus Facilities --- */
.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.facility-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.facility-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 30, 54, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.facility-content {
  padding: 24px;
}

.facility-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.facility-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* --- Faculty / Staff Cards --- */
.staff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.staff-img {
  height: 250px;
  background-size: cover;
  background-position: top center;
  background-color: #e2e8f0;
}

.staff-body {
  padding: 22px;
}

.staff-body h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.staff-role {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
  display: block;
}

.staff-qualification {
  color: var(--text-muted);
  font-size: 0.82rem;
  background: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 10px;
}

/* --- News & Events Cards --- */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-date-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.news-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.news-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex: 1;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  margin-bottom: 18px;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--secondary-color);
}

.event-date-box {
  background: var(--primary-color);
  color: var(--white);
  min-width: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
}

.event-date-box .day {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-color);
}

.event-date-box .month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-info {
  padding: 16px 20px;
  flex: 1;
}

.event-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.event-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
}

/* --- Page Header Banner --- */
.page-hero-banner {
  position: relative;
  background: linear-gradient(135deg, #061120 0%, #0b1e36 65%, #15325b 100%);
  color: var(--white);
  padding: 70px 0;
  background-size: cover;
  background-position: center;
}

.page-hero-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 17, 32, 0.78);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: 2.8rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 720px;
  margin-bottom: 12px;
}

/* Breadcrumbs */
.areej-breadcrumbs {
  font-size: 0.85rem;
  margin-top: 14px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: #cbd5e1;
}

.breadcrumb-item a:hover {
  color: var(--accent-color);
}

.breadcrumb-item::after {
  content: "/";
  margin-left: 8px;
  color: #64748b;
}

.breadcrumb-item:last-child::after {
  content: "";
}

.breadcrumb-item.active {
  color: var(--accent-color);
  font-weight: 700;
}

/* ==========================================================================
   ELEGANT ELIGIBILITY & PROGRAM REQUIREMENTS CARDS (NO UGLY BOXES)
   ========================================================================== */
.eligibility-dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.eligibility-dept-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.eligibility-dept-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

.dept-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--white);
  flex-shrink: 0;
}

.dept-badge-icon.nursing { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.dept-badge-icon.allied { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); }
.dept-badge-icon.it { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }

.eligibility-dept-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.eligibility-dept-header p {
  margin: 2px 0 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.eligibility-item-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eligibility-item {
  background: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.eligibility-item:hover {
  background: var(--white);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-xs);
  transform: translateX(3px);
}

.eligibility-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.eligibility-item-head strong {
  font-size: 1.02rem;
  color: var(--heading-color);
}

.duration-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.1);
  color: var(--secondary-color);
  white-space: nowrap;
}

.duration-pill.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.duration-pill.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
}

.eligibility-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* --- Admission Steps / Stepper Timeline --- */
.step-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b1e36 0%, #15325b 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.2);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* --- Modern Table --- */
.areej-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

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

.areej-table th {
  background: var(--primary-color);
  color: var(--white);
  padding: 16px 22px;
  font-weight: 700;
  font-size: 0.95rem;
}

.areej-table td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-color);
  font-size: 0.95rem;
}

.areej-table tr:last-child td { border-bottom: none; }
.areej-table tr:hover td { background: var(--bg-body); }

/* --- Accordion (FAQs) --- */
.faq-search-box {
  margin-bottom: 35px;
  position: relative;
}

.faq-search-box input {
  width: 100%;
  padding: 16px 22px 16px 52px;
  font-size: 1.02rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  font-family: inherit;
}

.faq-search-box input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.faq-search-box i {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.accordion-category-title {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin: 35px 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--heading-color);
  font-family: inherit;
}

.accordion-header:hover { color: var(--secondary-color); }

.accordion-header i {
  color: var(--secondary-color);
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-header i { transform: rotate(180deg); }

.accordion-content {
  display: none;
  padding: 0 22px 20px 22px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-content { display: block; }

/* --- Contact Page Components --- */
.contact-info-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

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

.contact-info-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.08);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
}

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

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--heading-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.98rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 420px;
}

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

/* --- Shortcodes & Content Widgets --- */
.areej-alert-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(11, 30, 54, 0.04) 100%);
  border-left: 4px solid var(--secondary-color);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--primary-color);
  margin: 25px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.areej-cta-block {
  background: linear-gradient(135deg, #0b1e36 0%, #15325b 100%);
  color: var(--white);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 50px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-text h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 0;
}

@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
}

/* --- Standard Page & Blog Formatting (Gutenberg) --- */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.entry-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.entry-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.entry-content blockquote {
  border-left: 4px solid var(--secondary-color);
  padding: 15px 25px;
  background: var(--bg-body);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  margin: 25px 0;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 25px 0;
}

/* Sidebar Widgets */
.widget {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--text-color); font-weight: 600; }
.widget a:hover { color: var(--secondary-color); }

/* --- Footer --- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 70px;
  border-top: 4px solid var(--secondary-color);
}

.footer-widgets {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-widget h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-color);
}

.footer-widget p { line-height: 1.7; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget li { margin-bottom: 10px; }
.footer-widget a { color: var(--footer-text); }
.footer-widget a:hover { color: var(--accent-color); padding-left: 4px; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-list i {
  color: var(--accent-color);
  margin-top: 4px;
  font-size: 1rem;
}

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

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

.social-icon-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.site-bottom-bar {
  background: #040a14;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-color); transform: translateY(-3px); }

@media (max-width: 992px) {
  .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .bottom-bar-inner { flex-direction: column; text-align: center; gap: 10px; }
}
