/* VBNS - Premium Design System Stylesheet */

:root {
  /* Font Family & Spacing - Poppins for headings & Open Sans for body */
  --font-sans: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Poppins', var(--font-sans);
  
  --sidebar-w: 260px;
  --header-h: 70px;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* System Base - Premium Navy Blue & White Theme (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f8fa;
  --bg-tertiary: #eef3f6;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-active: rgba(238, 243, 246, 0.95);
  
  --border-primary: rgba(11, 60, 93, 0.08);
  --border-secondary: rgba(11, 60, 93, 0.16);
  --border-glow: rgba(242, 183, 5, 0.35);
  
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  
  /* Color Coding - Navy Blue Primary & Gold Secondary */
  --accent: #0B3C5D;
  --accent-hover: #082d47;
  --accent-light: rgba(11, 60, 93, 0.08);
  
  --color-success: #10b981;
  --color-success-bg: rgba(16, 185, 129, 0.1);
  --color-warning: #F2B705;
  --color-warning-bg: rgba(242, 183, 5, 0.1);
  --color-danger: #ef4444;
  --color-danger-bg: rgba(239, 68, 68, 0.1);
  --color-info: #06b6d4;
  --color-info-bg: rgba(6, 182, 212, 0.1);
  
  --card-shadow: 0 8px 32px 0 rgba(11, 60, 93, 0.04);
  --inset-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.8);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alternate Light Theme: Yellow/Gold Accent & Crisp White */
body.light-theme {
  --bg-primary: #fcfdfd;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f6f9fb;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-glass-active: rgba(246, 249, 251, 0.95);
  
  --border-primary: rgba(242, 183, 5, 0.15);
  --border-secondary: rgba(242, 183, 5, 0.25);
  --border-glow: rgba(11, 60, 93, 0.3);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  
  --accent: #F2B705;
  --accent-hover: #cca004;
  --accent-light: rgba(242, 183, 5, 0.08);
  
  --card-shadow: 0 10px 30px 0 rgba(242, 183, 5, 0.04);
  --inset-shadow: inset 0 1px 2px 0 rgba(255, 255, 255, 0.9);
}

/* Core Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: auto;
  overflow: visible;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

#app {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Sidebar Styling */
#sidebar {
  width: var(--sidebar-w);
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
  transition: transform var(--transition-normal), width var(--transition-normal), background-color var(--transition-normal);
  z-index: 100;
  box-shadow: 4px 0 24px rgba(11, 60, 93, 0.04);
}

.sb-brand {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-primary);
}

.sb-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(11, 60, 93, 0.3);
}

.sb-brand-info {
  overflow: hidden;
}

.sb-school {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.sb-sub {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.sb-nav {
  padding: 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-section {
  padding: 12px 16px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.sb-item:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  transform: translateX(4px);
}

.sb-item.active {
  background-color: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  box-shadow: var(--inset-shadow);
}

.sb-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.sb-item:hover i {
  transform: scale(1.15);
}

.sb-item.active i {
  color: var(--accent);
}

/* Role-Based Access Sidebar Mappings (Adaptive Display) */
#app.logged-in-student [data-roles]:not([data-roles~="student"]),
#app.logged-in-student .stat-card:not([data-roles~="student"]) {
  display: none !important;
}

#app.logged-in-teacher [data-roles]:not([data-roles~="teacher"]),
#app.logged-in-teacher .stat-card:not([data-roles~="teacher"]) {
  display: none !important;
}

#app.logged-in-admin [data-roles]:not([data-roles~="admin"]),
#app.logged-in-admin .stat-card:not([data-roles~="admin"]) {
  display: none !important;
}

/* Main Panel Layout */
#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-primary);
}

/* Topbar Header Style */
#topbar {
  height: var(--header-h);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  flex-shrink: 0;
  transition: background-color var(--transition-normal);
  z-index: 90;
}

#topbar-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

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

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(11, 60, 93, 0.2);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  transform: rotate(15deg);
}

.date-display {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  padding-left: 8px;
  border-left: 1px solid var(--border-primary);
}

/* Menu Toggle Button (Mobile) */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--text-primary);
  padding: 4px;
  align-items: center;
}

/* Content Frame */
#content {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

/* View Tab Controller */
.tab {
  display: none;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium Card Components */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card.glass {
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card:hover {
  border-color: rgba(11, 60, 93, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.card-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title i {
  color: var(--accent);
  font-size: 18px;
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Dashboard Metric Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.stat-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stat-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.stat-icon-wrapper.blue { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-icon-wrapper.green { background-color: rgba(16, 185, 129, 0.15); color: #10b981; }
.stat-icon-wrapper.orange { background-color: rgba(249, 115, 22, 0.15); color: #f97316; }
.stat-icon-wrapper.purple { background-color: rgba(168, 85, 247, 0.15); color: #a855f7; }

.stat-content {
  margin-bottom: 8px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.stat-trend {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-trend.positive { color: var(--color-success); }
.stat-trend.negative { color: var(--color-danger); }
.stat-trend.neutral { color: var(--text-secondary); }

/* Quick Action Command Panel */
.action-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.action-btn {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-md);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.action-btn:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 60, 93, 0.15);
}

.action-btn i {
  font-size: 24px;
  margin-bottom: 8px;
  transition: transform var(--transition-fast);
}

.action-btn:hover i {
  transform: scale(1.15);
}

.action-btn span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

/* Notice board */
.notice-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 16px;
}

.notice-item {
  padding: 12px 16px;
  background-color: var(--bg-tertiary);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  transition: all var(--transition-fast);
}

.notice-item:hover {
  background-color: var(--bg-glass-active);
  transform: translateX(4px);
}

.notice-item.priority-urgent {
  border-left-color: var(--color-danger);
  background-color: rgba(239, 68, 68, 0.05);
}

.notice-item.priority-important {
  border-left-color: var(--color-warning);
  background-color: rgba(245, 158, 11, 0.05);
}

.notice-item p {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.notice-item small {
  font-size: 10px;
  color: var(--text-secondary);
  display: block;
  margin-top: 6px;
  font-weight: 500;
}

/* Mini SVG / CSS chart */
.revenue-analytics-mini {
  margin-top: 16px;
  border-top: 1px solid var(--border-primary);
  padding-top: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.small-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.trend-lbl {
  font-size: 11px;
  font-weight: 700;
}
.trend-lbl.positive { color: var(--color-success); }

.mini-chart-container {
  height: 60px;
  display: flex;
  align-items: flex-end;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 48px;
  width: 100%;
}

.mini-bar {
  flex: 1;
  background-color: var(--border-secondary);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.mini-bar:hover {
  background-color: var(--accent);
}

.mini-bar::after {
  content: attr(data-m);
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Forms layout */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-md);
  font-size: 13px;
  font-weight: 500;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.15);
  background-color: var(--bg-secondary);
}

textarea {
  resize: vertical;
}

.styled-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  border: 1px solid var(--border-primary);
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  background-color: var(--bg-glass-active);
  border-color: var(--text-tertiary);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 6px 18px rgba(11, 60, 93, 0.45);
  transform: translateY(-1px);
}

.btn-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border-color: rgba(239, 68, 68, 0.25);
  transition: all var(--transition-fast);
}

.btn-danger:hover {
  background-color: var(--color-danger);
  color: #ffffff;
  border-color: var(--color-danger);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
  transform: scale(0.97);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--border-radius-sm);
}

.flex-end-btn {
  justify-content: flex-end;
}

/* Premium Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-primary);
  background-color: var(--bg-secondary);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.premium-table th {
  background-color: var(--bg-tertiary);
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-primary);
}

.premium-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-primary);
  font-weight: 500;
}

.premium-table tr:last-child td {
  border-bottom: none;
}

.premium-table tr {
  transition: background-color var(--transition-fast);
}

.premium-table tr:hover td {
  background-color: var(--bg-glass);
}

.premium-table b {
  font-weight: 600;
  color: var(--text-primary);
}

.text-right {
  text-align: right;
}

.center-col {
  text-align: center;
}

/* Status Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pill-green { background-color: rgba(16, 185, 129, 0.12); color: #10b981; }
.pill-amber { background-color: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.pill-red { background-color: rgba(239, 68, 68, 0.12); color: #ef4444; }
.pill-blue { background-color: rgba(59, 130, 246, 0.12); color: #3b82f6; }

/* Physical/Printing Templates Wrapper */
.panel-preview {
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.empty-preview {
  flex: 1;
  border: 2px dashed var(--border-secondary);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  padding: 40px;
  text-align: center;
}

.empty-preview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-preview-content i {
  font-size: 48px;
  color: var(--border-secondary);
}

.empty-preview-content p {
  font-size: 13px;
  max-width: 240px;
}

/* ID CARD RENDERING DESIGN */
.preview-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.card-rendering-canvas {
  width: 100%;
  display: flex;
  justify-content: center;
}

.id-card {
  width: 320px;
  background: linear-gradient(135deg, #1e1b4b 0%, #311054 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.id-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 60, 93, 0.25) 0%, transparent 70%);
}

.id-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
}

.id-card .school-name-banner {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  text-align: center;
}

.id-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.id-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4px;
  color: #ffffff;
}

.id-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 2px;
  font-weight: 500;
}

.id-school {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  line-height: 1.4;
}

.barcode {
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: 10px;
}

/* EXAM ADMIT TICKET DESIGN */
.admit-card {
  width: 100%;
  max-width: 440px;
  border: 2px solid var(--accent);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
}

.admit-header {
  text-align: center;
  border-bottom: 2px solid var(--border-primary);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.admit-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.admit-header p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.admit-header .title-badge {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-top: 8px;
}

.admit-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-primary);
}

.admit-row span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.admit-row b {
  font-weight: 600;
  color: var(--text-primary);
}

.admit-schedule-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}

.admit-subject {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.admit-subject div {
  background-color: var(--bg-tertiary);
  padding: 8px 12px;
  border-radius: var(--border-radius-md);
  font-size: 11px;
  border: 1px solid var(--border-primary);
}

.admit-subject div b {
  display: block;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.admit-footer-note {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4;
  border-top: 1px dashed var(--border-primary);
  padding-top: 12px;
}

/* FINANCIAL RECEIPTS */
.receipt {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  font-size: 13px;
  line-height: 1.6;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-primary);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.receipt-brand h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.receipt-brand p {
  font-size: 10px;
  color: var(--text-secondary);
}

.receipt-meta {
  text-align: right;
  font-size: 11px;
  color: var(--text-secondary);
}

.receipt-meta b {
  color: var(--text-primary);
}

.receipt-bill-to {
  background-color: var(--bg-tertiary);
  padding: 12px;
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-primary);
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.receipt-table th {
  text-align: left;
  border-bottom: 1px solid var(--border-secondary);
  padding: 8px 0;
  font-size: 11px;
  color: var(--text-secondary);
}

.receipt-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-primary);
}

.receipt-table tr:last-child td {
  border-bottom: none;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 2px solid var(--border-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.receipt-footer {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 16px;
  border-top: 1px dashed var(--border-primary);
  padding-top: 12px;
}

/* ACCOUNTING LEDGER STYLES */
.ledger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ledger-running-balance {
  background-color: var(--bg-tertiary);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.balance-amt {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.balance-amt.positive { color: var(--color-success); }
.balance-amt.negative { color: var(--color-danger); }

.ledger-form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: flex-end;
}

/* SMS Dispatch Panel & Logs */
.sms-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.sms-log-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.sms-log-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-md);
  padding: 12px;
}

.sms-log-card .to {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.sms-log-card .msg {
  font-size: 12px;
  color: var(--text-primary);
  margin-top: 4px;
  line-height: 1.4;
}

.sms-log-card .footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 600;
}

/* Timeline/Notices Dispatch Logs Scroll */
.notice-list-scrollable {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.notice-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-md);
  padding: 16px;
  position: relative;
  transition: all var(--transition-fast);
}

.notice-card:hover {
  border-color: rgba(11, 60, 93, 0.2);
  transform: translateX(4px);
}

.notice-card .notice-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.notice-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 75%;
}

.notice-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.notice-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 12px;
  font-weight: 600;
}

.badge-priority {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-priority.normal { background-color: var(--bg-primary); color: var(--text-secondary); }
.badge-priority.important { background-color: var(--color-warning-bg); color: var(--color-warning); }
.badge-priority.urgent { background-color: var(--color-danger-bg); color: var(--color-danger); }

/* Weekly Timetable Grid Styles */
.grid-timetable th {
  text-align: center;
}

.grid-timetable td {
  text-align: center;
  padding: 10px 8px;
  font-size: 11px;
}

.grid-timetable td b {
  display: block;
  font-size: 12px;
  color: var(--accent);
}

.grid-timetable td span {
  display: block;
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.grid-timetable tr td:first-child {
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  text-align: left;
  font-size: 11px;
}

/* Exam Results Gradebook Layouts */
.gradebook-report-card {
  padding: 24px;
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-primary);
}

.gradebook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 16px;
}

.gradebook-profile h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.gradebook-profile p {
  font-size: 12px;
  color: var(--text-secondary);
}

.gradebook-summary {
  text-align: right;
}

.summary-score {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.summary-score span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.summary-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

.gradebook-badge-container {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.g-badge {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  padding: 10px 16px;
  border-radius: var(--border-radius-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.g-badge .val {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}
.g-badge .val.passed { color: var(--color-success); }

.g-badge .lbl {
  font-size: 10px;
  color: var(--text-secondary);
}

/* System Live Settings Card Frame */
.live-settings-box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.live-settings-card {
  width: 100%;
  max-width: 380px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.org-name-preview {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.org-address-preview, .org-phone-preview {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.preview-metrics-list {
  margin-top: 20px;
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.metric-key {
  color: var(--text-secondary);
}

.metric-val {
  font-weight: 600;
}

.receipt-note-wrapper {
  margin-top: 16px;
}

.note-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.note-txt {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-top: 2px;
}

/* MULTI-ROLE LOGIN OVERLAY STYLES */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 12, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.login-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 420px;
  border-radius: var(--border-radius-xl);
  padding: 36px;
  text-align: center;
  border: 1px solid var(--border-secondary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  background: var(--bg-glass);
}

.login-brand {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-brand h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-top: 14px;
}

.login-brand p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.login-role-tabs {
  display: flex;
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border-primary);
}

.login-role-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 0;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.login-role-tab.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(11, 60, 93, 0.25);
}

.login-form {
  text-align: left;
}

.login-error-msg {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Settings Checklist Premium Styling */
.checkbox-label {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.checkbox-label:hover {
  background-color: var(--bg-glass-active);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Global Notification Toast Box Styles */
#toast-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  width: 320px;
  background-color: #1e1e2f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  font-size: 20px;
  color: var(--accent);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent);
  width: 100%;
}

/* Search bar filter items */
.search-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px !important;
}

.header-left {
  flex: 1;
}

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

.search-input-wrapper {
  position: relative;
  width: 240px;
}

.search-input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 16px;
}

.search-input-wrapper input {
  padding-left: 38px;
}

.styled-date-picker {
  cursor: pointer;
}

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

.alert-box-info {
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(11, 60, 93, 0.2);
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

/* PRINT OUT OVERRIDES */
@media print {
  body * {
    visibility: hidden;
  }
  
  #id-card-print-target, #id-card-print-target *,
  #admit-card-print-target, #admit-card-print-target *,
  #fee-receipt-box, #fee-receipt-box * {
    visibility: visible;
  }
  
  #id-card-print-target, #admit-card-print-target, #fee-receipt-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
    border: none;
  }
  
  .card-header, .btn {
    display: none !important;
  }
  
  .id-card, .admit-card, .receipt {
    box-shadow: none !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    background: #ffffff !important;
  }
  
  .id-card::before, .id-card::after {
    display: none !important;
  }
  
  .id-avatar {
    border-color: #000000 !important;
    color: #000000 !important;
    background: transparent !important;
  }
  
  .id-card .school-name-banner {
    color: #000000 !important;
    border-color: #000000 !important;
  }
  
  .id-name {
    color: #000000 !important;
  }
  
  .id-detail {
    color: #000000 !important;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .action-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #sidebar {
    transform: translateX(-100%);
    position: fixed;
    height: 100vh;
  }
  
  #sidebar.open {
    transform: translateX(0);
  }
  
  #menu-toggle {
    display: flex;
  }
  
  #topbar {
    padding: 0 16px;
  }
  
  #content {
    padding: 16px;
  }
  
  .grid-3, .grid-timetable, .ledger-form-grid {
    grid-template-columns: 1fr;
  }
  
  .action-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   VBNS CRM - UPGRADES: HOMEWORK, AVATAR, & AUDIT STYLING
   ------------------------------------------------------------- */

/* Homework Board Styles */
.homework-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--border-radius-md);
  padding: 20px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.homework-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.15);
}

.homework-card .hw-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 8px;
}

.homework-card .hw-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.homework-card .hw-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
}

.homework-card .hw-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-primary);
}

.hw-pill-due {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Avatar sidebar special zoom */
#sb-student-avatar-wrapper:hover #sb-student-avatar-img {
  border-color: var(--accent-hover);
  transform: scale(1.05);
}
#sb-student-avatar-wrapper #sb-student-avatar-img {
  transition: all var(--transition-fast);
}

/* Audit Trails Badge and Style configurations */
.audit-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.audit-badge.enrollment { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.audit-badge.finance { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.audit-badge.security { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.audit-badge.academic { background: rgba(11, 60, 93, 0.1); color: #0B3C5D; }
.audit-badge.system { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.password-text-toggle {
  font-family: monospace;
  font-size: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-primary);
}

/* =============================================================
   INTEGRATION LAYOUT & BODY SCROLL OVERRIDES
   ============================================================= */
html, body {
  /* Default for public landing page scrolling */
  overflow-y: auto !important;
  height: auto !important;
}

html.crm-active,
body.crm-active {
  /* Lock scrolling when logged into CRM workspace */
  overflow: hidden !important;
  height: 100% !important;
}/* Hide CRM App by default on landing */
#app {
  display: none;
}

/* Close button inside glassmorphic login card */
.login-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-primary);
  z-index: 10;
}

.login-close-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* =============================================================
   PUBLIC SCHOOL WEBSITE - LIGHT GREEN & WHITE LUXURY SYSTEM
   ============================================================= */
html {
  scroll-behavior: smooth;
}

html, body {
  /* Default for public landing page scrolling */
  overflow-y: auto !important;
  height: auto !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
}

html.crm-active,
body.crm-active {
  /* Lock scrolling when logged into CRM workspace */
  overflow: hidden !important;
  height: 100% !important;
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

#public-website {
  background-color: #ffffff;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  width: 100%;
  overflow-x: hidden;
  transition: background-color var(--transition-normal);
}

/* Public Navbar */
.public-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
  z-index: 500;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(11, 60, 93, 0.03);
}

.public-nav .nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.public-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.public-nav .nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #0B3C5D;
  box-shadow: 0 0 12px rgba(11, 60, 93, 0.15);
}

.public-nav .nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-nav .nav-brand-text {
  display: flex;
  flex-direction: column;
}

.public-nav .nav-school-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: #0B3C5D;
  line-height: 1.2;
}

.public-nav .nav-school-tag {
  font-size: 9px;
  color: #f59e0b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.public-nav .nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

.public-nav .nav-link:hover,
.public-nav .nav-link.active {
  color: #0B3C5D;
}

.public-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #0B3C5D;
  border-radius: 2px;
}

.public-nav .portal-access-btn {
  margin-left: 6px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #F2B705 0%, #d89e04 100%);
  color: #0B3C5D;
  border: none;
  box-shadow: 0 4px 14px rgba(242, 183, 5, 0.3);
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.public-nav .portal-access-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 183, 5, 0.45);
  background: linear-gradient(135deg, #ffd043 0%, #F2B705 100%);
  color: #082d47;
}

.public-nav .nav-menu-toggle {
  display: none;
  font-size: 22px;
  color: #0B3C5D;
  cursor: pointer;
  padding: 4px;
}

/* Public Hero Section */
.public-hero {
  position: relative;
  min-height: 95vh;
  padding-top: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 10% 20%, rgba(11, 60, 93, 0.08) 0%, transparent 45%), radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 45%), radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.02) 0%, transparent 50%), linear-gradient(135deg, #f4f9f6 0%, #ffffff 100%);
  overflow: hidden;
  scroll-margin-top: 75px;
}

.public-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='rgba(11, 60, 93, 0.02)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.public-hero .hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
  z-index: 2;
}

.hero-split-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.public-hero .hero-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: rgba(11, 60, 93, 0.08);
  color: #0B3C5D;
  border: 1px solid rgba(11, 60, 93, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.public-hero .hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #1e293b;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #0B3C5D 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.public-hero .hero-subtitle {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.65;
  max-width: 600px;
}

.public-hero .hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.public-hero .btn-lg {
  padding: 12px 28px;
  font-size: 14px;
  border-radius: 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.public-hero .btn-primary {
  background: linear-gradient(135deg, #0B3C5D 0%, #082d47 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.35);
}
.public-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 60, 93, 0.45);
  background: linear-gradient(135deg, #3b9c83 0%, #082d47 100%);
}

.public-hero .btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(11, 60, 93, 0.3);
  color: #0B3C5D;
}
.public-hero .btn-secondary:hover {
  background-color: rgba(11, 60, 93, 0.05);
  border-color: rgba(11, 60, 93, 0.5);
}

.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper-card {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-image-glow-behind {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(11, 60, 93, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.hero-image-card {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(11, 60, 93, 0.1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(11, 60, 93, 0.06);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.hero-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(11, 60, 93, 0.25);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(11, 60, 93, 0.08);
  z-index: 3;
}

.hero-image-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(11, 60, 93, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B3C5D;
  font-size: 18px;
}

.hero-image-badge .badge-text h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.hero-image-badge .badge-text p {
  font-size: 10.5px;
  color: #64748b;
  margin: 2px 0 0 0;
  white-space: nowrap;
}

/* Public Standard Sections */
.public-section {
  padding: 90px 0;
  width: 100%;
  position: relative;
  scroll-margin-top: 85px;
}

.public-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0B3C5D;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.pub-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.pub-section-title.text-dark {
  color: #0B3C5D;
}

.pub-section-p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.pub-section-p.centered {
  margin: 0 auto;
}

.pub-section-p.text-muted {
  color: #475569;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: #fafdfc;
  border-top: 1px solid rgba(11, 60, 93, 0.08);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(11, 60, 93, 0.01);
}

/* Specific Pastel Tints for Cards */
.why-choose-grid > *:nth-child(1) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.why-choose-grid > *:nth-child(2) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.why-choose-grid > *:nth-child(3) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.why-choose-grid > *:nth-child(4) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.02) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.1);
}

/* Vibrant Hover States */
.why-choose-grid > *:nth-child(1):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.why-choose-grid > *:nth-child(2):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.why-choose-grid > *:nth-child(3):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.why-choose-grid > *:nth-child(4):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.12);
}

.why-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-icon-box.purple { background-color: rgba(168, 85, 247, 0.08); color: #8b5cf6; }
.why-icon-box.blue { background-color: rgba(59, 130, 246, 0.08); color: #3b82f6; }
.why-icon-box.green { background-color: rgba(11, 60, 93, 0.08); color: #0B3C5D; }
.why-icon-box.gold { background-color: rgba(245, 158, 11, 0.08); color: #d97706; }

.why-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.why-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Academics Section */
.academics-section-alt {
  background: linear-gradient(135deg, #e8f4ee 0%, #f4f9f6 100%);
  border-top: 1px solid rgba(11, 60, 93, 0.06);
  border-bottom: 1px solid rgba(11, 60, 93, 0.06);
}

.academics-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.academic-card-premium {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(11, 60, 93, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Colorful top borders for cards */
.academics-grid-premium > *:nth-child(1) {
  border-top: 5px solid #10b981;
}
.academics-grid-premium > *:nth-child(2) {
  border-top: 5px solid #3b82f6;
}
.academics-grid-premium > *:nth-child(3) {
  border-top: 5px solid #f59e0b;
}

.academic-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(11, 60, 93, 0.08);
  border-color: rgba(11, 60, 93, 0.25);
  background: #ffffff;
}

.academic-card-icon-premium {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.academic-card-icon-premium.green { background-color: rgba(16, 185, 129, 0.08); color: #10b981; }
.academic-card-icon-premium.blue { background-color: rgba(59, 130, 246, 0.08); color: #3b82f6; }
.academic-card-icon-premium.gold { background-color: rgba(11, 60, 93, 0.08); color: #0B3C5D; }

.academic-card-premium h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0B3C5D;
  margin: 0 0 6px 0;
}

.academic-card-premium .grade-span {
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.academic-card-premium p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Campus Gallery Section */
.gallery-section {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
}

.gallery-grid-six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(11, 60, 93, 0.01);
}

.gallery-img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: rgba(11, 60, 93, 0.03);
}

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

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

/* Individual Pastel Gradients for Gallery Cards */
.gallery-grid-six > *:nth-child(1) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(2) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(3) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(4) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(5) {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.1);
}
.gallery-grid-six > *:nth-child(6) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(7) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(8) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(9) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(10) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(11) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(12) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(13) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(14) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(15) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(16) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(17) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(18) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(19) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(20) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(21) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(22) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(23) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(24) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(25) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(26) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(27) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(28) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(29) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(30) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(31) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(32) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(33) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(34) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(35) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(36) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(37) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(38) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(39) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(40) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(41) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(42) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(43) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(44) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(45) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(46) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(47) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(48) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(49) {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.02) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.1);
}
.gallery-grid-six > *:nth-child(50) {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.02) 0%, rgba(11, 60, 93, 0.05) 100%);
  border: 1px solid rgba(11, 60, 93, 0.1);
}
.gallery-grid-six > *:nth-child(51) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.gallery-grid-six > *:nth-child(52) {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(249, 115, 22, 0.05) 100%);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.gallery-grid-six > *:nth-child(53) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(20, 184, 166, 0.1);
}
.gallery-grid-six > *:nth-child(54) {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.1);
}


/* Individual Glowing Hover States */
.gallery-grid-six > *:nth-child(1):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(2):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(3):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(4):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(5):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.12);
}
.gallery-grid-six > *:nth-child(6):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(7):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(8):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(9):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(10):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(11):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(12):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(13):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(14):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(15):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(16):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(17):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(18):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(19):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(20):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(21):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(22):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(23):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(24):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(25):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(26):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(27):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(28):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(29):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(30):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(31):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(32):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(33):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(34):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(35):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(36):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(37):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(38):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(39):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(40):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(41):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(42):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(43):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(44):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(45):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(46):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(47):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(48):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(49):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.12);
}
.gallery-grid-six > *:nth-child(50):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.12);
}
.gallery-grid-six > *:nth-child(51):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.12);
}
.gallery-grid-six > *:nth-child(52):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.12);
}
.gallery-grid-six > *:nth-child(53):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #0d9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
}
.gallery-grid-six > *:nth-child(54):hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12);
}

.gallery-icon-top {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.gallery-icon-top.purple { background-color: rgba(168, 85, 247, 0.08); color: #8b5cf6; }
.gallery-icon-top.green { background-color: rgba(11, 60, 93, 0.08); color: #0B3C5D; }
.gallery-icon-top.blue { background-color: rgba(59, 130, 246, 0.08); color: #3b82f6; }
.gallery-icon-top.orange { background-color: rgba(249, 115, 22, 0.08); color: #d97706; }
.gallery-icon-top.red { background-color: rgba(239, 68, 68, 0.08); color: #ef4444; }
.gallery-icon-top.teal { background-color: rgba(20, 184, 166, 0.08); color: #0d9488; }

.gallery-item-card h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.gallery-item-card p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Dynamic notices section */
.notice-section-alt {
  background: linear-gradient(135deg, #f4f9f6 0%, #eaf5f0 100%);
  border-top: 1px solid rgba(11, 60, 93, 0.06);
  border-bottom: 1px solid rgba(11, 60, 93, 0.06);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.alert-box-info-teal {
  margin-top: 20px;
  background: rgba(11, 60, 93, 0.05);
  border: 1px dashed rgba(11, 60, 93, 0.25);
  padding: 14px 18px;
  border-radius: 12px;
  color: #0B3C5D;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-notice-board.card-glassmorphic {
  background: #ffffff;
  border: 1.5px solid rgba(11, 60, 93, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(11, 60, 93, 0.04);
}

.card-header-teal {
  padding: 24px;
  background: rgba(11, 60, 93, 0.03);
  border-bottom: 1.5px solid rgba(11, 60, 93, 0.1);
}

.card-header-teal .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0B3C5D;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-header-teal .card-subtitle {
  font-size: 11px;
  color: #475569;
  display: block;
  margin-top: 4px;
}

.public-notices-feed-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding: 20px;
}

.public-feed-card {
  background: #ffffff !important;
  border: 1px solid rgba(11, 60, 93, 0.12) !important;
  border-left: 4.5px solid #0B3C5D !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.public-feed-card.priority-urgent {
  border-left-color: #ef4444 !important;
}

.public-feed-card.priority-important {
  border-left-color: #f59e0b !important;
}

.public-feed-card:hover {
  background: rgba(11, 60, 93, 0.02) !important;
  border-color: rgba(11, 60, 93, 0.25) !important;
  transform: translateX(4px);
}

/* Admissions section */
.admission-section-premium {
  background: linear-gradient(135deg, #ffffff 0%, #e8f3ee 100%);
  border-bottom: 1px solid rgba(11, 60, 93, 0.08);
}

.admission-steps-premium {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.step-item-premium {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-badge-premium {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B3C5D 0%, #082d47 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(11, 60, 93, 0.35);
}

.step-text-premium h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.step-text-premium p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.public-form-card.card-glassmorphic {
  background: #ffffff;
  border: 1.5px solid rgba(11, 60, 93, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(11, 60, 93, 0.04);
}

.form-container-teal {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-teal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-teal label {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row-teal input,
.form-row-teal select,
.form-row-teal textarea {
  background: #ffffff;
  border: 1px solid rgba(11, 60, 93, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  transition: all 0.25s ease;
}

.form-row-teal input:focus,
.form-row-teal select:focus,
.form-row-teal textarea:focus {
  outline: none;
  border-color: #0B3C5D;
  box-shadow: 0 0 8px rgba(11, 60, 93, 0.15);
}

.form-grid-2-teal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-teal-gold {
  background: linear-gradient(135deg, #0B3C5D 0%, #082d47 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.3);
}
.btn-teal-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 60, 93, 0.4);
  background: linear-gradient(135deg, #3b9c83 0%, #082d47 100%) !important;
}

/* Contact Section */
.contact-section-alt {
  background: linear-gradient(135deg, #f4f9f6 0%, #fafdfc 100%);
}

.contact-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-card-premium {
  background: #ffffff;
  border: 1px solid rgba(11, 60, 93, 0.08);
  border-radius: 16px;
  padding: 36px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-card-premium:hover {
  transform: translateY(-5px);
  border-color: #0B3C5D;
  box-shadow: 0 12px 30px rgba(11, 60, 93, 0.06);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 60, 93, 0.06);
  color: #0B3C5D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-card-premium h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0B3C5D;
  margin: 0;
}

.contact-card-premium p {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Public Footer */
.public-footer-teal {
  background-color: #f4f9f6;
  border-top: 2px solid rgba(11, 60, 93, 0.15);
  padding: 70px 24px 30px 24px;
}

.footer-container-teal {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-split-teal {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-left-teal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-logo-title img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #0B3C5D;
}

.footer-logo-title h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  color: #0B3C5D;
  margin: 0;
}

.footer-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.footer-center-teal h5,
.footer-right-teal h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0B3C5D;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid #0B3C5D;
  padding-bottom: 8px;
  display: inline-block;
}

.footer-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu-links a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
}

.footer-menu-links a:hover {
  color: #0B3C5D;
  transform: translateX(4px);
}

.footer-right-teal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-right-teal p {
  font-size: 13px;
  color: #475569;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-right-teal p i {
  color: #0B3C5D;
}

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

.footer-social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 60, 93, 0.05);
  border: 1px solid rgba(11, 60, 93, 0.1);
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
}

.footer-social-icons a:hover {
  background: #0B3C5D;
  color: #ffffff;
  border-color: #0B3C5D;
  transform: translateY(-2px);
}

.footer-copyright-teal {
  border-top: 1px solid rgba(11, 60, 93, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}

.footer-copyright-left p {
  margin: 0;
}

.footer-copyright-right a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease;
}

.footer-copyright-right a:hover {
  color: #ef4444;
}

/* =============================================================
   RESPONSIVENESS & MEDIA QUERIES FOR PUBLIC VIEWPORTS
   ============================================================= */
@media (max-width: 1024px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-left {
    align-items: center;
  }
  .public-hero .hero-title {
    font-size: 40px;
  }
  .public-hero .hero-subtitle {
    margin: 0 auto;
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .academics-grid-premium {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .academics-grid-premium > *:last-child {
    grid-column: span 2;
  }
  .gallery-grid-six {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .two-col-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-split-teal {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-left-teal {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .public-nav .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 75px);
    background-color: #ffffff;
    border-right: 1px solid rgba(11, 60, 93, 0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
    transition: left var(--transition-normal);
    z-index: 490;
    box-shadow: 10px 0 30px rgba(0,0,0,0.05);
  }
  
  .public-nav .nav-links.mobile-open {
    left: 0;
  }
  
  .public-nav .nav-menu-toggle {
    display: block;
  }
  
  .public-nav .portal-access-btn {
    margin-left: 0;
    width: 100%;
    margin-top: 10px;
  }
  
  .public-nav .nav-link {
    color: #475569;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(11, 60, 93, 0.08);
  }
  .public-nav .nav-link:hover,
  .public-nav .nav-link.active {
    color: #0B3C5D;
  }
  .public-nav .nav-link.active::after {
    display: none;
  }
  
  .public-hero .hero-title {
    font-size: 34px;
  }
  .public-hero .hero-subtitle {
    font-size: 14px;
  }
  .public-hero .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
  }
  .public-hero .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .academics-grid-premium {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .academics-grid-premium > *:last-child {
    grid-column: span 1;
  }
  .gallery-grid-six {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-grid-premium {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-split-teal {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-left-teal {
    grid-column: span 1;
  }
  .footer-copyright-teal {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Bright light-green & white login modal overrides */
.login-overlay {
  background-color: rgba(244, 249, 246, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.login-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(11, 60, 93, 0.2) !important;
  box-shadow: 0 20px 50px rgba(11, 60, 93, 0.1) !important;
}

.login-brand h2 {
  color: #0B3C5D !important;
}

.login-brand p {
  color: #475569 !important;
}

.login-role-tab {
  background-color: rgba(11, 60, 93, 0.05) !important;
  color: #475569 !important;
  border: 1px solid rgba(11, 60, 93, 0.1) !important;
}

.login-role-tab.active {
  background: #0B3C5D !important;
  color: #ffffff !important;
  border-color: #0B3C5D !important;
}

.login-form .form-row label {
  color: #475569 !important;
}

.login-form .form-row input {
  background-color: #ffffff !important;
  border: 1px solid rgba(11, 60, 93, 0.2) !important;
  color: #1e293b !important;
}

.login-form .form-row input:focus {
  border-color: #0B3C5D !important;
  box-shadow: 0 0 8px rgba(11, 60, 93, 0.2) !important;
}

.login-form .btn-primary {
  background: linear-gradient(135deg, #0B3C5D 0%, #082d47 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.3) !important;
}

.login-form .btn-primary:hover {
  background: linear-gradient(135deg, #082d47 0%, #0B3C5D 100%) !important;
  transform: translateY(-1px) !important;
}

.login-close-btn {
  background-color: rgba(11, 60, 93, 0.05) !important;
  color: #0B3C5D !important;
  border: 1px solid rgba(11, 60, 93, 0.15) !important;
}

.login-close-btn:hover {
  background-color: #0B3C5D !important;
  color: #ffffff !important;
}

/* =============================================================
   NEW BRANDING & ROUTING LAYOUT OVERRIDES (NAVY & GOLD)
   ============================================================= */

/* Sticky Top Alert Notice Bar */
.top-announcement-banner {
  width: 100%;
  background: #0B3C5D;
  border-bottom: 1.5px solid #F2B705;
  padding: 8px 24px;
  position: sticky;
  top: 0;
  z-index: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-announcement-banner .banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-announcement-banner .banner-badge {
  background: #F2B705;
  color: #0B3C5D;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.top-announcement-banner .banner-text {
  color: #ffffff;
  font-size: 12px;
  letter-spacing: -0.1px;
}

.top-announcement-banner .banner-link-btn {
  background: transparent;
  color: #F2B705;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.top-announcement-banner .banner-link-btn:hover {
  text-shadow: 0 0 4px rgba(242, 183, 5, 0.4);
  transform: translateX(2px);
}

/* Adjust header navbar sticky position because of top banner */
.public-nav {
  position: sticky !important;
  top: 36px !important;
}

/* Page transitions crossfade */
.pub-page {
  width: 100%;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Content Tuning */
.hero-subtitle-h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #0B3C5D;
  line-height: 1.35;
  margin-top: -6px;
}

.hero-subtitle-h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #F2B705;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.hero-badges-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.hero-badges-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0B3C5D;
  background: rgba(11, 60, 93, 0.05);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(11, 60, 93, 0.12);
}

/* Pulsing Floating WhatsApp button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  z-index: 550;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  animation: pulseWhatsapp 2s infinite;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  background-color: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

@keyframes pulseWhatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-floating-btn .tooltip-text {
  position: absolute;
  right: 68px;
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.whatsapp-floating-btn:hover .tooltip-text {
  opacity: 1;
}

/* Mobile Sticky bottom footer bar */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  border-top: 1.5px solid rgba(11, 60, 93, 0.12);
  grid-template-columns: 1fr 1fr;
  z-index: 560;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
}

.sticky-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.sticky-footer-btn.call-btn {
  background-color: #0B3C5D;
  color: #ffffff;
}

.sticky-footer-btn.whatsapp-btn {
  background-color: #25d366;
  color: #ffffff;
}

/* Stepper UI Progress items */
.admission-steps-premium {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Specific filter styling */
.filter-btn {
  transition: all 0.25s ease;
  font-weight: 700 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mobile-sticky-footer {
    display: grid;
  }
  .whatsapp-floating-btn {
    bottom: 80px;
  }
  .public-footer-teal {
    padding-bottom: 90px !important;
  }
  .top-announcement-banner {
    padding: 8px 12px;
  }
  .top-announcement-banner .banner-text {
    font-size: 11px;
    text-align: center;
  }
  .public-nav {
    top: 52px !important;
  }
}




/* =============================================================
   WELCOME ADVERTISEMENT POPUP MODAL (NEW)
   ============================================================= */
.ad-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 28, 45, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.ad-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ad-popup-card {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 650px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(242, 183, 5, 0.25);
  border: 3px solid var(--accent);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.ad-popup-overlay.active .ad-popup-card {
  transform: scale(1);
}

.ad-popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(5, 28, 45, 0.6);
  color: #ffffff;
  border: none;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.ad-popup-close-btn:hover {
  background: rgba(220, 53, 69, 0.9);
  transform: rotate(90deg);
}

.ad-popup-image-link {
  display: block;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.ad-popup-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ad-popup-image-link:hover .ad-popup-img {
  transform: scale(1.02);
}

.ad-popup-footer {
  background: linear-gradient(135deg, var(--accent) 0%, #051c2d 100%);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1.5px solid rgba(255, 255, 255, 0.1);
}

.ad-popup-footer-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 500;
}

.ad-popup-action-btn {
  background: var(--color-warning);
  color: #0b3c5d;
  font-weight: 700;
  border: none;
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ad-popup-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 183, 5, 0.3);
}

@media (max-height: 700px) {
  .ad-popup-card {
    max-width: 500px;
  }
}

/* =============================================================
   INTEGRATION LAYOUT & SIBLING CONFLICT OVERRIDES
   ============================================================= */
#app {
  display: none !important;
}

#public-website {
  display: block !important;
}

body.crm-active #app {
  display: flex !important;
}

body.crm-active #public-website {
  display: none !important;
}

