:root {
  --arce-green: #0034ff;
  --arce-green-dark: #0024b8;
  --arce-gold: #ffea00;
  --arce-gold-dark: #b8a800;
  --arce-white: #ffffff;
  --arce-text: #222222;
  --arce-muted: #65706b;
  --arce-soft: #f8f9fa;
  --arce-line: rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 24px 70px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 16px 45px rgba(0, 52, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--arce-text);
  background: var(--arce-white);
  line-height: 1.6;
}

body.is-loading {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.7);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  transform: translateY(-150%);
  background: var(--arce-gold);
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 700;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 234, 0, 0.18), transparent 34%),
    linear-gradient(135deg, #00115f, var(--arce-green));
  opacity: 1;
  visibility: visible;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.welcome-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-screen-inner {
  width: min(620px, 88vw);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 234, 0, 0.45);
  border-radius: 12px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  animation: welcomeImageIn 900ms ease both;
}

.welcome-screen img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(0, 52, 255, 0.045), rgba(255, 234, 0, 0.045)),
    var(--arce-soft);
}

.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--arce-green);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  color: var(--arce-text);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  color: var(--arce-white);
  font-size: clamp(2.8rem, 8vw, 6.25rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.22rem;
}

.btn {
  border-radius: 4px;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 1.45rem;
  font-size: 1rem;
}

.btn-gold {
  background: var(--arce-gold);
  border-color: var(--arce-gold);
  color: #111a3d;
  box-shadow: 0 18px 34px rgba(255, 234, 0, 0.26);
}

.btn-gold:hover,
.btn-gold:focus {
  background: #fff13d;
  border-color: #fff13d;
  color: #111a3d;
}

.btn-green {
  background: var(--arce-green);
  border-color: var(--arce-green);
  color: var(--arce-white);
  box-shadow: 0 16px 32px rgba(0, 52, 255, 0.22);
}

.btn-green:hover,
.btn-green:focus {
  background: var(--arce-green-dark);
  border-color: var(--arce-green-dark);
  color: var(--arce-white);
}

.btn-outline-green {
  color: var(--arce-green);
  border-color: rgba(0, 52, 255, 0.35);
  background: var(--arce-white);
}

.btn-outline-green:hover,
.btn-outline-green:focus {
  color: var(--arce-white);
  background: var(--arce-green);
  border-color: var(--arce-green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.top-bar {
  background: var(--arce-green);
  color: var(--arce-white);
  font-size: 0.88rem;
  padding: 0.55rem 0;
}

.top-contact i {
  color: var(--arce-gold);
  margin-right: 0.45rem;
}

.top-bar a {
  color: var(--arce-white);
}

.top-bar a:hover {
  color: var(--arce-gold);
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 700;
}

.main-nav {
  position: relative;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98), rgba(234, 241, 255, 0.96) 48%, rgba(255, 251, 219, 0.82)),
    var(--arce-white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 52, 255, 0.12);
  min-height: 112px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -10px 28px rgba(0, 52, 255, 0.055) inset,
    0 18px 38px rgba(0, 24, 132, 0.13);
  transform-style: preserve-3d;
}

.main-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--arce-green), var(--arce-gold));
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.55), 0 5px 12px rgba(0, 52, 255, 0.22);
}

.main-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.navbar-brand {
  max-width: min(560px, calc(100vw - 92px));
  position: relative;
  z-index: 1;
  transform: translateZ(10px);
}

.brand-mark {
  width: 72px;
  height: 72px;
  display: inline-flex;
  place-items: center;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  background: var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.14);
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 12px 24px rgba(0, 52, 255, 0.15),
    0 5px 0 rgba(0, 36, 184, 0.08);
  transform: translateY(-1px);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.navbar-brand .brand-mark {
  width: 84px;
  height: 84px;
  flex-basis: 84px;
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.12;
}

.brand-text strong {
  display: inline-block;
  color: var(--arce-green);
  font-size: clamp(0.98rem, 1.25vw, 1.28rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(10px);
  animation: brandAppear 720ms ease forwards 180ms;
}

.brand-motto {
  display: inline-block;
  margin-top: 0.18rem;
  color: #8f8200;
  font-size: clamp(0.68rem, 0.78vw, 0.82rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
  overflow-wrap: anywhere;
  opacity: 0;
  transform: translateY(10px);
  animation: brandAppear 720ms ease forwards 420ms;
}

.footer-brand .brand-mark {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.footer-brand > span:last-child {
  text-transform: uppercase;
  color: var(--arce-white);
  line-height: 1.18;
}

.navbar-toggler {
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(0, 52, 255, 0.1);
}

.main-nav .nav-link {
  position: relative;
  color: #26302c;
  font-weight: 800;
  padding: 1.1rem 0.72rem;
  border-radius: 6px;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease, background 180ms ease;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  height: 3px;
  background: var(--arce-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--arce-green);
  transform: translateY(-2px);
  text-shadow: 0 8px 18px rgba(0, 52, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(0, 52, 255, 0.035));
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1);
}

.dropdown-menu {
  border: 0;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  padding: 0.55rem;
}

.mega-menu {
  min-width: min(820px, calc(100vw - 2rem));
  grid-template-columns: 190px repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.mega-menu.show {
  display: grid;
}

.dropdown-column {
  min-width: 0;
}

.dropdown-visual {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.75rem;
  list-style: none;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(0, 52, 255, 0.08), rgba(255, 234, 0, 0.12)),
    var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.1);
  border-radius: 6px;
}

.dropdown-visual img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--arce-white);
  box-shadow: 0 14px 30px rgba(0, 24, 132, 0.13);
}

.dropdown-visual span {
  color: var(--arce-green);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.dropdown-subtitle {
  display: block;
  margin: 0.2rem 0 0.25rem;
  padding: 0 0.65rem;
  color: var(--arce-green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.dropdown-item {
  border-radius: 4px;
  font-weight: 700;
  padding: 0.46rem 0.65rem;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(0, 52, 255, 0.08);
  color: var(--arce-green);
}

.hero-carousel-section {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #07120d;
  isolation: isolate;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-slide-bg,
.hero-slide-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide-bg {
  z-index: 0;
  background-color: #10251c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
}

.hero-slide-campus .hero-slide-bg {
  background-position: center center;
}

.hero-slide-gate .hero-slide-bg {
  background-position: center center;
}

.hero-slide-leadership .hero-slide-bg {
  background-position: 46% center;
}

.hero-slide-community .hero-slide-bg {
  background-position: center center;
}

.hero-slide-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 11, 82, 0.68), rgba(0, 40, 190, 0.38) 45%, rgba(0, 0, 0, 0.34)),
    rgba(0, 0, 0, 0.22);
}

.hero-slide.swiper-slide-active .hero-slide-bg {
  animation: zoomEffect 10s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 100%;
  padding-top: clamp(4rem, 9vh, 7rem);
  padding-bottom: clamp(6rem, 12vh, 8rem);
}

.hero-copy {
  max-width: 920px;
}

.hero-copy .section-kicker,
.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.hero-swiper.swiper-initialized .hero-copy .section-kicker,
.hero-swiper.swiper-initialized .hero-copy h1,
.hero-swiper.swiper-initialized .hero-copy .hero-lead,
.hero-swiper.swiper-initialized .hero-copy .hero-actions {
  opacity: 0;
  transform: translateY(34px);
}

.hero-slide.swiper-slide-active .hero-copy .section-kicker {
  animation: heroTextUp 760ms ease forwards 180ms;
}

.hero-slide.swiper-slide-active .hero-copy h1 {
  animation: heroTextUp 820ms ease forwards 320ms;
}

.hero-slide.swiper-slide-active .hero-copy .hero-lead {
  animation: heroTextUp 820ms ease forwards 500ms;
}

.hero-slide.swiper-slide-active .hero-copy .hero-actions {
  animation: heroTextUp 820ms ease forwards 680ms;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  max-width: 760px;
  margin: 1.3rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(1rem, calc((100vw - 1320px) / 2 + 0.75rem));
  bottom: clamp(1.5rem, 5vh, 3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--arce-white);
}

.hero-nav,
.hero-fraction {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.hero-nav {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--arce-white);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 234, 0, 0.24);
  border-color: rgba(255, 234, 0, 0.58);
}

.hero-fraction {
  min-width: 112px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-current {
  color: var(--arce-gold);
}

.stats-section {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  min-height: 174px;
  padding: 1.5rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  background: var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.stat-card i {
  color: var(--arce-gold);
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.stat-card strong {
  color: var(--arce-green);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card span:last-child {
  color: var(--arce-muted);
  font-weight: 800;
}

.about-section p {
  color: var(--arce-muted);
  font-size: 1.04rem;
}

.image-frame {
  position: relative;
  margin: 0;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 4px;
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.academic-grid,
.admission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.admission-card,
.content-panel {
  background: var(--arce-white);
  border: 1px solid var(--arce-line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

.feature-card {
  position: relative;
  min-height: 260px;
  padding: 2rem;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--arce-green), var(--arce-gold));
}

.feature-card i,
.admission-card i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  color: var(--arce-green);
  background: rgba(0, 52, 255, 0.08);
  border-radius: 50%;
  font-size: 1.35rem;
}

.feature-card p,
.admission-card p,
.section-summary {
  color: var(--arce-muted);
}

.feature-card:hover,
.admission-card:hover,
.gallery-item:hover {
  transform: translateY(-8px);
}

.feature-card:hover,
.admission-card:hover {
  border-color: rgba(0, 52, 255, 0.28);
  box-shadow: var(--shadow-card);
}

.admissions-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 234, 0, 0.11), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(0, 52, 255, 0.1), transparent 25%),
    var(--arce-white);
}

.admission-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admission-card {
  padding: 1.6rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.principal-band {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background:
    linear-gradient(135deg, rgba(0, 52, 255, 0.94), rgba(0, 24, 132, 0.96)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
}

.principal-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.principal-photo {
  min-height: 300px;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(145deg, rgba(0, 52, 255, 0.12), rgba(255, 234, 0, 0.18)),
    var(--arce-soft);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 24, 132, 0.14);
}

.principal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.principal-card p:not(.section-kicker) {
  color: var(--arce-muted);
  font-size: 1.04rem;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: var(--arce-white);
  background:
    linear-gradient(90deg, rgba(0, 11, 82, 0.84), rgba(0, 52, 255, 0.58)),
    url("../../images/14.jpg") center/cover no-repeat;
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}

.page-hero p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.history-section {
  background:
    linear-gradient(180deg, rgba(0, 52, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--arce-white);
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.history-side {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 1rem;
}

.history-crest-card,
.history-panel,
.history-profile-grid section {
  background: var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.history-crest-card {
  padding: 1.35rem;
  text-align: center;
}

.history-crest-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.history-crest-card h2 {
  margin-bottom: 0.45rem;
  color: var(--arce-green);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.history-crest-card p {
  margin-bottom: 0.2rem;
  color: var(--arce-gold-dark);
  font-weight: 900;
}

.history-crest-card span {
  color: var(--arce-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.history-jump {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  background: rgba(0, 52, 255, 0.055);
  border: 1px solid rgba(0, 52, 255, 0.1);
  border-radius: 8px;
}

.history-jump a {
  padding: 0.7rem 0.8rem;
  color: var(--arce-green);
  background: var(--arce-white);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.history-content {
  display: grid;
  gap: 1.25rem;
}

.history-panel {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.history-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.history-panel p,
.history-panel li {
  color: var(--arce-muted);
}

.history-panel a {
  color: var(--arce-green);
  font-weight: 800;
}

.history-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.history-profile-grid section {
  padding: 1.2rem;
}

.history-profile-grid i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: #111a3d;
  background: var(--arce-gold);
  border-radius: 50%;
}

.history-profile-grid h3 {
  font-size: 1rem;
}

.crest-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.crest-image {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    linear-gradient(145deg, rgba(0, 52, 255, 0.08), rgba(255, 234, 0, 0.12)),
    var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.1);
  border-radius: 8px;
}

.crest-image img {
  width: min(190px, 100%);
  object-fit: contain;
}

.crest-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.crest-theme-grid span {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem;
  color: var(--arce-muted);
  background: rgba(0, 52, 255, 0.055);
  border: 1px solid rgba(0, 52, 255, 0.09);
  border-radius: 6px;
}

.crest-theme-grid strong {
  color: var(--arce-green);
}

.history-table {
  overflow: hidden;
  border: 1px solid var(--arce-line);
  border-radius: 8px;
}

.history-table thead th {
  color: var(--arce-white);
  background: var(--arce-green);
  border-color: rgba(255, 255, 255, 0.18);
}

.history-table tbody td {
  color: var(--arce-muted);
  font-weight: 700;
}

.council-section {
  background:
    linear-gradient(180deg, rgba(0, 52, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--arce-white);
}

.council-table tbody tr:first-child td {
  color: var(--arce-text);
  background: rgba(255, 234, 0, 0.12);
  font-weight: 900;
}

.council-table td:last-child {
  color: var(--arce-green);
  font-weight: 900;
}

.anthem-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 234, 0, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(0, 52, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--arce-white);
}

.anthem-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--arce-white);
  background:
    linear-gradient(135deg, rgba(0, 52, 255, 0.96), rgba(0, 24, 132, 0.96)),
    var(--arce-green);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.anthem-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 234, 0, 0.24);
  border-radius: 6px;
  pointer-events: none;
}

.anthem-card .section-kicker,
.anthem-card h2 {
  color: inherit;
}

.anthem-card h2 {
  margin-bottom: 1.5rem;
}

.anthem-lyrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  gap: 1.25rem;
}

.anthem-stanza,
.anthem-chorus {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.anthem-stanza p,
.anthem-chorus p {
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
}

.anthem-chorus span {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--arce-gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-section {
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 234, 0, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(0, 52, 255, 0.055), rgba(255, 255, 255, 0)),
    var(--arce-white);
}

.portal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: 620px;
  overflow: hidden;
  background: var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.portal-visual {
  position: relative;
  min-height: 420px;
  isolation: isolate;
}

.portal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(0, 11, 82, 0.86), rgba(0, 52, 255, 0.34)),
    rgba(0, 0, 0, 0.18);
}

.portal-visual-copy {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 2;
  color: var(--arce-white);
}

.portal-visual-copy span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--arce-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-visual-copy h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.portal-visual-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.portal-form-panel {
  display: grid;
  align-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.portal-form-panel h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.portal-form-panel p:not(.section-kicker) {
  color: var(--arce-muted);
}

.portal-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.portal-form .form-control {
  min-height: 58px;
  border: 1px solid rgba(0, 52, 255, 0.14);
  border-radius: 6px;
  box-shadow: none;
}

.portal-form .form-control:focus {
  border-color: var(--arce-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 52, 255, 0.1);
}

.portal-form-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--arce-muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.portal-form-row a {
  color: var(--arce-green);
  font-weight: 900;
}

.portal-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.portal-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--arce-green);
}

.portal-login-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  min-height: 54px;
  margin-top: 0.4rem;
}

.staff-dashboard {
  padding: 2rem 0;
  background: #eef2f7;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  min-height: 760px;
}

.dashboard-sidebar,
.dashboard-panel,
.staff-metric-grid article,
.student-side-panel,
.student-learning-panel,
.student-card-grid article {
  background: var(--arce-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.dashboard-sidebar {
  position: sticky;
  top: 140px;
  align-self: start;
  display: grid;
  gap: 1.2rem;
  padding: 1rem;
}

.dashboard-profile,
.student-avatar {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem;
  background: rgba(0, 52, 255, 0.06);
  border-radius: 8px;
}

.dashboard-profile img,
.student-avatar img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--arce-white);
}

.dashboard-profile strong,
.student-avatar strong {
  display: block;
  color: var(--arce-text);
  font-weight: 900;
}

.dashboard-profile span,
.student-avatar span {
  color: var(--arce-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.dashboard-sidebar nav,
.student-side-panel nav {
  display: grid;
  gap: 0.35rem;
}

.dashboard-sidebar nav a,
.student-side-panel nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  color: var(--arce-muted);
  border-radius: 6px;
  font-weight: 850;
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover {
  color: var(--arce-white);
  background: var(--arce-green);
}

.dashboard-main {
  display: grid;
  gap: 1rem;
}

.dashboard-topbar,
.student-dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--arce-white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.dashboard-topbar h1,
.student-dashboard-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.staff-metric-grid,
.student-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.staff-metric-grid article {
  padding: 1.15rem;
}

.staff-metric-grid span,
.staff-metric-grid small {
  color: var(--arce-muted);
  font-weight: 800;
}

.staff-metric-grid strong {
  display: block;
  margin: 0.35rem 0;
  color: var(--arce-green);
  font-size: 2.25rem;
  line-height: 1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: 1rem;
}

.dashboard-panel {
  padding: 1.25rem;
}

.dashboard-panel.wide {
  grid-row: span 2;
}

.dashboard-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.dashboard-panel-title h2 {
  margin: 0;
  font-size: 1.2rem;
}

.dashboard-panel-title a {
  color: var(--arce-green);
  font-weight: 900;
}

.staff-schedule-list,
.staff-action-grid,
.student-timeline,
.progress-list {
  display: grid;
  gap: 0.85rem;
}

.staff-schedule-list article {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
}

.staff-schedule-list time {
  color: var(--arce-green);
  font-weight: 900;
}

.staff-schedule-list span,
.notice-list span,
.student-timeline p {
  color: var(--arce-muted);
}

.staff-schedule-list em {
  color: var(--arce-gold-dark);
  font-style: normal;
  font-weight: 900;
}

.staff-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-action-grid a {
  display: grid;
  gap: 0.55rem;
  place-items: center;
  min-height: 112px;
  padding: 1rem;
  color: var(--arce-green);
  background: rgba(0, 52, 255, 0.06);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.staff-action-grid i {
  font-size: 1.45rem;
}

.notice-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.notice-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--arce-line);
}

.student-dashboard {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 234, 0, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(0, 52, 255, 0.06), rgba(255, 255, 255, 0)),
    #f9fbff;
}

.student-dashboard-hero {
  margin-bottom: 1rem;
  color: var(--arce-white);
  background:
    linear-gradient(135deg, rgba(0, 52, 255, 0.96), rgba(0, 24, 132, 0.96)),
    var(--arce-green);
}

.student-dashboard-hero .section-kicker,
.student-dashboard-hero h1 {
  color: inherit;
}

.student-dashboard-hero p:not(.section-kicker) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.student-dashboard-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
}

.student-side-panel {
  padding: 1rem;
  align-self: start;
}

.student-side-panel nav a.active,
.student-side-panel nav a:hover {
  color: #111a3d;
  background: var(--arce-gold);
}

.student-content {
  display: grid;
  gap: 1rem;
}

.student-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-card-grid article {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
}

.student-card-grid i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #111a3d;
  background: var(--arce-gold);
  border-radius: 50%;
}

.student-card-grid span {
  color: var(--arce-muted);
  font-weight: 800;
}

.student-card-grid strong {
  color: var(--arce-green);
  font-size: 2rem;
  line-height: 1;
}

.student-learning-panel {
  padding: 1.25rem;
}

.student-timeline article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 52, 255, 0.05);
  border-radius: 8px;
}

.student-timeline span {
  color: var(--arce-green);
  font-weight: 900;
}

.student-timeline p {
  margin-bottom: 0;
}

.student-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.progress-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 1rem;
  align-items: center;
}

.progress {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  background: rgba(0, 52, 255, 0.09);
  border-radius: 999px;
}

.progress div {
  height: 100%;
  background: linear-gradient(90deg, var(--arce-green), var(--arce-gold));
  border-radius: inherit;
}

.content-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  height: 100%;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--arce-line);
}

.panel-title h3 {
  margin: 0;
}

.panel-title a {
  color: var(--arce-green);
  font-weight: 800;
}

.featured-news {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.featured-news img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.news-card span {
  color: var(--arce-gold-dark);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.news-card h4,
.news-row h4,
.event-card h4 {
  font-size: 1.08rem;
  margin: 0.35rem 0;
}

.news-card p,
.news-row p,
.event-card p {
  color: var(--arce-muted);
  margin-bottom: 0;
}

.news-row,
.event-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--arce-line);
}

.news-row {
  grid-template-columns: 104px 1fr;
  align-items: center;
}

.news-row img {
  width: 104px;
  height: 78px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 24, 132, 0.12);
}

.news-row time,
.event-date {
  display: grid;
  place-items: center;
  align-content: center;
  width: 66px;
  height: 66px;
  background: rgba(0, 52, 255, 0.08);
  color: var(--arce-green);
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
}

.event-date strong {
  font-size: 1.55rem;
  line-height: 1;
}

.event-date span {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--arce-gold-dark);
}

.vacancies-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 234, 0, 0.13), transparent 28%),
    linear-gradient(180deg, var(--arce-white), rgba(0, 52, 255, 0.045));
}

.vacancy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: stretch;
  margin-bottom: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--arce-white);
  background:
    linear-gradient(135deg, rgba(0, 52, 255, 0.96), rgba(0, 24, 132, 0.96)),
    var(--arce-green);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.vacancy-hero .section-kicker,
.vacancy-hero h2,
.vacancy-hero p {
  color: inherit;
}

.vacancy-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.vacancy-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.vacancy-deadline {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 160px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.vacancy-deadline span,
.vacancy-tag,
.vacancy-card-top span {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 900;
}

.vacancy-deadline strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--arce-gold);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.vacancy-deadline small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.vacancy-meta-grid,
.vacancy-grid {
  display: grid;
  gap: 1rem;
}

.vacancy-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.vacancy-meta-grid article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.vacancy-meta-grid i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--arce-green);
  background: rgba(0, 52, 255, 0.08);
  border-radius: 50%;
}

.vacancy-meta-grid span {
  display: block;
  color: var(--arce-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.vacancy-meta-grid strong {
  display: block;
  color: var(--arce-text);
  font-size: 0.94rem;
  line-height: 1.35;
}

.vacancy-meta-grid a {
  color: var(--arce-green);
}

.vacancy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vacancy-card,
.vacancy-apply-card {
  min-height: 100%;
  padding: 1.35rem;
  background: var(--arce-white);
  border: 1px solid rgba(0, 52, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.vacancy-card:hover,
.vacancy-apply-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 52, 255, 0.28);
  box-shadow: var(--shadow-card);
}

.vacancy-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--arce-green);
}

.vacancy-card-top i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #111a3d;
  background: var(--arce-gold);
  border-radius: 50%;
}

.vacancy-card h3,
.vacancy-apply-card h3 {
  margin-bottom: 0.65rem;
}

.vacancy-card p,
.vacancy-apply-card p,
.vacancy-details {
  color: var(--arce-muted);
}

.vacancy-subject-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
  padding: 0;
  list-style: none;
}

.vacancy-subject-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--arce-text);
  font-weight: 800;
}

.vacancy-subject-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--arce-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 234, 0, 0.16);
}

.vacancy-card details {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--arce-line);
}

.vacancy-card summary {
  cursor: pointer;
  color: var(--arce-green);
  font-weight: 900;
}

.vacancy-details {
  margin-top: 0.75rem;
  font-size: 0.94rem;
}

.vacancy-details h4 {
  margin: 1rem 0 0.45rem;
  color: var(--arce-green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vacancy-details h4:first-child {
  margin-top: 0;
}

.vacancy-details ul,
.vacancy-apply-card ul {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.vacancy-details li,
.vacancy-apply-card li {
  margin-bottom: 0.45rem;
}

.vacancy-apply-card {
  color: var(--arce-white);
  background:
    linear-gradient(145deg, rgba(0, 52, 255, 0.96), rgba(0, 24, 132, 0.98)),
    var(--arce-green);
}

.vacancy-apply-card h3,
.vacancy-apply-card p,
.vacancy-apply-card li {
  color: inherit;
}

.vacancy-tag {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--arce-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 16, 93, 0.82));
}

.gallery-item span {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--arce-white);
  font-weight: 900;
  font-size: 1.05rem;
}

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

.picture-carousel-block {
  margin-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.picture-carousel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

.picture-carousel-heading .section-kicker {
  margin-bottom: 0.35rem;
}

.picture-carousel-heading h3 {
  margin: 0;
  color: var(--arce-green);
  font-size: clamp(1.6rem, 3.4vw, 2.65rem);
  text-transform: uppercase;
}

.picture-swiper {
  overflow: visible;
  padding: 0.75rem 0 1.4rem;
}

.picture-swiper .swiper-wrapper {
  align-items: stretch;
  transition-timing-function: linear;
}

.picture-frame {
  position: relative;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #9b1f2e;
  border: 12px solid #7e1825;
  outline: 1px solid rgba(255, 234, 0, 0.42);
  outline-offset: -18px;
  box-shadow:
    0 22px 48px rgba(91, 14, 24, 0.24),
    inset 0 0 0 8px rgba(255, 255, 255, 0.08),
    inset 0 0 0 12px rgba(0, 0, 0, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.picture-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 600ms ease;
}

.picture-frame::before {
  content: "";
  position: absolute;
  inset: 1.35rem;
  z-index: 1;
  border: 2px solid rgba(255, 234, 0, 0.58);
  border-radius: 4px;
  pointer-events: none;
}

.picture-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 34%, transparent 70%, rgba(0, 0, 0, 0.14));
  pointer-events: none;
}

.picture-frame span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.65rem 0.8rem;
  border-radius: 4px;
  background: rgba(0, 16, 93, 0.72);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
}

.picture-frame:hover,
.picture-frame:focus-within,
.picture-frame.is-touch-active {
  z-index: 5;
  transform: scale(1.08);
  border-color: #a52032;
  box-shadow:
    0 34px 72px rgba(91, 14, 24, 0.34),
    0 0 0 4px rgba(255, 234, 0, 0.18),
    inset 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.picture-frame:hover img,
.picture-frame:focus-within img,
.picture-frame.is-touch-active img {
  transform: scale(1.08);
}

.partners-section {
  padding: 2.5rem 0;
  background: var(--arce-soft);
  border-top: 1px solid var(--arce-line);
  border-bottom: 1px solid var(--arce-line);
}

.partner-logo {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--arce-white);
  border: 1px solid var(--arce-line);
  border-radius: 8px;
  color: var(--arce-green);
  font-weight: 900;
  text-align: center;
}

.site-footer {
  background: #101815;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(4rem, 8vw, 6rem) 0 3rem;
}

.footer-brand {
  color: var(--arce-white);
  font-weight: 900;
  margin-bottom: 1rem;
}

.site-footer h2 {
  color: var(--arce-white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer li {
  margin-bottom: 0.68rem;
}

.site-footer a:hover {
  color: var(--arce-gold);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--arce-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #111a3d;
  background: var(--arce-gold);
  border-color: var(--arce-gold);
  transform: translateY(-3px);
}

.contact-list i {
  color: var(--arce-gold);
  margin-right: 0.45rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 1rem;
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1040;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #111a3d;
  background: linear-gradient(145deg, var(--arce-gold), #fff46a);
  border: 1px solid rgba(255, 234, 0, 0.68);
  border-radius: 50%;
  box-shadow:
    0 16px 34px rgba(0, 24, 132, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.92);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 22px 45px rgba(0, 24, 132, 0.28),
    0 0 0 5px rgba(255, 234, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.back-to-top i {
  font-size: 1rem;
}

.donation-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 6, 40, 0.62);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  perspective: 1200px;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.donation-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.donation-card {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--arce-text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 255, 0.96)),
    var(--arce-white);
  border: 1px solid rgba(255, 234, 0, 0.36);
  border-radius: 10px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 16px 0 rgba(0, 36, 184, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: rotateX(10deg) translateY(24px) scale(0.96);
  transform-origin: center;
  overflow: hidden;
}

.donation-popup.is-visible .donation-card {
  animation: donationCardIn 900ms ease forwards;
}

.donation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 234, 0, 0.2), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(0, 52, 255, 0.12), transparent 32%);
  pointer-events: none;
}

.donation-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--arce-green);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 52, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(0, 24, 132, 0.12);
}

.donation-badge {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #111a3d;
  background: linear-gradient(145deg, var(--arce-gold), #fff46a);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(0, 24, 132, 0.18);
  transform: rotate(-4deg);
}

.donation-card h2,
.donation-card p,
.donation-actions,
.donation-more {
  position: relative;
  z-index: 1;
}

.donation-card h2 {
  margin-right: 2.2rem;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
}

.donation-card p {
  color: var(--arce-muted);
}

.donation-more {
  margin-top: 1rem;
}

.donation-details {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}

.donation-details div {
  padding: 0.85rem 1rem;
  background: rgba(0, 52, 255, 0.055);
  border: 1px solid rgba(0, 52, 255, 0.1);
  border-radius: 6px;
}

.donation-details span {
  display: block;
  color: var(--arce-muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.donation-details strong {
  color: var(--arce-green);
}

.donation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@keyframes donationCardIn {
  0% {
    opacity: 0;
    transform: rotateX(10deg) translateY(28px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: rotateX(0) rotateY(0) translateY(0) scale(1);
  }
}

@keyframes zoomEffect {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes heroTextUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandAppear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes welcomeImageIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1400px) and (hover: hover) {
  .navbar .dropdown:hover .dropdown-menu:not(.mega-menu) {
    display: block;
    margin-top: 0;
  }

  .navbar .dropdown:hover .mega-menu,
  .mega-menu.show {
    display: grid;
    margin-top: 0;
  }
}

@media (max-width: 1399.98px) {
  .main-nav .navbar-collapse {
    border-top: 1px solid var(--arce-line);
    margin-top: 1rem;
    padding: 0.5rem 0 1rem;
    position: relative;
    z-index: 1;
  }

  .main-nav .nav-link {
    padding: 0.75rem 0;
    border-radius: 4px;
    transform: none;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    transform: none;
    background: rgba(0, 52, 255, 0.06);
    padding-left: 0.65rem;
  }

  .dropdown-menu {
    box-shadow: none;
    border: 1px solid var(--arce-line);
  }

  .mega-menu {
    display: none;
    min-width: 100%;
  }

  .mega-menu.show {
    display: block;
  }

  .dropdown-visual {
    display: none;
  }

  .dropdown-column + .dropdown-column {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--arce-line);
  }
}

@media (max-width: 991.98px) {
  .hero-carousel-section {
    min-height: 760px;
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  .hero-controls {
    right: 50%;
    bottom: 2rem;
    transform: translateX(50%);
  }

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

  .vacancy-hero,
  .vacancy-meta-grid,
  .vacancy-grid {
    grid-template-columns: 1fr;
  }

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

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

  .principal-photo {
    min-height: 240px;
  }

  .history-layout,
  .crest-layout,
  .anthem-lyrics,
  .portal-card {
    grid-template-columns: 1fr;
  }

  .history-side {
    position: static;
  }

  .portal-card {
    min-height: auto;
  }

  .portal-form-panel {
    padding: 1.5rem;
  }

  .dashboard-shell,
  .dashboard-grid,
  .student-dashboard-grid,
  .student-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .staff-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .picture-frame {
    min-height: 220px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    font-size: 0.8rem;
  }

  .main-nav {
    min-height: 92px;
  }

  .navbar-brand {
    gap: 0.7rem;
    max-width: calc(100vw - 86px);
  }

  .navbar-brand .brand-mark {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .brand-text strong {
    font-size: clamp(0.78rem, 3.5vw, 0.95rem);
    line-height: 1.12;
  }

  .brand-motto {
    font-size: clamp(0.58rem, 2.35vw, 0.68rem);
    line-height: 1.15;
  }

  .hero-carousel-section {
    min-height: 700px;
  }

  .hero-slide-campus .hero-slide-bg {
    background-position: center top;
  }

  .hero-slide-gate .hero-slide-bg {
    background-position: 58% center;
  }

  .hero-slide-leadership .hero-slide-bg {
    background-position: 42% center;
  }

  .hero-slide-community .hero-slide-bg {
    background-position: 48% center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-content {
    align-items: start;
    padding-top: 4rem;
    padding-bottom: 6.5rem;
  }

  .hero-controls {
    bottom: 1.35rem;
    gap: 0.45rem;
  }

  .hero-nav {
    width: 44px;
    height: 44px;
  }

  .hero-fraction {
    min-width: 96px;
    height: 44px;
    font-size: 0.88rem;
  }

  .stats-section {
    margin-top: 0;
    padding-top: 1rem;
  }

  .stats-grid,
  .academic-grid,
  .admission-grid {
    grid-template-columns: 1fr;
  }

  .vacancy-hero {
    padding: 1.25rem;
  }

  .vacancy-deadline {
    min-height: 130px;
  }

  .vacancy-meta-grid article {
    grid-template-columns: 40px 1fr;
  }

  .vacancy-meta-grid i {
    width: 40px;
    height: 40px;
  }

  .dashboard-topbar,
  .student-dashboard-hero,
  .staff-schedule-list article {
    grid-template-columns: 1fr;
    display: grid;
  }

  .staff-metric-grid,
  .student-card-grid,
  .staff-action-grid {
    grid-template-columns: 1fr;
  }

  .history-profile-grid,
  .crest-theme-grid {
    grid-template-columns: 1fr;
  }

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

  .news-row {
    grid-template-columns: 86px 1fr;
  }

  .news-row img {
    width: 86px;
    height: 70px;
  }

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

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }

  .picture-carousel-heading {
    display: block;
  }

  .picture-frame {
    min-height: 190px;
    border-width: 9px;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
  }

  .donation-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .navbar-brand .brand-mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .brand-text strong {
    font-size: 0.76rem;
  }

  .brand-motto {
    font-size: 0.56rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
