/* ============================================================
   HERO.CSS
   Styles for: site banner, ticker, and hero section
   ============================================================ */

/* ── 1. SITE BANNER ──────────────────────────────────────── */
#siteBanner {
  background: var(--grad-blue);
  border-bottom: 4px solid var(--gold);
  padding: 1.4rem 2.5rem;
}

#siteBanner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
}

#siteBanner .banner-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  min-width: 0;
}

#siteBanner .banner-logo {
  width: 86px;
  height: 86px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
}

#siteBanner .banner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#siteBanner .banner-text-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

#siteBanner .banner-college {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

#siteBanner .banner-dept-box {
  background: var(--gold);
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.42rem 1.4rem;
  border-radius: 5px;
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(245, 184, 0, 0.3);
  align-self: flex-start;
}

#siteBanner .banner-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin-left: auto;
}

#siteBanner .naac-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: rgba(245, 184, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}

#siteBanner .naac-circle .naac-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#siteBanner .naac-circle .naac-grade {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

#siteBanner .naac-circle .naac-plus {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: -0.1rem;
}

#siteBanner .badge-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

/* ── 2. TICKER ───────────────────────────────────────────── */
.ticker-wrap {
  background: var(--gold);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
}

.ticker-label {
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-content {
  display: inline-block;
  animation: ticker-scroll 38s linear infinite;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  padding-left: 2rem;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ── 3. HERO SECTION ─────────────────────────────────────── */
.hero-section {
  background: var(--grad-hero);
  min-height: 96vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-badge {
  background: rgba(245, 184, 0, 0.15);
  border: 1px solid rgba(245, 184, 0, 0.4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  color: var(--white);
  line-height: 1.1;
  font-weight: 900;
}

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

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  text-align: center;
}

.hero-stat-card .num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}

.hero-stat-card .lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── 4. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }

  #siteBanner {
    padding: 1rem 1rem;
  }

  #siteBanner .banner-logo {
    width: 58px;
    height: 58px;
    font-size: 1rem;
  }

  #siteBanner .banner-left {
    gap: 0.8rem;
  }

  #siteBanner .naac-circle {
    width: 54px;
    height: 54px;
  }

  #siteBanner .naac-circle .naac-grade {
    font-size: 1rem;
  }
}
