/* ============================================================
   styling.css – OAUSTECH JUPEB Portal
   Shared styles for index.php, admission.php, contact-us.php
   ============================================================ */

/* ----- GLOBAL RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

a {
  transition: all 0.25s;
  text-decoration: none;
}

/* ----- UNIVERSITY COLORS (CSS variables) ----- */
:root {
  --primary-dark: #5e0404;
  --primary-medium: #a00505;
  --primary-orange: #e97911;
  --white: #fff;
  --grey: #6c757d;
  --black: #000;
}

/* ----- SITE WRAPPER – full width ----- */
.site-wrapper {
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
}

/* ----- NAVIGATION (full width, no radius/shadow) ----- */
.navbar-glass {
  background: rgba(94, 4, 4, 0.92);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  padding: 0.5rem 0;
  margin: 0;
  border: none;
  border-bottom: 2px solid rgba(233, 121, 17, 0.2);
  width: 100%;
}

.nav-inner {
  padding: 0 28px;
  max-width: 1440px;
  margin: 0 auto;
}

.navbar-glass .navbar-brand {
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  font-size: 1.2rem;
}

.navbar-glass .navbar-brand i {
  color: #e97911;
  margin-right: 8px;
}

.navbar-glass .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
  padding: 0.4rem 1.2rem !important;
  border-radius: 40px;
  transition: all 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
  background: rgba(233, 121, 17, 0.25);
  color: #fff !important;
  transform: scale(1.02);
}

.navbar-glass .nav-link i {
  margin-right: 6px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ----- HERO BANNER (full width, no radius/shadow) ----- */
.hero-banner {
  background: linear-gradient(145deg, #5e0404 0%, #a00505 60%, #7a0505 100%);
  padding: 3.2rem 0;
  margin: 0;
  border: none;
  border-bottom: 3px solid #e97911;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(233, 121, 17, 0.10), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02), transparent 50%);
  animation: shimmer 16s infinite alternate;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-2%, 2%) scale(1.05); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-banner > * {
  position: relative;
  z-index: 2;
}

.hero-inner {
  padding: 0 28px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-banner h1 {
  font-weight: 700;
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-banner h1 i {
  color: #e97911;
}

.hero-banner p {
  font-weight: 300;
  font-size: 1.15rem;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.8rem 0 1.2rem;
}

.hero-banner .sub-text {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: -0.2rem;
}

.hero-icon {
  font-size: 5rem;
  opacity: 0.06;
  color: #fff;
}

.btn-read-more {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border-radius: 60px;
  padding: 0.6rem 2.4rem;
  color: #fff;
  font-weight: 500;
  transition: all 0.25s;
  display: inline-block;
}

.btn-read-more:hover {
  background: rgba(233, 121, 17, 0.3);
  color: #fff;
  border-color: #e97911;
  transform: translateY(-2px);
}

.btn-read-more i {
  margin-left: 8px;
}

/* ----- CONTENT WRAPPER (inner sections) ----- */
.content-wrapper {
  padding: 2rem 28px 1rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* ----- SECTION CARDS (shared) ----- */
.section-card {
  background: #fff;
  border-radius: 36px;
  padding: 2.2rem 2.2rem 2.5rem;
  border: 1px solid rgba(94, 4, 4, 0.06);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  height: 100%;
}

.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -14px rgba(94, 4, 4, 0.15);
  border-color: rgba(233, 121, 17, 0.15);
}

.section-card .section-title {
  font-weight: 700;
  color: #5e0404;
  border-bottom: 3px solid #e97911;
  padding-bottom: 0.7rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.2px;
}

.section-card .section-title i {
  color: #e97911;
  margin-right: 12px;
}

/* ----- ABOUT JUPEB ----- */
.about-text {
  color: #444;
  font-weight: 400;
}

.about-list {
  padding-left: 1.2rem;
  list-style: none;
}

.about-list li {
  color: #333;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.about-list i {
  color: #e97911;
  width: 22px;
}

.about-stats {
  background: rgba(94, 4, 4, 0.02);
  border-radius: 30px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(94, 4, 4, 0.04);
}

.about-stats i {
  font-size: 2.8rem;
  color: #e97911;
  opacity: 0.6;
}

.about-stats p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #6c757d;
}

/* ----- ADMISSION SECTION ----- */
.admission-card {
  background: #fcfcfc;
}

.admission-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.admission-badge {
  background: rgba(94, 4, 4, 0.06);
  border: 1px solid rgba(94, 4, 4, 0.1);
  border-radius: 60px;
  padding: 0.4rem 1.4rem;
  display: inline-block;
  font-weight: 600;
  color: #5e0404;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.admission-badge i {
  color: #e97911;
  margin-right: 8px;
}

.session-text {
  color: #6c757d;
}

.admission-desc {
  color: #444;
  margin-top: 1.2rem;
  font-weight: 400;
}

/* ----- BUTTONS (shared) ----- */
.btn-apply {
  background: linear-gradient(135deg, #5e0404, #a00505);
  border: none;
  border-radius: 60px;
  padding: 0.8rem 3rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 20px -6px rgba(94, 4, 4, 0.3);
  transition: all 0.25s;
  letter-spacing: 0.3px;
  display: inline-block;
}

.btn-apply:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 28px -8px #5e0404;
  color: #fff;
  background: linear-gradient(135deg, #7a0505, #b80606);
}

.btn-apply i {
  margin-right: 10px;
}

.admission-calendar {
  background: rgba(94, 4, 4, 0.01);
  border-radius: 30px;
  padding: 1.6rem;
  border: 1px solid rgba(94, 4, 4, 0.04);
}

.admission-calendar i {
  font-size: 3.4rem;
  color: #e97911;
  opacity: 0.2;
}

.admission-calendar p {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.3rem;
}

/* ----- FOOTER ----- */
.footer-contact {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(94, 4, 4, 0.08);
  text-align: center;
  color: #6c757d;
  font-size: 0.85rem;
}

.footer-contact a {
  color: #5e0404;
  font-weight: 500;
}

.footer-contact a:hover {
  color: #e97911;
}

.footer-copy {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 0.3rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .hero-banner {
    padding: 2rem 0;
  }
  .hero-banner h1 {
    font-size: 2rem;
  }
  .hero-inner,
  .nav-inner,
  .content-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-banner h1 {
    font-size: 1.6rem;
  }
}