

:root {
  /* Colors */
  --primary-navy: #0f172a;
  --primary-navy-light: #1e293b;
  --accent-gold: #b45309;
  --accent-gold-hover: #d97706;
  --accent-red: #ef4444;
  --accent-red-dark: #b91c1c;
  
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  
  /* Shadows & Borders */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --border-radius: 12px;
  --border-color: #e2e8f0;
  
  /* Layout */
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* =========================================
   1. Branding Header
   ========================================= */
.branding-header {
  background-color: var(--surface-color);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid var(--primary-navy);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 101;
}
.branding-left, .branding-right { 
  width: 15%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.branding-left img, .branding-right img {
  transition: transform 0.3s ease;
}
.branding-left img:hover, .branding-right img:hover {
  transform: scale(1.05);
}
.branding-center { 
  width: 70%; 
  text-align: center; 
}
.branding-center h1 { 
  color: var(--primary-navy); 
  font-size: 28px; 
  font-weight: 800; 
  letter-spacing: -0.5px;
  margin-bottom: 5px; 
  background: linear-gradient(90deg, var(--primary-navy) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.branding-center h2 { 
  color: var(--accent-gold); 
  font-size: 16px; 
  font-weight: 500; 
  letter-spacing: 0.5px;
}

/* =========================================
   2. Primary Navigation
   ========================================= */
.main-nav {
  background-color: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: var(--max-width); 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
}
.mobile-menu-btn {
  display: none; 
  color: #fff; 
  padding: 15px 25px; 
  cursor: pointer; 
  font-weight: 600; 
  background-color: var(--primary-navy-light); 
  text-align: left; 
  font-size: 16px;
  transition: background-color 0.2s;
}
.mobile-menu-btn:hover {
  background-color: var(--accent-gold);
}
.nav-container > ul {
  display: flex; 
  flex-direction: row; 
  justify-content: center;
}
.nav-container > ul > li {
  position: relative;
}
.nav-container > ul > li > a {
  display: block; 
  padding: 16px 24px; 
  color: var(--text-light); 
  font-weight: 600; 
  font-size: 14px; 
  letter-spacing: 0.5px;
  position: relative;
}
/* Hover Underline Animation */
.nav-container > ul > li > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-container > ul > li > a:hover::after,
.nav-container > ul > li > a.active::after {
  width: 100%;
}
.nav-container > ul > li > a:hover { 
  background-color: rgba(255,255,255,0.05);
  color: #ffffff;
}
.nav-container > ul > li > a.active { 
  background-color: rgba(255,255,255,0.1); 
  color: var(--accent-gold); 
}

/* =========================================
   3. Flash News Marquee
   ========================================= */
.flash-news {
  background-color: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.flash-label {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  color: white;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 2;
}
.marquee-container {
  flex: 1;
  padding: 0 20px;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content { 
  font-size: 15px; 
  color: var(--primary-navy); 
  font-weight: 500; 
}

/* =========================================
   4. Hero Carousel
   ========================================= */
.hero-slider-wrapper { 
  width: 100%; 
  height: 550px; /* Restored professional height */
  position: relative; 
  overflow: hidden; 
  border-bottom: 5px solid var(--accent-gold); 
  background-color: var(--primary-navy); 
}
.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 5s linear;
}
.slide-image.active {
  opacity: 1;
  transform: scale(1.05); /* Restored cinematic zoom */
}

/* Professional Text Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  pointer-events: none; /* Let clicks pass through to slider if needed */
}
.hero-title {
  color: #ffffff;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 800px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease-out forwards;
}
.hero-subtitle {
  color: var(--accent-gold);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease-out 0.2s forwards;
  opacity: 0;
}
.hero-cta {
  pointer-events: auto;
  align-self: flex-start;
  background-color: var(--accent-gold);
  color: #000;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
  animation: fadeUp 1s ease-out 0.4s forwards;
  opacity: 0;
}
.hero-cta:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 20px -3px rgba(245, 158, 11, 0.4);
  color: #000;
}

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

/* =========================================
   5. Content Grid & Cards
   ========================================= */
.content-section {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}
.card-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.card-body { 
  padding: 24px; 
}

/* Generic Lists */
.news-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.news-list li:hover {
  transform: translateX(5px);
}
.news-list li:last-child { border-bottom: none; }
.news-date { 
  color: var(--accent-red); 
  font-weight: 600; 
  font-size: 12px; 
  display: block; 
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-list li a {
  color: var(--primary-navy);
  font-weight: 500;
}
.news-list li a:hover {
  color: var(--accent-gold);
}

/* =========================================
   6. About / Legal Container Styles
   ========================================= */
.about-container, .legal-container {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 48px;
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}
.about-container h1, .legal-container h1 {
  color: var(--primary-navy);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.about-container h1::after, .legal-container h1::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  bottom: -8px;
  left: 0;
  background-color: var(--accent-gold);
  border-radius: 2px;
}
.about-container p, .legal-container p {
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 16px;
  color: var(--text-main);
}
.about-container h3, .legal-container h2, .legal-container h3 {
  color: var(--primary-navy);
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
}
.about-container ul, .legal-container ul {
  margin-left: 24px;
  margin-bottom: 24px;
}
.about-container ul li, .legal-container ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
}
/* Custom Bullets */
.about-container ul li::marker, .legal-container ul li::marker {
  color: var(--accent-gold);
}

/* Register Box for Alumni Page */
.register-box {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  padding: 40px;
  border-radius: var(--border-radius);
  margin-top: 50px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.register-box h3 {
  color: var(--accent-gold);
  margin: 0 !important;
  font-size: 26px;
}
.register-box p {
  color: var(--text-light) !important;
  font-size: 16px;
  max-width: 600px;
  margin: 0 !important;
}
.register-box p strong {
  color: var(--accent-gold);
}
.register-btn {
  display: inline-block;
  background-color: var(--accent-gold);
  color: #000;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
}
.register-btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(245, 158, 11, 0.3);
  color: #000;
}

/* =========================================
   7. Footer
   ========================================= */
.footer {
  background-color: var(--primary-navy);
  color: var(--text-muted);
  padding: 60px 24px 0;
  margin-top: 80px;
}
.footer-container {
  max-width: var(--max-width); 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px;
  padding-bottom: 40px;
}
.footer h3 { 
  color: #ffffff; 
  margin-bottom: 24px; 
  font-size: 18px; 
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.footer h3::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  bottom: -8px;
  left: 0;
  background-color: var(--accent-gold);
}
.footer ul li { 
  margin-bottom: 12px; 
  font-size: 15px; 
}
.footer ul li a {
  color: #94a3b8;
}
.footer ul li a:hover { 
  color: var(--accent-gold); 
  padding-left: 5px;
}
.footer-bottom { 
  background-color: #020617; 
  color: #64748b; 
  padding: 20px 0; 
  text-align: center; 
  font-size: 13px; 
}

/* =========================================
   8. Responsive Design (Mobile)
   ========================================= */
@media (max-width: 768px) {
  .branding-header { flex-wrap: wrap; justify-content: space-between; padding: 15px; }
  .branding-left, .branding-right { width: 20%; display: flex !important; }
  .branding-left img, .branding-right img { height: 60px !important; }
  .branding-center { width: 100%; order: 3; margin-top: 15px; }
  .branding-center h1 { font-size: 20px; }
  .branding-center h2 { font-size: 13px; }
  
  .hero-slider-wrapper { height: 250px; }
  
  .hero-overlay { padding: 0 5%; }
  .hero-title { font-size: 24px; margin-bottom: 8px; line-height: 1.3; }
  .hero-subtitle { font-size: 14px; margin-bottom: 20px; }
  .hero-cta { padding: 10px 24px; font-size: 14px; }
  
  .mobile-menu-btn { display: block; }
  .nav-container > ul { 
    display: none; 
    flex-direction: column; 
    width: 100%; 
    background-color: var(--primary-navy);
  }
  .nav-container > ul.show { display: flex; }
  .nav-container > ul > li > a { 
    border: none !important; 
    border-bottom: 1px solid rgba(255,255,255,0.05) !important; 
    padding: 15px 25px;
  }
  .nav-container > ul > li > a::after { display: none; }
  
  .content-section { grid-template-columns: 1fr; margin: 30px auto; padding: 0 15px; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; }
  .about-container, .legal-container { padding: 24px; margin: 30px auto; }
}

/* =========================================
   8. Scroll Animations
   ========================================= */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-fade-up.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   9. Alumni Directory (Phase 2)
   ========================================= */
.alumni-directory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}
.alumni-search-input {
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.alumni-search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.alumni-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-top: 4px solid var(--accent-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alumni-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.alumni-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.alumni-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}
.alumni-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}
.alumni-detail {
  font-size: 0.9rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}

/* Flash news CSS animation */
.flash-news-scroll {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
.flash-news-content {
  display: inline-block;
  animation: scrollText 20s linear infinite;
}
@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
