/* ===================================================================
   BIZAURA COLLEGE - MAIN STYLESHEET
   Global resets, layout containers, header, hero, footer, animations
   =================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-black);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background-color: var(--bg-canvas);
  color: var(--text-secondary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Lighting & Noise */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 36, 56, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(30, 34, 43, 0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: var(--text-xl); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-red-bright);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: #FFFFFF;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Sections */
.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-12) auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.9rem;
  background: var(--accent-red-subtle);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: var(--radius-full);
  color: var(--text-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red-pure);
  box-shadow: 0 0 8px var(--accent-red-pure);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.section-title {
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   TOP ANNOUNCEMENT BAR
   =================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #180304 0%, #2A080A 50%, #180304 100%);
  border-bottom: 1px solid rgba(229, 9, 20, 0.25);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.announcement-ticker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-tag {
  background: var(--accent-red-pure);
  color: #FFF;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.announcement-links a {
  color: var(--text-muted);
  font-size: var(--text-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.announcement-links a:hover {
  color: var(--accent-red-bright);
}

/* ===================================================================
   STICKY MAIN HEADER & NAVIGATION
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(9, 9, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gunmetal-border);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(5, 5, 7, 0.96);
  border-bottom-color: rgba(229, 9, 20, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-3);
}

/* Brand Logo Container */
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
  flex-shrink: 1;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08080B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.brand-logo:hover .logo-symbol {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.3);
}

.logo-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-title span.accent-red {
  color: var(--accent-red-bright);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red-pure);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gunmetal-border);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-surface-1);
  border-left: 1px solid var(--gunmetal-border);
  z-index: 2000;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-slow);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===================================================================
   HERO SECTION (DARK EDITORIAL & GEOMETRIC)
   =================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--announcement-height));
  display: flex;
  align-items: center;
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: var(--radius-full);
  color: #FFF;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-pill-badge {
  background: var(--accent-red-pure);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.hero-title {
  margin-bottom: var(--space-6);
  line-height: 1.12;
}

.hero-title span.text-highlight {
  color: var(--accent-red-bright);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

/* Hero Visual & 3D Logo Showcase */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-emblem-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-emblem-img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(229, 9, 20, 0.35)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
  z-index: 2;
  animation: floatLogo 4.5s ease-in-out infinite;
  transition: filter var(--transition-normal);
}

.hero-emblem-img:hover {
  filter: drop-shadow(0 20px 45px rgba(229, 9, 20, 0.6)) drop-shadow(0 35px 75px rgba(0, 0, 0, 0.9));
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 15px 30px rgba(229, 9, 20, 0.3)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.8));
  }
  50% {
    transform: translateY(-16px) scale(1.03);
    filter: drop-shadow(0 25px 45px rgba(229, 9, 20, 0.55)) drop-shadow(0 35px 70px rgba(0, 0, 0, 0.9));
  }
}

.hero-float-badge {
  position: absolute;
  padding: 0.6rem 1rem;
  background: rgba(18, 18, 25, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 3;
  animation: floatAnim 4s infinite ease-in-out;
}

.hero-float-badge.top-left {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-float-badge.bottom-right {
  bottom: 8%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-red-subtle);
  color: var(--accent-red-bright);
  font-size: 1.1rem;
}

.float-text h5 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #FFF;
}

.float-text p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ===================================================================
   TRUST STRIP & ACCREDITATION COUNTERS
   =================================================================== */
.trust-strip {
  background: var(--bg-surface-1);
  border-top: 1px solid var(--gunmetal-border);
  border-bottom: 1px solid var(--gunmetal-border);
  padding: var(--space-8) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.trust-stat-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid rgba(229, 9, 20, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.trust-stat-card:hover {
  transform: translateX(4px);
  border-left-color: var(--accent-red-bright);
}

.trust-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: var(--space-1);
}

.trust-num span.accent {
  color: var(--accent-red-bright);
}

.trust-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: #040406;
  border-top: 1px solid var(--gunmetal-border);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: var(--space-4) 0;
  max-width: 340px;
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-red-pure);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-newsletter p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
}

.footer-legal-links a {
  color: var(--text-dim);
}
.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-float-badge.top-left { left: 0; }
  .hero-float-badge.bottom-right { right: 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions .btn-secondary, .header-location-btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .header-actions {
    gap: var(--space-2);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .announcement-bar {
    display: none;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-float-badge {
    padding: 0.5rem 0.85rem;
    gap: var(--space-2);
  }
  .float-icon {
    width: 30px;
    height: 30px;
  }
  .float-text h5 {
    font-size: 12px;
  }
  .float-text p {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .logo-symbol {
    width: 38px;
    height: 38px;
  }
  .logo-title {
    font-size: 1.1rem;
    max-width: 46vw;
  }
  .logo-sub {
    max-width: 46vw;
  }
  .hero-float-badge.top-left {
    top: 4%;
  }
  .hero-float-badge.bottom-right {
    bottom: 4%;
  }
}
