﻿/* ==========================================================================
   Aurora College â€” Theme
   ========================================================================== */

:root {
  --primary: #0f2557;
  --primary-800: #16336e;
  --primary-dark: #0a1b3f;
  --primary-soft: #eef2fb;
  --accent: #f0a500;
  --accent-soft: #fff4d6;
  --accent-dark: #c98900;
  --ink: #262b36;
  --muted: #6c7480;
  --line: #e6eaf3;
  --bg-soft: #f6f8fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 37, 87, .06);
  --shadow: 0 8px 28px rgba(15, 37, 87, .10);
  --shadow-lg: 0 18px 48px rgba(15, 37, 87, .16);
  --radius: 14px;
  --radius-sm: 9px;
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-display {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -.02em;
}

a { color: var(--primary-800); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.text-accent { color: var(--accent) !important; }
.text-muted2 { color: var(--muted); }
.bg-soft { background: var(--bg-soft); }
.bg-primary-soft { background: var(--primary-soft); }

/* Buttons ---------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-accent {
  background: var(--accent);
  color: #1a1a1a;
  border: 1px solid var(--accent);
  padding: .62rem 1.5rem;
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-primary-2 {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  padding: .62rem 1.5rem;
}
.btn-primary-2:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline-accent { border: 1.5px solid var(--accent); color: var(--accent-dark); padding: .62rem 1.5rem; }
.btn-outline-accent:hover { background: var(--accent); color: #1a1a1a; }

.btn-outline-light { border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-sm { padding: .4rem 1rem; }

/* Utility / Top bar ------------------------------------------------------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--accent); }
.topbar .sep { color: rgba(255,255,255,.3); margin: 0 .45rem; }

/* Navbar ------------------------------------------------------------------- */
.main-nav {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.main-nav .navbar-brand img { height: 46px; width: auto; }
.navbar .nav-link {
  color: var(--primary);
  font-weight: 600;
  padding: .5rem .95rem;
  position: relative;
}
.navbar .nav-link:hover { color: var(--accent-dark); }
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .15rem;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.navbar .dropdown-menu {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
}
.navbar .dropdown-item { font-weight: 500; color: var(--ink); padding: .55rem 1rem; }
.navbar .dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }

/* Hero: home --------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  padding: 6.5rem 0 7rem;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(240,165,0,.28), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(60,110,255,.22), transparent 55%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1c3d8f 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 78%);
          mask-image: radial-gradient(ellipse at center, #000 55%, transparent 78%);
}
.hero .hero-inner { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.5rem); line-height: 1.12; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 620px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240,165,0,.16);
  border: 1px solid rgba(240,165,0,.45);
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  letter-spacing: .02em;
}
.hero .hero-stats { border-top: 1px solid rgba(255,255,255,.18); }
.hero .hero-stat strong { color: var(--accent); }

.hero-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card .hc-head {
  background: linear-gradient(135deg, var(--primary), #1c3d8f);
  color: #fff;
  padding: 1rem 1.4rem;
}
.hero-card .hc-body { padding: 1.4rem; }

/* Page hero (inner pages) --------------------------------------------------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 4.6rem 0 4.2rem;
  background:
    radial-gradient(700px 340px at 88% -20%, rgba(240,165,0,.30), transparent 55%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 60%, #1c3d8f 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.45); }
.page-hero .breadcrumb-item a, .page-hero .breadcrumb-item.active { color: rgba(255,255,255,.8); font-weight: 500; }
.page-hero .breadcrumb-item.active { color: var(--accent); }

/* Sections ------------------------------------------------------------------ */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-dark {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,.85);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow-label {
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head .lead { color: var(--muted); max-width: 640px; }

/* Cards --------------------------------------------------------------------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-borderless { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .22s ease, box-shadow .22s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-tile {
  width: 58px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  background: var(--primary-soft);
  color: var(--primary-800);
}

.program-card .program-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}

.news-card .img-band { background: linear-gradient(135deg, var(--primary-800), #1c3d8f); }
.news-card .img-band i { font-size: 1.9rem; color: rgba(255,255,255,.9); }
.news-card .badge-cat { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-mark { color: var(--accent); font-size: 2.4rem; line-height: 1; }

.faculty-card .avatar-tile {
  width: 86px; height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-800), #1c3d8f);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.9rem; font-weight: 700;
}
.faculty-card .social a { color: var(--muted); font-size: 1.05rem; }
.faculty-card .social a:hover { color: var(--accent-dark); }

.member-initials { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-800); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.avatar-tile {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-800), #1c3d8f);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* Stat blocks --------------------------------------------------------------- */
.stat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.stat-box .num { font-size: 2.3rem; font-weight: 800; color: var(--primary); }
.stat-box.dark-variant { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.stat-box.dark-variant .num { color: var(--accent); }
.stat-box.dark-variant .label { color: rgba(255,255,255,.8); }

/* Lists & misc ------------------------------------------------------------- */
.list-check li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.list-check li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: #fff;
  background: var(--accent);
  width: 1.1rem; height: 1.1rem; line-height: 1.1rem;
  border-radius: 50%;
  font-size: .7rem; font-weight: 700; text-align: center;
}

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline .tl-item { position: relative; padding-left: 2.1rem; margin-bottom: 1.4rem; }
.timeline .tl-item::before {
  content: "";
  position: absolute; left: 3px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.fee-chip { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; }
.chip { background: var(--primary-soft); color: var(--primary-800); border-radius: 999px; padding: .28rem .8rem; font-size: .8rem; font-weight: 600; }

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--line);
  padding: .62rem .9rem;
}
.form-control:focus, .form-select:focus { border-color: var(--primary-800); box-shadow: 0 0 0 .2rem rgba(15,37,87,.12); }
.form-label { font-weight: 600; color: var(--primary); }

.alert { border-radius: var(--radius-sm); }

.divider-line { border: 0; border-top: 1px solid var(--line); opacity: 1; }

/* CTA band ------------------------------------------------------------------ */
.cta-band {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(240,165,0,.35), transparent 55%),
    linear-gradient(120deg, var(--primary-dark), var(--primary) 65%, #1c3d8f);
  border-radius: 22px;
  color: #fff;
  overflow: hidden;
}
.cta-band .btn-accent { padding: .85rem 2rem; }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.78); }
.site-footer h5 { color: #fff; margin-bottom: 1.1rem; font-size: 1.05rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--accent); }
.site-footer .footer-link { display: block; padding: .22rem 0; }
.site-footer .contact-line { display: flex; gap: .65rem; margin-bottom: .7rem; }
.site-footer .contact-line i { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom a { color: var(--accent); }

/* Page header panel streaming label ------------------------------------------ */
.contact-card { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Back to top ----------------------------------------------------------------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1030;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); color: #fff; }

/* Gallery -------------------------------------------------------------------- */
.text-bg-accent { background: var(--accent) !important; color: #1a1a1a !important; }
.gallery-figure { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.gallery-thumb { display: block; position: relative; height: 220px; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-figure:hover .gallery-thumb img { transform: scale(1.06); }
.gallery-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 18, 38, .45); color: #fff; font-size: 1.3rem; opacity: 0;
  transition: opacity .3s ease;
}
.gallery-figure:hover .gallery-zoom { opacity: 1; }

/* Events --------------------------------------------------------------------- */
.event-banner {
  background: linear-gradient(135deg, #12305f, #2f5ccf 60%, #3b9f8f);
  min-height: 190px; align-items: flex-end;
}
.text-bg-light2 { background: rgba(255,255,255,.9) !important; color: #374151 !important; }

/* Responsive tweaks ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .topbar .topbar-links { display: none; }
  .navbar .nav-link.active::after { display: none; }
  .hero { padding: 4rem 0 5rem; }
  .section { padding: 3.6rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-hover { transition: none; }
}
/* ============================================================================
   CAMPUS FILM CLIP â€” auto-playing Ken-Burns scene band (home.php)
   ========================================================================== */
.film-band { padding: 4.5rem 0 å†’é™© 0; overflow: hidden; position: relative;
  background:
    radial-gradient(700px 300px at 90% -10%, rgba(240,165,0,.10), transparent 55%),
    radial-gradient(600px 320px at -5% 110%, rgba(60,110,255,.08), transparent 55%),
    var(--surface);
}
.film-eyebrow-label { letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 600; font-size: .75rem; }

.film-stage { position: relative; min-height: clamp(280px, 52vw, 620px); background: var(--primary-dark); overflow: hidden; }
.film-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.035); transition: opacity .9s ease, visibility .9s ease, transform 1.2s ease; will-change: opacity, transform, visibility; z-index: 1; }
.film-slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }
.film-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-slide.active .film-img { animation: film-kenburns 8s ease-in-out infinite alternate; }
@keyframes film-kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.2%, 1%); }
}
.film-overlay { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(12, 20, 44, .10), rgba(12, 20, 44, .62)); }
.film-caption { position: absolute; inset: auto 0 0 0; z-index: 4; color: #fff; }
.film-eyebrow { color: rgba(255,255,255,.72); letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; font-weight: 600; }
.film-title { text-shadow: 0 2px 10px rgba(0,0,0,.55); }

.film-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 5; background: rgba(255,255,255,.18); }
.film-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 5.8s linear; }
.film-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5; display: flex; justify-content: center; gap: .45rem; }
.film-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .25s, width .25s; }
.film-dot.active { width: 24px; border-radius: 999px; background: var(--accent); }

.film-band .film-btn { width: 42px; height: 42px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent-dark); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .25s, color .25s, transform .25s; }
.film-band .film-btn:hover { background: var(--accent); color: #16213a; transform: translateY(-1px); }
.film-band .film-btn:active { transform: scale(0.96); }
.film-play.paused i.bi-pause-fill { display: inline-block; }
.film-play.paused i.bi-play-fill { display: none; }
.film-play i.bi-play-fill { display: none; }
.film-play i.bi-pause-fill { display: inline-block; }
.film-play.playing i.bi-pause-fill { display: inline-block; }
.film-play.playing i.bi-play-fill { display: none; }

@media (prefers-reduced-motion: reduce) {
  .film-slide { transition: opacity .3s ease; }
  .film-slide.active .film-img { animation: none; }
  .film-progress span { transition-duration: 20s; }
}

