/* ============================================================
   ST. NILA CARMEL SCHOOL — Main Stylesheet
   Author: SNCS Web Team
   Version: 1.0.0
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --navy:        #0a1f44;
  --navy-light:  #12306b;
  --navy-dark:   #060f22;
  --gold:        #c9a84c;
  --gold-light:  #e8c76e;
  --gold-pale:   #f7efd1;
  --cream:       #fdf8f0;
  --white:       #ffffff;
  --gray-light:  #f4f6f9;
  --gray-mid:    #dde2ec;
  --gray:        #8a9ab5;
  --text:        #2c3e60;
  --text-light:  #5a6e8a;
  --danger:      #e74c3c;
  --success:     #27ae60;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;
  --font-italic:  'Cormorant Garamond', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px  rgba(10,31,68,0.07);
  --shadow-md:  0 4px 20px rgba(10,31,68,0.12);
  --shadow-lg:  0 8px 36px rgba(10,31,68,0.18);
  --shadow-xl:  0 16px 60px rgba(10,31,68,0.22);

  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1300px;
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── UTILITY CLASSES ── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 80px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 14px;
}

.section-title.center::after {
  margin-inline: auto;
}

.section-title.light {
  color: var(--white);
}

.section-title.light::after {
  background: var(--gold-light);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 600px;
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

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

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

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

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.78rem;
}

/* ── SCROLL ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── KEYFRAME ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.7); }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding-block: 7px;
  border-bottom: 2px solid var(--gold);
  position: relative;
  z-index: 1100;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar__left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar__link {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}

.top-bar__link:hover {
  color: var(--gold-light);
}

.top-bar__right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-bar__social {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.top-bar__social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.top-bar__erp-btn {
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius-sm) !important;
  width: auto !important;
  height: auto !important;
  padding: 3px 12px !important;
  font-weight: 700;
  font-size: 0.72rem !important;
  border: none;
  letter-spacing: 0.5px;
}

.top-bar__erp-btn:hover {
  background: var(--gold-light) !important;
  color: var(--navy-dark) !important;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(10,31,68,0.10);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(10,31,68,0.16);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo__badge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(10,31,68,0.25);
  position: relative;
  transition: transform var(--transition);
}

.logo__badge::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
}

.logo:hover .logo__badge {
  transform: scale(1.05);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

.logo__name span {
  color: var(--gold);
}

.logo__sub {
  font-size: 0.67rem;
  color: var(--gray);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 10px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__item:hover .nav__link {
  color: var(--navy-light);
  background: var(--gray-light);
}

.nav__item:hover .nav__link::after {
  left: 13px;
  right: 13px;
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  border-radius: var(--radius-full) !important;
  padding: 9px 20px !important;
  box-shadow: 0 4px 14px rgba(201,168,76,0.32);
}

.nav__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.48) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.nav__link--cta::after {
  display: none !important;
}

/* Dropdowns */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(10,31,68,0.07);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 215px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  z-index: 500;
  padding-block: 8px;
}

.nav__item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.dropdown__link:hover {
  background: var(--cream);
  border-left-color: var(--gold);
  color: var(--navy);
  padding-left: 22px;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--gray-light);
}

.hamburger__line {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.hamburger.open .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.open .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 2000;
  padding: 80px 24px 32px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__close {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--gold);
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav__link {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}

.mobile-nav__link:hover {
  color: var(--gold-light);
}

/* ============================================================
   NEWS MARQUEE BAR
   ============================================================ */
.news-bar {
  background: var(--navy-light);
  color: white;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 44px;
}

.news-bar__label {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}

.news-bar__scroll {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.news-bar__track {
  display: flex;
  animation: marqueeScroll 35s linear infinite;
  white-space: nowrap;
}

.news-bar__track:hover {
  animation-play-state: paused;
}

.news-bar__item {
  font-size: 0.82rem;
  padding-inline: 30px;
  color: rgba(255,255,255,0.9);
  border-right: 1px solid rgba(255,255,255,0.18);
  display: inline-block;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy);
}

.hero__slides {
  height: 100%;
  position: relative;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero__slide.active {
  opacity: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.hero__slide.active .hero__bg {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,31,68,0.84) 0%,
    rgba(10,31,68,0.5) 50%,
    rgba(10,31,68,0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-inline: 48px;
}

.hero__tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.2s;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.14;
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.4s;
}

.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.84);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 510px;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.6s;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.8s;
}

/* Hero Controls */
.hero__arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-inline: 18px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.hero__arr {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  pointer-events: all;
}

.hero__arr:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

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

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.35s;
  border: none;
}

.hero__dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat-item {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--cream);
}

.stat-item__icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
  animation: float 4s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-item__icon { animation-delay: 0.5s; }
.stat-item:nth-child(3) .stat-item__icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-item__icon { animation-delay: 1.5s; }
.stat-item:nth-child(5) .stat-item__icon { animation-delay: 2s; }

.stat-item__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   NEWS & NOTICES
   ============================================================ */
.news-section {
  background: var(--white);
}

.news-section__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-top: 10px;
}

/* Notice List */
.notice-list {
  margin-top: 24px;
}

.notice-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(10,31,68,0.1);
  align-items: flex-start;
  transition: all var(--transition);
  cursor: pointer;
}

.notice-item:hover {
  padding-left: 8px;
}

.notice-item__date {
  min-width: 50px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  text-align: center;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  flex-shrink: 0;
}

.notice-item__day {
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-display);
  display: block;
  line-height: 1.1;
}

.notice-item__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.notice-item__text {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 4px;
  line-height: 1.55;
}

.notice-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition);
}

.notice-more-link:hover {
  color: var(--gold);
}

/* Events Card */
.events-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: white;
}

.events-card__header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.events-card__header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.events-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.event-item {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background var(--transition);
}

.event-item:hover {
  background: rgba(255,255,255,0.04);
}

.event-item__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
}

.event-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.event-item__connector {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: rgba(255,255,255,0.1);
  margin-top: 5px;
}

.event-item__title {
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.event-item__date {
  font-size: 0.7rem;
  color: var(--gold-light);
  margin-top: 4px;
}

/* Contact Mini Card */
.contact-mini-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: white;
  text-align: center;
  border-top: 3px solid var(--gold);
  margin-top: 20px;
}

.contact-mini-card__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.contact-mini-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.contact-mini-card__sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.contact-mini-card__phone {
  display: block;
  background: var(--gold);
  color: var(--navy);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: background var(--transition);
}

.contact-mini-card__phone:hover {
  background: var(--gold-light);
}

.contact-mini-card__email {
  display: block;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  transition: all var(--transition);
}

.contact-mini-card__email:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--cream);
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image Collage */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.about-img--tall {
  grid-row: span 2;
  height: 430px;
}

.about-img--short {
  height: 200px;
}

.about-img--blue   { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.about-img--green  { background: linear-gradient(135deg, #1a5c38, #27ae60); }
.about-img--red    { background: linear-gradient(135deg, #7b1a1a, #c0392b); }

.about-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-family: var(--font-display);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
  z-index: 2;
}

.about-badge__num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge__label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Features Grid */
.about-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10,31,68,0.06);
  transition: all var(--transition);
}

.about-feat:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.14);
  transform: translateY(-2px);
}

.about-feat__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feat__text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.facilities-section {
  background: var(--gray-light);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,31,68,0.05);
}

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

.facility-card__icon-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.facility-card--blue   .facility-card__icon-wrap { background: linear-gradient(135deg, #0a1f44, #12306b); }
.facility-card--gold   .facility-card__icon-wrap { background: linear-gradient(135deg, #8b6914, #c9a84c); }
.facility-card--green  .facility-card__icon-wrap { background: linear-gradient(135deg, #1a5c38, #27ae60); }
.facility-card--red    .facility-card__icon-wrap { background: linear-gradient(135deg, #7b1a1a, #c0392b); }
.facility-card--purple .facility-card__icon-wrap { background: linear-gradient(135deg, #4a1a7b, #8e44ad); }
.facility-card--teal   .facility-card__icon-wrap { background: linear-gradient(135deg, #1a5c5c, #16a085); }

.facility-card__body {
  padding: 22px;
}

.facility-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.facility-card__desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================================
   PRINCIPAL'S MESSAGE
   ============================================================ */
.principal-section {
  background: var(--navy);
  color: var(--white);
}

.principal-section__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.principal-photo-wrap {
  text-align: center;
}

.principal-photo {
  width: 220px;
  height: 280px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.principal-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,31,68,0.65), transparent);
}

.principal-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 16px;
  color: var(--gold-light);
}

.principal-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.principal-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.principal-tag {
  background: rgba(201,168,76,0.14);
  border: 1px solid rgba(201,168,76,0.28);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0;
  display: block;
  margin-bottom: 20px;
  opacity: 0.45;
}

.principal-quote {
  font-family: var(--font-italic);
  font-size: 1.22rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.92);
  font-style: italic;
  margin-bottom: 22px;
}

.principal-sig {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
}

.principal-sig strong {
  color: var(--gold-light);
}

/* ============================================================
   WHY SNCS
   ============================================================ */
.why-section {
  background: var(--white);
}

.why-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10,31,68,0.07);
  background: var(--cream);
  transition: all var(--transition);
}

.why-item:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(201,168,76,0.12);
  transform: translateX(4px);
}

.why-item__num {
  min-width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.why-item__title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.why-item__text {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
  line-height: 1.65;
}

/* Why Visual Card */
.why-visual {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
}

.why-visual::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(201,168,76,0.07);
}

.why-visual__icon {
  font-size: 4.5rem;
  margin-bottom: 20px;
  display: block;
  animation: float 5s ease-in-out infinite;
}

.why-visual__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.why-visual__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
}

.why-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.why-tag {
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.28);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 12px;
  margin-top: 36px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--navy-light);
  cursor: pointer;
}

.gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item__emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img,
.gallery-item:hover .gallery-item__emoji {
  transform: scale(1.07);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,31,68,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

.gallery-item__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.gallery-cta {
  text-align: center;
  margin-top: 32px;
}

/* ============================================================
   ADMISSION CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #b8952e 100%);
  padding-block: 60px;
}

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

.cta-banner__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.cta-banner__text p {
  font-size: 0.95rem;
  color: rgba(10,31,68,0.72);
}

.cta-banner__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   MAP
   ============================================================ */
.map-section {
  height: 340px;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER / CONTACT
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 70px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
}

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

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}

.footer-brand__sub {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer-brand__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.9;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  transition: all var(--transition);
}

.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Footer Columns */
.footer-col__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.62);
  font-size: 0.82rem;
  transition: all var(--transition);
}

.footer-link::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
}

.footer-link:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

/* Footer Contact */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-icon {
  min-width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.68);
  transition: color var(--transition);
}

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

/* Footer Bottom */
.site-footer__bottom {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 18px 24px;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer-copy span {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

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

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform var(--transition);
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 64px;
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large Tablets */
@media (max-width: 1100px) {
  .stats-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3) {
    border-right: none;
  }

  .about-section__grid,
  .why-section__grid,
  .principal-section__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-images {
    max-width: 500px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item--featured {
    grid-column: span 1;
    grid-row: span 1;
    height: 200px;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-section__grid {
    grid-template-columns: 1fr;
  }
}

/* Tablets / Small Laptops */
@media (max-width: 900px) {
  .nav__list {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero__content {
    padding-inline: 24px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding-block: 56px;
  }

  .top-bar__left {
    gap: 12px;
    font-size: 0.72rem;
  }

  .hero {
    height: 75vh;
    min-height: 480px;
  }

  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--gray-mid);
  }

  .stat-item:nth-child(4) {
    border-right: none;
  }

  .stat-item:nth-child(5) {
    grid-column: span 2;
    border-right: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__btns {
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .principal-section__grid {
    grid-template-columns: 1fr;
  }
}
