/*****************************************
  SUPER COOL UMBC RUGBY LOADING SCREEN
******************************************/
.umbc-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(ellipse at center, #000000 0%, #1a1a1a 35%, #ffb81c 70%, #000000 100%);
  background-size: 200% 200%;
  animation: epicBackgroundShift 4s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.umbc-loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
}

@keyframes epicBackgroundShift {
  0%, 100% { 
    background-position: 0% 50%; 
    filter: brightness(1) contrast(1);
  }
  50% { 
    background-position: 100% 50%; 
    filter: brightness(1.2) contrast(1.1);
  }
}

.loading-content {
  text-align: center;
  color: white;
  position: relative;
  max-width: 700px;
  padding: 60px;
  transform: translateY(-20px);
}

.loading-logo {
  width: 280px;
  height: auto;
  margin-bottom: 50px;
  filter: drop-shadow(0 0 40px rgba(255, 184, 28, 0.9));
  animation: epicLogoAnimation 3s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes epicLogoAnimation {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 40px rgba(255, 184, 28, 0.9));
  }
  25% { 
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 60px rgba(255, 184, 28, 1));
  }
  50% { 
    transform: scale(1.2) rotate(0deg);
    filter: drop-shadow(0 0 80px rgba(255, 184, 28, 1));
  }
  75% { 
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 60px rgba(255, 184, 28, 1));
  }
}

.loading-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #ffffff, #ffb81c, #ffd700, #ffffff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: epicTitleGlow 3s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(255, 184, 28, 0.5);
}

@keyframes epicTitleGlow {
  0%, 100% { 
    background-position: 0% 50%; 
    transform: scale(1);
  }
  50% { 
    background-position: 100% 50%;
    transform: scale(1.05);
  }
}

.loading-subtitle {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.95);
  animation: epicSubtitlePulse 2.5s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

@keyframes epicSubtitlePulse {
  0%, 100% { 
    opacity: 0.8; 
    transform: translateY(0) scale(1);
  }
  50% { 
    opacity: 1; 
    transform: translateY(-8px) scale(1.02);
  }
}

.rugby-field-progress {
  width: 600px;
  height: 140px;
  background: linear-gradient(90deg, #1a5f1a 0%, #2d8f2d 30%, #4a7c23 50%, #2d8f2d 70%, #1a5f1a 100%);
  border-radius: 70px;
  position: relative;
  margin: 40px auto;
  border: 6px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 184, 28, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.field-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.yard-line {
  width: 2px;
  height: 80%;
  background: white;
  opacity: 0.7;
  animation: lineGlow 3s ease-in-out infinite;
}

.yard-line.center {
  width: 4px;
  background: #ffb81c;
  opacity: 1;
  box-shadow: 0 0 15px rgba(255, 184, 28, 0.8);
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
}

.rugby-ball {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 40px;
  height: 25px;
  background: #8B4513;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: translateY(-50%);
  transition: left 0.3s ease-out;
  z-index: 2;
  animation: ballBounce 1s ease-in-out infinite;
}

.rugby-ball::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 70%;
  background: white;
  transform: translate(-50%, -50%);
}

.rugby-ball::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: white;
}

@keyframes ballBounce {
  0%, 100% { transform: translateY(-50%) scale(1) rotate(0deg); }
  50% { transform: translateY(-60%) scale(1.1) rotate(180deg); }
}

.progress-percentage {
  font-size: 2rem;
  font-weight: 900;
  color: #ffb81c;
  margin-top: 30px;
  text-shadow: 0 0 20px rgba(255, 184, 28, 0.8);
  animation: percentageFlicker 1.5s ease-in-out infinite;
}

@keyframes percentageFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.loading-status {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  min-height: 30px;
  animation: statusFade 0.5s ease-in-out;
}

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

body.loading {
  overflow: hidden;
}

/*****************************************
  ENHANCED ALUMNI PAGE STYLES
******************************************/
.alumni-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.alumni-hero .hero-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.1);
  filter: brightness(0.65) contrast(1.2) saturate(1.1);
  transition: all 10s ease;
}

.alumni-hero:hover .hero-bg-image {
  transform: translate(-50%, -50%) scale(1.15);
  filter: brightness(0.75) contrast(1.3) saturate(1.2);
}

.alumni-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

.alumni-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 40px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  padding: 8px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 25px;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  line-height: 1.1;
}

.title-word {
  display: inline-block;
  margin: 0 15px;
  transform: translateY(30px);
  opacity: 0;
  animation: wordSlideUp 0.8s ease-out forwards;
}

.title-word.golden {
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wordSlideUp 0.8s ease-out forwards, titleShimmer 3s ease-in-out infinite;
}

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

@keyframes titleShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 184, 28, 0.5)); }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel-scroll 2s infinite;
}

@keyframes wheel-scroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Enhanced Gallery Styles */
.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.03) 0%, transparent 70%);
  animation: galleryGlow 20s linear infinite;
}

@keyframes galleryGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.gallery-header .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
}

.title-accent {
  color: var(--umbc-gold);
  position: relative;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  animation: accentPulse 2s ease-in-out infinite;
}

@keyframes accentPulse {
  0%, 100% { opacity: 0.7; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.1); }
}

.title-main {
  color: var(--text-dark);
  margin-left: 20px;
}

.gallery-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.gallery-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 350px;
  margin: 0 15px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.gallery-slide:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.slide-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.slide-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-slide:hover .slide-wrapper img {
  transform: scale(1.1);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 25px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-slide:hover .slide-overlay {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--umbc-gold);
}

.slide-content p {
  font-size: 1rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.slide-year {
  font-size: 0.9rem;
  color: var(--umbc-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.gallery-nav:hover {
  background: var(--umbc-gold);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.3);
}

.gallery-nav.prev {
  left: -30px;
}

.gallery-nav.next {
  right: -30px;
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: var(--umbc-gold);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 184, 28, 0.5);
}

/* Enhanced Timeline Navigation */
.timeline-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-progress {
  width: 2px;
  height: 200px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.timeline-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--umbc-gold), var(--umbc-gold-light));
  transition: height 0.3s ease;
}

.timeline-dots {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 0;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--umbc-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.3s ease;
}

.timeline-dot.active,
.timeline-dot:hover {
  background: var(--umbc-gold);
  transform: scale(1.2);
}

.timeline-dot.active::before,
.timeline-dot:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Enhanced Alumni Intro Section */
.alumni-intro {
  padding: 100px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.section-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.deco-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
}

.deco-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--umbc-gold);
  margin: 0 20px;
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
  animation: circleGlow 2s ease-in-out infinite;
}

@keyframes circleGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 184, 28, 0.5); }
  50% { box-shadow: 0 0 30px rgba(255, 184, 28, 0.8); }
}

/* Removed typewriter-section */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.lead-text {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 50px;
  font-style: italic;
}

.history-timeline {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  min-width: 180px;
}

.timeline-item:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 184, 28, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.timeline-item .year {
  font-size: 2rem;
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 184, 28, 0.3);
}

.timeline-item .event {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.timeline-glow.active,
.timeline-item:hover .timeline-glow {
  opacity: 0.3;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.story-text {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 40px;
}

/* Enhanced Back to Top Button */
.alumni-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
}

.alumni-back-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 20px 50px rgba(255, 184, 28, 0.5);
}

.arrow-up {
  animation: arrowBounce 2s ease-in-out infinite;
}

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

/* =====================================
   CONSOLIDATED HERO MOBILE STYLES
   ===================================== */

/* Mobile Hero Base Styles - Tablet */
@media (max-width: 768px) {
  /* Remove any body/main spacing that could cause white space */
  body {
    margin: 0;
    padding: 0;
  }
  
  main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* All Hero Sections - Base Mobile Styles */
  #hero-header,
  .alumni-hero,
  .recruitment-hero,
  #hero-header.recruitment-hero,
  .faq-hero {
    height: 100vh;
    min-height: 500px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    top: 0;
  }

  /* All Hero Content Containers */
  .hero-content,
  .alumni-hero .hero-content,
  .recruitment-hero .hero-content,
  #hero-header .hero-content,
  .faq-hero-content {
    padding: 0 20px;
    max-width: 100%;
    margin-top: 0;
  }

  /* All Hero Logos */
  .hero-logo,
  .alumni-hero .hero-logo,
  #hero-header.recruitment-hero .hero-logo {
    width: 160px;
    margin-bottom: 1.5rem;
  }

  /* All Hero Titles */
  .hero-title,
  .alumni-hero .hero-title,
  #hero-header.recruitment-hero .hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
    margin: 20px 0 !important;
    line-height: 1.1 !important;
  }

  /* All Hero Subtitles */
  .hero-subtitle,
  .animated-subtitle,
  .alumni-hero .hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.8rem) !important;
    margin-bottom: 15px !important;
  }

  /* All Hero Descriptions/Paragraphs */
  .hero-description,
  .animated-description,
  #hero-header.recruitment-hero .hero-content p {
    font-size: clamp(1rem, 3vw, 1.4rem) !important;
    margin-bottom: 30px !important;
  }

  /* All Hero Badges */
  .hero-badge,
  .faq-hero-badge {
    font-size: 0.9rem !important;
    padding: 10px 25px !important;
    margin-bottom: 25px !important;
  }

  /* All Hero CTA Buttons */
  .cta-button,
  #hero-header .cta-button,
  .recruitment-hero .cta-button {
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
    margin-top: 15px !important;
  }
  
  .title-word {
    margin: 0 5px;
    display: block;
  }
  
  .gallery-container {
    padding: 0 20px;
  }
  
  .gallery-slide {
    min-width: 280px;
    margin: 0 10px;
  }
  
  .gallery-nav {
    width: 50px;
    height: 50px;
  }
  
  .gallery-nav.prev {
    left: -25px;
  }
  
  .gallery-nav.next {
    right: -25px;
  }
  
  .timeline-nav {
    display: none;
  }
  
  .history-timeline {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .alumni-intro {
    padding: 60px 20px;
  }
}

/*****************************************
  ENHANCED RECRUITMENT PAGE STYLES
******************************************/
section.recruitment-form-section {
  padding: 60px 30px !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(0, 0, 0, 0.95) 100%) !important;
  backdrop-filter: blur(20px) !important;
  position: relative;
  overflow: hidden;
  max-width: 900px !important;
  margin: 60px auto !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 184, 28, 0.1) !important;
  z-index: 50;
  border: 2px solid rgba(255, 184, 28, 0.2) !important;
}

section.recruitment-form-section::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: -50% !important;
  width: 200% !important;
  height: 200% !important;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 70%) !important;
  animation: recruitmentGlow 15s linear infinite !important;
  z-index: -1 !important;
}

@keyframes recruitmentGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.1); }
}

.recruitment-form-section h2 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  color: var(--umbc-gold) !important;
  text-shadow: 0 4px 20px rgba(255, 184, 28, 0.6);
  position: relative;
  z-index: 100;
  letter-spacing: -0.5px;
}

.recruitment-form-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {
  0%, 100% { width: 80px; opacity: 0.7; }
  50% { width: 120px; opacity: 1; }
}

.recruitment-form-section p {
  text-align: center;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 40px;
  position: relative;
  z-index: 100;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#recruitment-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid rgba(255, 184, 28, 0.2);
  position: relative;
  z-index: 100;
  transition: all 0.3s ease;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#recruitment-form:hover {
  border-color: rgba(255, 184, 28, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-row {
  margin-bottom: 25px;
  position: relative;
}

.form-row label {
  display: block;
  font-weight: 600;
  color: var(--umbc-black);
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--umbc-gold);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(255, 184, 28, 0.15);
  transform: translateY(-1px);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Montserrat', sans-serif;
}

#recruitment-form button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  padding: 18px 40px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.3);
  margin-top: 20px;
}

#recruitment-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

#recruitment-form button[type="submit"]:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 60px rgba(255, 184, 28, 0.5);
  letter-spacing: 3px;
}

#recruitment-form button[type="submit"]:hover::before {
  left: 100%;
}

#recruitment-form button[type="submit"]:active {
  transform: translateY(-2px) scale(1.01);
}

.success-message {
  display: none;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 30px;
  animation: successSlideIn 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

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

.success-message::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: successGlow 3s ease-in-out infinite;
}

@keyframes successGlow {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

.success-message h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.success-message p {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  margin: 0;
}

/* Enhanced Contact Info Section */
section.contact-info-section {
  padding: 60px 30px !important;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.95) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(45, 45, 45, 0.95) 100%) !important;
  backdrop-filter: blur(20px) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 184, 28, 0.2) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 184, 28, 0.1) !important;
  z-index: 50;
  max-width: 900px !important;
  margin: 40px auto !important;
  border-radius: 20px !important;
}

section.contact-info-section::before {
  content: '' !important;
  position: absolute !important;
  top: -100px !important;
  right: -100px !important;
  width: 300px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.15) 0%, transparent 70%) !important;
  filter: blur(80px) !important;
  animation: contactGlow 12s linear infinite !important;
  z-index: -1 !important;
}

@keyframes contactGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.2); }
}

.contact-info-section h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  color: var(--umbc-gold) !important;
  text-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
  position: relative;
  z-index: 100;
}

.contact-info-section p {
  text-align: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 60px;
  position: relative;
  z-index: 100;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

.contact-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 184, 28, 0.25);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 25px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.contact-card:hover::before {
  opacity: 0.5;
}

.contact-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 184, 28, 0.3);
}

.contact-icon {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--umbc-gold);
  background: rgba(255, 184, 28, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border: 2px solid rgba(255, 184, 28, 0.3);
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: var(--umbc-gold);
  color: var(--umbc-black);
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 0 30px rgba(255, 184, 28, 0.5);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--umbc-gold) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive Design for Recruitment Page */
@media (max-width: 768px) {
  section.recruitment-form-section {
    margin: 20px 15px !important;
    padding: 40px 20px !important;
    border-radius: 16px !important;
  }
  
  .recruitment-form-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }
  
  .recruitment-form-section p {
    font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
    margin-bottom: 30px !important;
  }
  
  #recruitment-form {
    padding: 25px 20px !important;
    border-radius: 12px !important;
  }
  
  .form-row input,
  .form-row textarea,
  .form-row select {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }
  
  .form-row label {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }
  
  #recruitment-form button[type="submit"] {
    padding: 14px 25px !important;
    font-size: 1rem !important;
  }
  
  section.contact-info-section {
    margin: 20px 15px !important;
    padding: 40px 20px !important;
    border-radius: 16px !important;
  }
  
  .contact-info-section h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
  }
  
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .contact-card {
    padding: 25px 20px !important;
    border-radius: 12px !important;
  }
  
  .contact-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  section.recruitment-form-section {
    margin: 15px 10px !important;
    padding: 30px 15px !important;
  }
  
  #recruitment-form {
    padding: 20px 15px !important;
  }
  
  section.contact-info-section {
    margin: 15px 10px !important;
    padding: 30px 15px !important;
  }
  
  .contact-card {
    padding: 20px 15px !important;
  }
}

/*****************************************
  ENHANCED RUGBY-READY PAGE STYLES
******************************************/
.info-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 25px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.04) 0%, transparent 70%);
  animation: infoSectionGlow 20s linear infinite;
}

@keyframes infoSectionGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.1); }
}

.info-section .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.info-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  animation: titleUnderlineGlow 2s ease-in-out infinite;
}

@keyframes titleUnderlineGlow {
  0%, 100% { 
    width: 100px; 
    opacity: 0.7; 
    box-shadow: 0 0 10px rgba(255, 184, 28, 0.3);
  }
  50% { 
    width: 150px; 
    opacity: 1; 
    box-shadow: 0 0 20px rgba(255, 184, 28, 0.6);
  }
}

.info-section > p {
  font-size: 1.3rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.content-grid > div {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 35px 30px;
  border-radius: 20px;
  border: 2px solid rgba(255, 184, 28, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.content-grid > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.content-grid > div:hover::before {
  transform: scaleX(1);
}

.content-grid > div:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 184, 28, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.content-grid h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--umbc-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.content-grid h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--umbc-gold);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.content-grid > div:hover h3::after {
  width: 80px;
}

.content-grid p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.1rem;
  margin: 0;
}

.content-grid ul {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.1rem;
  margin: 20px 0 0 0;
  padding-left: 0;
}

.content-grid li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  list-style: none;
}

.content-grid li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: var(--umbc-gold);
  font-weight: bold;
  animation: iconBounce 2s ease-in-out infinite;
}

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

/* Enhanced Resources Section */
#resources {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: white;
  position: relative;
}

#resources::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  animation: resourcesGlow 15s linear infinite;
}

@keyframes resourcesGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.2); }
}

#resources .section-title {
  background: linear-gradient(135deg, #ffffff, var(--umbc-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#resources > p {
  color: rgba(255, 255, 255, 0.8);
}

#resources ul {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

#resources li {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 25px 30px;
  transition: all 0.4s ease;
  list-style: none;
  position: relative;
  overflow: hidden;
}

#resources li::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

#resources li:hover::before {
  opacity: 0.3;
}

#resources li:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 184, 28, 0.3);
}

#resources a {
  color: var(--umbc-gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

#resources a::before {
  content: '🔗';
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

#resources a:hover {
  color: var(--umbc-gold-light);
  transform: translateX(10px);
}

#resources a:hover::before {
  transform: scale(1.2) rotate(15deg);
}

/* Enhanced Rugby IQ Section */
#rugby-iq {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

#rugby-iq::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.03) 0%, transparent 70%);
  animation: rugbyIqGlow 25s linear infinite;
}

@keyframes rugbyIqGlow {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.1); }
}

/* Enhanced Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
  animation: backToTopPulse 3s ease-in-out infinite;
}

@keyframes backToTopPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 15px 40px rgba(255, 184, 28, 0.5);
  }
}

#back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 20px 50px rgba(255, 184, 28, 0.6);
  animation: none;
}

/* Rugby Preparation Section Enhancements */
#rugby-preparation {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

#rugby-preparation .content-grid > div:nth-child(1) {
  border-left: 4px solid #e74c3c;
}

#rugby-preparation .content-grid > div:nth-child(2) {
  border-left: 4px solid #3498db;
}

#rugby-preparation .content-grid > div:nth-child(3) {
  border-left: 4px solid #27ae60;
}

#rugby-preparation .content-grid > div:nth-child(4) {
  border-left: 4px solid #9b59b6;
}

#rugby-preparation .content-grid > div:nth-child(5) {
  border-left: 4px solid var(--umbc-gold);
}

/* Responsive Design for Rugby-Ready Page */
@media (max-width: 768px) {
  .info-section {
    margin: 20px;
    padding: 60px 20px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .content-grid > div {
    padding: 25px 20px;
  }
  
  #resources li {
    padding: 20px 25px;
  }
  
  #resources a {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .info-section .section-title {
    font-size: 2rem;
  }
  
  .content-grid h3 {
    font-size: 1.5rem;
  }
  
  .content-grid p,
  .content-grid li {
    font-size: 1rem;
  }
}

/*****************************************
  ENHANCED ROSTER PAGE STYLES
******************************************/
/* Enhanced Roster Hero Styles */
.roster-hero,
#hero-header {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#hero-header #header-image,
#hero-header.recruitment-hero .header-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.1);
  filter: brightness(0.65) contrast(1.2);
  transition: all 8s ease;
  z-index: -2;
}

#hero-header:hover #header-image,
#hero-header:hover .header-image {
  transform: translate(-50%, -50%) scale(1.15);
  filter: brightness(0.5) contrast(1.3);
}

#hero-header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: -1;
}

#hero-header .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 40px;
  animation: heroContentSlideUp 1.5s ease-out;
}

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

#hero-header .hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 30px rgba(255, 184, 28, 0.8));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

#hero-header .hero-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 25px;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, var(--umbc-gold) 30%, #ffffff 60%, var(--umbc-gold) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTitleShimmer 4s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

@keyframes heroTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#hero-header .hero-content p {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 40px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced CTA Button for Hero */
#hero-header .cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.3);
  margin-top: 20px;
}

#hero-header .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

#hero-header .cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 25px 60px rgba(255, 184, 28, 0.5);
  letter-spacing: 3px;
}

#hero-header .cta-button:hover::before {
  left: 100%;
}

/* Enhanced View Controls */
.controls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  border: 2px solid rgba(255, 184, 28, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.controls-container:hover {
  border-color: rgba(255, 184, 28, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.view-controls {
  display: flex;
  gap: 10px;
}

.view-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 184, 28, 0.2);
  color: var(--text-dark);
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.view-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.2), transparent);
  transition: left 0.4s ease;
}

.view-btn:hover::before {
  left: 100%;
}

.view-btn:hover {
  background: rgba(255, 184, 28, 0.1);
  border-color: var(--umbc-gold);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 184, 28, 0.3);
}

.view-btn.active {
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  border-color: var(--umbc-gold);
  box-shadow: 0 10px 25px rgba(255, 184, 28, 0.4);
  transform: translateY(-2px);
}

.view-btn.active:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 184, 28, 0.5);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#sortSelect {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 184, 28, 0.2);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

#sortSelect:hover,
#sortSelect:focus {
  border-color: var(--umbc-gold);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 15px rgba(255, 184, 28, 0.2);
}

/* Enhanced Roster Items */
.roster-list {
  display: grid;
  gap: 20px;
  transition: all 0.4s ease;
}

.roster-list.list-view {
  grid-template-columns: 1fr;
}

.roster-list.card-view {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.roster-list.table-view {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.roster-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  border: 2px solid rgba(255, 184, 28, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.roster-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.roster-item:hover::before {
  transform: scaleX(1);
}

.roster-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 184, 28, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.roster-summary {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.roster-summary h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--umbc-gold);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roster-summary p {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 1rem;
}

.roster-summary strong {
  color: var(--text-dark);
  font-weight: 700;
}

.roster-details {
  padding: 0 25px 25px;
  border-top: 1px solid rgba(255, 184, 28, 0.2);
  margin-top: 15px;
  background: rgba(248, 249, 250, 0.5);
}

.roster-details p {
  margin-bottom: 10px;
  color: var(--text-light);
  line-height: 1.6;
}

.roster-details strong {
  color: var(--umbc-gold);
  font-weight: 700;
}

/* Card View Specific Styles */
.roster-list.card-view .roster-item {
  height: fit-content;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.roster-list.card-view .roster-summary {
  flex-grow: 1;
}

/* Table View Specific Styles */
.roster-list.table-view .roster-item {
  display: table-row;
  background: transparent;
  border: none;
  border-radius: 0;
}

.roster-list.table-view .roster-item:nth-child(even) {
  background: rgba(248, 249, 250, 0.5);
}

.roster-list.table-view .roster-item:hover {
  background: rgba(255, 184, 28, 0.1);
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.roster-list.table-view .roster-summary {
  display: table-cell;
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 184, 28, 0.1);
}

.roster-list.table-view .roster-details {
  display: none;
}

/* Responsive Design for Roster Page */
@media (max-width: 768px) {
  .controls-container {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }
  
  .view-controls {
    width: 100%;
    justify-content: center;
  }
  
  .view-btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .sort-controls {
    width: 100%;
    justify-content: center;
  }
  
  .roster-list.card-view {
    grid-template-columns: 1fr;
  }
  
  #hero-header .hero-content {
    padding: 0 20px;
  }
  
  #hero-header .hero-logo {
    width: 150px;
  }
}

/* Mobile Hero Base Styles - Phone */
@media (max-width: 480px) {
  /* All Hero Sections - Small Mobile Styles */
  #hero-header,
  .alumni-hero,
  .recruitment-hero,
  #hero-header.recruitment-hero,
  .faq-hero {
    height: 100vh;
    min-height: 450px;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* All Hero Logos - Smaller */
  .hero-logo,
  .alumni-hero .hero-logo,
  #hero-header.recruitment-hero .hero-logo {
    width: 140px;
    margin-bottom: 1rem;
  }

  /* All Hero Titles - Smaller */
  .hero-title,
  .alumni-hero .hero-title,
  #hero-header.recruitment-hero .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.5rem) !important;
    margin: 15px 0 !important;
  }

  /* All Hero Subtitles - Smaller */
  .hero-subtitle,
  .animated-subtitle,
  .alumni-hero .hero-subtitle {
    font-size: clamp(1rem, 5vw, 1.5rem) !important;
    margin-bottom: 12px !important;
  }

  /* All Hero Descriptions - Smaller */
  .hero-description,
  .animated-description,
  #hero-header.recruitment-hero .hero-content p {
    font-size: clamp(0.9rem, 4vw, 1.2rem) !important;
    margin-bottom: 25px !important;
  }

  /* All Hero Badges - Smaller */
  .hero-badge,
  .faq-hero-badge {
    font-size: 0.8rem !important;
    padding: 8px 20px !important;
    margin-bottom: 20px !important;
  }

  /* All Hero CTA Buttons - Smaller */
  .cta-button,
  #hero-header .cta-button,
  .recruitment-hero .cta-button {
    padding: 12px 25px !important;
    font-size: 1rem !important;
    letter-spacing: 1px !important;
  }

  /* Roster Page Specific Styles */
  .view-btn {
    padding: 8px 12px;
    font-size: 0.7rem;
  }
  
  .roster-summary {
    padding: 20px;
  }
  
  .roster-summary h3 {
    font-size: 1.3rem;
  }
}

/*****************************************
  ENHANCED RECRUITMENT PAGE HERO STYLES
******************************************/
/* Recruitment Page Specific Hero Enhancements */
.recruitment-hero #hero-header,
#hero-header.recruitment-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

/* Enhanced background image handling for recruitment */
#hero-header.recruitment-hero .header-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate(-50%, -50%);
  filter: brightness(0.4) contrast(1.2) saturate(1.0);
  transition: all 8s ease;
  z-index: -2;
}

#hero-header.recruitment-hero:hover .header-image {
  transform: translate(-50%, -50%) scale(1.05);
  filter: brightness(0.5) contrast(1.3) saturate(1.1);
}

/* Enhanced overlay for recruitment page */
#hero-header.recruitment-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.7) 100%),
    linear-gradient(135deg, rgba(255, 184, 28, 0.1) 0%, transparent 50%, rgba(255, 184, 28, 0.05) 100%);
  z-index: -1;
}

/* Enhanced recruitment hero content */
#hero-header.recruitment-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 40px;
  animation: recruitmentHeroSlideUp 2s ease-out;
}

@keyframes recruitmentHeroSlideUp {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    filter: blur(5px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(20px) scale(0.95);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Enhanced recruitment logo */
#hero-header.recruitment-hero .hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 40px rgba(255, 184, 28, 0.9)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  animation: recruitmentLogoFloat 5s ease-in-out infinite, recruitmentLogoGlow 3s ease-in-out infinite alternate;
}

@keyframes recruitmentLogoFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1); 
  }
  25% { 
    transform: translateY(-25px) rotate(2deg) scale(1.05); 
  }
  50% { 
    transform: translateY(-20px) rotate(0deg) scale(1.08); 
  }
  75% { 
    transform: translateY(-30px) rotate(-2deg) scale(1.05); 
  }
}

@keyframes recruitmentLogoGlow {
  from { 
    filter: drop-shadow(0 0 40px rgba(255, 184, 28, 0.9)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)); 
  }
  to { 
    filter: drop-shadow(0 0 60px rgba(255, 184, 28, 1)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.9)); 
  }
}

/* Enhanced recruitment title */
#hero-header.recruitment-hero .hero-content h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  margin: 30px 0 25px;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  background: linear-gradient(135deg, #fff 0%, var(--umbc-gold) 25%, #fff 50%, var(--umbc-gold) 75%, #fff 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: recruitmentTitleShimmer 6s ease-in-out infinite, recruitmentTitleFloat 8s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

@keyframes recruitmentTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes recruitmentTitleFloat {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  33% { transform: translateY(-15px) rotateX(3deg); }
  66% { transform: translateY(-10px) rotateX(-3deg); }
}

/* Enhanced recruitment subtitle */
#hero-header.recruitment-hero .hero-content p {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  margin-bottom: 50px;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  animation: recruitmentSubtitleGlow 5s ease-in-out infinite alternate;
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#hero-header.recruitment-hero .hero-content p::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  border-radius: 2px;
  animation: subtitleUnderline 3s ease-in-out infinite;
}

@keyframes recruitmentSubtitleGlow {
  from { 
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.9); 
    color: rgba(255, 255, 255, 0.95);
  }
  to { 
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 184, 28, 0.7); 
    color: rgba(255, 255, 255, 1);
  }
}

@keyframes subtitleUnderline {
  0%, 100% { width: 80px; opacity: 0.7; }
  50% { width: 120px; opacity: 1; }
}

/* Enhanced CTA button for recruitment */
#hero-header.recruitment-hero .cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  padding: 20px 50px;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 20px 50px rgba(255, 184, 28, 0.4);
  margin-top: 30px;
  border: 3px solid transparent;
}

#hero-header.recruitment-hero .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.8s ease;
}

#hero-header.recruitment-hero .cta-button::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--umbc-gold), var(--umbc-gold-light), var(--umbc-gold));
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: ctaBorderGlow 3s ease-in-out infinite;
}

@keyframes ctaBorderGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.6; }
}

#hero-header.recruitment-hero .cta-button:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 30px 70px rgba(255, 184, 28, 0.6);
  letter-spacing: 4px;
  border-color: rgba(255, 255, 255, 0.3);
}

#hero-header.recruitment-hero .cta-button:hover::before {
  left: 100%;
}

#hero-header.recruitment-hero .cta-button:hover::after {
  opacity: 0.8;
}

/* Floating particles effect for recruitment page */
#hero-header.recruitment-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 184, 28, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 184, 28, 0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 150px;
  animation: floatingParticles 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes floatingParticles {
  0% { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-100vh) translateX(50px); }
}

/* Responsive design for recruitment hero */
@media (max-width: 768px) {
  #hero-header.recruitment-hero .hero-content {
    padding: 0 20px;
  }
  
  #hero-header.recruitment-hero .hero-logo {
    width: 160px;
    margin-bottom: 30px;
  }
  
  #hero-header.recruitment-hero .cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  #hero-header.recruitment-hero .hero-content h1 {
    font-size: 2.5rem;
    margin: 20px 0 15px;
  }
  
  #hero-header.recruitment-hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  
  #hero-header.recruitment-hero .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

/*****************************************
  ROOT VARIABLES & GLOBAL STYLES
******************************************/
:root {
  --umbc-gold: #ffb81c;
  --umbc-gold-light: #ffd65a;
  --umbc-gold-dark: #e6a000;
  --umbc-black: #000000;
  --umbc-white: #ffffff;
  --umbc-grey: #f7f7f7;
  --umbc-dark-grey: #333333;
  --text-light: #666666;
  --text-darker: #2c2c2c;
  --hero-bg: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.65)
  );
  --section-padding: 100px 40px;
  --border-radius: 25px;
  --border-radius-lg: 40px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease-out;
  --shadow-soft: 0 10px 50px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  --gradient-surface: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-text: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  
  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f7f7f7;
  --text-primary: #2c2c2c;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
}




















/* ========================================
   COMPREHENSIVE DARK MODE FOR ALL SECTIONS
   ======================================== */

/* Info Sections */




/* About Section */


/* Gallery Section */




/* Content Grid */




/* Roster Section */





/* Coaches Section */


/* Rugby Ready Sections */




/* Transparent Sections */

/* Image Carousel */


/* Testimonials */




/* Instagram Feed */

/* Scrolling Player Section */

/* Alumni Specific Sections */










/* Timeline Navigation */



/* Forms and Interactive Elements */











/* Map Section */


/* Footer */



/* Navigation */




/* Back to Top Button */


/* Utility Classes for Light Mode */



/* Comprehensive Light Mode Styles */









/* Light mode schedule section */





/* Light mode practice location styling */
















/*========================================
  ENHANCED ALUMNI PAGE STYLES
=========================================*/

/* Remove debug styles from animated text container */
.hero-animated-text {
  position: relative !important;
  z-index: 4 !important;
  margin-top: 20px !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  /* Remove debug styles */
  min-height: auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Enhanced Alumni Hero Section */
.alumni-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  overflow: hidden;
}

.alumni-hero .hero-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.1);
  filter: brightness(0.7) contrast(1.3) saturate(1.2);
  transition: all 20s ease-in-out;
  z-index: 1;
}

.alumni-hero:hover .hero-bg-image {
  transform: translate(-50%, -50%) scale(1.15);
  filter: brightness(0.8) contrast(1.4) saturate(1.3);
}

.alumni-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(255, 184, 28, 0.1) 30%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(255, 184, 28, 0.15) 100%
  );
  z-index: 2;
}

.alumni-hero .hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 28, 0.2);
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 25px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 184, 28, 0.6);
  }
}

.title-word {
  display: inline-block;
  margin: 0 10px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.title-word.golden {
  color: var(--umbc-gold);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 184, 28, 0.5);
}

.title-word:hover {
  transform: scale(1.1) rotateY(10deg);
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 184, 28, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--umbc-white);
  animation: bounceIndicator 2s ease-in-out infinite;
}

.mouse {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid var(--umbc-gold);
  border-radius: 15px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--umbc-gold);
  border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 0; top: 8px; }
  50% { opacity: 1; top: 20px; }
}

@keyframes bounceIndicator {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-text {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Enhanced Gallery Section */
.gallery-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, 
    rgba(255, 184, 28, 0.1) 0%, 
    transparent 50%,
    rgba(255, 184, 28, 0.1) 100%
  );
  z-index: 1;
}

.gallery-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.gallery-header .section-title {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.title-accent {
  color: var(--umbc-gold);
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  border-radius: 2px;
}

.title-main {
  color: var(--umbc-black);
  font-weight: 700;
}

.gallery-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #666;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Enhanced Gallery Container */
.gallery-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

.gallery-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.slide-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
}

.slide-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s ease;
  filter: brightness(0.8) contrast(1.1);
}

.gallery-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.gallery-slide:hover .slide-wrapper img {
  transform: scale(1.1);
  filter: brightness(0.9) contrast(1.2);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 30px 30px;
  transform: translateY(100%);
  transition: all 0.5s ease;
}

.gallery-slide:hover .slide-overlay {
  transform: translateY(0);
}

.slide-content h3 {
  color: var(--umbc-gold);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slide-content p {
  color: var(--umbc-white);
  font-size: 1.1rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.slide-year {
  color: var(--umbc-gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Enhanced Gallery Navigation */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 184, 28, 0.9);
  border: none;
  border-radius: 50%;
  color: var(--umbc-black);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
}

.gallery-nav:hover {
  background: var(--umbc-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 184, 28, 0.6);
}

.gallery-nav.prev {
  left: -30px;
}

.gallery-nav.next {
  right: -30px;
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Gallery Indicators */
.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.indicator {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 184, 28, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--umbc-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: var(--umbc-gold);
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(255, 184, 28, 0.5);
}

.indicator.active::before,
.indicator:hover::before {
  width: 8px;
  height: 8px;
}

/* Enhanced Timeline Navigation */
.timeline-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  padding: 20px 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 28, 0.2);
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: rgba(255, 184, 28, 0.2);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, var(--umbc-gold), transparent);
  border-radius: 2px;
  animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { height: 30%; opacity: 0.8; }
  50% { height: 60%; opacity: 1; }
}

.timeline-dots {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.timeline-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 184, 28, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--umbc-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-dot.active,
.timeline-dot:hover {
  background: rgba(255, 184, 28, 0.9);
  border-color: var(--umbc-gold);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.6);
}

.timeline-dot.active::before,
.timeline-dot:hover::before {
  width: 8px;
  height: 8px;
}

/* Enhanced Alumni Introduction */
.alumni-intro {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.alumni-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,184,28,0.1)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.section-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.deco-line {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  margin: 0 20px;
}

.deco-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--umbc-gold);
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
  animation: decorationGlow 2s ease-in-out infinite alternate;
}

@keyframes decorationGlow {
  0% { box-shadow: 0 0 20px rgba(255, 184, 28, 0.5); }
  100% { box-shadow: 0 0 30px rgba(255, 184, 28, 0.8); }
}

.intro-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.lead-text {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}

.lead-text::before {
  content: '"';
  font-size: 6rem;
  color: var(--umbc-gold);
  opacity: 0.3;
  position: absolute;
  left: -50px;
  top: -30px;
  font-family: Georgia, serif;
}

.lead-text::after {
  content: '"';
  font-size: 6rem;
  color: var(--umbc-gold);
  opacity: 0.3;
  position: absolute;
  right: -50px;
  bottom: -60px;
  font-family: Georgia, serif;
}

/* Enhanced History Timeline */
.history-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 80px 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(255, 184, 28, 0.3) 0%, 
    var(--umbc-gold) 25%, 
    var(--umbc-gold) 75%, 
    rgba(255, 184, 28, 0.3) 100%
  );
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.2);
  background: rgba(255, 255, 255, 1);
}

.timeline-item .year {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-item .event {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.timeline-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--umbc-gold);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.timeline-glow.active,
.timeline-item:hover .timeline-glow {
  width: 15px;
  height: 15px;
  box-shadow: 0 0 20px var(--umbc-gold);
  animation: timelineGlow 2s ease-in-out infinite;
}

@keyframes timelineGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 184, 28, 0.5); }
  50% { box-shadow: 0 0 30px rgba(255, 184, 28, 0.8); }
}

.story-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: rgba(255, 184, 28, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--umbc-gold);
}

/* Enhanced Back to Top Button */
.alumni-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  border: none;
  border-radius: 50%;
  color: var(--umbc-black);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
  display: none;
}

.alumni-back-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.6);
  background: linear-gradient(135deg, var(--umbc-gold-light), var(--umbc-gold));
}

.arrow-up {
  display: block;
  animation: arrowBounce 2s ease-in-out infinite;
}

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

/* Responsive Design for Alumni Page */
@media (max-width: 768px) {
  .alumni-hero .hero-content {
    padding: 30px 20px;
    margin: 0 20px;
  }
  
  .title-word {
    font-size: clamp(2rem, 8vw, 4rem);
    margin: 0 5px;
  }
  
  .gallery-container {
    padding: 0 10px;
  }
  
  .gallery-nav {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .gallery-nav.prev {
    left: -25px;
  }
  
  .gallery-nav.next {
    right: -25px;
  }
  
  .timeline-nav {
    right: 15px;
    padding: 15px 3px;
  }
  
  .alumni-intro {
    padding: 80px 0;
  }
  
  .history-timeline {
    flex-direction: column;
    gap: 30px;
  }
  
  .history-timeline::before {
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 3px;
    height: 90%;
    background: linear-gradient(180deg, 
      rgba(255, 184, 28, 0.3) 0%, 
      var(--umbc-gold) 25%, 
      var(--umbc-gold) 75%, 
      rgba(255, 184, 28, 0.3) 100%
    );
    transform: translateX(-50%);
  }
  
  .lead-text::before,
  .lead-text::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .gallery-section {
    padding: 60px 0;
  }
  
  .slide-wrapper {
    height: 350px;
  }
  
  .alumni-back-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }
}

/* Enhanced Alumni Weekend Events Section */
.alumni-weekend {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.alumni-weekend::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,15 65,40 90,40 70,60 75,85 50,70 25,85 30,60 10,40 35,40" fill="rgba(255,184,28,0.1)"/></svg>') repeat;
  opacity: 0.2;
  z-index: 1;
}

.alumni-weekend .section-title {
  text-align: center;
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.alumni-weekend .title-accent {
  color: var(--umbc-gold);
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.weekend-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

.timeline-path {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.path-svg {
  width: 100%;
  height: 200px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-line {
  stroke: var(--umbc-gold);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 10, 5;
  animation: pathGlow 3s ease-in-out infinite alternate;
}

@keyframes pathGlow {
  0% { stroke: rgba(255, 184, 28, 0.5); }
  100% { stroke: rgba(255, 184, 28, 0.9); }
}

.event-cards {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.event-card {
  flex: 1;
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.event-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.card-front {
  background: linear-gradient(135deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  color: var(--umbc-black);
}

.card-back {
  background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
  color: var(--umbc-white);
  transform: rotateY(180deg);
}

.event-icon {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card-front h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.event-time {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

.card-back h3 {
  color: var(--umbc-gold);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.card-back p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-details span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--umbc-gold);
}

/* Enhanced Scholarship Section */
.scholarship-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.scholarship-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="3" fill="rgba(255,184,28,0.1)"/></svg>') repeat;
  opacity: 0.5;
}

.scholarship-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.scholarship-content .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.latin {
  font-size: clamp(3.5rem, 7vw, 5rem);
  color: var(--umbc-gold);
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
  display: block;
  margin-bottom: 10px;
  font-style: italic;
}

.subtitle {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #333;
  font-weight: 700;
  display: block;
}

.scholarship-intro {
  text-align: center;
  margin-bottom: 80px;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.intro-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  font-weight: 700;
  border-radius: 25px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.intro-text {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.criteria-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.criteria-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.criteria-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.criteria-card:hover::before {
  transform: translateX(0);
}

.card-header {
  margin-bottom: 30px;
}

.icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.3);
}

.icon {
  color: var(--umbc-black);
  font-weight: 900;
  font-size: 1.5rem;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
}

.card-content {
  text-align: left;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(255, 184, 28, 0.05);
  border-radius: 10px;
  border-left: 3px solid var(--umbc-gold);
}

.req-icon {
  width: 20px;
  height: 20px;
  background: var(--umbc-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--umbc-black);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Fund growth styles removed */

.scholarship-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.05));
  padding: 50px;
  border-radius: 20px;
  border: 2px solid rgba(255, 184, 28, 0.2);
}

.cta-text {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.scholarship-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 35px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
}

.scholarship-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.6);
  background: linear-gradient(135deg, var(--umbc-gold-light), var(--umbc-gold));
}

.scholarship-cta .cta-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Enhanced Alumni Footer */
.alumni-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: var(--umbc-white);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.alumni-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(0.8);
}

.footer-logos img:hover {
  transform: scale(1.1);
  filter: brightness(1);
}

.footer-nav {
  margin-bottom: 40px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--umbc-gold);
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: var(--umbc-gold);
}

.footer-nav a:hover::before {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 184, 28, 0.1);
  border: 2px solid rgba(255, 184, 28, 0.3);
  border-radius: 50%;
  color: var(--umbc-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--umbc-gold);
  color: var(--umbc-black);
  border-color: var(--umbc-gold);
  transform: scale(1.1);
}

/* Mobile Responsive Fixes for Alumni Sections */
@media (max-width: 768px) {
  .event-cards {
    flex-direction: column;
    gap: 30px;
  }
  
  .event-card {
    height: 250px;
  }
  
  .scholarship-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .criteria-card {
    padding: 30px 20px;
  }
  
  .chart-bars {
    height: 150px;
    gap: 10px;
  }
  
  .footer-logos {
    gap: 20px;
  }
  
  .footer-logos img {
    height: 45px;
  }
  
  .footer-nav ul {
    gap: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .alumni-weekend {
    padding: 80px 0;
  }
  
  .card-front, .card-back {
    padding: 20px;
  }
  
  .event-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .scholarship-section {
    padding: 80px 0;
  }
  
  .scholarship-intro {
    padding: 30px 20px;
  }
  
  /* Fund growth removed */
  
  .scholarship-cta {
    padding: 40px 20px;
  }
}

/* Enhanced Alumni Teams Section */
.alumni-teams {
  padding: 120px 0;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 50%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.alumni-teams::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="40" y="20" width="20" height="60" fill="rgba(255,184,28,0.08)" rx="10"/><circle cx="50" cy="15" r="8" fill="rgba(255,184,28,0.1)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.teams-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.teams-header .section-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.teams-header .title-accent {
  color: var(--umbc-gold);
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.teams-header .title-main {
  color: var(--umbc-white);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.teams-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin: 0;
  font-style: italic;
}

.teams-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.team-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 25px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.team-logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.team-logo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid var(--umbc-gold);
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.3);
  transition: all 0.3s ease;
}

.team-card:hover .team-logo {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.5);
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .logo-glow {
  opacity: 1;
  animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.team-name {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.team-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-content {
  text-align: left;
}

.team-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
  text-align: center;
  font-style: italic;
}

.achievements {
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(255, 184, 28, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--umbc-gold);
}

.achievements h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--umbc-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trophy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trophy-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.trophy-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(10px);
}

.trophy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  color: var(--umbc-black);
  font-weight: 900;
  font-size: 0.75rem;
  border-radius: 50%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.trophy-item span:last-child {
  font-weight: 600;
  color: #333;
}

.team-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.stat-box {
  text-align: center;
  flex: 1;
  padding: 20px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 184, 28, 0.1);
  transform: translateY(-5px);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Alumni Weekend Events Section */
.alumni-weekend {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.alumni-weekend::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,15 65,40 90,40 70,60 75,85 50,70 25,85 30,60 10,40 35,40" fill="rgba(255,184,28,0.1)"/></svg>') repeat;
  opacity: 0.2;
  z-index: 1;
}

.alumni-weekend .section-title {
  text-align: center;
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.alumni-weekend .title-accent {
  color: var(--umbc-gold);
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.weekend-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

.timeline-path {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.path-svg {
  width: 100%;
  height: 200px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-line {
  stroke: var(--umbc-gold);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 15, 8;
  animation: pathFlow 4s ease-in-out infinite;
}

@keyframes pathFlow {
  0%, 100% { 
    stroke: rgba(255, 184, 28, 0.6);
    stroke-dashoffset: 0;
  }
  50% { 
    stroke: rgba(255, 184, 28, 1);
    stroke-dashoffset: 23;
  }
}

.event-cards {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.event-card {
  flex: 1;
  height: 320px;
  perspective: 1200px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.event-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 35px;
}

.card-front {
  background: linear-gradient(135deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  color: var(--umbc-black);
}

.card-back {
  background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
  color: var(--umbc-white);
  transform: rotateY(180deg);
}

.event-icon {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 25px;
  padding: 25px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-front h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-time {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}

.card-back h3 {
  color: var(--umbc-gold);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-back p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
  text-align: center;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.event-details span {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--umbc-gold);
  padding: 8px 15px;
  background: rgba(255, 184, 28, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 184, 28, 0.3);
}

/* Enhanced Scholarship Section Improvements */
.scholarship-section {
  padding: 140px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.scholarship-content .section-title {
  text-align: center;
  margin-bottom: 80px;
}

.latin {
  font-size: clamp(4rem, 8vw, 6rem);
  color: var(--umbc-gold);
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
  display: block;
  margin-bottom: 15px;
  font-style: italic;
  letter-spacing: -2px;
}

.subtitle {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #333;
  font-weight: 700;
  display: block;
  position: relative;
}

.subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
}

.scholarship-intro {
  text-align: center;
  margin-bottom: 100px;
  background: rgba(255, 255, 255, 0.95);
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.scholarship-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
}

.intro-badge {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  font-weight: 800;
  border-radius: 30px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.3);
}

.intro-text {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.7;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 300;
}

.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  margin-bottom: 100px;
}

.scholarship-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.08), rgba(255, 184, 28, 0.03));
  padding: 60px 50px;
  border-radius: 25px;
  border: 3px solid rgba(255, 184, 28, 0.2);
  position: relative;
}

.scholarship-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,40 90,40 68,60 78,90 50,75 22,90 32,60 10,40 40,40" fill="rgba(255,184,28,0.1)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.cta-text {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.scholarship-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  text-decoration: none;
  border-radius: 60px;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.4);
  position: relative;
  z-index: 2;
}

.scholarship-cta .cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 184, 28, 0.6);
  background: linear-gradient(135deg, var(--umbc-gold-light), var(--umbc-gold));
}

/* Enhanced FAQ Hero Section */
.faq-hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.faq-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.1);
  filter: brightness(0.65) contrast(1.2) saturate(1.1);
  transition: all 20s ease-in-out;
  z-index: 1;
}

.faq-hero:hover .faq-hero-bg {
  transform: translate(-50%, -50%) scale(1.15);
  filter: brightness(0.5) contrast(1.3) saturate(1.2);
}

.faq-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(255, 184, 28, 0.15) 30%,
    rgba(0, 0, 0, 0.8) 70%,
    rgba(255, 184, 28, 0.1) 100%
  );
  z-index: 2;
}

.faq-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 25px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 184, 28, 0.2);
}

.faq-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 25px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
  animation: badgePulse 3s ease-in-out infinite;
}

.faq-logo {
  width: 120px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 8px 20px rgba(255, 184, 28, 0.5));
  animation: logoFloat 4s ease-in-out infinite;
}

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

.faq-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 25px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  background: linear-gradient(45deg, var(--umbc-gold), var(--umbc-white), var(--umbc-gold));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 3s ease-in-out infinite;
}

.faq-text-wrapper {
  margin-bottom: 35px;
}

.faq-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: subtitleGlow 2s ease-in-out infinite alternate;
}

.faq-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--umbc-gold);
  font-weight: 600;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  animation: descriptionFloat 4s ease-in-out infinite;
}

.faq-cta-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.faq-cta-primary {
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
}

.faq-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 184, 28, 0.6);
  background: linear-gradient(135deg, var(--umbc-gold-light), var(--umbc-gold));
}

.faq-cta-secondary {
  background: transparent;
  color: var(--umbc-white);
  padding: 15px 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--umbc-gold);
  color: var(--umbc-gold);
  transform: translateY(-3px);
}

.faq-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--umbc-white);
  animation: bounceIndicator 2s ease-in-out infinite;
  z-index: 5;
}

.scroll-mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--umbc-gold);
  border-radius: 15px;
  margin: 0 auto 10px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--umbc-gold);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 0; top: 6px; }
  50% { opacity: 1; top: 16px; }
}

.scroll-text {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .teams-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .team-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .event-cards {
    flex-direction: column;
    gap: 40px;
  }
  
  .event-card {
    height: 280px;
  }
  
  .scholarship-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .teams-header .section-title {
    flex-direction: column;
    gap: 10px;
  }
  
  .faq-hero-content {
    padding: 30px 20px;
    margin: 0 20px;
  }
  
  .faq-cta-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .alumni-teams {
    padding: 100px 0;
  }
  
  .team-card {
    padding: 30px 25px;
  }
  
  .team-logo {
    width: 80px;
    height: 80px;
  }
  
  .alumni-weekend {
    padding: 100px 0;
  }
  
  .card-front, .card-back {
    padding: 25px;
  }
  
  .event-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .scholarship-section {
    padding: 100px 0;
  }
  
  .scholarship-intro {
    padding: 40px 25px;
  }
  
  .scholarship-cta {
    padding: 40px 25px;
  }
}

/*========================================
  HERO ANIMATED TEXT STYLES
=========================================*/

/* Animated Text Container */
.hero-animated-text {
  position: relative !important;
  z-index: 4 !important;
  margin-top: 20px !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  /* Debug visibility */
  min-height: 80px !important;
  background: rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(255, 184, 28, 0.3) !important;
  padding: 10px !important;
}

/* Animated Title */
.hero-title.animated-title, .animated-title {
  /* Fallback color for browsers that don't support background-clip */
  color: var(--umbc-gold) !important;
  background: linear-gradient(45deg, var(--umbc-gold), var(--umbc-white), var(--umbc-gold)) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: titleShimmer 3s ease-in-out infinite !important;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
  display: block !important;
}

/* For browsers that support background-clip */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero-title.animated-title, .animated-title {
    color: transparent !important;
  }
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Animated Subtitle */
.hero-subtitle.animated-subtitle, .animated-subtitle {
  color: var(--umbc-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
  animation: subtitleGlow 2s ease-in-out infinite alternate !important;
  margin-bottom: 15px !important;
  font-size: clamp(1.2rem, 3vw, 2rem) !important;
  font-weight: 300 !important;
  opacity: 1 !important;
  display: block !important;
}

@keyframes subtitleGlow {
  0% { 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 184, 28, 0.3); 
    opacity: 0.9;
  }
  100% { 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 184, 28, 0.6); 
    opacity: 1;
  }
}

/* Animated Description */
.animated-description, .hero-description {
  color: var(--umbc-gold) !important;
  font-weight: 600 !important;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
  animation: descriptionFloat 4s ease-in-out infinite !important;
  margin-top: 10px !important;
  letter-spacing: 0.5px !important;
  display: block !important;
  opacity: 1 !important;
}

@keyframes descriptionFloat {
  0%, 100% { 
    transform: translateY(0px);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
  50% { 
    transform: translateY(-8px);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 184, 28, 0.4);
  }
}

/* Animated Words for Alumni Page */
.animated-word-1 {
  animation: wordPulse1 3s ease-in-out infinite;
}

.animated-word-2 {
  animation: wordPulse2 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.animated-word-3 {
  animation: wordPulse3 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes wordPulse1 {
  0%, 100% { 
    color: var(--umbc-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  33% { 
    color: var(--umbc-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 184, 28, 0.6);
  }
}

@keyframes wordPulse2 {
  0%, 100% { 
    color: var(--umbc-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  33% { 
    color: var(--umbc-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 184, 28, 0.6);
  }
}

@keyframes wordPulse3 {
  0%, 100% { 
    color: var(--umbc-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 184, 28, 0.5);
  }
  33% { 
    color: var(--umbc-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

/* Typewriter Effect - REMOVED */

/* Text Wave Effect */
.wave-text span {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(odd) {
  animation-delay: 0.1s;
}

.wave-text span:nth-child(even) {
  animation-delay: 0.2s;
}

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

/* Responsive Adjustments for Animated Text */
@media (max-width: 768px) {
  .animated-description {
    font-size: 1rem !important;
    margin-top: 8px !important;
  }
  
  .animated-subtitle {
    margin-bottom: 10px !important;
  }
  
  @keyframes descriptionFloat {
    0%, 100% { 
      transform: translateY(0px);
    }
    50% { 
      transform: translateY(-5px);
    }
  }
}

@media (max-width: 480px) {
  .hero-animated-text {
    margin-top: 15px;
  }
  
  .animated-description {
    font-size: 0.9rem !important;
    letter-spacing: 0.3px;
  }
}

/* Enhanced Glow Effects on Hover */
.hero-content:hover .animated-title,
.hero-content:hover .hero-title.animated-title {
  animation: titleShimmerIntense 2s ease-in-out infinite !important;
}

.hero-content:hover .animated-subtitle,
.hero-content:hover .hero-subtitle.animated-subtitle {
  animation: subtitleGlowIntense 1.5s ease-in-out infinite alternate !important;
}

.hero-content:hover .animated-description,
.hero-content:hover .hero-description {
  animation: descriptionFloatIntense 3s ease-in-out infinite !important;
}

@keyframes titleShimmerIntense {
  0%, 100% { 
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(255, 184, 28, 0.5));
  }
  50% { 
    background-position: 100% 50%;
    filter: drop-shadow(0 0 20px rgba(255, 184, 28, 0.8));
  }
}

@keyframes subtitleGlowIntense {
  0% { 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 184, 28, 0.5); 
  }
  100% { 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 184, 28, 0.8); 
  }
}

@keyframes descriptionFloatIntense {
  0%, 100% { 
    transform: translateY(0px) scale(1);
  }
  50% { 
    transform: translateY(-12px) scale(1.05);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 184, 28, 0.6);
  }
}

/*****************************************
  MODERN TYPOGRAPHY & BASE STYLES
******************************************/
body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--gradient-surface);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  transition: var(--transition-smooth);
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  margin: 0;
  padding: 0;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 { 
  font-size: clamp(3rem, 6vw, 5rem); 
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
h2 { 
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); 
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
h3 { 
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); 
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/*****************************************
  ENHANCED CTA BUTTON WITH GLOW
******************************************/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--umbc-black);
  padding: 20px 50px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 60px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-medium);
  border: 3px solid transparent;
  backdrop-filter: blur(10px);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.cta-button::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: var(--shadow-strong);
  color: var(--umbc-white);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover::after {
  opacity: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

/*****************************************
  TRANSPARENT SECTIONS & COOL ANIMATIONS
******************************************/
.transparent-section {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 184, 28, 0.1);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}


.transparent-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 184, 28, 0.05), 
    transparent
  );
  transition: left 3s ease;
}

.transparent-section:hover::before {
  left: 0;
}

/* Custom AOS animations */
@keyframes zoom-in-rotate {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-right {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-left {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes rotate-in {
  0% {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes flip-left {
  0% {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  100% {
    opacity: 1;
    transform: rotateY(0);
  }
}

@keyframes flip-right {
  0% {
    opacity: 0;
    transform: rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: rotateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}


/*****************************************
  ENHANCED MOBILE-FIRST NAVIGATION
******************************************/
nav#navbar {
  width: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.95), 
    rgba(20, 20, 20, 0.90),
    rgba(255, 184, 28, 0.05)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 1000;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 184, 28, 0.1);
  border-bottom: 3px solid var(--umbc-gold);
  transition: var(--transition-smooth);
  min-height: 80px;
}

/* Mobile navbar improvements */
@media (max-width: 768px) {
  nav#navbar {
    position: fixed;
    top: 0;
    min-height: 45px;
    padding: 0;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--umbc-gold);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  }
  
  nav#navbar.show-nav {
    transform: translateY(0);
  }
  
  .nav-container {
    padding: 8px 15px;
    min-height: 45px;
    justify-content: flex-end;
  }
  
  .mobile-menu-toggle {
    width: 35px;
    height: 35px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid var(--umbc-gold);
    background: rgba(0, 0, 0, 0.8);
  }
  
  .hamburger-line {
    height: 2px;
    background: var(--umbc-gold);
    transition: all 0.3s ease;
  }
}

/* Add subtle top border accent */
nav#navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  opacity: 0.6;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
}

/* Navigation Logo */
.nav-logo {
  display: none;
  z-index: 1001;
}

.nav-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--umbc-gold);
  padding: 3px;
  transition: var(--transition-smooth);
  background: rgba(255, 184, 28, 0.1);
}

.nav-logo-img:hover {
  transform: rotate(360deg);
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 55px;
  height: 55px;
  background: rgba(0, 0, 0, 0.8);
  border: 3px solid var(--umbc-gold);
  cursor: pointer;
  padding: 12px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  z-index: 10001;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 184, 28, 0.15);
  border-color: var(--umbc-gold-light);
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.4);
  transform: scale(1.05);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.hamburger-line {
  width: 100%;
  height: 4px;
  background: var(--umbc-gold);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(255, 184, 28, 0.3);
  display: block;
}

/* Remove margin, use flexbox spacing instead */
.hamburger-line:not(:last-child) {
  margin-bottom: 0;
}

/* Hamburger Animation */
.mobile-menu-toggle.active {
  border-color: var(--umbc-gold-light);
  background: rgba(255, 184, 28, 0.2);
  box-shadow: 0 0 25px rgba(255, 184, 28, 0.5);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background: var(--umbc-gold-light);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  background: var(--umbc-gold-light);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9997;
}

.mobile-open .mobile-menu-overlay,
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile-specific overlay styling */
@media (max-width: 768px) {
  .mobile-menu-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-open .mobile-menu-overlay,
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Ensure mobile menu is accessible */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* Add padding to prevent content from being hidden behind fixed navbar */
  body {
    padding-top: 80px;
  }

  main, section:first-child {
    margin-top: 0;
  }

  /* Hero section mobile improvements */
  #hero-header {
    height: calc(100vh - 80px);
    min-height: 500px;
  }

  .hero-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .hero-logo {
    width: 160px;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin: 20px 0;
  }

  .hero-subtitle,
  .animated-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    margin-bottom: 10px;
  }

  .hero-description,
  .animated-description {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 30px;
  }

  #hero-header .cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
    margin-top: 15px;
  }
}

/* ========================================
   COMPREHENSIVE MOBILE OPTIMIZATION FOR ALL PAGES
   ======================================== */
@media (max-width: 768px) {
  /* Universal mobile improvements */
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .container {
    padding: 0 15px !important;
    max-width: 100% !important;
  }
  
  .section-padded {
    padding: 40px 0 !important;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
  }
  
  .section-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem) !important;
    margin-bottom: 20px !important;
  }
  
  /* Button improvements */
  .cta-button, .btn {
    padding: 12px 20px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  /* Card improvements */
  .info-card, .card {
    padding: 20px 15px !important;
    margin-bottom: 15px !important;
    border-radius: 12px !important;
  }
  
  /* Grid layouts */
  .info-grid, .grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  /* Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .testimonial-card {
    padding: 20px !important;
    margin-bottom: 15px !important;
  }
  
  /* Gallery mobile */
  .gallery-section {
    display: block !important;
    visibility: visible !important;
    padding: 40px 0 !important;
  }
  
  .carousel-container {
    display: block !important;
    visibility: visible !important;
    margin: 0 -15px !important;
    border-radius: 0 !important;
    height: auto !important;
  }
  
  .carousel-track {
    display: flex !important;
    visibility: visible !important;
  }
  
  .carousel-image {
    display: block !important;
    visibility: visible !important;
    height: 300px !important;
    object-fit: cover !important;
  }
  
  .carousel-btn {
    display: flex !important;
    visibility: visible !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }
  
  .carousel-indicators {
    display: flex !important;
    visibility: visible !important;
  }
  
  /* Forms mobile */
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    min-height: 44px !important;
  }
  
  /* Stats mobile */
  .stats-row {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }
  
  .stat-item {
    padding: 15px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  
  /* Footer mobile */
  footer {
    padding: 30px 15px 20px !important;
    text-align: center !important;
  }
  
  .footer-nav ul {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .footer-logo {
    flex-direction: column !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .footer-logo img {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  #hero-header {
    min-height: 450px;
  }

  .hero-logo {
    width: 140px;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin: 15px 0;
  }
  
  .container {
    padding: 0 10px !important;
  }
  
  .section-padded {
    padding: 30px 0 !important;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem) !important;
  }
  
  .cta-button, .btn {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }
  
  .info-card, .card {
    padding: 15px 12px !important;
  }
  
  /* Page-specific mobile improvements */
  
  /* Roster page mobile */
  .player-grid, .roster-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .player-card {
    padding: 12px !important;
    font-size: 0.9rem !important;
  }
  
  .player-name {
    font-size: 1rem !important;
  }
  
  .player-position {
    font-size: 0.8rem !important;
  }
  
  /* FAQ page mobile */
  .faq-container {
    padding: 15px !important;
    margin: 10px 0 !important;
  }
  
  .faq-item {
    margin-bottom: 10px !important;
  }
  
  .faq-question {
    padding: 15px !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
  
  .faq-answer {
    padding: 15px !important;
    font-size: 0.9rem !important;
  }
  
  /* Rugby Ready page mobile */
  .preparation-grid, .skills-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .skill-card, .prep-card {
    padding: 20px 15px !important;
  }
  
  /* Recruitment page mobile */
  .recruitment-form {
    padding: 20px 15px !important;
  }
  
  .form-row {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  /* Alumni page mobile */
  .alumni-grid, .team-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .alumni-card, .team-card {
    padding: 20px 15px !important;
  }
  
  /* Donate page mobile */
  .donation-options {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .donation-card {
    padding: 20px 15px !important;
    min-height: auto !important;
  }

  .hero-subtitle,
  .animated-subtitle {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  .hero-description,
  .animated-description {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-bottom: 25px;
  }

  #hero-header .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .mobile-menu-toggle {
    width: 50px;
    height: 50px;
  }

  .hamburger-line {
    height: 3px;
  }

  /* Alumni quick nav mobile */
  .alumni-quick-nav {
    padding: 30px 15px;
  }

  .quick-nav-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .quick-nav-item {
    padding: 20px 15px;
  }

  .nav-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .quick-nav-item span {
    font-size: 0.9rem;
  }

  /* Extra small mobile specific improvements */
  .quick-nav-container {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .quick-nav-item {
    flex-direction: row !important;
    text-align: left;
  }

  .nav-icon {
    font-size: 1.3rem !important;
    margin-bottom: 0 !important;
    margin-right: 15px;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    margin-bottom: 15px;
  }

  .nav-menu {
    width: 100% !important;
    max-width: none !important;
    padding: 80px 20px 40px !important;
  }

  .nav-link {
    padding: 20px 0 !important;
    margin-bottom: 5px;
  }

  /* Global mobile improvements */
  .section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
  }

  .section-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    text-align: center;
    margin-bottom: 30px;
  }

  .container {
    padding: 0 15px;
  }

  /* Button improvements */
  .cta-button,
  .btn {
    font-size: 1rem;
    padding: 12px 25px;
    min-height: 48px;
    min-width: 120px;
  }

  /* Form improvements */
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 15px;
    min-height: 48px;
  }

  /* Image responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Tables responsive */
  table {
    font-size: 0.9rem;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }

  /* Cards and grids mobile */
  .card-grid,
  .roster-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    margin-bottom: 20px;
  }

  /* Schedule/timetable responsive */
  .schedule-table,
  .timetable {
    font-size: 0.8rem;
  }

  .schedule-item,
  .roster-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  /* FAQ mobile improvements */
  .faq-question {
    font-size: 1.1rem;
    padding: 18px;
  }

  .faq-answer {
    padding: 15px 18px;
  }

  /* Donation form mobile */
  .donation-form {
    padding: 20px 15px;
  }

  .donation-amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Rugby Ready mobile improvements */
  .rugby-ready-content {
    padding: 20px 15px;
  }

  .step-card {
    margin-bottom: 20px;
  }

  /* Recruitment page mobile */
  .recruitment-content {
    padding: 20px 15px;
  }

  .benefit-card {
    margin-bottom: 20px;
  }
}

/* Touch improvements for all devices */
@media (hover: none) and (pointer: coarse) {
  .nav-link:hover,
  .btn:hover,
  .cta-button:hover {
    transform: none;
  }

  .nav-link:active,
  .btn:active,
  .cta-button:active {
    transform: scale(0.95);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nav-link,
  .cta-button,
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-logo {
    animation: none;
  }

  .loading-logo {
    animation: none;
  }
}

/* Removed scrolled state since navbar is no longer sticky */

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 2px solid var(--umbc-gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition-smooth);
  color: var(--umbc-gold);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255, 184, 28, 0.15);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 184, 28, 0.4);
  border-color: var(--umbc-gold-light);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
  flex: 1;
}

.nav-menu li {
  position: relative;
}

/* Hide mobile toggle on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .nav-logo {
    display: none;
  }
}

.nav-link {
  color: var(--umbc-gold) !important;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 25px;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ensure all navbar links are UMBC gold */
nav#navbar a,
nav#navbar .nav-link,
.nav-menu a,
.nav-menu .nav-link {
  color: var(--umbc-gold) !important;
}

nav#navbar a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--umbc-gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav#navbar a:hover::before,
nav#navbar a.active::before {
  width: 100%;
}

nav#navbar a:hover,
nav#navbar a.active {
  background: rgba(255, 184, 28, 0.15);
  color: var(--umbc-gold-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 184, 28, 0.3);
}

/*****************************************
  HERO HEADER WITH PARALLAX
******************************************/
#hero-header {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.header-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.02);
  z-index: -2;
  filter: brightness(1.4) contrast(1.2) saturate(1.1);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  object-fit: cover;
}

.header-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%),
    radial-gradient(ellipse at center, rgba(255,184,28,0.03) 0%, rgba(0,0,0,0.15) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.welcome-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(-20px);
  animation: welcomeTextFade 1.5s ease-out 0.5s forwards;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: italic;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: rgba(255, 184, 28, 1);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubtitleFade 1.5s ease-out 2.5s forwards;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 184, 28, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 184, 28, 0.4);
  padding: 8px 16px;
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: inline-block;
}

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

/* Mobile hero text improvements */
@media (max-width: 768px) {
  .welcome-text {
    font-size: clamp(1.2rem, 6vw, 2rem);
    margin-bottom: 12px;
    letter-spacing: 1.5px;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.4rem);
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
  }
  
  .hero-title {
    margin: 15px 0 !important;
  }
}
  animation: heroFadeIn 2s ease-out;
  max-width: 900px;
  padding: 0 30px;
}

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

.hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: 2.5rem;
  filter: 
    drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 20px rgba(255, 184, 28, 0.3));
  animation: logoFloat 4s ease-in-out infinite;
  border-radius: 50%;
  border: 4px solid rgba(255, 184, 28, 0.3);
  padding: 10px;
  background: rgba(255, 184, 28, 0.05);
}

@keyframes logoFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
    filter: 
      drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6))
      drop-shadow(0 0 20px rgba(255, 184, 28, 0.3));
  }
  50% { 
    transform: translateY(-15px) rotate(1deg); 
    filter: 
      drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7))
      drop-shadow(0 0 30px rgba(255, 184, 28, 0.5));
  }
}

.hero-content h1,
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 30px 0;
  text-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(255, 184, 28, 0.3);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, var(--umbc-gold) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: heroTitleFade 1.8s ease-out 0.5s forwards;
  text-transform: uppercase;
}

.hero-subtitle,
.animated-subtitle {
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 15px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  font-weight: 600;
  color: var(--umbc-gold) !important;
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubtitleFade 1.5s ease-out 1s forwards;
  letter-spacing: 1px;
}

.hero-description,
.animated-description {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-bottom: 40px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubtitleFade 1.5s ease-out 1.3s forwards;
  font-style: italic;
}

.hero-animated-text {
  margin-bottom: 30px;
}

/* Enhanced CTA Button Animation */
.hero-content .cta-button {
  opacity: 0;
  transform: translateY(20px);
  animation: heroSubtitleFade 1.5s ease-out 1.6s forwards;
}

/* Alumni Quick Navigation */
.alumni-quick-nav {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  padding: 40px 20px;
  border-bottom: 1px solid var(--border-color);
}

.quick-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.quick-nav-item:hover {
  transform: translateY(-5px);
  border-color: var(--umbc-gold);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.2);
  background: linear-gradient(135deg, var(--card-bg), rgba(255, 184, 28, 0.05));
}

.nav-icon {
  font-size: 1.8rem;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.quick-nav-item:hover .nav-icon {
  transform: scale(1.2) rotate(5deg);
}

.quick-nav-item span {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Enhanced fade-in animations */
@keyframes heroTitleFade {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* Removed duplicate blink-caret */ 
  }
}

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

@keyframes testimonialSlideIn {
  from { 
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes testimonialSlideInRight {
  from { 
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/*****************************************
  MODERN SECTION STYLING
******************************************/
section {
  background: var(--gradient-surface);
  padding: var(--section-padding);
  margin: 80px auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 1300px;
  position: relative;
  border: 1px solid rgba(255, 184, 28, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Exception for recruitment page sections */
section.recruitment-form-section,
section.contact-info-section {
  background: none !important;
}

section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 70%);
  animation: sectionGlow 20s linear infinite;
}


@keyframes sectionGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

section h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-dark));
  border-radius: 2px;
}

/*****************************************
  ENHANCED ABOUT SECTION
******************************************/
/* Updated in enhanced section below */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.15rem;
  color: var(--text-light);
}

.about-image {
  animation: slideInRight 0.8s ease-out;
  position: relative;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.team-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.team-photo:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/*****************************************
  MODERN CAROUSEL WITH 3D EFFECT
******************************************/
/* Updated in enhanced section below */

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: 600px;
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition-smooth);
  filter: brightness(0.9);
}

.carousel-image:hover {
  filter: brightness(1.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 2rem;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--umbc-gold);
  color: var(--umbc-gold);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 25px;
}

.indicator {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--umbc-gold);
  width: 30px;
  border-radius: 6px;
}

/*****************************************
  ENHANCED MODAL WITH BLUR
******************************************/
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-modal:hover {
  background: rgba(255, 0, 0, 0.8);
  transform: rotate(90deg) scale(1.1);
}

/*****************************************
  TESTIMONIALS WITH GLASSMORPHISM
******************************************/
/* Updated in enhanced section below */

#testimonials h2 {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: testimonialTitleFade 1.5s ease-out 0.3s forwards;
}

#testimonials blockquote {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 40px;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--umbc-dark-grey);
  position: relative;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateX(-30px) scale(0.95);
}

#testimonials blockquote:first-of-type {
  animation: testimonialSlideIn 1.2s ease-out 0.8s forwards;
}

#testimonials blockquote:last-of-type {
  transform: translateX(30px) scale(0.95);
  animation: testimonialSlideInRight 1.2s ease-out 1.4s forwards;
}

#testimonials blockquote:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

#testimonials blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 5rem;
  color: var(--umbc-gold);
  opacity: 0.3;
}

#testimonials blockquote strong {
  color: var(--umbc-gold);
  font-weight: 700;
}

/*****************************************
  INSTAGRAM FEED WITH GLOW
******************************************/
/* Updated in enhanced section below */


#instagram-feed .section-title {
  color: var(--umbc-gold);
  margin-bottom: 20px;
}

#instagram-feed p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.widget-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/*****************************************
  SCROLLING PLAYER WITH PARALLAX
******************************************/
#scrolling-player-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scrolling-player-section .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

#scrolling-player-section h2 {
  font-size: clamp(3rem, 5vw, 4rem);
  color: var(--umbc-gold);
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.player-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.player-image {
  position: absolute;
  bottom: 20%;
  left: 50%;
  width: auto;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: filter 0.2s ease;
  opacity: 0;
  transform: translateX(-50%) translateY(0) rotate(0deg) scale(0.9);
  will-change: transform, opacity, filter;
  z-index: 2;
}

.player-image:hover {
  filter: drop-shadow(0 25px 50px rgba(255, 184, 28, 0.6)) 
          brightness(1.15) 
          contrast(1.1) !important;
}

/* Enhanced parallax effect - removed background */

/* Rugby field effect - removed */

/*****************************************
  ENHANCED FOOTER
******************************************/
footer {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: var(--umbc-gold);
  text-align: center;
  padding: 60px 40px 40px;
  border-top: 1px solid rgba(255, 184, 28, 0.3);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 80px;
  height: auto;
  filter: brightness(0.8);
  transition: var(--transition-smooth);
}

.footer-logo img:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-nav a {
  color: rgba(255, 184, 28, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--umbc-gold);
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: var(--umbc-gold);
}

.footer-nav a:hover::after {
  width: 100%;
}

footer p {
  font-size: 0.9rem;
  margin-top: 30px;
  color: rgba(255, 184, 28, 0.6);
}

/*****************************************
  BACK TO TOP BUTTON ENHANCED
******************************************/
#back-to-top {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  cursor: pointer;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 
    0 15px 35px rgba(255, 184, 28, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: buttonFloat 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#back-to-top::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  animation: buttonShine 4s ease-in-out infinite;
  transform: rotate(45deg);
}

#back-to-top::after {
  content: '↑';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes buttonFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
    box-shadow: 
      0 15px 35px rgba(255, 184, 28, 0.4),
      0 5px 15px rgba(0, 0, 0, 0.3),
      inset 0 2px 5px rgba(255, 255, 255, 0.3);
  }
  50% { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 
      0 25px 45px rgba(255, 184, 28, 0.6),
      0 10px 25px rgba(0, 0, 0, 0.4),
      inset 0 3px 8px rgba(255, 255, 255, 0.4);
  }
}

@keyframes buttonShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

#back-to-top:hover {
  transform: translateY(-10px) scale(1.15) rotate(5deg);
  box-shadow: 
    0 25px 50px rgba(255, 184, 28, 0.8),
    0 15px 30px rgba(0, 0, 0, 0.4),
    inset 0 5px 15px rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

#back-to-top:active {
  transform: translateY(-5px) scale(1.1) rotate(-2deg);
  transition: all 0.1s ease;
}

/*****************************************
  SCHEDULE POPUP ENHANCED
******************************************/
#schedule-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#schedule-popup-overlay.show {
  opacity: 1;
}

#schedule-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: var(--umbc-gold);
  width: 90%;
  max-width: 600px;
  border-radius: 30px;
  padding: 40px;
  z-index: 9999;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 184, 28, 0.3);
  opacity: 0;
  transition: all 0.3s ease;
}

#schedule-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

#schedule-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 184, 28, 0.5);
  font-size: 2rem;
  color: var(--umbc-gold);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

#schedule-popup-close:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: rgba(255, 0, 0, 0.8);
  transform: rotate(90deg);
}

#schedule-popup h2 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#schedule-popup img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin: 20px 0;
}

.popup-buttons {
  margin-top: 30px;
}

#download-ics-btn {
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
  transition: var(--transition-smooth);
}

#download-ics-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.5);
}

/*****************************************
  RESPONSIVE DESIGN IMPROVEMENTS
******************************************/
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 30px;
  }

  nav#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.98), 
      rgba(20, 20, 20, 0.95),
      rgba(255, 184, 28, 0.05)
    );
    backdrop-filter: blur(20px);
    padding: 15px 20px;
    min-height: 80px;
    border-bottom: 3px solid var(--umbc-gold);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.6),
      0 0 30px rgba(255, 184, 28, 0.2);
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 50px;
  }

  .nav-logo {
    display: block;
  }

  .mobile-menu-toggle {
    display: flex !important;
    width: 55px;
    height: 55px;
    border: 3px solid var(--umbc-gold);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10001;
    padding: 12px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 184, 28, 0.15);
    border-color: var(--umbc-gold-light);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 184, 28, 0.5);
  }

  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }

  .hamburger-line {
    width: 100%;
    height: 4px;
    background: var(--umbc-gold);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(255, 184, 28, 0.3);
    display: block;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--umbc-gold-light);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--umbc-gold-light);
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 25px 30px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 9998;
    border-left: 1px solid rgba(255, 184, 28, 0.3);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    justify-content: flex-start;
    gap: 8px;
  }

  .mobile-open .nav-menu {
    right: 0;
  }

  /* Enhanced mobile menu overlay */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9997;
  }

  .mobile-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 15px;
    width: 100%;
    text-align: center;
    background: rgba(255, 184, 28, 0.1);
    border: 1px solid rgba(255, 184, 28, 0.3);
    border-radius: 8px;
    color: white !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateX(30px);
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: var(--umbc-gold);
    color: black !important;
    transform: translateX(0) scale(1.02);
    border-color: var(--umbc-gold);
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--umbc-gold);
    transition: width 0.3s ease;
    transform: translateY(-50%);
  }

  .nav-link::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--umbc-gold);
    font-size: 1.1rem;
  }

  /* Staggered animation for mobile menu items */
  .mobile-open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-open .nav-menu li:nth-child(1) .nav-link { transition-delay: 0.1s; }
  .mobile-open .nav-menu li:nth-child(2) .nav-link { transition-delay: 0.15s; }
  .mobile-open .nav-menu li:nth-child(3) .nav-link { transition-delay: 0.2s; }
  .mobile-open .nav-menu li:nth-child(4) .nav-link { transition-delay: 0.25s; }
  .mobile-open .nav-menu li:nth-child(5) .nav-link { transition-delay: 0.3s; }
  .mobile-open .nav-menu li:nth-child(6) .nav-link { transition-delay: 0.35s; }
  .mobile-open .nav-menu li:nth-child(7) .nav-link { transition-delay: 0.4s; }
  .mobile-open .nav-menu li:nth-child(8) .nav-link { transition-delay: 0.45s; }
  .mobile-open .nav-menu li:nth-child(9) .nav-link { transition-delay: 0.5s; }

  .nav-link:hover,
  .nav-link:active {
    color: var(--umbc-gold-light) !important;
    padding-left: 20px;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    width: 40px;
  }

  .nav-link:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  .nav-link.active {
    color: var(--umbc-gold-light) !important;
    font-weight: 700;
    padding-left: 20px;
  }

  /* Theme toggle in mobile menu */
  .theme-toggle-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 184, 28, 0.2);
    text-align: center;
  }


  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .carousel-container {
    border-radius: 15px;
  }

  .carousel-image {
    height: 400px;
  }

  #testimonials blockquote {
    padding: 30px 20px;
    font-size: 1.1rem;
  }

  .footer-logo {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* FAQ Responsive Styles */
  .faq-intro {
    padding: 60px 0;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .faq-section {
    padding: 40px 30px;
    margin-bottom: 30px;
  }

  .section-header {
    flex-direction: column;
    gap: 15px;
  }

  .section-icon {
    font-size: 2.5rem;
    padding: 15px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 15px 45px 15px 15px;
    min-height: 50px;
  }

  .faq-question::after {
    width: 25px;
    height: 25px;
    font-size: 1.2rem;
    right: 15px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px 20px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  nav#navbar {
    padding: 12px 15px;
  }

  nav#navbar a {
    font-size: 1rem;
    padding: 12px 15px;
  }

  main {
    padding-top: 80px;
  }

  #faq, .donate-container {
    padding: 20px 15px;
    margin-top: 20px;
  }

  .faq-item, .donation-card {
    margin-bottom: 15px;
    padding: 15px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  #back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

/*****************************************
  SMOOTH ANIMATIONS ON SCROLL
******************************************/
[data-aos] {
  transition-property: transform, opacity !important;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
  opacity: 0;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}


/*****************************************
  ROLE BADGES ENHANCED
******************************************/
.role-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  border-radius: 20px;
  margin-left: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.role-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.role-badge:hover::before {
  left: 100%;
}

.role-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.captain {
  background: linear-gradient(135deg, #ffb81c, #e6a000);
}

.president {
  background: linear-gradient(135deg, #0073e6, #0056b3);
}

.vp {
  background: linear-gradient(135deg, #28a745, #218838);
}

.shed-manager {
  background: linear-gradient(135deg, #6c757d, #545b62);
}

.treasurer {
  background: linear-gradient(135deg, #d9534f, #c82333);
}

.co-captain {
  background: linear-gradient(135deg, #ffc107, #e0a800);
}

.secretary {
  background: linear-gradient(135deg, #56A0D3, #4590c3);
}

/*****************************************
  ROSTER LIST ENHANCED
******************************************/
.roster-list {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 25px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.roster-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  transition: var(--transition-smooth);
}

.roster-item:last-child {
  border-bottom: none;
}

.roster-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 25px 30px;
  position: relative;
  transition: var(--transition-smooth);
}

.roster-summary::after {
  content: '▼';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--umbc-gold);
  transition: transform 0.3s ease;
}

.roster-item.expanded .roster-summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.roster-summary:hover {
  background: linear-gradient(90deg, rgba(255, 184, 28, 0.05) 0%, transparent 100%);
}

.roster-summary h3 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--umbc-dark-grey);
  background: none;
  -webkit-text-fill-color: var(--umbc-dark-grey);
}

.roster-summary p {
  margin: 8px 0 0;
  font-size: 1rem;
  color: var(--text-light);
}

.roster-details {
  display: none;
  padding: 20px 30px 30px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.roster-item.expanded .roster-details {
  display: block;
}

/*****************************************
  COACHES SECTION ENHANCED
******************************************/
.coaches-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: #fff;
  padding: 80px 40px;
  margin: 60px auto;
  border-radius: 30px;
  max-width: 1200px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.coaches-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.2) 0%, transparent 70%);
  filter: blur(100px);
}

.coaches-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.coach-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 35px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.coach-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 25px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.coach-card:hover::before {
  opacity: 0.3;
}

.coach-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.coach-name {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.coach-role {
  color: var(--umbc-gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coach-hometown {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.coach-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/*****************************************
  FAQ PAGE MAIN CONTENT - ENHANCED
******************************************/
#faq-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: calc(100vh - 200px);
}

#faq-content::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
}

/*****************************************
  FAQ INTRO SECTION
******************************************/
.faq-intro {
  background: linear-gradient(135deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

.faq-intro::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
  animation: introGlow 10s linear infinite;
}

@keyframes introGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.intro-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.intro-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--umbc-dark-grey);
  font-weight: 700;
  margin-bottom: 15px;
}

.intro-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-btn.primary {
  background: var(--umbc-black);
  color: var(--umbc-gold);
  border: 3px solid var(--umbc-black);
}

.contact-btn.secondary {
  background: transparent;
  color: var(--umbc-black);
  border: 3px solid var(--umbc-black);
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-btn.primary:hover {
  background: var(--umbc-gold);
  color: var(--umbc-black);
}

.contact-btn.secondary:hover {
  background: var(--umbc-black);
  color: var(--umbc-gold);
}

/*****************************************
  FAQ SECTION ENHANCED
******************************************/
.faq-section {
  background: #ffffff;
  margin-bottom: 30px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--umbc-gold);
}


.section-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--umbc-grey);
}


.faq-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
  color: var(--umbc-dark-grey);
}


.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--umbc-grey);
}

.faq-item:hover {
  border-color: var(--umbc-gold);
}

.faq-question {
  width: 100%;
  background: linear-gradient(135deg, var(--umbc-gold-light) 0%, var(--umbc-gold) 100%);
  color: var(--umbc-black);
  text-align: left;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  padding: 20px 50px 20px 20px;
  border: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  line-height: 1.5;
  display: flex;
  align-items: center;
  min-height: 60px;
}

.faq-question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.faq-question:hover::before {
  transform: translateX(100%);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 30px;
  height: 30px;
  border: 2px solid var(--umbc-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  background: var(--umbc-black);
  color: var(--umbc-gold);
}

.faq-question:hover {
  background: linear-gradient(135deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  transform: scale(1.02);
}

.faq-question:active {
  transform: scale(0.98);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
  padding: 0 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 25px;
}

.faq-answer p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-darker);
  margin: 0 0 15px 0;
  font-weight: 400;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--umbc-gold-dark);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
  position: relative;
}

.faq-answer a::before {
  content: '→';
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.faq-answer a:hover {
  color: var(--umbc-gold);
  border-bottom-color: var(--umbc-gold);
}

.faq-answer a:hover::before {
  transform: translateX(3px);
}

/*****************************************
  RECRUITMENT FORM ENHANCED
******************************************/
#recruitment-form {
  max-width: 800px;
  margin: 60px auto;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

#recruitment-form::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.1) 0%, transparent 70%);
  filter: blur(80px);
}

.styled-form .form-row {
  margin-bottom: 30px;
  position: relative;
}

.styled-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--umbc-dark-grey);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="tel"],
.styled-form textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-family: inherit;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.8);
}

.styled-form input:focus,
.styled-form textarea:focus {
  outline: none;
  border-color: var(--umbc-gold);
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.2);
  transform: translateY(-2px);
}

/*****************************************
  MOBILE MENU ENHANCED
******************************************/
@media (max-width: 768px) {
  nav#navbar {
    padding: 15px 20px;
  }

  nav#navbar ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  nav#navbar.mobile-open ul {
    transform: translateX(0);
  }
}

/*****************************************
  MOBILE MENU TOGGLE BUTTON
******************************************/

/*****************************************
  ANIMATION CLASSES FOR JS
******************************************/
.in-view {
  opacity: 1;
  transform: translateY(0);
}

section:not(.in-view) {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-child:not(.in-view) {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/*****************************************
  FINAL POLISH & EFFECTS
******************************************/
::selection {
  background: var(--umbc-gold);
  color: var(--umbc-black);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--umbc-gold), var(--umbc-gold-dark));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--umbc-gold-dark);
}


/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--umbc-gold);
  outline-offset: 2px;
}

/*****************************************
  ENHANCED STATS SECTION
******************************************/
.stats-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: white;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 70%);
  animation: rotateStats 20s linear infinite;
}

@keyframes rotateStats {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 28, 0.2);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 184, 28, 0.1);
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.2);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 10px;
  display: block;
  text-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
}

/*****************************************
  ENHANCED TESTIMONIALS SECTION
******************************************/
.testimonials-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  height: 300px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s ease;
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: var(--shadow-medium);
  border-left: 5px solid var(--umbc-gold);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.quote-icon {
  font-size: 4rem;
  color: var(--umbc-gold);
  font-family: serif;
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-darker);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  text-align: right;
}

.testimonial-author strong {
  display: block;
  font-size: 1.3rem;
  color: var(--umbc-gold-dark);
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.testimonial-btn.active,
.testimonial-btn:hover {
  background: var(--umbc-gold);
  transform: scale(1.2);
}

/*****************************************
  VALUES SECTION
******************************************/
.values-section {
  background: linear-gradient(135deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  padding: 120px 40px;
  color: var(--umbc-black);
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 184, 28, 0.1), transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
  opacity: 0;
}

.value-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) scale(1.5);
}

.value-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--umbc-black);
}

.value-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/*****************************************
  TIMELINE SECTION
******************************************/
.timeline-section {
  background: #f8f9fa;
  padding: 120px 40px;
  position: relative;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--umbc-gold), var(--umbc-gold-dark));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: var(--umbc-gold);
  color: var(--umbc-black);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  width: calc(50% - 40px);
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 80px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 80px;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.timeline-content h3 {
  color: var(--umbc-gold-dark);
  margin-bottom: 10px;
}

/*****************************************
  FLOATING ACTION BUTTONS
******************************************/
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  position: relative;
  margin-bottom: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.main-fab {
  background: var(--umbc-gold);
  color: var(--umbc-black);
  font-size: 2rem;
  z-index: 1001;
}

.sub-fab {
  background: white;
  color: var(--umbc-black);
  transform: translateY(0) scale(0);
  opacity: 0;
  position: relative;
}

.sub-fab::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--umbc-black);
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.sub-fab:hover::before {
  opacity: 1;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.main-fab:hover {
  background: var(--umbc-gold-dark);
}

/*****************************************
  RESPONSIVE DESIGN IMPROVEMENTS
******************************************/
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-year {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
    margin-right: 0 !important;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .floating-actions {
    bottom: 20px;
    right: 20px;
  }
  
  .fab {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 40px !important;
  }
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ======================================== */

/* Mobile First - Base styles for small screens */
@media (max-width: 768px) {
  /* Hero sections */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    margin-bottom: 10px;
  }
  
  .hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem) !important;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  /* Enhanced Mobile Navigation */
  nav#navbar {
    padding: 10px 0;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent !important;
    backdrop-filter: none;
    height: auto;
  }
  
  nav#navbar ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 3px solid var(--umbc-gold);
  }

  /* Show mobile menu when opened */
  nav#navbar.mobile-open ul,
  .mobile-open nav#navbar ul {
    left: 0;
  }
  
  nav#navbar ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  nav#navbar ul li a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    margin: 2px;
  }
  
  nav#navbar ul li a:hover,
  nav#navbar ul li a.active {
    background: var(--umbc-gold);
    color: #000000;
    transform: scale(1.05);
  }

  /* Ensure mobile toggle is visible */
  .mobile-menu-toggle {
    display: flex !important;
    position: relative;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--umbc-gold);
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
  }

  .mobile-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
  }
  
  /* Theme toggle button mobile styling */
  nav#navbar ul li:last-child {
    grid-column: span 2;
    display: flex;
    justify-content: center;
  }
  
  #theme-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 1.2rem;
    min-width: 60px;
  }
  
  /* Sections */
  .info-section,
  .about-section,
  .gallery-section {
    padding: 30px 15px;
    margin: 15px 5px;
    border-radius: 15px;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    text-align: center;
    margin-bottom: 25px;
  }
  
  /* Home Page Specific Mobile Improvements */
  .about-section {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 20px 10px;
  }
  
  .about-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
  }
  
  /* Content grids */
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  
  .content-grid > div {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Image Carousel Mobile */
  #image-carousel {
    padding: 25px 10px;
    margin: 15px 5px;
  }
  
  /* Testimonials Mobile */
  #testimonials {
    padding: 25px 15px;
    margin: 15px 5px;
  }
  
  .testimonial-card {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
  }
  
  /* Instagram Feed Mobile */
  #instagram-feed {
    padding: 25px 15px;
    margin: 15px 5px;
  }
  
  /* Scrolling Player Section Mobile */
  #scrolling-player-section {
    padding: 25px 15px;
    margin: 15px 5px;
  }
  
  /* Roster Page Mobile Enhancements */
  #roster-screen {
    padding: 25px 10px;
    margin: 15px 5px;
  }
  
  .coaches-section {
    padding: 25px 10px;
    margin: 15px 5px;
  }
  
  /* Player Cards Mobile Grid */
  .player-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 15px !important;
    padding: 0 10px;
  }
  
  .player-card {
    margin: 0 !important;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    background: rgba(255, 255, 255, 0.98) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .player-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid var(--umbc-gold);
  }
  
  .player-name {
    font-size: 1.1rem !important;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000000;
  }
  
  .player-position {
    font-size: 0.95rem !important;
    color: #666666;
    margin-bottom: 5px;
  }
  
  .player-details {
    font-size: 0.85rem;
    color: #888888;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }
  
  /* Coach Cards Mobile */
  .coach-card {
    margin: 10px 0 !important;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98) !important;
    text-align: center;
  }
  
  .coach-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid var(--umbc-gold);
  }
  
  /* Cards */
  .team-card,
  .donation-card,
  .weekend-event-card,
  .scholarship-card {
    margin: 10px;
    padding: 20px;
    border-radius: 12px;
  }
  
  /* Forms */
  .recruitment-form-section,
  .contact-info-section {
    padding: 30px 20px;
    margin: 20px 10px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
  }
  
  /* Buttons */
  .cta-button,
  button,
  .btn {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 10px;
  }
  
  /* Gallery */
  .gallery-container {
    margin: 0 10px;
    border-radius: 15px;
  }
  
  .slide-wrapper {
    height: 400px;
  }
  
  .gallery-nav {
    width: 45px;
    height: 45px;
  }
  
  .gallery-nav.prev {
    left: 15px;
  }
  
  .gallery-nav.next {
    right: 15px;
  }
  
  /* Footer */
  footer {
    padding: 30px 20px;
    text-align: center;
  }
  
  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-logo {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-logo img {
    max-height: 60px;
    width: auto;
  }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }
  
  .info-section,
  .about-section,
  .gallery-section {
    padding: 60px 40px;
    margin: 30px 20px;
  }
  
  nav#navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* FAQ Hero Section Improvements */
.faq-hero {
  height: 100vh !important;
  min-height: 700px;
  max-height: none;
}

.faq-hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.faq-logo {
  width: 120px !important;
  height: 120px !important;
  margin-bottom: 20px;
}

.faq-title {
  font-size: clamp(3rem, 8vw, 4.5rem) !important;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.3rem) !important;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.faq-cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.faq-cta-primary {
  padding: 15px 30px !important;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--umbc-gold);
  color: #000000;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
}

.faq-cta-primary:hover {
  background: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
}

/* FAQ Page Mobile Fixes */
@media (max-width: 768px) {
  .faq-hero {
    height: 100vh !important;
    min-height: 500px;
    max-height: none;
  }
  
  .faq-hero-content {
    padding: 30px 20px;
  }
  
  .faq-logo {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 15px;
  }
  
  .faq-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    margin-bottom: 12px;
  }
  
  .faq-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    margin-bottom: 25px;
  }
  
  .faq-cta-wrapper {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .faq-cta-primary {
    width: 200px;
    padding: 12px 20px !important;
  }
  
  .faq-container {
    margin: 0 10px;
    padding: 20px;
  }
  
  .faq-item {
    margin-bottom: 15px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 20px;
  }
  
  .section-header {
    padding: 20px;
    text-align: center;
  }
}

/* Mobile UX Improvements */
@media (max-width: 768px) {
  /* Smooth scrolling for mobile */
  html {
    scroll-behavior: smooth;
  }
  
  /* Improved spacing for mobile readability */
  body {
    line-height: 1.6;
    padding-bottom: 20px;
  }
  
  /* Hero sections mobile optimization */
  #hero-header {
    height: 70vh !important;
    min-height: 500px;
  }
  
  .hero-content {
    padding: 30px 20px;
  }
  
  /* Better button spacing on mobile */
  .cta-button {
    margin: 8px 0;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  /* Mobile scroll indicator */
  .mobile-scroll-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--umbc-gold);
    color: #000000;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 1000;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  /* Quick access navigation hint */
  nav#navbar::before {
    content: "📱 Tap to navigate";
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
    margin-bottom: 5px;
  }
}

/* Ensure touch targets are at least 44px */
@media (max-width: 768px) {
  button,
  .btn,
  .cta-button,
  .faq-question,
  nav#navbar ul li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Improved mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
  nav#navbar {
    padding: 8px 0;
  }
  
  nav#navbar ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 0 10px;
  }
  
  nav#navbar ul li a {
    padding: 8px 4px;
    font-size: 0.8rem;
  }
  
  #hero-header {
    height: 100vh !important;
  }
  
  .hero-content {
    padding: 20px 15px;
  }
}

/* Schedule Page Mobile Enhancements */
@media (max-width: 768px) {
  .enhanced-schedule {
    padding: 15px 10px;
    margin: 10px 5px;
  }
  
  /* Mobile-optimized schedule improvements */
  .games-timeline {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }
  
  .timeline-line {
    display: none; /* Hide timeline on mobile for cleaner look */
  }
  
  .opponent-info {
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
  }
  
  .opponent-info h3 {
    font-size: 1.1rem !important;
    margin-bottom: 5px;
  }
  
  .game-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .game-time, .game-location {
    font-size: 0.9rem !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    background: rgba(255, 184, 28, 0.1) !important;
    border: 1px solid rgba(255, 184, 28, 0.3) !important;
  }
  
  .calendar-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }
  
  .calendar-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    min-width: auto !important;
    flex: 1 1 auto !important;
    max-width: 100px !important;
  }
  
  .location-indicator {
    width: 8px !important;
    height: 8px !important;
  }
  
  /* Practice schedule mobile improvements */
  .practice-schedule {
    padding: 15px 10px !important;
  }
  
  .practice-card {
    padding: 15px !important;
    margin-bottom: 12px !important;
    border-radius: 12px !important;
  }
  
  .practice-day {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }
  
  .practice-time {
    font-size: 0.9rem !important;
    padding: 6px 12px !important;
  }
  
  .practice-location {
    font-size: 0.8rem !important;
    margin-top: 8px !important;
  }
  
  /* Location guide mobile */
  .location-legend {
    padding: 15px !important;
    margin: 20px auto !important;
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .location-legend > div {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .location-legend > div > div {
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .schedule-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    margin-bottom: 25px;
  }
  
  .stat-item {
    padding: 15px !important;
    text-align: center;
    border-radius: 10px;
  }
  
  .stat-number {
    font-size: 1.8rem !important;
    margin-bottom: 5px;
  }
  
  .stat-label {
    font-size: 0.9rem !important;
  }
  
  /* Game Cards Mobile */
  .games-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  
  .game-card {
    padding: 15px !important;
    margin: 0 0 15px 0 !important;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 184, 28, 0.3);
  }
  
  .game-header {
    flex-direction: column !important;
    text-align: center;
    gap: 8px;
  }
  
  .game-date {
    font-size: 1rem !important;
    margin-bottom: 8px;
  }
  
  .game-time {
    font-size: 0.9rem !important;
    margin-bottom: 15px;
  }
  
  .opponent-info {
    text-align: center;
    margin: 15px 0;
  }
  
  .opponent-info h3 {
    font-size: 1.3rem !important;
    margin-bottom: 8px;
  }
  
  .game-location {
    font-size: 0.95rem !important;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .game-status {
    font-size: 0.9rem !important;
    text-align: center;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
  }
  
  .add-to-calendar {
    width: 100% !important;
    margin-top: 15px;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
  }
  
  /* Practice Info Mobile */
  .practice-info {
    padding: 20px !important;
    margin: 15px 0;
    border-radius: 12px;
    text-align: center;
  }
  
  .practice-schedule {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  
  /* Location Cards Mobile */
  .location-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  
  .location-card {
    padding: 20px !important;
    border-radius: 12px;
    text-align: center;
  }
  
  .copy-address {
    width: 100% !important;
    margin-top: 15px;
    padding: 12px;
  }
  
  /* Map Section Mobile */
  .map-section {
    padding: 20px 10px;
    margin: 15px 5px;
  }
  
  .map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 300px !important;
  }
}

/* Rugby Ready Page Mobile Enhancements */
@media (max-width: 768px) {
  #rugby-preparation,
  #rugby-iq,
  #resources {
    padding: 25px 15px !important;
    margin: 15px 5px !important;
    border-radius: 15px;
  }
  
  /* Rugby Content Grid Mobile */
  #rugby-preparation .content-grid,
  #rugby-iq .content-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  #rugby-preparation .content-grid > div,
  #rugby-iq .content-grid > div {
    padding: 25px 20px !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98) !important;
    margin-bottom: 15px;
  }
  
  #rugby-preparation h3,
  #rugby-iq h3 {
    font-size: 1.4rem !important;
    margin-bottom: 15px;
    text-align: center;
    color: var(--umbc-gold);
    border-bottom: 2px solid var(--umbc-gold);
    padding-bottom: 10px;
  }
  
  #rugby-preparation p,
  #rugby-iq p {
    font-size: 1rem !important;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 0;
  }
  
  /* Resources Section Mobile */
  #resources {
    text-align: center;
  }
  
  #resources ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
  }
  
  #resources ul li {
    margin-bottom: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  #resources ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  #resources ul li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--umbc-gold);
    display: block;
  }
  
  #resources ul li a:hover {
    color: #ffd700;
  }
  
  /* Rugby specific mobile typography */
  .rugby-section-title {
    font-size: clamp(1.8rem, 6vw, 2.3rem) !important;
    text-align: center;
    margin-bottom: 20px;
    color: var(--umbc-gold);
  }
  
  .rugby-section-intro {
    font-size: 1.1rem !important;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 10px;
  }
}

/* Print Styles */
@media print {
  nav#navbar,
  #back-to-top,
  .carousel-btn,
  .floating-actions,
  footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  section {
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* Enhanced Schedule Page Styles */
.enhanced-schedule .header-badge {
  background: linear-gradient(135deg, #FFB81C, #E6A500);
  color: #000;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
}

.enhanced-schedule .badge-icon {
  font-size: 1.2rem;
}

.enhanced-schedule .section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-align: center;
  color: #333333;
}

.enhanced-schedule .title-highlight {
  color: #FFB81C;
  text-shadow: 2px 2px 4px rgba(255, 184, 28, 0.3);
}

.enhanced-schedule .section-subtitle {
  font-size: 1.2rem;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

.enhanced-schedule .highlight-text {
  color: #FFB81C;
  font-weight: 600;
}

.enhanced-schedule .schedule-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.enhanced-schedule .stat-item {
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 28, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.enhanced-schedule .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.1), transparent);
  transition: left 0.5s ease;
}

.enhanced-schedule .stat-item:hover::before {
  left: 100%;
}

.enhanced-schedule .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 184, 28, 0.2);
  border-color: #FFB81C;
}

.enhanced-schedule .stat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.enhanced-schedule .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFB81C;
  display: block;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(255, 184, 28, 0.3);
}

.enhanced-schedule .stat-label {
  font-size: 1rem;
  color: #666666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.games-timeline {
  position: relative;
  margin: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #FFB81C, rgba(255, 184, 28, 0.3));
  transform: translateX(-50%);
  border-radius: 2px;
}

.enhanced-games {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Add all games to calendar button */
.add-all-games-btn {
  align-self: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  color: var(--umbc-black);
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-all-games-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 184, 28, 0.6);
}

/* Mobile-first responsive layout for games */
@media (max-width: 768px) {
  .enhanced-games {
    gap: 15px;
  }
  
  .add-all-games-btn {
    font-size: 1rem;
    padding: 12px 25px;
  }
  
  .calendar-options {
    padding: 10px 15px;
    gap: 6px;
  }
  
  .calendar-btn {
    width: 36px;
    height: 36px;
  }
  
  .calendar-btn svg {
    width: 18px;
    height: 18px;
  }
}

.game-card.enhanced {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 184, 28, 0.2);
  border-radius: 25px;
  margin-bottom: 30px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card.enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFB81C, #E6A500);
}

.game-card.enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.2);
  border-color: #FFB81C;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-card.enhanced:hover .card-glow {
  opacity: 1;
}

.game-card.enhanced .game-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 25px 30px;
}

.date-badge {
  background: linear-gradient(135deg, #FFB81C, #E6A500);
  color: #000;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
}

.date-badge .month {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.date-badge .day {
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.date-indicator {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 5px;
}

.vs-text {
  color: #FFB81C;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-right: 10px;
}

.game-details {
  margin-top: 8px;
}

.game-details p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #666;
}

.logo-frame {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 2px solid rgba(255, 184, 28, 0.2);
  transition: all 0.3s ease;
}

.game-card.enhanced:hover .logo-frame {
  border-color: #FFB81C;
  transform: scale(1.1);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-badge.home {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.location-badge.away {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
  color: white;
}

.marc-banner {
  background: linear-gradient(135deg, #8e44ad, #3498db);
  color: white;
  text-align: center;
  padding: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.game-card.marc-game {
  border: 2px solid #8e44ad;
}

.game-card.marc-game::before {
  background: linear-gradient(90deg, #8e44ad, #3498db);
}

/* Small button variant */
.cta-button.small-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  border-radius: 25px;
}

/* Calendar button styling - compact icons only */
.calendar-options {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.calendar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  font-size: 0; /* Hide text on desktop */
}

.calendar-btn svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.calendar-btn.google {
  border-color: #4285f4;
}

.calendar-btn.google svg {
  fill: #4285f4;
}

.calendar-btn.google:hover {
  background: #4285f4;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.calendar-btn.google:hover svg {
  fill: white;
}

.calendar-btn.apple {
  border-color: #007aff;
}

.calendar-btn.apple svg {
  fill: #007aff;
}

.calendar-btn.apple:hover {
  background: #007aff;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.calendar-btn.apple:hover svg {
  fill: white;
}

.calendar-btn.outlook {
  border-color: #0078d4;
}

.calendar-btn.outlook svg {
  fill: #0078d4;
}

.calendar-btn.outlook:hover {
  background: #0078d4;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 120, 212, 0.3);
}

.calendar-btn.outlook:hover svg {
  fill: white;
}

/* All typewriter animation styles - REMOVED */

/* Enhanced Rugby Ready Page Styles */
.info-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 60px 40px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 184, 28, 0.2);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.content-grid > div {
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.05));
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 184, 28, 0.2);
  transition: all 0.3s ease;
}

.content-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 184, 28, 0.2);
  border-color: #FFB81C;
}

.content-grid h3 {
  color: #FFB81C;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.content-grid h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #FFB81C, #E6A500);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .enhanced-schedule .schedule-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .enhanced-schedule .stat-item {
    padding: 20px 15px;
  }
  
  .enhanced-schedule .stat-number {
    font-size: 2rem;
  }
  
  .game-card.enhanced .game-header {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
  }
  
  .opponent-logo {
    grid-column: 1;
    grid-row: 2;
  }
  
  .location-badge {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

/*****************************************
  ALUMNI PAGE STYLES (from alumni.css)
******************************************/

/* Enhanced Gallery Section */
.gallery-section {
  padding: 150px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--umbc-gold);
  border-bottom: 4px solid var(--umbc-gold);
}

/* Gallery dark mode styles handled in comprehensive dark mode section above */

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 184, 28, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 184, 28, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.gallery-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.gallery-header .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.title-accent {
  color: var(--umbc-gold);
  display: inline-block;
  position: relative;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold) 0%, var(--umbc-gold-dark) 100%);
  border-radius: 2px;
}

.title-main {
  color: var(--text-primary, #2c2c2c);
  margin-left: 15px;
}

/* Title styles handled in comprehensive dark mode section above */

.gallery-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Gallery container styles handled in comprehensive dark mode section above */

.gallery-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-wrapper {
  position: relative;
  height: 700px;
  overflow: hidden;
  border-radius: 30px;
}

.slide-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-slide:hover .slide-wrapper img {
  transform: scale(1.1);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 60px 40px 40px;
  color: white;
  transform: translateY(20px);
  transition: transform 0.6s ease;
}

.gallery-slide:hover .slide-overlay {
  transform: translateY(0);
}

.slide-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--umbc-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

.slide-year {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 184, 28, 0.2);
  border: 2px solid var(--umbc-gold);
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--umbc-gold);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Gallery nav styles handled in comprehensive dark mode section above */

.gallery-nav:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--umbc-gold);
  color: white;
  box-shadow: 0 15px 35px rgba(255, 184, 28, 0.4);
}

.gallery-nav.prev {
  left: 30px;
}

.gallery-nav.next {
  right: 30px;
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
}

.gallery-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: var(--umbc-gold);
  border-color: var(--umbc-gold);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 184, 28, 0.6);
}

/* Alumni Hero Section */
.alumni-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.65) contrast(1.2);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 40px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border: 3px solid var(--umbc-gold);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
  margin-bottom: 40px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 184, 28, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 184, 28, 0.5);
  }
}

.hero-title {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  animation: alumniHeroFade 2s ease-out 0.8s forwards;
  line-height: 1.1;
  margin: 40px 0;
  text-transform: uppercase;
  text-shadow: 5px 5px 15px rgba(0, 0, 0, 1);
}

.title-word {
  display: inline-block;
  color: #ffffff;
  margin: 0 20px;
  position: relative;
  text-shadow: 5px 5px 15px rgba(0, 0, 0, 1), 0 0 30px rgba(255, 255, 255, 0.5);
  animation: titleFloat 3s ease-in-out infinite;
}

.title-word:nth-child(2) {
  animation-delay: 0.2s;
}

.title-word:nth-child(3) {
  animation-delay: 0.4s;
}

.title-word.golden {
  color: #ffffff;
  background: linear-gradient(135deg, var(--umbc-gold) 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 1)) drop-shadow(0 0 30px rgba(255, 184, 28, 0.8));
  font-weight: 900;
}

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

@keyframes alumniHeroFade {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*========================================
  ENHANCED ALUMNI PAGE IMPROVEMENTS
=========================================*/

/* Improved Gallery Styling */
.gallery-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 70%);
  animation: galleryGlow 25s linear infinite;
}

.gallery-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.gallery-slide {
  min-width: 380px;
  margin: 0 20px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.gallery-slide:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.2);
}

.slide-wrapper {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Enhanced Section Styling */
.alumni-intro {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #000000 0%, var(--umbc-gold) 50%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
}

/* Enhanced Timeline Styling */
.history-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 60px 0;
  padding: 0 20px;
}

.timeline-item {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 184, 28, 0.1);
}

.timeline-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--umbc-gold);
}

.timeline-item .year {
  font-size: 2rem;
  font-weight: 900;
  color: var(--umbc-gold);
  display: block;
  margin-bottom: 10px;
}

.timeline-item .event {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

/* Enhanced Card Styles */
.event-card, .criteria-card, .team-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 184, 28, 0.1);
  position: relative;
  overflow: hidden;
}

.event-card::before,
.criteria-card::before,
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.event-card:hover::before,
.criteria-card:hover::before,
.team-card:hover::before {
  transform: scaleX(1);
}

.event-card:hover,
.criteria-card:hover,
.team-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  border-color: var(--umbc-gold);
}

/*========================================
  ENHANCED IMAGE CAROUSEL SECTION
=========================================*/

/* Image Carousel Section Enhancements */
#image-carousel {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

#image-carousel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.03) 0%, transparent 70%);
  animation: galleryGlow 30s linear infinite;
}

#image-carousel .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #000000 0%, var(--umbc-gold) 50%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

#image-carousel .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

#image-carousel .section-subtitle {
  font-size: 1.3rem;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 0;
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 2px solid rgba(255, 184, 28, 0.1);
  position: relative;
  z-index: 2;
}

.carousel-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 32px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-container:hover::before {
  opacity: 0.3;
}

.carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: 650px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) contrast(1.1) saturate(1.1);
}

.carousel-image:hover {
  filter: brightness(1.05) contrast(1.2) saturate(1.2);
  transform: scale(1.02);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  color: #333;
  border: 2px solid rgba(255, 184, 28, 0.3);
  font-size: 1.8rem;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: var(--umbc-gold);
  border-color: var(--umbc-gold);
  color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.4);
}

.carousel-btn.prev { left: 30px; }
.carousel-btn.next { right: 30px; }

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.indicator {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator.active {
  background: var(--umbc-gold);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 184, 28, 0.6);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/*========================================
  ENHANCED TESTIMONIALS SECTION
=========================================*/

.testimonials-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 184, 28, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 184, 28, 0.03) 0%, transparent 50%);
  animation: testimonialGlow 25s linear infinite;
  z-index: 1;
}

@keyframes testimonialGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Section Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.header-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  color: #000;
  padding: 8px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
  position: relative;
}

.header-badge::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 27px;
  z-index: -1;
  opacity: 0.3;
}

.testimonials-header .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #000000 0%, var(--umbc-gold) 50%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.testimonials-header .section-subtitle {
  font-size: 1.3rem;
  color: #666;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -10px;
  right: -10px;
  bottom: -2px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  border-radius: 4px;
  opacity: 0.3;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.testimonial-card {
  position: relative;
  height: 100%;
}

.card-inner {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 25px;
  padding: 40px 35px;
  height: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 184, 28, 0.1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 184, 28, 0.02), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover .card-inner {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  border-color: var(--umbc-gold);
}

.testimonial-card:hover .card-inner::before {
  opacity: 1;
}

.quote-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: #000;
  box-shadow: 0 10px 25px rgba(255, 184, 28, 0.3);
}

.quote-icon svg {
  width: 24px;
  height: 24px;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100% - 75px);
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  font-style: italic;
  margin-bottom: 30px;
  flex: 1;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 3rem;
  color: var(--umbc-gold);
  opacity: 0.3;
  font-family: 'Georgia', serif;
}

.testimonial-text::after {
  content: '"';
  position: absolute;
  bottom: -25px;
  right: -5px;
  font-size: 3rem;
  color: var(--umbc-gold);
  opacity: 0.3;
  font-family: 'Georgia', serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 25px;
  border-top: 2px solid rgba(255, 184, 28, 0.1);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--umbc-gold);
  margin-bottom: 5px;
}

.author-role {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(255, 184, 28, 0.3);
  margin-left: 20px;
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.testimonial-card:hover .card-accent {
  transform: scaleX(1);
}

/* Call to Action */
.testimonials-cta {
  text-align: center;
  background: linear-gradient(145deg, #2c3e50, #34495e);
  border-radius: 30px;
  padding: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.testimonials-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 184, 28, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 184, 28, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--umbc-gold) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.4);
}

.cta-btn.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.6);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--umbc-gold);
  color: var(--umbc-gold);
  transform: translateY(-3px) scale(1.05);
}

/* Legacy styles override */
#testimonials {
  display: none;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 184, 28, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 184, 28, 0.05) 0%, transparent 50%);
  z-index: 1;
}

#testimonials .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--umbc-gold) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#testimonials .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
}

#testimonials .section-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 80px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

#testimonials blockquote {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 50px 40px;
  margin: 40px auto;
  max-width: 900px;
  border-radius: 25px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  line-height: 1.8;
}

#testimonials blockquote::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 40px;
  font-size: 6rem;
  color: var(--umbc-gold);
  opacity: 0.4;
  font-family: 'Georgia', serif;
  line-height: 1;
}

#testimonials blockquote::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 184, 28, 0.05), transparent);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

#testimonials blockquote:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 184, 28, 0.4);
}

#testimonials blockquote:hover::after {
  opacity: 1;
}

#testimonials blockquote strong {
  color: var(--umbc-gold);
  font-weight: 800;
  font-style: normal;
  font-size: 1.1em;
  text-shadow: 0 0 10px rgba(255, 184, 28, 0.3);
}

#testimonials blockquote:first-of-type {
  opacity: 1;
  transform: none;
}

#testimonials blockquote:last-of-type {
  opacity: 1;
  transform: none;
}

/*========================================
  ENHANCED HOME PAGE SECTIONS
=========================================*/

/* Enhanced About Section */
.about-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.03) 0%, transparent 70%);
  animation: sectionGlow 30s linear infinite;
  z-index: 1;
}

@keyframes sectionGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.about-section .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #000000 0%, var(--umbc-gold) 50%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.about-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}

.about-text {
  position: relative;
}

.about-text p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  position: relative;
}

.about-text p:first-child {
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
}

.about-text p:first-child::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
}

.about-text .cta-button {
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  color: #000;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
  margin-top: 20px;
}

.about-text .cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 184, 28, 0.5);
}

.about-image {
  position: relative;
  z-index: 2;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 25px;
  z-index: -1;
  opacity: 0.3;
}

.team-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.team-photo:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2);
}

/* Enhanced Instagram Section */
#instagram-feed {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#instagram-feed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 184, 28, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 184, 28, 0.05) 0%, transparent 50%);
  z-index: 1;
}

#instagram-feed .section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 0%, var(--umbc-gold) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

#instagram-feed .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
}

#instagram-feed p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

#instagram-feed > div {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

/* Enhanced Scrolling Player Section */
#scrolling-player-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f1f3f4 0%, #ffffff 50%, #f8f9fa 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#scrolling-player-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.04) 0%, transparent 70%);
  animation: sectionGlow 25s linear infinite reverse;
  z-index: 1;
}

#scrolling-player-section .caption {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

#scrolling-player-section .caption h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #000000 0%, var(--umbc-gold) 50%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

#scrolling-player-section .caption h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), var(--umbc-gold-light));
  border-radius: 2px;
}

.player-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.player-container::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: linear-gradient(45deg, transparent, rgba(255, 184, 28, 0.1), transparent);
  border-radius: 50%;
  z-index: -1;
}

.player-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.player-image:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2);
}

/* Theme Toggle Container */
.theme-toggle-container {
  margin-left: 20px;
}

/*========================================
  MOBILE NAVIGATION STYLES
=========================================*/

/* Mobile Navigation Breakpoints */
@media (max-width: 768px) {
  /* Show mobile menu toggle and logo */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-logo {
    display: block;
  }
  
  /* Hide desktop menu by default */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 20px 40px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--umbc-gold);
    overflow-y: auto;
  }
  
  /* Mobile menu open state */
  .mobile-open .nav-menu {
    right: 0;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
  }

  .mobile-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
  }
  
  /* Mobile navigation links */
  .nav-menu li {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .nav-menu li a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: var(--umbc-gold) !important;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    background: var(--umbc-gold);
    color: #000000 !important;
    transform: scale(1.05);
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
    margin-top: 20px;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 20px 30px;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--umbc-gold);
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }
  
  .nav-link:hover::before,
  .nav-link.active::before {
    transform: scaleY(1);
  }
  
  .nav-link:hover {
    background: rgba(255, 184, 28, 0.1);
    color: #ffffff;
    padding-left: 40px;
  }
  
  .nav-link.active {
    background: rgba(255, 184, 28, 0.15);
    color: #ffffff;
    font-weight: 700;
  }
  
  /* Theme toggle in mobile menu */
  .theme-toggle-container {
    margin: 20px 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .theme-toggle {
    width: 100%;
    padding: 15px;
    background: rgba(255, 184, 28, 0.1);
    border: 2px solid var(--umbc-gold);
    border-radius: 12px;
    color: var(--umbc-gold);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .theme-toggle:hover {
    background: var(--umbc-gold);
    color: #000;
    transform: scale(1.02);
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Tablet Navigation Adjustments */
@media (max-width: 992px) and (min-width: 769px) {
  .nav-container {
    padding: 0 30px;
  }
  
  .nav-menu {
    gap: 8px;
  }
  
  .nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
  }
}

/* Large Screen Navigation */
@media (min-width: 1200px) {
  .nav-container {
    padding: 0 40px;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .nav-link {
    padding: 14px 28px;
    font-size: 1.1rem;
  }
}

/* Mobile Menu Animation Enhancements */
@media (max-width: 768px) {
  .nav-menu li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
  }
  
  .mobile-open .nav-menu li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .mobile-open .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
  .mobile-open .nav-menu li:nth-child(2) { transition-delay: 0.15s; }
  .mobile-open .nav-menu li:nth-child(3) { transition-delay: 0.2s; }
  .mobile-open .nav-menu li:nth-child(4) { transition-delay: 0.25s; }
  .mobile-open .nav-menu li:nth-child(5) { transition-delay: 0.3s; }
  .mobile-open .nav-menu li:nth-child(6) { transition-delay: 0.35s; }
  .mobile-open .nav-menu li:nth-child(7) { transition-delay: 0.4s; }
  .mobile-open .nav-menu li:nth-child(8) { transition-delay: 0.45s; }
  .mobile-open .nav-menu li:nth-child(9) { transition-delay: 0.5s; }
}

/*========================================
  ENHANCED RESPONSIVE DESIGN
=========================================*/

/* Extra Large Screens */
@media (min-width: 1400px) {
  .hero-content {
    max-width: 1000px;
  }
  
  .gallery-slide {
    min-width: 420px;
  }
  
  .section-title {
    font-size: 4.5rem;
  }
}

/* Large Screens */
@media (max-width: 1200px) {
  .alumni-hero .hero-content {
    padding: 0 30px;
  }
  
  .gallery-slide {
    min-width: 350px;
    margin: 0 15px;
  }
  
  .history-timeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }
}

/* Medium Screens */
@media (max-width: 992px) {
  .alumni-hero .hero-content {
    padding: 0 25px;
  }
  
  /* Enhanced Carousel Responsive */
  #image-carousel {
    padding: 80px 0;
  }
  
  .carousel-container {
    max-width: 900px;
    margin: 40px auto 0;
  }
  
  .carousel-image {
    height: 500px;
  }
  
  .carousel-btn {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
  
  /* Enhanced Home Page Responsive */
  .about-section {
    padding: 80px 0;
  }
  
  .about-section .container {
    padding: 0 30px;
  }
  
  .about-content {
    gap: 60px;
    margin-top: 60px;
  }
  
  .about-text p {
    font-size: 1.1rem;
  }
  
  #instagram-feed {
    padding: 80px 0;
  }
  
  #instagram-feed > div {
    margin: 0 30px;
    padding: 30px;
  }
  
  #scrolling-player-section {
    padding: 80px 0;
  }
  
  /* Enhanced Testimonials Responsive */
  .testimonials-section {
    padding: 80px 0;
  }
  
  .testimonials-container {
    padding: 0 30px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .card-inner {
    padding: 35px 30px;
  }
  
  .testimonials-cta {
    padding: 50px 30px;
  }
  
  .cta-content h3 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
  
  .gallery-container {
    padding: 0 15px;
  }
  
  .gallery-slide {
    min-width: 320px;
    margin: 0 12px;
  }
  
  .slide-wrapper {
    height: 380px;
  }
  
  .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  .alumni-intro,
  .alumni-weekend,
  .scholarship-section,
  .alumni-teams {
    padding: 80px 0;
  }
  
  .event-card,
  .criteria-card,
  .team-card {
    padding: 30px 25px;
  }
  
  .timeline-item {
    padding: 25px 20px;
  }
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
  /* General mobile adjustments */
  body {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ensure no white space at top on all pages */
  html {
    margin: 0;
    padding: 0;
  }

  /* Main content adjustments */
  main {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Improved touch targets */
  a, button, .cta-button, .nav-link {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
  
  /* Hero sections mobile optimization */
  .alumni-hero,
  #hero-header {
    min-height: 100vh;
    padding: 60px 0;
  }
  
  /* Enhanced Image Carousel Mobile */
  #image-carousel {
    padding: 50px 0 40px;
    margin-top: -10px;
  }
  
  #image-carousel .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
    padding: 0 15px;
  }
  
  #image-carousel .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
    line-height: 1.5;
  }
  
  .carousel-container {
    max-width: 100%;
    margin: 20px auto 0;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-image {
    height: 280px;
    object-fit: cover;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
  }
  
  .carousel-btn.prev { left: 15px; }
  .carousel-btn.next { right: 15px; }
  
  .carousel-indicators {
    bottom: 15px;
    padding: 10px 15px;
    gap: 12px;
    border-radius: 20px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  /* Improved mobile spacing and typography */
  section {
    padding: 50px 0;
    margin: 0;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 30px;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    padding: 0 10px;
  }
  
  /* Container improvements */
  .container,
  .testimonials-container,
  .nav-container {
    padding: 0 15px;
    max-width: 100%;
  }
  
  /* Button improvements */
  .cta-button, .cta-btn {
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 25px;
    width: auto;
    min-width: 120px;
  }
  
  /* Enhanced Home Page Mobile Organization */
  
  /* About Section Mobile */
  .about-section {
    padding: 50px 0;
  }
  
  .about-section .container {
    padding: 0 15px;
    max-width: 100%;
  }
  
  .about-section .section-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 25px;
    line-height: 1.2;
    padding: 0 10px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 30px;
  }
  
  .about-text {
    order: 2;
    text-align: center;
    padding: 0 10px;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 5px;
  }
  
  .about-text p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-left: 15px;
    position: relative;
  }
  
  .about-text p:first-child::before {
    left: 0;
    width: 3px;
    height: 100%;
  }
  
  .about-text .cta-button {
    display: block;
    width: fit-content;
    margin: 25px auto 0;
    padding: 14px 30px;
    font-size: 1rem;
    text-align: center;
  }
  
  .team-photo {
    border-radius: 15px;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
  }
  
  /* Instagram Feed Mobile */
  #instagram-feed {
    padding: 50px 0 40px;
    margin-top: -10px;
  }
  
  #instagram-feed .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
    padding: 0 15px;
  }
  
  #instagram-feed p {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
    line-height: 1.5;
  }
  
  #instagram-feed > div {
    margin: 0 15px;
    padding: 20px 15px;
    border-radius: 18px;
    max-width: calc(100% - 30px);
  }
  
  /* Scrolling Player Section Mobile */
  #scrolling-player-section {
    padding: 50px 0 40px;
    margin-top: -10px;
  }
  
  #scrolling-player-section .caption {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  #scrolling-player-section .caption h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 0;
  }
  
  .player-container {
    max-width: 350px;
    padding: 0 15px;
  }
  
  .player-container::before {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
  }
  
  .player-image {
    border-radius: 15px;
    max-height: 400px;
    object-fit: contain;
  }
  
  /* Enhanced Testimonials Mobile */
  .testimonials-section {
    padding: 50px 0 40px;
    margin-top: -10px;
  }
  
  .testimonials-container {
    padding: 0 15px;
  }
  
  .testimonials-header {
    margin-bottom: 40px;
    text-align: center;
  }
  
  .header-badge {
    padding: 6px 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
  }
  
  .testimonials-header .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
    padding: 0 10px;
  }
  
  .testimonials-header .section-subtitle {
    font-size: 1rem;
    padding: 0 10px;
    line-height: 1.5;
  }
  
  .testimonials-grid {
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .card-inner {
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
  }
  
  .quote-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .testimonial-text::before,
  .testimonial-text::after {
    font-size: 2rem;
  }
  
  .testimonial-text::before {
    top: -10px;
    left: -10px;
  }
  
  .testimonial-text::after {
    bottom: -15px;
    right: -5px;
  }
  
  .testimonial-author {
    padding-top: 15px;
    margin-top: 15px;
  }
  
  .author-name {
    font-size: 1.1rem;
  }
  
  .author-role {
    font-size: 0.9rem;
  }
  
  .author-avatar {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
    margin-left: 15px;
  }
  
  .testimonials-cta {
    padding: 30px 15px;
    border-radius: 18px;
    margin-top: 10px;
  }
  
  .cta-content h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }
  
  .cta-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 5px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Footer Mobile Optimization */
  footer {
    padding: 40px 0 30px;
    margin-top: -5px;
  }
  
  .footer-logo {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .footer-logo img {
    width: auto;
    height: 50px;
    max-width: 120px;
  }
  
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  
  .footer-nav a {
    font-size: 0.95rem;
    padding: 5px;
  }
  
  footer p {
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .cta-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
  
  .alumni-hero .hero-content {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 20px;
  }
  
  .title-word {
    margin: 0 8px;
    display: block;
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 40px;
  }
  
  .hero-badge {
    padding: 6px 20px;
    font-size: 0.8rem;
    margin-bottom: 25px;
  }
  
  .gallery-section {
    padding: 60px 0;
  }
  
  .gallery-container {
    padding: 0 10px;
  }
  
  .gallery-slide {
    min-width: 280px;
    margin: 0 10px;
  }
  
  .slide-wrapper {
    height: 320px;
  }
  
  .slide-content h3 {
    font-size: 1.5rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    margin-bottom: 40px;
  }
  
  .history-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
    padding: 0 10px;
  }
  
  .timeline-item {
    padding: 20px 15px;
  }
  
  .timeline-item .year {
    font-size: 1.5rem;
  }
  
  .timeline-item .event {
    font-size: 1rem;
  }
  
  .alumni-intro,
  .alumni-weekend,
  .scholarship-section,
  .alumni-teams {
    padding: 60px 0;
  }
  
  .event-card,
  .criteria-card,
  .team-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .scroll-indicator {
    bottom: 20px;
  }
  
  .mouse {
    width: 20px;
    height: 35px;
  }
  
  .scroll-text {
    font-size: 0.7rem;
  }
}

/* Extra Small Screens (Mobile phones in portrait) */
@media (max-width: 480px) {
  /* Ultra-mobile optimizations */
  .nav-container {
    padding: 0 10px;
  }
  
  .mobile-menu-toggle {
    width: 45px;
    height: 45px;
  }
  
  .nav-logo-img {
    width: 35px;
    height: 35px;
  }
  
  .nav-menu {
    width: 85%;
    max-width: 280px;
  }
  
  .nav-link {
    padding: 18px 25px;
    font-size: 1rem;
  }
  
  /* Hero content */
  .alumni-hero .hero-content,
  #hero-header .hero-content {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }
  
  .title-word {
    margin: 0 5px;
    margin-bottom: 8px;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 5vw, 1.2rem);
  }
  
  .hero-badge {
    padding: 5px 15px;
    font-size: 0.7rem;
    margin-bottom: 20px;
  }
  
  .gallery-slide {
    min-width: 250px;
    margin: 0 8px;
  }
  
  .slide-wrapper {
    height: 280px;
  }
  
  .slide-content h3 {
    font-size: 1.3rem;
  }
  
  .slide-content p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
  
  .timeline-item .year {
    font-size: 1.3rem;
  }
  
  .timeline-item .event {
    font-size: 0.9rem;
  }
  
  .event-card,
  .criteria-card,
  .team-card {
    padding: 20px 15px;
  }
  
  .alumni-intro,
  .alumni-weekend,
  .scholarship-section,
  .alumni-teams {
    padding: 40px 0;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .nav-menu {
    max-width: 300px;
    width: 75%;
  }
  
  #hero-header,
  .alumni-hero {
    min-height: 70vh;
    padding: 40px 0;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  section {
    padding: 40px 0;
  }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav-logo-img,
  .hero-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .mobile-menu-toggle.active .hamburger-line {
    transition: none;
  }
}

/* Dark Mode Support for Mobile Menu */
@media (prefers-color-scheme: dark) {
  .nav-menu {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
  }
  
  .nav-link {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .nav-link:hover {
    color: var(--umbc-gold);
  }
}

/* Print Styles */
@media print {
  .mobile-menu-toggle,
  .nav-logo,
  .mobile-menu-overlay,
  .alumni-hero,
  .gallery-section,
  .scroll-indicator,
  .gallery-nav,
  .gallery-indicators {
    display: none;
  }
  
  .nav-menu {
    position: static;
    background: none;
    flex-direction: row;
    height: auto;
    padding: 10px 0;
  }
  
  .nav-link {
    padding: 5px 10px;
    color: #000;
  }
  
  .alumni-main {
    padding-top: 0;
  }
  
  .section-title {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }
}

/*****************************************
  GLOBAL CONTAINER CLASS
******************************************/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/*****************************************
  NEW ALUMNI PAGE STYLES
******************************************/

/* Title Highlight */
.title-highlight {
  color: var(--umbc-gold);
  text-shadow: 2px 2px 4px rgba(255, 184, 28, 0.3);
}

/* Hero Actions Section */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.hero-actions .cta-button {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.hero-actions .cta-button.primary {
  background: var(--umbc-gold);
  color: #000;
  border: 2px solid var(--umbc-gold);
}

.hero-actions .cta-button.secondary {
  background: transparent;
  color: var(--umbc-gold);
  border: 2px solid var(--umbc-gold);
}

.hero-actions .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 184, 28, 0.3);
}

.hero-actions .cta-button.primary:hover {
  background: #000;
  color: var(--umbc-gold);
}

.hero-actions .cta-button.secondary:hover {
  background: var(--umbc-gold);
  color: #000;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-actions .cta-button {
    padding: 12px 25px;
    width: 200px;
    text-align: center;
  }
}

/* Hero Stats Section */
.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  z-index: 3;
}

.hero-stats .stat-item {
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 28, 0.3);
}

.hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 5px;
}

.hero-stats .stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  
  .hero-stats .stat-item {
    padding: 15px;
  }
  
  .hero-stats .stat-number {
    font-size: 2rem;
  }
}

/* Alumni Features Section */
.alumni-features {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--section-bg) 0%, rgba(255, 184, 28, 0.05) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--umbc-gold);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.feature-link {
  color: var(--umbc-gold);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--umbc-gold);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-link:hover {
  background: var(--umbc-gold);
  color: #000;
  transform: scale(1.05);
}

/* Alumni Stories Section */
.alumni-stories {
  padding: 100px 0;
  background: var(--primary-bg);
}

.stories-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.story-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.story-card.featured {
  grid-row: span 2;
}

.story-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.story-card.featured .story-image {
  height: 300px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card:hover .story-image img {
  transform: scale(1.1);
}

.story-content {
  padding: 30px;
}

.story-meta {
  color: var(--umbc-gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
  line-height: 1.3;
}

.story-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.story-author {
  color: var(--text-primary);
  font-weight: 600;
  font-style: normal;
}

/* Alumni Weekend Section */
.alumni-weekend {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1) 0%, var(--section-bg) 100%);
}

.weekend-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.weekend-info h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.weekend-date {
  color: var(--umbc-gold);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.weekend-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.weekend-schedule h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.schedule-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 184, 28, 0.2);
}

.schedule-time {
  font-weight: 700;
  color: var(--umbc-gold);
  min-width: 140px;
  font-size: 0.95rem;
}

.schedule-event {
  color: var(--text-primary);
  font-weight: 500;
}

.weekend-gallery .gallery-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.gallery-thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Ways to Support Section */
.ways-to-support {
  padding: 100px 0;
  background: var(--primary-bg);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.support-card {
  background: var(--card-bg);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.support-card:hover::before {
  transform: scale(1);
}

.support-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--umbc-gold);
}

.support-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  display: block;
  position: relative;
  z-index: 1;
}

.support-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.support-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.support-btn {
  background: var(--umbc-gold);
  color: #000;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.support-btn:hover {
  background: #000;
  color: var(--umbc-gold);
  transform: scale(1.1);
}

/* Alumni Connect Section */
.alumni-connect {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--section-bg) 0%, rgba(255, 184, 28, 0.05) 100%);
}

.connect-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.connect-options {
  margin-top: 40px;
}

.connect-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.connect-option:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.option-icon {
  font-size: 2rem;
  margin-right: 20px;
  margin-top: 5px;
}

.option-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.option-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Alumni Form */
.connect-form {
  background: var(--card-bg);
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 184, 28, 0.1);
}

.alumni-form h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-primary);
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 184, 28, 0.2);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--umbc-gold);
  box-shadow: 0 0 0 3px rgba(255, 184, 28, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .feature-card {
    padding: 30px 25px;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .story-card.featured {
    grid-row: span 1;
  }
  
  .story-image,
  .story-card.featured .story-image {
    height: 180px;
  }
  
  .story-content {
    padding: 25px;
  }
  
  .weekend-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .weekend-info h2 {
    font-size: 2rem;
  }
  
  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .schedule-time {
    min-width: auto;
    margin-bottom: 5px;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .support-card {
    padding: 40px 30px;
  }
  
  .connect-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .connect-form {
    padding: 40px 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .alumni-form h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .alumni-features,
  .alumni-stories,
  .alumni-weekend,
  .ways-to-support,
  .alumni-connect {
    padding: 60px 0;
  }
  
  .feature-card,
  .support-card {
    padding: 25px 20px;
  }
  
  .story-content {
    padding: 20px;
  }
  
  .connect-form {
    padding: 30px 20px;
  }
  
  .weekend-info h2 {
    font-size: 1.8rem;
  }
  
  .support-icon,
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .option-icon {
    font-size: 1.5rem;
  }
}



/* Additional Styles for New Classes */

/* Main Content Container */
.main-content {
  margin-top: 0;
}

/* Section Padding */
.section-padded {
  padding: 80px 0;
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-header.text-center {
  text-align: center;
}

.section-header .section-title {
  margin-bottom: 20px;
}

.section-header .section-subtitle {
  margin-bottom: 0;
  opacity: 0.8;
}

/* Section Badge */
.section-badge {
  display: inline-block;
  background: var(--accent-color, #FFB81C);
  color: var(--text-dark, #000);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Info Grid Styling */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.info-card .info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color, #FFB81C);
  color: var(--text-dark, #000);
  border-radius: 50%;
}

.info-card .info-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  color: var(--text-light, #fff);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.info-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-link {
  display: inline-block;
  color: var(--accent-color, #FFB81C);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--accent-color, #FFB81C);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.info-link:hover {
  background: var(--accent-color, #FFB81C);
  color: var(--text-dark, #000);
}

/* Typewriter Effect */
.typewriter-text {
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
}

.typewriter-text.typing {
  overflow: hidden;
  border-right: 2px solid var(--accent-color, #FFB81C);
  white-space: nowrap;
  animation: blink 1s infinite;
  opacity: 0;
}

@keyframes blink {
  0%, 50% { border-color: var(--accent-color, #FFB81C); }
  51%, 100% { border-color: transparent; }
}

/* Social Content */
.social-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light, #fff);
  text-decoration: none;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-color, #FFB81C);
  color: var(--text-dark, #000);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Theme Toggle SVG Styling */
.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
  transform: rotate(180deg);
}

/* Dark Theme Adjustments */


/* Responsive Design */
@media (max-width: 768px) {
  .section-padded {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
  }
}



/* Enhanced About Section Styles */

.about-section.enhanced-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.about-header {
  margin-bottom: 80px;
}

.about-main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Stats Banner */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 184, 28, 0.3);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color, #FFB81C);
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.2);
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color, #FFB81C);
  color: var(--text-dark, #000);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(360deg);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color, #FFB81C);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Description */
.about-description {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.highlight-box, .mission-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-color, #FFB81C);
  border-radius: 0 15px 15px 0;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.highlight-box h3, .mission-box h3 {
  color: var(--accent-color, #FFB81C);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.highlight-box p, .mission-box p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 184, 28, 0.3);
  transform: translateY(-5px);
}

.value-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 28, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon {
  background: var(--accent-color, #FFB81C);
  transform: scale(1.1);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-color, #FFB81C);
  transition: color 0.3s ease;
}

.value-item:hover .value-icon svg {
  color: var(--text-dark, #000);
}

.value-item h4 {
  color: var(--text-light, #fff);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.value-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About CTA */
.about-cta {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.cta-button.large {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Visual Section */
.about-visual {
  position: sticky;
  top: 100px;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 40px 30px 30px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-container:hover .image-overlay {
  transform: translateY(0);
}

.image-container:hover .main-image {
  transform: scale(1.05);
}

.overlay-content h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent-color, #FFB81C);
  font-weight: 700;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

/* Dark Theme Adjustments */


/* Responsive Design */
@media (max-width: 1200px) {
  .about-main-content {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .about-section.enhanced-section {
    padding: 80px 0;
  }
  
  .about-main-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .about-visual {
    position: static;
  }
  
  .main-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .stat-card {
    padding: 20px 15px;
  }
  
  .highlight-box, .mission-box {
    padding: 20px;
  }
  
  .value-item {
    padding: 20px 15px;
  }
}



/* Clean About Section Styles */

.about-section.clean-section {
  padding: 80px 0;
  background: #f8f9fa;
  position: relative;
}

.about-header {
  margin-bottom: 50px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 30px 0;
  border-top: 2px solid var(--accent-color, #FFB81C);
  border-bottom: 2px solid var(--accent-color, #FFB81C);
}

.stats-row .stat-item {
  text-align: center;
  flex: 1;
}

.stats-row .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-color, #FFB81C);
  margin-bottom: 5px;
}

.stats-row .stat-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Text Content */
.about-text-content {
  margin-bottom: 40px;
}

.about-text-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

/* About CTA */
.about-cta {
  display: flex;
  gap: 20px;
}

/* About Image */
.about-image {
  text-align: center;
}

.team-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.02);
}

/* Updated Info Card Styles - Cleaner and More Compact */
.info-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color, #FFB81C);
}

.info-card .info-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color, #FFB81C);
  color: white;
  border-radius: 50%;
}

.info-card .info-icon svg {
  width: 20px;
  height: 20px;
}

.info-card h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.info-card p {
  margin-bottom: 15px;
}

.info-link {
  display: inline-block;
  color: var(--accent-color, #FFB81C);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 20px;
  border: 2px solid var(--accent-color, #FFB81C);
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.info-link:hover {
  background: var(--accent-color, #FFB81C);
  color: white;
}

/* Dark Theme Adjustments */





/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-cta {
    justify-content: center;
  }
}



/* Small Typewriter Text */
.small-typewriter {
  font-size: 2.5rem !important;
}

@media (max-width: 768px) {
  .small-typewriter {
    font-size: 2rem !important;
  }
}

@media (max-width: 480px) {
  .small-typewriter {
    font-size: 1.8rem !important;
  }
}



/* Enhanced Loading Screen Styles */
.umbc-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.umbc-loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: white;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.loading-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: logoSpin 2s linear infinite;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px solid var(--accent-color, #FFB81C);
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
  opacity: 0.7;
}

.pulse-ring.ring-2 {
  animation-delay: 0.5s;
  border-color: rgba(255, 184, 28, 0.6);
}

.pulse-ring.ring-3 {
  animation-delay: 1s;
  border-color: rgba(255, 184, 28, 0.4);
}

.loading-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color, #FFB81C);
  margin-bottom: 30px;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.spinner-segment {
  width: 8px;
  height: 8px;
  background: var(--accent-color, #FFB81C);
  border-radius: 50%;
  animation: spinnerBounce 1.2s ease-in-out infinite;
}

.spinner-segment:nth-child(1) { animation-delay: 0s; }
.spinner-segment:nth-child(2) { animation-delay: 0.1s; }
.spinner-segment:nth-child(3) { animation-delay: 0.2s; }
.spinner-segment:nth-child(4) { animation-delay: 0.3s; }
.spinner-segment:nth-child(5) { animation-delay: 0.4s; }
.spinner-segment:nth-child(6) { animation-delay: 0.5s; }

@keyframes logoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 10px var(--accent-color, #FFB81C);
  }
  100% {
    text-shadow: 0 0 20px var(--accent-color, #FFB81C), 0 0 30px var(--accent-color, #FFB81C);
  }
}

@keyframes spinnerBounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}



/* Fix Mobile Navigation Z-Index - CRITICAL FOR ALL PAGES */
#navbar {
  z-index: 9999 !important;
}

.nav-container {
  z-index: 9999 !important;
}

.mobile-menu-overlay {
  z-index: 9998 !important;
}

.nav-menu {
  z-index: 9999 !important;
}

.mobile-menu-toggle {
  z-index: 10000 !important;
}

/* Ensure mobile menu appears above all other content */
@media (max-width: 768px) {
  #navbar.mobile-open {
    z-index: 10001 !important;
  }
  
  .nav-menu {
    z-index: 10000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    width: 300px !important;
    background: rgba(0, 0, 0, 0.75) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
  }

  .mobile-open .nav-menu {
    transform: translateX(0) !important;
  }
  
  .mobile-menu-overlay {
    z-index: 9999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
  }

  .mobile-open .mobile-menu-overlay {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu-toggle {
    z-index: 10002 !important;
  }
}



/* Fix Scroll Issues - Remove Loading Class Overflow */
body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Only disable scroll when mobile menu is actually open */
body.menu-open {
  overflow: hidden;
}

/* Remove any residual loading class styles */
body.loading {
  overflow-y: auto !important;
}

/* Ensure main content is scrollable */
.main-content {
  overflow: visible;
}

/* ===============================================
   SCHEDULE PAGE SPECIFIC STYLES
=============================================== */

/* Schedule Status Section */
.schedule-status {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.05));
  padding: 30px;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 600px;
  border: 2px solid rgba(255, 184, 28, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.schedule-status h3 {
  font-size: 2rem;
  color: var(--umbc-gold);
  margin-bottom: 15px;
  font-weight: 800;
}

.schedule-status p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Location Legend */
.location-legend {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: 2px solid rgba(255, 184, 28, 0.1) !important;
  transition: all 0.3s ease !important;
}

.location-legend:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(255, 184, 28, 0.3) !important;
}

.location-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.location-indicator.home {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.location-indicator.away {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

/* Practice Info Section */
.practice-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 40px;
  margin: 60px auto;
  border-radius: 25px;
  max-width: 1200px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.practice-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.practice-info h2 {
  font-size: 3rem;
  color: var(--umbc-gold);
  margin-bottom: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.practice-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 184, 28, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--umbc-gold), #ffd700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 184, 28, 0.3);
}

.practice-day {
  font-size: 2rem;
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.practice-time {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.practice-location {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 10px 20px;
  background: rgba(255, 184, 28, 0.1);
  border-radius: 25px;
  display: inline-block;
}

/* Enhanced Schedule Section */
.enhanced-schedule {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #333333;
  padding: 80px 40px;
  margin: 60px auto;
  border-radius: 30px;
  max-width: 1400px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.enhanced-schedule::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  animation: float 15s ease-in-out infinite;
}

.schedule-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 184, 28, 0.2);
  backdrop-filter: blur(20px);
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 184, 28, 0.3);
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 1.2rem;
}

.badge-icon {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

.schedule-header .section-title {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--umbc-gold) 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.title-highlight {
  position: relative;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--umbc-gold), #ffd700);
  border-radius: 2px;
  animation: underlineExpand 2s ease-in-out infinite;
}

.section-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.highlight-text {
  color: var(--umbc-gold);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
}

.schedule-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 2px solid rgba(255, 184, 28, 0.2);
  transition: all 0.3s ease;
  min-width: 120px;
}

.stat-item:hover {
  transform: scale(1.1);
  border-color: rgba(255, 184, 28, 0.5);
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.2);
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--umbc-gold);
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(255, 184, 28, 0.8);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Games Container */
.enhanced-games {
  position: relative;
  z-index: 1;
}

.games-timeline {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--umbc-gold), #ffd700, var(--umbc-gold));
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(255, 184, 28, 0.5);
}

.games-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Game Cards */
.game-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 184, 28, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.game-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold));
  border-radius: 27px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.game-card:hover::before {
  opacity: 0.3;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 184, 28, 0.4);
}

/* Game Card Variants */
.game-card.home {
  border-left: 8px solid #4CAF50;
}

.game-card.away {
  border-left: 8px solid #f44336;
}

.game-card.championship {
  border-left: 8px solid #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.game-card.potential {
  border-left: 8px solid #9e9e9e;
  opacity: 0.8;
}

.game-card.enhanced {
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 3px solid var(--umbc-gold);
}

/* Game Header */
.game-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.game-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--umbc-gold);
  color: var(--umbc-black);
  padding: 20px;
  border-radius: 20px;
  min-width: 100px;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.4);
  transform: perspective(1000px) rotateX(0deg);
  transition: transform 0.3s ease;
}

.game-card:hover .game-date {
  transform: perspective(1000px) rotateX(-15deg);
}

.game-date .month {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.game-date .day {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.game-info {
  flex: 1;
  min-width: 200px;
}

.game-info h3.opponent {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.game-time {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--umbc-gold);
  margin-bottom: 5px;
}

.game-type {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 5px 15px;
  background: rgba(255, 184, 28, 0.1);
  border-radius: 20px;
  display: inline-block;
}

.opponent-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.game-card:hover .opponent-logo {
  transform: scale(1.1) rotate(5deg);
}

.opponent-logo img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
}

/* Calendar Options */
.calendar-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.calendar-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 184, 28, 0.2);
  border-radius: 15px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
}

.calendar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 184, 28, 0.5);
  background: var(--umbc-gold);
  color: var(--umbc-black);
}

.calendar-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Venue Information */
.venue-info {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 40px;
  margin: 60px auto;
  border-radius: 25px;
  max-width: 1200px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.venue-info h2 {
  text-align: center;
  font-size: 3rem;
  color: var(--umbc-gold);
  margin-bottom: 50px;
  font-weight: 900;
  text-transform: uppercase;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.venue-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 184, 28, 0.1);
  transition: all 0.3s ease;
}

.venue-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 184, 28, 0.3);
}

.venue-item h3 {
  font-size: 1.8rem;
  color: var(--umbc-gold);
  margin-bottom: 20px;
  font-weight: 800;
}

.venue-item p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Animations */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes underlineExpand {
  0%, 100% { transform: scaleX(0.5); }
  50% { transform: scaleX(1); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50px, -50px) rotate(90deg); }
  50% { transform: translate(0, -100px) rotate(180deg); }
  75% { transform: translate(-50px, -50px) rotate(270deg); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===============================================
   SCHEDULE PAGE RESPONSIVE DESIGN
=============================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
  .practice-info {
    padding: 50px 30px;
    margin: 50px 20px;
  }

  .practice-info h2 {
    font-size: 2.5rem;
  }

  .practice-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .enhanced-schedule {
    padding: 60px 30px;
    margin: 50px 20px;
  }

  .schedule-header .section-title {
    font-size: 3rem;
  }

  .schedule-stats {
    gap: 40px;
  }

  .game-header {
    gap: 20px;
  }

  .game-info h3.opponent {
    font-size: 1.6rem;
  }

  .venue-info {
    padding: 50px 30px;
    margin: 50px 20px;
  }

  .venue-info h2 {
    font-size: 2.5rem;
  }

  .venue-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
}

/* Prevent horizontal scrolling */
body, html {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Advanced Cool Animations */
@keyframes sparkleMove {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(200px, -100px) rotate(180deg) scale(0.5); opacity: 0; }
}

@keyframes morphBounce {
  0%, 100% { border-radius: 25px; transform: scale(1) rotate(0deg); }
  25% { border-radius: 50px 25px 25px 50px; transform: scale(1.05) rotate(2deg); }
  50% { border-radius: 50px; transform: scale(1.1) rotate(-2deg); }
  75% { border-radius: 25px 50px 50px 25px; transform: scale(1.05) rotate(1deg); }
}

@keyframes liquidFlow {
  0% { clip-path: circle(0% at 50% 50%); }
  25% { clip-path: ellipse(30% 50% at 30% 50%); }
  50% { clip-path: ellipse(70% 30% at 70% 50%); }
  75% { clip-path: ellipse(40% 60% at 40% 50%); }
  100% { clip-path: circle(50% at 50% 50%); }
}

@keyframes textShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33% { transform: translateY(-20px) translateX(10px) scale(1.1); }
  66% { transform: translateY(10px) translateX(-15px) scale(0.9); }
}

@keyframes elasticScale {
  0% { transform: scale(1); }
  30% { transform: scale(1.25); }
  40% { transform: scale(0.95); }
  60% { transform: scale(1.1); }
  80% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

@keyframes magneticPull {
  0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
  50% { transform: scale(1.15) rotate(2deg); filter: brightness(1.2); }
}

@keyframes holographicShift {
  0% { background-position: 0% 50%; filter: hue-rotate(0deg); }
  25% { background-position: 25% 50%; filter: hue-rotate(90deg); }
  50% { background-position: 50% 50%; filter: hue-rotate(180deg); }
  75% { background-position: 75% 50%; filter: hue-rotate(270deg); }
  100% { background-position: 100% 50%; filter: hue-rotate(360deg); }
}

/* Enhanced Card Hover Animations */
.game-card:hover {
  animation: morphBounce 0.6s ease-in-out;
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.3);
}

.info-card:hover {
  animation: elasticScale 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateY(-10px);
}

/* Animated Text Effects */
.hero-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 184, 28, 0.3) 50%, transparent 60%);
  animation: textShimmer 3s ease-in-out infinite;
}

/* Particle Animation for Backgrounds */
.section::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 184, 28, 0.6);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation: particleFloat 4s ease-in-out infinite;
}

.section::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 184, 28, 0.4);
  border-radius: 50%;
  top: 80%;
  right: 15%;
  animation: particleFloat 6s ease-in-out infinite reverse;
}

/* Magnetic Button Effect */
.btn:hover {
  animation: magneticPull 0.3s ease-out;
  cursor: pointer;
}

/* Holographic Navigation Links */
.nav-link {
  background: linear-gradient(45deg, var(--umbc-gold), #FFD700, var(--umbc-gold));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: all 0.3s ease;
}

.nav-link:hover {
  animation: holographicShift 1s ease-in-out infinite;
}

/* Liquid Morph for Special Cards */
.enhanced-card {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.enhanced-card:hover {
  animation: liquidFlow 2s ease-in-out infinite;
}

/* Sparkle Effect on Click */
.sparkle-effect {
  position: relative;
  overflow: hidden;
}

.sparkle-effect::before {
  content: '✨';
  position: absolute;
  font-size: 20px;
  pointer-events: none;
  animation: sparkleMove 2s ease-out infinite;
}

/* Enhanced Walker Field Location Section */
.walker-field-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header-enhanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.header-accent {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--umbc-gold), transparent);
  border-radius: 2px;
}

.location-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
  position: relative;
}

.location-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.map-navigation-enhanced {
  text-align: center;
  margin: 50px 0;
}

.nav-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.nav-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.nav-btn-enhanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1), rgba(255, 184, 28, 0.05));
  border: 2px solid rgba(255, 184, 28, 0.3);
  border-radius: 15px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.nav-btn-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-btn-enhanced:hover::before {
  left: 100%;
}

.nav-btn-enhanced:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 184, 28, 0.2);
  border-color: var(--umbc-gold);
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.2), rgba(255, 184, 28, 0.1));
}

.btn-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--umbc-gold);
  transition: all 0.3s ease;
}

.nav-btn-enhanced:hover .btn-icon svg {
  transform: scale(1.1);
  fill: var(--umbc-gold-light);
}

.location-info-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.location-card-enhanced {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.location-card-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.location-card-enhanced:hover::before {
  opacity: 1;
}

.location-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 184, 28, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.location-icon-enhanced {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--umbc-gold), #FFD700);
  box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
  position: relative;
}

.location-icon-enhanced svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

.card-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.card-content {
  position: relative;
  z-index: 1;
}

.address-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.venue-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--umbc-gold);
}

.campus-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.full-address {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.copy-address-enhanced {
  background: linear-gradient(135deg, var(--umbc-gold), #FFD700);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
}

.copy-address-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 28, 0.4);
  background: linear-gradient(135deg, #FFD700, var(--umbc-gold));
}

/* NCR Division II Badge */
.ncr-badge {
  margin-top: 30px;
  display: inline-block;
}

.ncr-text {
  background: linear-gradient(135deg, var(--umbc-gold), #FFD700);
  color: #000;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 184, 28, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ncr-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.ncr-badge:hover .ncr-text::before {
  left: 100%;
}

.ncr-badge:hover .ncr-text {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 184, 28, 0.4);
}

/* Scrolling Animation Effects */
@keyframes scrollFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scrollSlideRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scrollZoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animations */
.scroll-animate {
  opacity: 0;
  transition: all 0.6s ease;
}

.scroll-animate.in-view {
  animation: scrollFadeIn 0.8s ease forwards;
}

.scroll-slide-left {
  opacity: 0;
  transition: all 0.6s ease;
}

.scroll-slide-left.in-view {
  animation: scrollSlideLeft 0.8s ease forwards;
}

.scroll-slide-right {
  opacity: 0;
  transition: all 0.6s ease;
}

.scroll-slide-right.in-view {
  animation: scrollSlideRight 0.8s ease forwards;
}

.scroll-zoom {
  opacity: 0;
  transition: all 0.6s ease;
}

.scroll-zoom.in-view {
  animation: scrollZoomIn 0.8s ease forwards;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .schedule-status {
    margin: 20px 15px;
    padding: 25px 20px;
  }

  .schedule-status h3 {
    font-size: 1.6rem;
  }

  .schedule-status p {
    font-size: 1rem;
  }

  .location-legend {
    margin: 15px 10px 25px 10px !important;
    padding: 15px 12px !important;
    max-width: none !important;
    border-radius: 15px !important;
  }

  .location-legend h4 {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
  }

  .location-legend div[style*="display: flex"] {
    flex-direction: row !important;
    gap: 20px !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  .location-legend div[style*="display: flex"] > div {
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .location-legend span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
  }

  .practice-info {
    padding: 40px 20px;
    margin: 40px 15px;
  }

  .practice-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .practice-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .practice-card {
    padding: 30px 25px;
  }

  .practice-day {
    font-size: 1.6rem;
  }

  .practice-time {
    font-size: 1.4rem;
  }

  .practice-location {
    font-size: 1rem;
  }

  .enhanced-schedule {
    padding: 50px 20px;
    margin: 40px 15px;
    border-radius: 20px;
  }

  .enhanced-schedule::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
  }

  .schedule-header {
    margin-bottom: 40px;
  }

  .header-badge {
    padding: 12px 20px;
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .schedule-header .section-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .schedule-stats {
    gap: 20px;
    margin-top: 20px;
  }

  .stat-item {
    padding: 15px;
    min-width: 100px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .games-timeline {
    display: none; /* Hide timeline on mobile for cleaner look */
  }

  .games-container {
    gap: 20px;
    max-width: 100%;
    padding: 0 10px;
  }

  .game-card {
    padding: 30px 20px;
    border-radius: 25px;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
  }

  .game-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .game-date {
    padding: 15px 20px;
    min-width: auto;
    width: auto;
    order: 1;
    margin-bottom: 0;
  }

  .game-date .month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .game-date .day {
    font-size: 2.2rem;
    font-weight: 800;
  }

  .opponent-logo {
    width: 70px;
    height: 70px;
    order: 2;
    margin-bottom: 10px;
  }

  .opponent-logo img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 50%;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
  }

  .game-info {
    order: 3;
    text-align: center;
    width: 100%;
  }

  .game-info h3.opponent {
    font-size: 1.5rem;
    letter-spacing: 0;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
  }

  .game-time {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 600;
  }

  .game-type {
    font-size: 1rem;
    padding: 8px 16px;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: 15px;
  }

  .game-score {
    font-size: 0.9rem !important;
    padding: 8px 14px !important;
    margin-top: 10px !important;
    border-radius: 20px !important;
    display: inline-block !important;
  }

  .calendar-options {
    order: 4;
    justify-content: space-between;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }

  .calendar-btn {
    padding: 12px 8px;
    font-size: 0.85rem;
    min-height: 48px;
    flex: 1;
    max-width: none;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .calendar-logo {
    width: 24px;
    height: 24px;
  }

  .venue-info {
    padding: 40px 20px;
    margin: 40px 15px;
  }

  .venue-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .venue-item {
    padding: 30px 25px;
  }

  .venue-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .venue-item p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .schedule-status h3 {
    font-size: 1.4rem;
  }

  .practice-info h2 {
    font-size: 1.8rem;
  }

  .practice-card {
    padding: 25px 20px;
  }

  .practice-day {
    font-size: 1.4rem;
  }

  .practice-time {
    font-size: 1.2rem;
  }

  .enhanced-schedule {
    padding: 35px 12px;
    margin: 25px 8px;
  }

  .schedule-header .section-title {
    font-size: 2rem;
  }

  .header-badge {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .schedule-stats {
    gap: 15px;
  }

  .stat-item {
    padding: 12px;
    min-width: 90px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .game-card {
    padding: 25px 15px;
    border-radius: 20px;
    margin: 0 5px;
  }

  .game-date {
    padding: 12px 16px;
    min-width: auto;
  }

  .game-date .month {
    font-size: 0.9rem;
  }

  .game-date .day {
    font-size: 2rem;
  }

  .game-info h3.opponent {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .game-time {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .game-type {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .opponent-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }

  .opponent-logo img {
    max-width: 50px;
    max-height: 50px;
  }

  .calendar-options {
    gap: 6px;
    margin-top: 15px;
    padding-top: 15px;
  }

  .calendar-btn {
    padding: 10px 6px;
    font-size: 0.8rem;
    min-height: 44px;
    border-radius: 12px;
  }

  .calendar-logo {
    width: 22px;
    height: 22px;
  }

  .venue-info {
    padding: 30px 15px;
    margin: 30px 10px;
  }

  .venue-info h2 {
    font-size: 1.8rem;
  }

  .venue-item {
    padding: 25px 20px;
  }

  .venue-item h3 {
    font-size: 1.3rem;
  }

  .venue-item p {
    font-size: 0.95rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .schedule-status {
    padding: 20px 15px;
  }

  .location-legend {
    margin: 12px 5px 20px 5px !important;
    padding: 15px 10px !important;
  }

  .location-legend div[style*="display: flex"] {
    gap: 15px !important;
  }

  .enhanced-schedule {
    padding: 30px 10px;
    margin: 20px 5px;
  }

  .schedule-header .section-title {
    font-size: 1.8rem;
  }

  .game-card {
    padding: 15px 10px;
  }

  .game-header {
    gap: 10px 12px;
  }

  .game-date {
    min-width: 60px;
    padding: 8px;
  }

  .game-info h3.opponent {
    font-size: 1.1rem;
  }

  .practice-card {
    padding: 20px 15px;
  }

  .venue-item {
    padding: 20px 15px;
  }
}

/*========================================
  COMPREHENSIVE PAGE-SPECIFIC MOBILE OPTIMIZATION
=========================================*/

@media (max-width: 768px) {
  /* Roster page mobile improvements */
  .player-grid,
  .roster-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .player-card {
    padding: 15px 10px !important;
    min-height: 200px !important;
  }

  .player-card h3 {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }

  .player-card p {
    font-size: 0.85rem !important;
    margin-bottom: 4px !important;
  }

  .player-photo {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 10px !important;
  }

  /* FAQ page mobile improvements */
  .faq-question {
    padding: 15px !important;
    font-size: 1rem !important;
    margin-bottom: 10px !important;
  }

  .faq-answer {
    padding: 15px !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .faq-section .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
  }

  /* Rugby Ready page mobile improvements */
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .content-grid > div {
    padding: 20px 15px !important;
  }

  .content-grid h3 {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }

  .content-grid p,
  .content-grid ul,
  .content-grid li {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* Recruitment page mobile improvements */
  .recruitment-steps {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .step-card {
    padding: 20px 15px !important;
    text-align: center !important;
  }

  .step-number {
    font-size: 1.5rem !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 auto 15px !important;
  }

  .step-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }

  .step-card p {
    font-size: 0.9rem !important;
  }

  .tryout-info {
    padding: 20px 15px !important;
    margin: 20px 10px !important;
  }

  /* Alumni page mobile improvements */
  .alumni-teams-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .team-card {
    padding: 20px 15px !important;
  }

  .team-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }

  .team-roster {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .weekend-events {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .weekend-event-card {
    padding: 20px 15px !important;
  }

  .event-title {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }

  .event-description {
    font-size: 0.9rem !important;
  }

  /* Donate page mobile improvements */
  .donation-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .donation-card {
    padding: 20px 15px !important;
    min-height: auto !important;
  }

  .donation-card h3 {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }

  .donation-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .donation-amount {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }

  .donate-btn {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    margin-top: 15px !important;
  }

  /* Form improvements for all pages */
  .form-group {
    margin-bottom: 20px !important;
  }

  .form-group label {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px !important;
    font-size: 1rem !important;
    border-radius: 6px !important;
  }

  .form-group textarea {
    min-height: 120px !important;
  }

  /* Button improvements */
  .btn,
  button {
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
  }

  .btn-primary {
    width: 100% !important;
    margin-top: 15px !important;
  }

  /* Map section mobile improvements */
  .map-section {
    padding: 20px 15px !important;
    margin: 20px 10px !important;
  }

  .map-container {
    height: 250px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  /* Testimonial improvements */
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .testimonial-card {
    padding: 20px 15px !important;
    text-align: center !important;
  }

  .testimonial-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
  }

  .testimonial-author {
    font-size: 0.85rem !important;
  }

  /* Statistics section improvements */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .stat-card {
    padding: 15px 10px !important;
    text-align: center !important;
  }

  .stat-number {
    font-size: 1.5rem !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
  }

  /* Image gallery improvements */
  .image-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .gallery-item {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
  }

  .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Extra small mobile optimizations */
@media (max-width: 480px) {
  .player-grid,
  .roster-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .player-card {
    padding: 20px 15px !important;
    text-align: center !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .donation-card {
    text-align: center !important;
  }

  .image-gallery {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

/*========================================
  ENHANCED HOME PAGE HERO STYLING
=========================================*/

/* Home page specific hero enhancements */
#hero-header:not([class*="hero"]) .hero-content {
  animation: homeHeroEntrance 3s cubic-bezier(0.23, 1, 0.320, 1) both !important;
}

/* Welcome text styling */
.welcome-text {
  font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  margin-bottom: 20px !important;
  opacity: 0 !important;
  animation: welcomeTextReveal 2s ease-out 0.5s both !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
}

/* Enhanced home page title */
#hero-header:not([class*="hero"]) .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 4px !important;
  margin: 30px 0 !important;
  position: relative !important;
  z-index: 10 !important;
  
  /* Advanced gradient with multiple colors */
  background: linear-gradient(
    45deg,
    var(--umbc-gold) 0%,
    #fff 20%,
    var(--umbc-gold) 40%,
    #fff 60%,
    var(--umbc-gold) 80%,
    #fff 100%
  ) !important;
  background-size: 600% 600% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  
  /* Multiple powerful animations */
  animation: 
    homeHeroShimmer 4s ease-in-out infinite,
    homeHeroFloat 8s ease-in-out infinite,
    homeHeroPulse 6s ease-in-out infinite,
    homeHeroReveal 2.5s ease-out 1s both !important;
  
  /* Advanced shadow effects */
  filter: drop-shadow(0 0 30px rgba(255, 184, 28, 0.8)) !important;
  transform-origin: center !important;
}

/* Enhanced home page subtitle */
#hero-header:not([class*="hero"]) .hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem) !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-transform: none !important;
  letter-spacing: 2px !important;
  margin-top: 25px !important;
  opacity: 0 !important;
  position: relative !important;
  z-index: 9 !important;
  
  /* Elegant styling */
  font-variant: small-caps !important;
  text-shadow: 
    0 0 15px rgba(255, 184, 28, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.6) !important;
  
  /* Staggered entrance animation */
  animation: subtitleSlideIn 2s ease-out 1.8s both, subtitleGlowHome 5s ease-in-out infinite !important;
}

/* Home page animations */
@keyframes homeHeroEntrance {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.7) rotateX(20deg);
    filter: blur(15px);
  }
  40% {
    opacity: 0.4;
    transform: translateY(40px) scale(0.85) rotateX(10deg);
    filter: blur(8px);
  }
  70% {
    opacity: 0.8;
    transform: translateY(15px) scale(0.95) rotateX(3deg);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes welcomeTextReveal {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
    letter-spacing: 10px;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 3px;
    filter: blur(0);
  }
}

@keyframes homeHeroShimmer {
  0%, 100% { 
    background-position: 0% 50%;
    filter: drop-shadow(0 0 30px rgba(255, 184, 28, 0.8));
  }
  25% { 
    background-position: 100% 0%;
    filter: drop-shadow(0 0 40px rgba(255, 184, 28, 1));
  }
  50% { 
    background-position: 100% 100%;
    filter: drop-shadow(0 0 50px rgba(255, 184, 28, 1.2));
  }
  75% { 
    background-position: 0% 100%;
    filter: drop-shadow(0 0 40px rgba(255, 184, 28, 1));
  }
}

@keyframes homeHeroFloat {
  0%, 100% { 
    transform: translateY(0px) rotateX(0deg) scale(1);
  }
  25% { 
    transform: translateY(-15px) rotateX(3deg) scale(1.01);
  }
  50% { 
    transform: translateY(-20px) rotateX(0deg) scale(1.02);
  }
  75% { 
    transform: translateY(-10px) rotateX(-3deg) scale(1.01);
  }
}

@keyframes homeHeroPulse {
  0%, 100% { 
    letter-spacing: 4px;
    transform: scale(1);
  }
  50% { 
    letter-spacing: 6px;
    transform: scale(1.03);
  }
}

@keyframes homeHeroReveal {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8) rotateY(15deg);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
    filter: blur(0);
  }
}

@keyframes subtitleSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px) rotateX(30deg);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes subtitleGlowHome {
  0%, 100% { 
    text-shadow: 
      0 0 15px rgba(255, 184, 28, 0.4),
      0 2px 6px rgba(0, 0, 0, 0.6);
  }
  50% { 
    text-shadow: 
      0 0 25px rgba(255, 184, 28, 0.7),
      0 3px 10px rgba(0, 0, 0, 0.8);
  }
}

/* Mobile responsive for home page */
@media (max-width: 768px) {
  .welcome-text {
    font-size: clamp(1rem, 4vw, 1.3rem) !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
  }

  #hero-header:not([class*="hero"]) .hero-title {
    font-size: clamp(2rem, 7vw, 3.5rem) !important;
    letter-spacing: 2px !important;
    margin: 20px 0 !important;
  }

  #hero-header:not([class*="hero"]) .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem) !important;
    letter-spacing: 1px !important;
    margin-top: 15px !important;
  }
}

/*========================================
  ENHANCED HERO TEXT STYLING WITH COOL ANIMATIONS
=========================================*/

/* Advanced hero text styling for all pages */
.roster-hero .hero-title,
.schedule-hero .hero-title,
.donate-hero .hero-title,
.faq-hero .hero-title,
.recruitment-hero .hero-title,
.rugby-ready-hero .hero-title,
.alumni-hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  position: relative !important;
  z-index: 10 !important;
  
  /* Multi-layer gradient with animation */
  background: linear-gradient(
    45deg,
    var(--umbc-gold) 0%,
    #fff 25%,
    var(--umbc-gold) 50%,
    #fff 75%,
    var(--umbc-gold) 100%
  ) !important;
  background-size: 400% 400% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  
  /* Multiple animations combined */
  animation: 
    heroTextShimmer 4s ease-in-out infinite,
    heroTextFloat 6s ease-in-out infinite,
    heroTextPulse 3s ease-in-out infinite !important;
  
  /* Advanced text effects */
  filter: drop-shadow(0 0 20px rgba(255, 184, 28, 0.6)) !important;
  transform-origin: center !important;
}

/* Add glowing border effect */
.roster-hero .hero-title::before,
.schedule-hero .hero-title::before,
.donate-hero .hero-title::before,
.faq-hero .hero-title::before,
.recruitment-hero .hero-title::before,
.rugby-ready-hero .hero-title::before,
.alumni-hero .hero-title::before {
  content: attr(data-text) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(45deg, var(--umbc-gold), transparent, var(--umbc-gold)) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  opacity: 0.3 !important;
  z-index: -1 !important;
  animation: backgroundGlow 2s ease-in-out infinite alternate !important;
}

/* Advanced shimmer animation */
@keyframes heroTextShimmer {
  0%, 100% { 
    background-position: 0% 50%;
    filter: drop-shadow(0 0 20px rgba(255, 184, 28, 0.6));
  }
  25% { 
    background-position: 100% 0%;
    filter: drop-shadow(0 0 30px rgba(255, 184, 28, 0.8));
  }
  50% { 
    background-position: 100% 100%;
    filter: drop-shadow(0 0 40px rgba(255, 184, 28, 1));
  }
  75% { 
    background-position: 0% 100%;
    filter: drop-shadow(0 0 30px rgba(255, 184, 28, 0.8));
  }
}

/* Floating animation */
@keyframes heroTextFloat {
  0%, 100% { 
    transform: translateY(0px) rotateX(0deg);
  }
  25% { 
    transform: translateY(-8px) rotateX(2deg);
  }
  50% { 
    transform: translateY(-12px) rotateX(0deg);
  }
  75% { 
    transform: translateY(-6px) rotateX(-2deg);
  }
}

/* Subtle pulse animation */
@keyframes heroTextPulse {
  0%, 100% { 
    transform: scale(1);
    letter-spacing: 3px;
  }
  50% { 
    transform: scale(1.02);
    letter-spacing: 4px;
  }
}

/* Background glow for depth */
@keyframes backgroundGlow {
  from { 
    opacity: 0.2;
    transform: scale(0.98);
  }
  to { 
    opacity: 0.4;
    transform: scale(1.02);
  }
}

/* Smaller hero content containers for these pages */
.roster-hero .hero-content,
.schedule-hero .hero-content,
.donate-hero .hero-content,
.faq-hero .hero-content {
  max-width: 800px !important;
  padding: 20px !important;
}

/* Enhanced subtitle styling with animations */
.roster-hero .hero-subtitle,
.schedule-hero .hero-subtitle,
.donate-hero .hero-subtitle,
.faq-hero .hero-subtitle,
.recruitment-hero .hero-subtitle,
.rugby-ready-hero .hero-subtitle,
.alumni-hero .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem) !important;
  font-weight: 400 !important;
  margin-bottom: 15px !important;
  text-transform: none !important;
  letter-spacing: 2px !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 9 !important;
  
  /* Advanced text styling */
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 
    0 0 10px rgba(255, 184, 28, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.5) !important;
  
  /* Typewriter animation */
  animation: subtitleFadeIn 2s ease-out 0.8s both, subtitleGlow 4s ease-in-out infinite !important;
  
  /* Modern typography effects */
  font-variant: small-caps !important;
  line-height: 1.4 !important;
}

/* Enhanced description styling with staggered animations */
.roster-hero .hero-description,
.schedule-hero .hero-description,
.donate-hero .hero-description,
.faq-hero .hero-description,
.recruitment-hero .hero-description,
.rugby-ready-hero .hero-description,
.alumni-hero .hero-description {
  font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-transform: uppercase !important;
  letter-spacing: 4px !important;
  margin-bottom: 25px !important;
  max-width: 500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 8 !important;
  
  /* Dynamic text effects */
  text-shadow: 
    0 0 15px rgba(255, 184, 28, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.7) !important;
  
  /* Entrance animation with delay */
  animation: 
    descriptionSlideUp 1.5s ease-out 1.2s both,
    descriptionPulse 6s ease-in-out infinite !important;
  
  /* Typography enhancement */
  font-family: 'Montserrat', sans-serif !important;
  line-height: 1.3 !important;
}

/* Subtitle animations */
@keyframes subtitleFadeIn {
  from { 
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(5px);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes subtitleGlow {
  0%, 100% { 
    text-shadow: 
      0 0 10px rgba(255, 184, 28, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }
  50% { 
    text-shadow: 
      0 0 20px rgba(255, 184, 28, 0.6),
      0 2px 8px rgba(0, 0, 0, 0.7);
  }
}

/* Description animations */
@keyframes descriptionSlideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) rotateX(45deg);
    filter: blur(8px);
  }
  to { 
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes descriptionPulse {
  0%, 100% { 
    letter-spacing: 4px;
    text-shadow: 
      0 0 15px rgba(255, 184, 28, 0.4),
      0 1px 3px rgba(0, 0, 0, 0.7);
  }
  50% { 
    letter-spacing: 5px;
    text-shadow: 
      0 0 25px rgba(255, 184, 28, 0.7),
      0 2px 6px rgba(0, 0, 0, 0.8);
  }
}

/* Schedule status styling improvement */
.schedule-status {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 15px !important;
  padding: 20px 30px !important;
  margin-top: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  max-width: 400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.schedule-status h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
  font-weight: 600 !important;
  color: var(--umbc-gold) !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.schedule-status p {
  font-size: clamp(0.9rem, 2vw, 1rem) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  font-weight: 300 !important;
}

/* Enhanced entrance animations for hero content */
.roster-hero .hero-content,
.schedule-hero .hero-content,
.donate-hero .hero-content,
.faq-hero .hero-content,
.recruitment-hero .hero-content,
.rugby-ready-hero .hero-content,
.alumni-hero .hero-content {
  animation: heroContentEntrance 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both !important;
}

@keyframes heroContentEntrance {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8) rotateX(15deg);
    filter: blur(10px);
  }
  30% {
    opacity: 0.3;
    transform: translateY(30px) scale(0.9) rotateX(8deg);
    filter: blur(5px);
  }
  60% {
    opacity: 0.7;
    transform: translateY(10px) scale(0.95) rotateX(3deg);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

/* Enhanced mobile responsive improvements */
@media (max-width: 768px) {
  .roster-hero .hero-title,
  .schedule-hero .hero-title,
  .donate-hero .hero-title,
  .faq-hero .hero-title,
  .recruitment-hero .hero-title,
  .rugby-ready-hero .hero-title,
  .alumni-hero .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
    animation-duration: 3s, 5s, 2.5s !important;
  }

  .roster-hero .hero-content,
  .schedule-hero .hero-content,
  .donate-hero .hero-content,
  .faq-hero .hero-content,
  .recruitment-hero .hero-content,
  .rugby-ready-hero .hero-content,
  .alumni-hero .hero-content {
    padding: 15px !important;
    animation-duration: 2s !important;
  }

  .roster-hero .hero-subtitle,
  .schedule-hero .hero-subtitle,
  .donate-hero .hero-subtitle,
  .faq-hero .hero-subtitle,
  .recruitment-hero .hero-subtitle,
  .rugby-ready-hero .hero-subtitle,
  .alumni-hero .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
  }

  .roster-hero .hero-description,
  .schedule-hero .hero-description,
  .donate-hero .hero-description,
  .faq-hero .hero-description,
  .recruitment-hero .hero-description,
  .rugby-ready-hero .hero-description,
  .alumni-hero .hero-description {
    font-size: clamp(0.8rem, 2.5vw, 1rem) !important;
    letter-spacing: 2px !important;
    margin-bottom: 20px !important;
  }

  .schedule-status {
    padding: 15px 20px !important;
    margin-top: 20px !important;
    animation: statusSlideIn 1.5s ease-out 1.5s both !important;
  }

  .schedule-status h3 {
    font-size: 1.1rem !important;
  }

  .schedule-status p {
    font-size: 0.9rem !important;
  }
}

/* Extra small mobile optimizations */
@media (max-width: 480px) {
  .roster-hero .hero-title,
  .schedule-hero .hero-title,
  .donate-hero .hero-title,
  .faq-hero .hero-title,
  .recruitment-hero .hero-title,
  .rugby-ready-hero .hero-title,
  .alumni-hero .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    letter-spacing: 1px !important;
  }

  .roster-hero .hero-subtitle,
  .schedule-hero .hero-subtitle,
  .donate-hero .hero-subtitle,
  .faq-hero .hero-subtitle,
  .recruitment-hero .hero-subtitle,
  .rugby-ready-hero .hero-subtitle,
  .alumni-hero .hero-subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1rem) !important;
  }

  .roster-hero .hero-description,
  .schedule-hero .hero-description,
  .donate-hero .hero-description,
  .faq-hero .hero-description,
  .recruitment-hero .hero-description,
  .rugby-ready-hero .hero-description,
  .alumni-hero .hero-description {
    font-size: clamp(0.75rem, 3vw, 0.9rem) !important;
    letter-spacing: 1px !important;
  }
}

/* Status slide in animation */
@keyframes statusSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*========================================
  IMPROVED COACHES SECTION STYLING
=========================================*/

.coaches-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

.coaches-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.coach-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(255, 184, 28, 0.2);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.coach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 28, 0.05), transparent);
  transition: left 0.6s ease;
}

.coach-card:hover {
  transform: translateY(-8px);
  border-color: var(--umbc-gold);
  box-shadow: 0 20px 40px rgba(255, 184, 28, 0.15);
}

.coach-card:hover::before {
  left: 100%;
}

.coach-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #000;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.coach-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #333;
  position: relative;
  z-index: 2;
}

.coach-role {
  font-size: 1.1rem;
  color: var(--umbc-gold);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.coach-hometown {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.coach-hometown strong {
  color: #333;
  font-weight: 600;
}

.coach-achievements {
  margin-top: 15px;
  position: relative;
  z-index: 2;
}

.achievement-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--umbc-gold), var(--umbc-gold-light));
  color: #000;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 184, 28, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile improvements */
@media (max-width: 768px) {
  .coaches-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }

  .coach-card {
    padding: 25px 20px;
  }

  .coach-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .coach-name {
    font-size: 1.3rem;
  }

  .coach-role {
    font-size: 1rem;
  }
}

