/* =========================
   GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background: #f6f6f6;
  color: #222;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.section {
  padding: 60px 0;
}
.text-center {
  text-align: center;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background: #f5b400;
  color: #222;
}
.btn-primary:hover {
  background: #d89d00;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}
.btn-dark {
  background: #7b1024;
  color: #fff;
}
.btn-dark:hover {
  background: #5f0d1b;
}
.btn-light {
  background: #fff;
  color: #7b1024;
}
.btn-light:hover {
  background: #eee;
}
/* =========================
   NAVBAR
========================= */
.navbar {
  background: #7b1024;
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.navbar .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.logo h2 {
  font-size: 18px;
  line-height: 1.2;
}
.logo span {
  font-size: 12px;
  display: block;
  font-weight: normal;
}
/* PUBLIC NAVBAR BRAND CONSISTENCY: match the clearer Strands logo/brand */
.navbar .logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.navbar .logo span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  color: #fff;
  font-size: 14px;
  transition: 0.3s ease;
}
.nav-links a:hover {
  color: #f5b400;
}
.nav-links .apply-btn {
  background: #f5b400;
  color: #222;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
}
/* APPLY NOW HOVER FIX: keep text visible */
.nav-links .apply-btn:hover {
  background: #d89d00;
  color: #222 !important;
  transform: translateY(-1px);
}
.nav-links .portal-btn {
  border: 1px solid #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
/* =========================
   HERO
========================= */
.hero {
  background: linear-gradient(135deg, #7b1024, #9f1830);
  color: #fff;
  padding: 80px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}
.hero p {
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 550px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-image img {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
/* =========================
   STATS
========================= */
.stats {
  background: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-box {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.stat-box h3 {
  font-size: 28px;
  color: #7b1024;
  margin-bottom: 8px;
}
.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: #fdf0d5;
  color: #7b1024;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.stat-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-5px);
}
/* =========================
   CARDS
========================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 35px;
}
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 22px;
}
.card-body h3 {
  color: #7b1024;
  margin-bottom: 10px;
}
.card-body p {
  font-size: 14px;
  color: #555;
}
/* =========================
   CTA
========================= */
.cta {
  background: linear-gradient(135deg, #7b1024, #9f1830);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  border-radius: 18px;
}
.cta h2 {
  font-size: 34px;
  margin-bottom: 15px;
}
.cta p {
  margin-bottom: 25px;
}
/* =========================
   PAGE HEADER
========================= */
.page-header {
  background: linear-gradient(135deg, #7b1024, #9f1830);
  color: #fff;
  padding: 60px 0;
}
.page-header h1 {
  font-size: 38px;
  margin-bottom: 10px;
}
/* =========================
   INFO BOXES
========================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 35px;
}
.info-box {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}
.info-box h3 {
  color: #7b1024;
  margin-bottom: 12px;
}
/* =========================
   FORM
========================= */
.form-section {
  padding: 60px 0;
}
.form-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: auto;
}
.form-card h2 {
  background: #7b1024;
  color: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 25px;
}
.form-group {
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}
/* =========================
PORTAL PAGE
========================= */
.portal-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #7b1024, #a30f2d);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}
.portal-container {
  width: 100%;
  max-width: 1050px;
  text-align: center;
}
.portal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.portal-logo img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}
.portal-header h1 {
  color: #fff;
  font-size: 46px; /* was too big before */
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.portal-header p {
  color: #f8dfe5;
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.7;
}
/* GRID */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 45px;
}
.portal-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 24px;
  min-height: 180px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  transition: 0.3s ease;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.portal-card:hover {
  transform: translateY(-6px);
}
.portal-card i {
  font-size: 30px;
  color: #7b1024;
  margin-bottom: 14px;
}
.portal-card h3 {
  color: #7b1024;
  font-size: 21px;
  margin-bottom: 10px;
  font-weight: 700;
}
.portal-card p {
  color: #555;
  font-size: 15px;
}
/* FOOTER LINKS */
.portal-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.portal-links a {
  color: #fff;
  font-size: 18px;
  text-decoration: underline;
  font-weight: 500;
}
/* RESPONSIVE */
@media (max-width: 992px) {
  .portal-header h1 {
    font-size: 42px;
  }
  .portal-header p {
    font-size: 18px;
  }
  .portal-card h3 {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-header h1 {
    font-size: 34px;
  }
  .portal-header p {
    font-size: 16px;
    margin-bottom: 35px;
  }
  .portal-card {
    padding: 35px 24px;
  }
  .portal-links {
    flex-direction: column;
    gap: 16px;
  }
}
/* =========================
   LOGIN
========================= */
/* =========================
LOGIN PAGES
========================= */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  padding: 30px 20px;
}
.login-card {
  background: #fff;
  padding: 35px;
  width: 100%;
  max-width: 450px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  text-align: center;
}
.login-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #7b1024;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.login-card h2 {
  color: #7b1024;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
}
.login-card p {
  color: #666;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.6;
}
.login-form {
  text-align: left;
}
.login-form .form-group {
  margin-bottom: 18px;
}
.login-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}
.login-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}
.login-form input:focus {
  border-color: #7b1024;
  box-shadow: 0 0 0 3px rgba(123, 16, 36, 0.08);
}
.login-btn {
  width: 100%;
  margin-top: 10px;
  background: #7b1024;
  color: #fff;
  padding: 13px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s ease;
}
.login-btn:hover {
  background: #5f0d1b;
}
.login-footer {
  margin-top: 22px;
  font-size: 14px;
}
.login-footer a {
  color: #7b1024;
  font-weight: 600;
  text-decoration: none;
}
/* =========================
   FOOTER
========================= */
.footer {
  background: #7b1024;
  color: #fff;
  padding: 50px 0 20px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer h3, .footer h4 {
  margin-bottom: 14px;
}
.footer p, .footer a {
  font-size: 14px;
  color: #f3f3f3;
  margin-bottom: 8px;
  display: block;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 14px;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .hero-grid,
  .cards-grid,
  .stats-grid,
  .info-grid,
  .footer-grid,
  .portal-options,
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav-content {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 32px;
  }
  .portal-card h1 {
    font-size: 32px;
  }
}
/* HERO BUTTON LAYOUT */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 25px;
}
.hero-back-btn {
  margin-top: 0;
}
.section-subtitle {
  margin-top: 30px;
  color: #7b1024;
}
.principal-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.principal-container .card {
  max-width: 300px;
}
.map-box {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* =========================
DASHBOARD LAYOUT
========================= */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: #f3f4f6;
}
/* =========================
SIDEBAR
========================= */
.sidebar {
  width: 250px;
  background: linear-gradient(180deg, #7b1024, #920d23);
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.sidebar-logo {
  margin-bottom: 30px;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-brand i {
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-title-group h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.sidebar-title-group p {
  font-size: 12px;
  color: #f3dce2;
  margin-top: 4px;
  margin-bottom: 0;
}
.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  margin-bottom: 12px;
  transition: 0.3s ease;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.sidebar-menu a i {
  width: 20px;
  font-size: 16px;
  text-align: center;
}
.sidebar-menu a:hover {
  background: rgba(255,255,255,0.10);
}
.sidebar-menu a.active {
  background: #fff;
  color: #7b1024;
  font-weight: 700;
}
.sidebar-menu a.active i {
  color: #7b1024;
}
.sidebar-footer {
  margin-top: 30px;
}
.admin-user-box {
  margin-bottom: 18px;
  font-size: 12px;
  color: #f5dce2;
}
.admin-user-box strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 4px;
}
.admin-user-box span {
  font-size: 12px;
  opacity: 0.85;
}
.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 10px 4px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}
/* =========================
MAIN DASHBOARD
========================= */
.dashboard-main {
  flex: 1;
  padding: 28px 30px;
  overflow-x: auto;
}
.dashboard-header {
  margin-bottom: 20px;
}
.dashboard-header h1 {
  font-size: 34px;
  font-weight: 700;
  color: #1f2937;
}
.dashboard-header p {
  color: #666;
}
/* =========================
CARDS
========================= */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dashboard-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-left: 5px solid transparent;
}
.dashboard-card h3 {
  font-size: 14px;
  color: #6b7280;
  margin-top: 12px;
  font-weight: 600;
}
.dashboard-card h2 {
  font-size: 28px;
  color: #111827;
  font-weight: 700;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-icon {
  font-size: 22px;
}
/* Border colors */
.border-maroon { border-left-color: #7b1024; }
.border-yellow { border-left-color: #f4b400; }
.border-green { border-left-color: #22c55e; }
.border-red { border-left-color: #ef4444; }
.border-purple { border-left-color: #a855f7; }
/* Icon colors */
.maroon-icon { color: #7b1024; }
.yellow-icon { color: #f4b400; }
.green-icon { color: #22c55e; }
.red-icon { color: #ef4444; }
.purple-icon { color: #a855f7; }
/* =========================
BANNERS
========================= */
.dashboard-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 25px;
}
.dashboard-banner {
  padding: 22px 24px;
  border-radius: 14px;
  color: #fff;
}
.dashboard-banner h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.dashboard-banner p {
  font-size: 14px;
  margin-bottom: 18px;
  opacity: 0.95;
}
.banner-red {
  background: linear-gradient(135deg, #8f1730, #b4233f);
}
.banner-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.banner-btn {
  display: inline-block;
  background: #fff;
  color: #7b1024;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.banner-blue .banner-btn {
  color: #1d4ed8;
}
/* =========================
SECTION / TABLE
========================= */
.dashboard-section,
.table-card,
.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.dashboard-section h2,
.info-card-header h2 {
  margin-bottom: 20px;
  color: #222;
}
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}
.dashboard-table th,
.dashboard-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.dashboard-table th {
  background: #fafafa;
  color: #555;
}
/* =========================
BADGES
========================= */
.badge {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.badge.yellow {
  background: #fff3cd;
  color: #b58105;
}
.badge.green {
  background: #d9fbe6;
  color: #0f7a3d;
}
.badge.red {
  background: #ffe0e0;
  color: #b42318;
}
.badge.blue {
  background: #e0e7ff;
  color: #3730a3;
}
/* =========================
ADMIN DASHBOARD ONLY
========================= */
.stats-group {
  margin-bottom: 26px;
}
.stats-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 14px;
}
.admin-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
/* =========================
REPORTS PAGE
========================= */
.reports-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
margin-bottom: 24px;
}
.reports-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.export-btn {
background: #7b1024;
color: #fff;
border: none;
padding: 11px 16px;
border-radius: 10px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: 0.2s ease;
}
.export-btn:hover {
opacity: 0.92;
}
.secondary-btn {
background: #1f2937;
}
/* SUMMARY CARDS */
.reports-summary-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
margin-bottom: 20px;
}
.report-summary-card {
background: #fff;
border-radius: 14px;
padding: 18px 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.summary-top {
margin-bottom: 12px;
}
.summary-top i {
color: #8f1730;
font-size: 18px;
}
.report-summary-card h4 {
font-size: 14px;
color: #6b7280;
margin-bottom: 10px;
}
.report-summary-card h2 {
font-size: 30px;
font-weight: 700;
color: #111827;
margin: 0;
}
.green-text {
color: #16a34a !important;
}
/* CHARTS */
.reports-chart-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 18px;
margin-bottom: 20px;
}
.report-chart-card {
background: #fff;
border-radius: 16px;
padding: 18px 18px 24px;
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
min-height: 320px;
}
.report-chart-card h3 {
font-size: 15px;
font-weight: 700;
color: #1f2937;
margin-bottom: 16px;
}
.report-chart-card canvas {
width: 100% !important;
height: 240px !important;
}
.wide-chart {
min-height: 380px;
margin-bottom: 22px;
}
.wide-chart canvas {
height: 280px !important;
}
/* TABLE */
.report-table-card {
background: #fff;
border-radius: 16px;
padding: 20px;
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.report-table-card h3 {
font-size: 15px;
font-weight: 700;
color: #1f2937;
margin-bottom: 18px;
}
/* PRINT */
@media print {
body {
background: #fff;
}
.sidebar,
.no-print,
.reports-actions {
display: none !important;
}
.dashboard-layout {
display: block;
}
.dashboard-main {
width: 100%;
padding: 0;
margin: 0;
}
.report-chart-card,
.report-summary-card,
.report-table-card {
box-shadow: none;
border: 1px solid #ddd;
}
.report-chart-card canvas,
.wide-chart canvas {
height: 250px !important;
}
}
/* RESPONSIVE */
@media (max-width: 992px) {
.reports-summary-cards {
grid-template-columns: 1fr;
}
.reports-chart-grid {
grid-template-columns: 1fr;
}
.reports-header {
flex-direction: column;
align-items: flex-start;
}
}
/* =========================
SCHOOL INFO
========================= */
.info-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.edit-btn {
  background: #7b1024;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}
.edit-btn:hover {
  background: #5f0d1b;
}
.info-card p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 14px;
}
.info-meta {
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}
.edit-textarea,
textarea,
input,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  margin-top: 10px;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-light {
  background: #eee;
  color: #222;
}
.btn-light:hover {
  background: #ddd;
}
/* =========================
RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .dashboard-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-banner-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    min-height: 0;
  }
  .dashboard-cards {
    grid-template-columns: 1fr;
  }
  .dashboard-main {
    padding: 20px;
  }
  .dashboard-header h1 {
    font-size: 28px;
  }
}
/* =========================
   ALUMNI DASHBOARD ENHANCEMENTS
========================= */
.sidebar-user {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 12px;
}
.profile-banner {
  background: linear-gradient(135deg, #7b1024, #a01834);
  color: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.profile-banner h2 {
  margin-bottom: 8px;
  font-size: 28px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
.profile-grid.small-gap {
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 0;
}
.profile-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.profile-card h3 {
  margin-bottom: 16px;
  color: #7b1024;
  font-size: 18px;
}
.profile-card p,
.dashboard-section p {
  margin-bottom: 10px;
  color: #444;
}
.notice-box {
  background: #eef5ff;
  border-left: 5px solid #1976d2;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.notice-box strong {
  display: block;
  margin-bottom: 10px;
  color: #0d47a1;
}
.profile-note {
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}
.update-btn {
  margin-top: 14px;
  display: inline-block;
}
.save-btn {
  text-align: right;
  margin-top: 20px;
}
textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  resize: vertical;
  font-family: inherit;
}
@media (max-width: 992px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
  .dashboard-cards,
  .dashboard-banner-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
.dashboard-link-box {
  text-decoration: none;
  display: block;
}
.table-link {
  color: #7b1024;
  font-weight: 600;
  text-decoration: none;
}
.table-link:hover {
  text-decoration: underline;
}
.full-btn {
  width: 100%;
  text-align: center;
  display: inline-block;
}
/* =========================
   SCHOOL INFO MANAGEMENT
========================= */
.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 30px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.info-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.info-card-header h2 {
  color: #7b1024;
  font-size: 20px;
}
.edit-btn {
  background: transparent;
  border: none;
  color: #7b1024;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.edit-btn:hover {
  opacity: 0.8;
}
.info-card p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
}
/* =========================
   SCHOOL INFO EDITABLE
========================= */
.hidden {
  display: none;
}
.edit-textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  line-height: 1.7;
  font-family: inherit;
  resize: vertical;
  margin-top: 10px;
}
/* Screen-reader only label */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.table-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.dashboard-table th {
  text-align: left;
  padding: 12px;
  font-size: 13px;
  color: #6b7280;
}
.dashboard-table td {
  padding: 12px;
  font-size: 14px;
  border-top: 1px solid #eee;
}
/* =========================
ABOUT PAGE - MISSION / VISION
========================= */
.about-highlight-section {
  margin-top: -70px;
  position: relative;
  z-index: 2;
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
.highlight-box {
  background: linear-gradient(135deg, #8f1730, #b4233f);
  color: #fff;
  border-radius: 24px;
  padding: 38px 36px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.info-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.info-title i {
  font-size: 34px;
  color: #fff;
}
.info-title h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.highlight-box p {
  font-size: 17px;
  line-height: 1.9;
  color: #fdf1f4;
}
/* =========================
ABOUT PAGE - LOWER BOXES
========================= */
.lower-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.white-box {
  background: #fff;
  border-radius: 22px;
  padding: 32px 30px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.white-box h3 {
  font-size: 24px;
  color: #7b1024;
  margin-bottom: 18px;
}
.white-box p {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .mission-vision-grid,
  .lower-info-grid {
    grid-template-columns: 1fr;
  }
  .about-highlight-section {
    margin-top: -40px;
  }
}
/* =========================
SECTION HEADINGS
========================= */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.section-heading i {
  font-size: 42px;
  color: #8f1730;
}
.section-heading h2 {
  font-size: 28px;
  color: #8f1730;
  font-weight: 700;
  margin: 0;
}
/* =========================
CARD DESIGN (SAME FOR ALL)
========================= */
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
}
/* IMAGE SIZE FIX */
.card img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  background: #f3f3f3;
  display: block;
}
/* TEXT AREA */
.card-body {
  padding: 18px 16px;
}
.card-body h3 {
  font-size: 18px;
  color: #7b1024;
  margin-bottom: 6px;
}
/* =========================
LOGIN FOOTER
========================= */
.login-footer {
  margin-top: 22px;
  text-align: center;
}
.register-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}
.register-text a {
  color: #7b1024;
  font-weight: 600;
  text-decoration: none;
}
.register-text a:hover {
  text-decoration: underline;
}
.back-link {
  display: inline-block;
  font-size: 13px;
  color: #777;
  text-decoration: none;
}
.back-link:hover {
  color: #7b1024;
}
/* =========================
SUCCESS POPUP
========================= */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}
.success-popup.show {
  opacity: 1;
  visibility: visible;
}
.success-popup-content {
  background: #fff;
  padding: 35px 30px;
  border-radius: 18px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.success-popup-content i {
  font-size: 52px;
  color: #28a745;
  margin-bottom: 16px;
}
.success-popup-content h3 {
  font-size: 28px;
  color: #7b1024;
  margin-bottom: 10px;
}
.success-popup-content p {
  font-size: 15px;
  color: #666;
}
/* =========================
   MODAL POPUP (TOP POSITION)
========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  justify-content: center;
  align-items: flex-start; /* TOP instead of center */
  padding-top: 80px; /* distance from top */
  padding-left: 20px;
  padding-right: 20px;
}
.modal-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 18px;
  width: 100%;
  max-width: 430px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  position: relative;
  animation: slideDownFade 0.3s ease;
}
.modal-content h3 {
  margin-bottom: 10px;
  color: #7b1024;
  font-size: 24px;
}
.modal-content p {
  color: #555;
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.modal-icon {
  width: 70px;
  height: 70px;
  background: #eaf7ee;
  color: #1f9d55;
  font-size: 34px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: 0.2s ease;
}
.close-btn:hover {
  color: #7b1024;
}
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* SCHOOL INFO PAGE */
.edit-btn {
  background: #7b1024;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.edit-btn:hover {
  opacity: 0.92;
}
.edit-textarea {
  width: 100%;
  min-height: 120px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}
.info-meta {
  margin-top: 18px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
.info-card-header h2 i {
  margin-right: 10px;
  color: #7b1024;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* =========================================
   🔥 ALUMNI DASHBOARD CARD FIX
   PLACE THIS IN admin.css (BOTTOM PART)
========================================= */
.alumni-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; /* spacing ng cards */
  margin-top: 20px;
}
/* Optional spacing ng sections */
.dashboard-section {
  margin-bottom: 25px;
}
/* 🔥 FORGOT LINK */
.forgot-link {
  text-align: right;
  margin-bottom: 10px;
}
.forgot-link a {
  font-size: 13px;
  color: #007bff;
  text-decoration: none;
}
/* 🔥 ERROR MESSAGE */
.error-msg {
  color: red;
  display: none;
  margin-top: 10px;
}
/* 🔥 MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.modal-content {
  background: #fff;
  width: 350px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
.modal-text {
  font-size: 13px;
  margin-bottom: 10px;
}
.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.btn-cancel {
  background: #ccc;
}
/* BIG FACULTY CONTAINER */
.faculty-container {
  background: #7b1024;
  padding: 60px 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-top: 40px;
  margin-bottom: 40px;
}
/* White text inside faculty container */
.faculty-container h2,
.faculty-container h3,
.faculty-container p {
  color: white;
}
/* Subtitle line */
.faculty-container .section-subtitle::after {
  background: white;
}
/* Teacher cards */
.faculty-container .card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}
.faculty-container .card:hover {
  transform: translateY(-6px);
}
.faculty-container .card-body h3 {
  color: #8b0000;
}
.faculty-container .card-body p {
  color: #444;
}
/* CONTACT DESIGN */
.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-card {
  background: white;
  width: 100%;
  max-width: 750px;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.contact-card h2 {
  text-align: center;
  font-size: 2rem;
  color: #8b0000;
  margin-bottom: 10px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.contact-item .icon {
  width: 35px;
  height: 35px;
  background: #8b0000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-item p {
  margin: 0;
  color: #222;
}
.contact-item strong {
  font-weight: 600;
}
.academic-header {
    width: 90%;
    border-left: 6px solid #7b1024;
    padding-left: 18px;
    background: transparent;
}
.academic-header h2 {
    color: #7b1024;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}
/* Hidden teachers */
.hidden-teacher{
    display:none;
}
/* See More Button */
.see-more-container{
    text-align:center;
    margin:35px 0;
}
#toggleTeachers{
    background:#7b1024;
    color:#fff;
    border:none;
    padding:12px 30px;
    border-radius:30px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}
#toggleTeachers:hover{
    background:#99142d;
}
/* =========================================
   OUR CORE VALUES
========================================= */
.core-values-section {
  background: #f8f8f8;
  padding: 55px 0 65px;
}
/* =========================================
   SECTION TITLE
========================================= */
.core-values-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.core-values-title .section-label {
  display: block;
  color: #8f0b2d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 7px;
}
.core-values-title h2 {
  color: #8f0b2d;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 10px;
}
.core-values-title p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
/* =========================================
   VALUES GRID
========================================= */
.core-values-section .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* =========================================
   VALUE CARD
========================================= */
.core-values-section .value-card {
  background: #ffffff;
  padding: 30px 23px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(143, 11, 45, 0.06);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}
.core-values-section .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}
/* =========================================
   VALUE ICON
========================================= */
.core-values-section .value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 17px;
  background: #fff1d2;
  color: #8f0b2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}
/* =========================================
   VALUE TEXT
========================================= */
.core-values-section .value-card h3 {
  color: #8f0b2d;
  font-size: 20px;
  margin: 0 0 9px;
}
.core-values-section .value-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .core-values-section .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .core-values-section {
    padding: 45px 0 55px;
  }
  .core-values-title h2 {
    font-size: 28px;
  }
  .core-values-section .values-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   FINAL HOMEPAGE DESIGN
   CORE VALUES + MANDATE + FACILITIES + ACHIEVEMENTS
========================================================= */
/* =========================================================
   GENERAL SECTION HEADING
========================================================= */
.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading span {
  display: block;
  color: #8f0b2d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.section-heading h2 {
  color: #222;
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.section-heading p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
/* =========================================================
   CORE VALUES
========================================================= */
.core-values-section {
  background: #ffffff !important;
  padding: 72px 0 !important;
}
.core-values-section .values-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
  margin: 0 !important;
}
.core-values-section .value-card {
  position: relative !important;
  background: #ffffff !important;
  padding: 34px 24px 30px !important;
  min-height: 245px !important;
  text-align: center !important;
  border: 1px solid #eeeeee !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05) !important;
  overflow: hidden !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}
/* SMALL MAROON TOP LINE */
.core-values-section .value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #8f0b2d;
}
/* HOVER */
.core-values-section .value-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 27px rgba(0,0,0,0.09) !important;
}
/* ICON */
.core-values-section .value-icon {
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 18px !important;
  background: #fff1d2 !important;
  color: #8f0b2d !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  box-shadow: none !important;
}
/* TEXT */
.core-values-section .value-card h3 {
  color: #8f0b2d !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
}
.core-values-section .value-card p {
  color: #555 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}
/* =========================================================
   OUR MANDATE - FINAL DESIGN
========================================================= */
.mandate-section {
  background: #f7f7f7;
  padding: 75px 0 80px;
}
/* =========================
   HEADING
========================= */
.mandate-heading {
  text-align: center;
  margin-bottom: 42px;
}
.mandate-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8f0b2d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.mandate-label i {
  font-size: 15px;
}
.mandate-heading h2 {
  color: #20242a;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 9px;
}
.mandate-heading p {
  color: #666;
  font-size: 16px;
  margin: 0;
}
/* =========================
   MAIN CARD
========================= */
.mandate-card {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 42px 48px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eeeeee;
  border-left: 6px solid #8f0b2d;
  display: flex;
  align-items: flex-start;
  gap: 38px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
/* =========================
   LARGE SCHOOL ICON
========================= */
.mandate-icon {
  width: 165px;
  height: 165px;
  min-width: 165px;
  margin-top: 2px;
  background: #fff4dc;
  border: 1px solid #f5c766;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f0b2d;
  font-size: 62px;
  position: relative;
  z-index: 2;
}
/* =========================
   CONTENT
========================= */
.mandate-content {
  flex: 1;
  position: relative;
  z-index: 2;
}
.mandate-content h3 {
  color: #8f0b2d;
  font-size: 27px;
  margin: 5px 0 13px;
}
.mandate-main-text {
  color: #222;
  font-size: 17px;
  line-height: 1.65;
  max-width: 850px;
  margin: 0;
}
/* =========================
   DIVIDER
========================= */
.mandate-divider {
  width: 100%;
  height: 1px;
  background: #e7c77f;
  margin: 25px 0;
}
/* =========================
   POINTS
========================= */
.mandate-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}
.mandate-point:last-child {
  margin-bottom: 0;
}
/* CHECK CIRCLE */
.point-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  margin-top: 2px;
  background: #8f0b2d;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.mandate-point p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
/* =========================
   DECORATIVE WATERMARK
========================= */
.mandate-card::after {
  content: "\f518";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 35px;
  bottom: -35px;
  font-size: 210px;
  color: rgba(143, 11, 45, 0.035);
  pointer-events: none;
}
/* =========================
   TABLET
========================= */
@media (max-width: 900px) {
  .mandate-card {
    padding: 35px;
    gap: 28px;
  }
  .mandate-icon {
    width: 125px;
    height: 125px;
    min-width: 125px;
    font-size: 48px;
  }
  .mandate-content h3 {
    font-size: 23px;
  }
}
/* =========================
   MOBILE
========================= */
@media (max-width: 650px) {
  .mandate-section {
    padding: 55px 0 60px;
  }
  .mandate-heading h2 {
    font-size: 30px;
  }
  .mandate-heading p {
    font-size: 14px;
  }
  .mandate-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 23px;
    gap: 20px;
  }
  .mandate-icon {
    width: 105px;
    height: 105px;
    min-width: 105px;
    font-size: 42px;
  }
  .mandate-content {
    width: 100%;
  }
  .mandate-content h3 {
    font-size: 21px;
  }
  .mandate-main-text {
    font-size: 14px;
  }
  .mandate-point {
    text-align: left;
    gap: 12px;
  }
  .mandate-point p {
    font-size: 14px;
  }
  .point-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 13px;
  }
}
/* =========================================================
   FACILITIES
========================================================= */
.facilities-section {
  background: #ffffff !important;
  padding: 72px 0 !important;
}
.facilities-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 25px !important;
}
.facility-card {
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}
.facility-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 11px 25px rgba(0,0,0,0.09) !important;
}
/* FACILITY IMAGE */
.facility-image {
  width: 100% !important;
  height: 210px !important;
  overflow: hidden !important;
  background: #eeeeee !important;
}
.facility-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}
.facility-card:hover .facility-image img {
  transform: scale(1.04) !important;
}
/* FACILITY TEXT: titles only */
.facility-content { padding:18px 22px !important; }
.facility-content h3 { color:#8f0b2d !important; font-size:19px !important; margin:0 !important; }
/* =========================================================
   ACHIEVEMENTS
========================================================= */
.achievements-section {
  background: #f7f7f7 !important;
  padding: 72px 0 !important;
}
.achievements-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr !important;
  gap: 25px !important;
}
/* FEATURED */
.achievement-feature {
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
}
.achievement-image {
  width: 100% !important;
  height: 315px !important;
  overflow: hidden !important;
  background: #eeeeee !important;
}
.achievement-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.achievement-feature-content {
  padding: 25px !important;
}
.achievement-feature-content span,
.achievement-item span {
  color: #8f0b2d !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
}
.achievement-feature-content h3 {
  color: #222 !important;
  font-size: 23px !important;
  margin: 6px 0 8px !important;
}
.achievement-feature-content p {
  color: #666 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
/* SIDE ACHIEVEMENTS */
.achievement-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
}
.achievement-item {
  min-height: 190px !important;
  background: #ffffff !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 145px 1fr !important;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05) !important;
  transition: 0.3s ease !important;
}
.achievement-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 23px rgba(0,0,0,0.08) !important;
}
.achievement-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.achievement-item > div {
  padding: 23px 20px !important;
}
.achievement-item h3 {
  color: #8f0b2d !important;
  font-size: 18px !important;
  margin: 6px 0 7px !important;
}
.achievement-item p {
  color: #666 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}
/* =========================================================
   CTA
========================================================= */
.cta-section {
  background: #ffffff !important;
  padding: 65px 0 !important;
}
.cta-box {
  background: #8f0b2d !important;
  border-radius: 18px !important;
  padding: 40px 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10) !important;
}
.cta-box h2 {
  color: #ffffff !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  margin: 6px 0 9px !important;
}
.cta-box p {
  color: #f4dce2 !important;
  font-size: 14px !important;
}
.cta-box span {
  color: #f4dce2 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1000px) {
  .core-values-section .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .achievements-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 700px) {
  .section {
    padding: 55px 0 !important;
  }
  .section-heading h2 {
    font-size: 30px !important;
  }
  .core-values-section .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .facilities-grid {
    grid-template-columns: 1fr !important;
  }
  .mandate-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 30px 25px !important;
  }
  .mandate-content {
    text-align: center !important;
  }
  .cta-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 35px 25px !important;
  }
}
@media (max-width: 480px) {
  .container {
    width: 92%;
  }
  .core-values-section .values-grid {
    grid-template-columns: 1fr !important;
  }
  .section-heading h2 {
    font-size: 28px !important;
  }
  .achievement-item {
    grid-template-columns: 1fr !important;
  }
  .achievement-item img {
    height: 180px !important;
  }
}
/* =========================================================
   SPVIHS FOOTER - FINAL
========================================================= */
.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #72091f;
  color: #ffffff;
}
/* =========================================================
   MAIN FOOTER
========================================================= */
.site-footer .footer-main {
  width: 100%;
  background: #72091f;
  padding: 58px 0 55px;
}
.site-footer .footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    1.55fr
    1fr
    1.15fr
    1.25fr;
  gap: 45px;
}
/* =========================================================
   SCHOOL BRAND
========================================================= */
.site-footer .footer-brand {
  min-width: 0;
}
.site-footer .footer-brand-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer .footer-brand-head img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}
.site-footer .footer-brand-head h3 {
  color: #ffffff;
  font-size: 30px;
  margin: 0 0 3px;
  font-weight: 700;
}
.site-footer .footer-brand-head p {
  color: #f1c5cf;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}
/* GOLD LINE */
.site-footer .footer-gold-line {
  width: 78px;
  height: 3px;
  background: #f5b400;
  margin: 25px 0 25px;
}
/* DESCRIPTION */
.site-footer .footer-description {
  color: #f2dce1;
  font-size: 14px;
  line-height: 1.75;
  max-width: 390px;
  margin: 0;
}
/* =========================================================
   SOCIAL BUTTONS
========================================================= */
.site-footer .footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 23px;
}
.site-footer .footer-socials a {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.25s ease;
}
.site-footer .footer-socials a:hover {
  background: #f5b400;
  border-color: #f5b400;
  color: #72091f;
  transform: translateY(-3px);
}
/* =========================================================
   FOOTER COLUMNS
========================================================= */
.site-footer .footer-column {
  min-width: 0;
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,0.16);
}
.site-footer .footer-column h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 0;
}
/* GOLD SMALL LINE */
.site-footer .footer-line {
  width: 38px;
  height: 3px;
  background: #f5b400;
  margin: 13px 0 24px;
}
/* LINKS */
.site-footer .footer-column > a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f1dbe0;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 19px;
  transition: all 0.2s ease;
}
.site-footer .footer-column > a i {
  color: #f5b400;
  font-size: 9px;
  width: 10px;
}
.site-footer .footer-column > a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
/* =========================================================
   CONTACT
========================================================= */
.site-footer .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f1dbe0;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.site-footer .contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid rgba(245,180,0,0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
}
/* =========================================================
   BOTTOM COPYRIGHT
========================================================= */
.site-footer .footer-bottom {
  width: 100%;
  background: #590619;
  border-top: 2px solid #f5b400;
  padding: 20px 0;
}
.site-footer .footer-bottom-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .footer-bottom p {
  color: #ead0d6;
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}
.site-footer .footer-bottom span {
  color: #f5b400;
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
}
/* =========================================================
   TABLET
========================================================= */
@media (max-width: 950px) {
  .site-footer .footer-container {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer .footer-column {
    padding-left: 25px;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 650px) {
  .site-footer .footer-main {
    padding: 45px 0 40px;
  }
  .site-footer .footer-container {
    width: 88%;
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer .footer-column {
    padding-left: 0;
    border-left: none;
  }
  .site-footer .footer-brand-head img {
    width: 65px;
    height: 65px;
  }
  .site-footer .footer-brand-head h3 {
    font-size: 25px;
  }
  .site-footer .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  .site-footer .footer-bottom span {
    white-space: normal;
  }
}
/* =========================================================
   SMALL PHONE
========================================================= */
@media (max-width: 450px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-brand {
    grid-column: auto;
  }
}
/* =========================================================
   ABOUT PAGE - FINAL DESIGN
========================================================= */
.about-label {
  display: block;
  color: #f5b400;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
/* =========================================================
   GENERAL ABOUT SECTIONS
========================================================= */
.about-section {
  padding: 75px 0;
  background: #f7f7f7;
}
.about-section:nth-of-type(odd) {
  background: #ffffff;
}
/* SECTION HEADING */
.about-section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 45px;
}
.about-section-heading > span {
  color: #8f0b2d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.about-section-heading h2 {
  color: #20242a;
  font-size: 36px;
  margin: 7px 0 10px;
}
.about-section-heading p {
  color: #666;
  font-size: 15px;
  margin: 0;
}
/* =========================================================
   MISSION & VISION
========================================================= */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.mission-card,
.vision-card {
  background: #ffffff;
  border-radius: 17px;
  padding: 38px;
  border: 1px solid #eeeeee;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  gap: 25px;
  border-top: 4px solid #8f0b2d;
}
.about-icon {
  width: 62px;
  height: 62px;
  min-width: 62px;
  background: #fff1d2;
  color: #8f0b2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
}
.card-label {
  color: #8f0b2d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.mission-card h3,
.vision-card h3 {
  color: #8f0b2d;
  font-size: 25px;
  margin: 5px 0 12px;
}
.mission-card p,
.vision-card p {
  color: #444;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 12px;
  text-align: justify;
  text-justify: inter-word;
}
.mission-card ul {
  list-style: disc;
  padding-left: 22px;
  margin: 15px 0 0;
}
.mission-card li {
  display: list-item;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 4px;
  text-align: justify;
  text-justify: inter-word;
}
.mission-card li::marker {
  color: #8f0b2d;
  font-size: 1.05em;
}
/* =========================================================
   HISTORY
========================================================= */
.history-section {
  background: #f7f7f7;
}
.history-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-left: 5px solid #8f0b2d;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.history-icon {
  width: 90px;
  height: 90px;
  min-width: 90px;
  background: #fff1d2;
  color: #8f0b2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
}
.history-content > span {
  color: #8f0b2d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.history-content h3 {
  color: #222;
  font-size: 25px;
  margin: 6px 0 12px;
}
.history-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}
/* =========================================================
   OUR PEOPLE
========================================================= */
.faculty-section {
  background: #f7f7f7;
  padding: 75px 0 85px;
}
/* HEADER */
.people-section-header {
  max-width: 1050px;
  margin: 0 auto 60px;
  padding: 32px 42px;
  background: #8f0b2d;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(143,11,45,.16);
}
.people-section-header::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -90px;
  border: 35px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.people-header-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  background: #fff1d2;
  color: #8f0b2d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  position: relative;
  z-index: 1;
}
.people-header-text {
  position: relative;
  z-index: 1;
}
.people-header-text span {
  color: #f5b400;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.people-header-text h2 {
  color: #fff;
  font-size: 36px;
  margin: 4px 0 6px;
}
.people-header-text p {
  color: #f5dce2;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
/* PRINCIPAL */
.principal-feature {
  max-width: 1000px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 330px 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 9px 28px rgba(0,0,0,.07);
}
.principal-photo {
  height: 380px;
  overflow: hidden;
  background: #eee;
}
.principal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .4s ease;
}
.principal-feature:hover .principal-photo img {
  transform: scale(1.03);
}
.principal-content {
  padding: 45px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.people-label {
  color: #8f0b2d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.principal-content h3 {
  color: #242424;
  font-size: 30px;
  margin: 7px 0 0;
}
.gold-divider {
  width: 48px;
  height: 3px;
  background: #f5b400;
  margin: 16px 0 19px;
}
.principal-content > p {
  color: #555;
  font-size: 14px;
  line-height: 1.75;
  max-width: 530px;
  margin: 0;
}
.principal-meta {
  display: flex;
  gap: 25px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.principal-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #777;
  font-size: 12px;
}
.principal-meta i {
  color: #8f0b2d;
}
/* TEACHING HEADER */
.teaching-heading {
  max-width: 1050px;
  margin: 0 auto 32px;
  padding-bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid #ddd;
}
.teaching-heading span {
  color: #8f0b2d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.teaching-heading h3 {
  color: #252525;
  font-size: 27px;
  margin: 5px 0 0;
}
.teaching-heading > p {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
  max-width: 390px;
  text-align: right;
  margin: 0;
}
/* TEACHER GRID */
.people-grid {
  width: 94%;
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
  row-gap: 34px;
}
/* TEACHER CARD */
.person-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e9e9e9;
  box-shadow: 0 5px 17px rgba(0,0,0,.055);
  transition: .3s ease;
}
.person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.09);
}
.person-photo {
  width: 100%;
  height: 265px;
  overflow: hidden;
  background: #eee;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .4s ease;
}
.person-card:hover .person-photo img {
  transform: scale(1.035);
}
.person-info {
  padding: 17px 12px 19px;
  text-align: center;
}
.person-info h4 {
  color: #8f0b2d;
  font-size: 16px;
  margin: 0 0 4px;
}
.person-info span {
  color: #888;
  font-size: 11px;
}
/* SEE MORE */
.hidden-teacher {
  display: none;
}
.see-more-container {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}
.see-more-container button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #8f0b2d;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 25px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s ease;
}
.see-more-container button:hover {
  background: #72091f;
  transform: translateY(-2px);
}
.see-more-container button i {
  color: #f5b400;
  font-size: 10px;
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    row-gap: 30px;
  }
  .principal-feature {
    grid-template-columns: 280px 1fr;
  }
}
@media (max-width: 650px) {
/* =========================================================
   OUR PEOPLE - PREMIUM HEADER
========================================================= */
.people-section-header {
  position: relative;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 55px;
  padding: 32px 45px;
  background: linear-gradient(
    135deg,
    #790b27 0%,
    #8f0b2d 55%,
    #a41235 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  box-shadow:
    0 10px 25px rgba(143, 11, 45, 0.15);
  box-sizing: border-box;
}
/* GOLD ACCENT SA GILID */
.people-section-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #f5b400;
}
/* DECORATIVE CIRCLE */
.people-section-header::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -65px;
  top: -75px;
  border: 30px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}
/* =========================================================
   ICON
========================================================= */
.people-header-icon {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  min-width: 68px;
  background: #fff1d2;
  color: #8f0b2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow:
    0 5px 15px rgba(0,0,0,0.12);
}
/* =========================================================
   TEXT
========================================================= */
.people-header-text {
  position: relative;
  z-index: 2;
}
.people-header-text span {
  display: block;
  color: #f5b400;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 5px;
}
.people-header-text h2 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 7px;
}
.people-header-text p {
  color: #f7e6ea;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 650px;
}
/* =========================================================
   SMALL GOLD LINE
========================================================= */
.people-header-text h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: #f5b400;
  border-radius: 5px;
  margin-top: 10px;
}
/* =========================================================
   HOVER
========================================================= */
.people-section-header {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.people-section-header:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(143, 11, 45, 0.19);
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 650px) {
  .people-section-header {
    padding: 28px 25px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .people-header-text h2 {
    font-size: 29px;
  }
  .people-header-text p {
    font-size: 13px;
  }
  .people-header-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }
}
}
/* =========================================================
   STRANDS PAGE - FINAL DESIGN
========================================================= */
.strands-page {
  background: #f7f7f7;
}
/* =========================
   INTRO HEADER
========================= */
.strands-intro {
  padding: 55px 20px 20px;
}
.strands-intro-card {
  max-width: 1050px;
  margin: 0 auto;
  padding: 35px 42px;
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #72091f, #961434);
  border-left: 6px solid #f5b400;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(90, 7, 30, 0.16);
}
.strands-intro-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -75px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
/* ICON */
.strands-intro-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff1d2;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.strands-intro-icon svg {
  width: 35px;
  height: 35px;
  fill: #7b1024;
}
/* TEXT */
.strands-intro-text {
  position: relative;
  z-index: 2;
}
.strands-intro-text span {
  display: block;
  color: #f5b400;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
}
.strands-intro-text h1 {
  color: #ffffff;
  font-size: 34px;
  margin: 0 0 8px;
}
.strands-intro-text h1::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: #f5b400;
  border-radius: 5px;
  margin-top: 10px;
}
.strands-intro-text p {
  max-width: 720px;
  color: #f6e6ea;
  font-size: 14px;
  line-height: 1.7;
  margin: 13px 0 0;
}
/* =========================
   SECTIONS
========================= */
.strands-section {
  padding: 65px 20px;
}
.strands-tvl {
  background: #ffffff;
}
.strands-container {
  max-width: 1050px;
  margin: 0 auto;
}
/* =========================
   SECTION TITLES
========================= */
.strand-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 20px;
  margin-bottom: 35px;
  border-bottom: 1px solid #e1e1e1;
}
.strand-label {
  display: block;
  color: #8f0b2d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 5px;
}
.strand-section-heading h2 {
  color: #202020;
  font-size: 29px;
  font-weight: 700;
  margin: 0;
}
.strand-section-heading p {
  max-width: 470px;
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
/* =========================
   GRID
========================= */
.strand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.academic-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}
/* =========================
   CARDS
========================= */
.strand-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 7px 22px rgba(0,0,0,0.07);
  transition: 0.3s ease;
}
.strand-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 32px rgba(90, 7, 30, 0.13);
}
/* IMAGE */
.strand-image {
  width: 100%;
  height: 185px;
  position: relative;
  overflow: hidden;
  background: #ececec;
}
.academic-grid .strand-image {
  height: 225px;
}
.strand-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.strand-card:hover .strand-image img {
  transform: scale(1.05);
}
.strand-image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 65px;
  height: 4px;
  background: #f5b400;
}
/* =========================
   CARD TEXT
========================= */
.strand-card-content {
  padding: 20px 20px 22px;
}
.strand-type {
  display: inline-block;
  padding: 5px 9px;
  background: #fff1d2;
  color: #7b1024;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.strand-card-content h3 {
  color: #7b1024;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 7px;
}
.strand-full-name {
  color: #333333;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 9px;
}
.strand-description {
  color: #666666;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1000px) {
  .strand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 750px) {
  .strands-intro-card {
    padding: 30px 28px;
  }
  .strand-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .strand-section-heading p {
    max-width: 100%;
  }
  .academic-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 550px) {
  .strands-intro {
    padding: 35px 15px 10px;
  }
  .strands-intro-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
  }
  .strands-intro-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
  }
  .strands-intro-text h1 {
    font-size: 29px;
  }
  .strands-section {
    padding: 50px 15px;
  }
  .strand-grid {
    grid-template-columns: 1fr;
  }
  .strand-image,
  .academic-grid .strand-image {
    height: 210px;
  }
}
/* =========================================================
   STRANDS PAGE HEADER - SAME SETUP AS ABOUT
========================================================= */
.strands-page-header {
  background: linear-gradient(
    110deg,
    #8f0b2d 0%,
    #a81736 100%
  );
  padding: 65px 0 68px;
}
.strands-page-header .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.strands-header-label {
  display: block;
  color: #f5b400;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}
.strands-page-header h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
}
.strands-page-header p {
  color: #ffffff;
  max-width: 760px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}
/* MOBILE */
@media (max-width: 600px) {
  .strands-page-header {
    padding: 48px 0 50px;
  }
  .strands-page-header h1 {
    font-size: 34px;
  }
  .strands-page-header p {
    font-size: 15px;
  }
}
/* =========================================================
   INDEX - STATISTICS SPACING FIX
========================================================= */
.stats-section {
  background: #f7f7f7;
  padding: 42px 0 48px !important;
  margin: 0 !important;
}
.stats-section .stats-grid {
  gap: 20px !important;
  align-items: stretch;
}
.stats-section .stat-box {
  padding: 28px 20px 30px !important;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}
.stats-section .stat-icon {
  margin-bottom: 18px !important;
}
.stats-section .stat-info h3 {
  margin: 0 0 10px !important;
}
.stats-section .stat-info p {
  margin: 0 !important;
}
/* SPACE BEFORE NEXT SECTION */
.stats-section + .core-values-section {
  padding-top: 70px !important;
}
/* =========================================================
   INDEX - ACHIEVEMENTS GALLERY
========================================================= */
.achievements-section {
  background: #f7f7f7;
  padding: 75px 0;
}
/* GRID */
.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* CARD */
.achievement-gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ededed;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.achievement-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}
/* IMAGE */
.achievement-gallery-image {
  position: relative;
  width: 100%;
  height: 255px;
  overflow: hidden;
  background: #eeeeee;
}
.achievement-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.achievement-gallery-card:hover
.achievement-gallery-image img {
  transform: scale(1.04);
}
/* CONTENT */
.achievement-gallery-content {
  padding: 22px 22px 25px;
}
.achievement-gallery-content span {
  display: inline-block;
  color: #8f0b2d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 7px;
}
.achievement-gallery-content h3 {
  color: #222222;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.achievement-gallery-content p {
  color: #666666;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
/* HIDDEN CARDS */
.extra-achievement {
  display: none;
}
.extra-achievement.show {
  display: block;
  animation: achievementFade 0.4s ease;
}
@keyframes achievementFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* VIEW MORE */
.achievement-more {
  text-align: center;
  margin-top: 38px;
}
.achievement-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #8f0b2d;
  color: #ffffff;
  border: none;
  padding: 13px 24px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(143, 11, 45, 0.16);
  transition: 0.25s ease;
}
.achievement-more-btn:hover {
  background: #72091f;
  transform: translateY(-2px);
}
.achievement-more-btn i {
  font-size: 11px;
  transition: transform 0.3s ease;
}
.achievement-more-btn.open i {
  transform: rotate(180deg);
}
/* TABLET */
@media (max-width: 992px) {
  .achievement-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* MOBILE */
@media (max-width: 600px) {
  .achievements-section {
    padding: 55px 0;
  }
  .achievement-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .achievement-gallery-image {
    height: 260px;
  }
}
/* =========================================================
   CONTACT PAGE - FEEDBACK SECTION
========================================================= */
.contact-feedback-section {
  background: #f7f7f7;
  padding: 75px 0;
}
/* =========================
   HEADING
========================= */
.contact-feedback-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}
.contact-feedback-heading > span {
  display: block;
  color: #8f0b2d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.contact-feedback-heading h2 {
  color: #222;
  font-size: 34px;
  margin: 0 0 12px;
}
.contact-feedback-heading p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
/* =========================
   MAIN LAYOUT
========================= */
.contact-feedback-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  max-width: 1050px;
  margin: 0 auto;
  align-items: center;
}
/* =========================
   LEFT SIDE
========================= */
.contact-feedback-info {
  padding: 10px 10px 10px 0;
}
.feedback-info-badge {
  display: inline-block;
  background: #fff1d2;
  color: #8f0b2d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 7px 11px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.contact-feedback-info > h3 {
  color: #8f0b2d;
  font-size: 28px;
  margin: 0 0 13px;
}
.feedback-intro {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 28px;
}
/* BENEFITS */
.feedback-benefit {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feedback-benefit-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #8f0b2d;
  border: 1px solid #eadde0;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.feedback-benefit h4 {
  color: #222;
  font-size: 15px;
  margin: 1px 0 5px;
}
.feedback-benefit p {
  color: #777;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
/* =========================
   FORM CARD
========================= */
.contact-feedback-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  border-top: 4px solid #8f0b2d;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.feedback-form-header {
  margin-bottom: 25px;
}
.feedback-form-header h3 {
  color: #8f0b2d;
  font-size: 22px;
  margin: 0 0 6px;
}
.feedback-form-header p {
  color: #777;
  font-size: 13px;
  margin: 0;
}
/* =========================
   FORM FIELDS
========================= */
.contact-feedback-group {
  margin-bottom: 18px;
}
.contact-feedback-group > label {
  display: block;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.contact-feedback-group > label span {
  color: #999;
  font-size: 10px;
  font-weight: 500;
  margin-left: 5px;
}
.contact-feedback-group input,
.contact-feedback-group select,
.contact-feedback-group textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dddddd;
  border-radius: 9px;
  background: #ffffff;
  color: #333;
  font-size: 13px;
  outline: none;
  transition: 0.2s ease;
}
.contact-feedback-group input:focus,
.contact-feedback-group select:focus,
.contact-feedback-group textarea:focus {
  border-color: #8f0b2d;
  box-shadow: 0 0 0 3px rgba(143, 11, 45, 0.07);
}
.contact-feedback-group textarea {
  min-height: 125px;
  resize: vertical;
}
/* =========================
   STAR RATING
========================= */
.contact-star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}
.contact-star-rating input {
  display: none;
}
.contact-star-rating label {
  color: #d0d0d0;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  margin: 0;
  transition: 0.2s ease;
}
.contact-star-rating input:checked ~ label,
.contact-star-rating label:hover,
.contact-star-rating label:hover ~ label {
  color: #f5b400;
}
/* =========================
   SUBMIT BUTTON
========================= */
.contact-feedback-submit {
  width: 100%;
  background: #8f0b2d;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}
.contact-feedback-submit:hover {
  background: #72091f;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(143,11,45,0.18);
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .contact-feedback-wrapper {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-feedback-info {
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .contact-feedback-section {
    padding: 55px 0;
  }
  .contact-feedback-heading h2 {
    font-size: 28px;
  }
  .contact-feedback-info > h3 {
    font-size: 24px;
  }
  .contact-feedback-card {
    padding: 25px 20px;
  }
}
/* =========================================================
   FACULTY STAFF - IMAGE ONLY
   79 faculty photo containers + 1 principal = 80 total
========================================================= */
.faculty-photo-only .person-photo {
  height: 265px;
}
.faculty-photo-only .person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faculty-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f8f8, #ececec);
  color: #b0b0b0;
  font-size: 46px;
}
.faculty-photo-only:hover .faculty-photo-placeholder {
  color: #8f0b2d;
}
/* =========================================================
   FINAL DEPED MISSION / VISION ALIGNMENT
========================================================= */
.mission-card > div:last-child,
.vision-card > div:last-child {
  width: 100%;
  min-width: 0;
}
.deped-justified,
.mission-card .deped-justified,
.vision-card .deped-justified {
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.8;
}
.deped-mission-list {
  list-style: none !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}
.deped-mission-list li {
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr);
  column-gap: 7px;
  align-items: start;
  margin: 0 0 10px;
  padding: 0 !important;
}
.deped-bullet {
  display: block;
  color: #8f0b2d;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}
.deped-bullet-text {
  display: block;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
  text-align: justify !important;
  text-justify: inter-word;
}
/* Prevent older list/check styles from overriding the final mission bullets. */
.mission-card .deped-mission-list li::before,
.mission-card .deped-mission-list li::marker {
  content: none !important;
}
/* =========================================================
   FINAL FACULTY PHOTO FIX - SHOW THE ENTIRE UPLOADED IMAGE
   Do not crop names/positions printed at the bottom.
========================================================= */
.faculty-photo-only {
  height: auto !important;
  overflow: hidden;
}
.faculty-photo-only .person-photo {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: #ffffff !important;
}
.faculty-photo-only .person-photo img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  transform: none !important;
}
.faculty-photo-only:hover .person-photo img {
  transform: none !important;
}
/* Hide footer tagline paragraph on all public pages using public-site.css.
   Values and editing fields in Admin School Information remain unchanged. */
.site-footer .footer-description {
  display: none;
}
.site-footer .footer-gold-line {
  margin-bottom: 0;
}
.site-footer .footer-socials {
  margin-top: 20px;
}
/* =========================================================
   SCHOOL INFORMATION PREVIEW + APPLY BUTTON FIX
   UI only; no backend/database effect.
========================================================= */
/* APPLY NOW HOVER FIX: keep text visible on yellow button */
.nav-links .apply-btn:hover {
  background: #d89d00;
  color: #222 !important;
  transform: translateY(-1px);
}
/* PREVIEW BACK BUTTON STYLE: Admin/Faculty School Information preview */
.portal-return-wrap {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
}
.portal-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #7b1024;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .15s ease, background .15s ease;
}
.portal-return-btn:hover {
  background: #5f0c1c;
  color: #fff !important;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .portal-return-wrap {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .portal-return-btn {
    width: 100%;
    justify-content: center;
  }
}
