/* ===========================
   UNIQUE PUBLIC SCHOOL - BIDAR
   Modern Design System 2025
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy:      #0c1f3f;
  --navy-mid:  #163264;
  --blue:      #1a4fd6;
  --blue-lt:   #3b82f6;
  --gold:      #c9992a;
  --gold-lt:   #f0c060;
  --cream:     #fdf9f0;
  --off-white: #f7f8fc;
  --gray-100:  #f1f4f9;
  --gray-200:  #e2e8f0;
  --gray-500:  #64748b;
  --gray-700:  #334155;
  --white:     #ffffff;
  --red:       #dc2626;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --shadow-sm: 0 2px 8px rgba(12,31,63,0.08);
  --shadow:    0 6px 24px rgba(12,31,63,0.12);
  --shadow-lg: 0 16px 48px rgba(12,31,63,0.18);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); }
em { font-style: italic; color: var(--blue); }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ── SECTION LABELS ── */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue);
  background: rgba(26,79,214,0.08);
  padding: 5px 14px; border-radius: 30px;
  margin-bottom: 16px;
}
.label::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 14px; letter-spacing: 0.5px;
  padding: 13px 28px; border-radius: var(--radius);
  transition: all 0.25s; box-shadow: 0 4px 12px rgba(201,153,42,0.35);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,153,42,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.35); color: var(--white);
  font-weight: 600; font-size: 14px;
  padding: 11px 26px; border-radius: var(--radius);
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }

.btn-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 14px;
  padding: 13px 28px; border-radius: var(--radius);
  transition: all 0.25s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 32px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-display);
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(26,79,214,0.3);
}
.nav-logo-text .name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.nav-logo-text .place { font-size: 11px; color: var(--gray-500); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--gray-700);
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: rgba(26,79,214,0.07); }
.nav-links .nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 20px; border-radius: var(--radius); font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--blue) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 13.5px; font-weight: 500; color: var(--gray-700);
  padding: 8px 14px; border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
}
.dropdown-btn:hover { color: var(--blue); background: rgba(26,79,214,0.07); }
.dropdown-btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown:hover .dropdown-btn svg { transform: rotate(180deg); }
.dropdown-menu-custom {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 180px;
  border: 1px solid var(--gray-200); overflow: hidden; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu-custom { display: block; }
.dropdown-menu-custom a {
  display: block; padding: 11px 18px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
  transition: all 0.2s; border-left: 3px solid transparent;
}
.dropdown-menu-custom a:hover { background: var(--off-white); color: var(--blue); border-left-color: var(--blue); }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow); padding: 20px 24px; z-index: 998;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { padding: 12px 16px; font-weight: 500; color: var(--gray-700); border-radius: 8px; font-size: 15px; }
.mobile-nav a:hover { background: var(--off-white); color: var(--blue); }

/* ── TICKER ── */
.ticker-bar {
  background: var(--navy); padding: 11px 0;
  display: flex; align-items: center; overflow: hidden;
}
.ticker-tag {
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 18px;
  white-space: nowrap; flex-shrink: 0;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-content {
  display: inline-block; white-space: nowrap;
  animation: scrollTicker 35s linear infinite;
  color: rgba(255,255,255,0.85); font-size: 13px; padding-left: 32px;
}
@keyframes scrollTicker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── PAGE BANNER ── */
.page-banner {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 72px 24px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,79,214,0.25) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(201,153,42,0.12) 0%, transparent 50%);
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(36px,5vw,60px); color: var(--white); margin-bottom: 12px; }
.page-banner h1 em { color: var(--gold-lt); }
.page-banner p { color: rgba(255,255,255,0.65); font-size: 16px; }
.breadcrumb-bar { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb-bar a { color: var(--gold-lt); font-size: 13px; font-weight: 500; }
.breadcrumb-bar span { color: rgba(255,255,255,0.4); font-size: 13px; }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
}
.footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand-logo .logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-mid), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
}
.footer-brand-logo .brand-name { color: var(--white); font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.footer-brand-logo .brand-city { color: rgba(255,255,255,0.45); font-size: 12px; }

.footer-tagline { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 16px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.footer-col h5 {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact-item .icon { color: var(--gold); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item p { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 12px; }
.footer-bottom a { color: var(--gold-lt); }

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
