/* Colors */
:root {
  --teal: #3F8D89;
  --red: #BF362E;
  --gray: #5E686C;
  --dark-purple: #30011E;
  --light-gray: #FBFBFB;
  --black: #000000;
  --white: #FFFFFF;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-gray);
}

/* Hero Section And Gallery */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Gallery Container */
.hero-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Dark Overlay - matches the image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* Gallery Navigation */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--light-gray);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(5px);
}

.gallery-nav i {
  pointer-events: none;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 2rem;
}

.gallery-next {
  right: 2rem;
}

/* Gallery Indicators */
.gallery-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 100;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-logo .logo {
  height: 30px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--red);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--light-gray);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile menu toggle animations */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-gray);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--light-gray);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}

/* Scroll Indicator Styles */
.scroll-indicator {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.scroll-indicator:hover {
  opacity: 0.7;
}

.scroll-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--light-gray);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Mouse Icon */
.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  position: relative;
  background: transparent;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--light-gray);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

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

/* Section Styles */
.section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section h2 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-purple);
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
  color: var(--dark-purple);
}

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

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--red);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.stat-item span {
  font-size: 1rem;
  color: var(--gray);
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sponsors Section */
.sponsors-section {
  background-color: var(--dark-purple);
}

.sponsors-section h2 {
  color: var(--light-gray);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.sponsor-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.sponsor-card:hover {
  transform: translateY(-5px);
}

.sponsor-logo {
  width: 100%;
  height: 100px;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 4px;
  color: var(--white);
  font-weight: 600;
}

.sponsor-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}

.sponsor-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Black Card Styles */
.black-card {
  background-color: var(--black) !important;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 200px;
  transition: all 0.3s ease;
}

.black-card:hover {
  background-color: var(--white) !important;
  transform: translateY(-5px);
}

.black-card-content {
  text-align: center;
}

.black-card h3 {
  color: var(--white) !important;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.black-card:hover h3 {
  color: var(--black) !important;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
  color: var(--dark-purple);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
}

.ralph-image-container {
  position: absolute;
  left: -13vw;
  top: 100px;
  width: 16vw;
  min-width: 120px;
  max-width: 220px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2rem;
}

.ralph-image {
  width: 100%;
  height: auto;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--red);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--teal);
}

.contact-item p {
  color: var(--gray);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--teal);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid var(--teal);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--teal);
  color: var(--light-gray);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-purple);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.submit-btn {
  background-color: var(--red);
  color: var(--light-gray);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--dark-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.75rem 0;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-logo .logo {
    height: 30px;
  }
  
  /* Hide desktop menu, show hamburger */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-link {
    font-size: 1.3rem;
    padding: 1rem 0;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.4rem;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .gallery-prev {
    left: 1rem;
  }
  
  .gallery-next {
    right: 1rem;
  }
  
  .gallery-indicators {
    bottom: 1.5rem;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  .scroll-indicator {
    bottom: 4rem;
  }
  
  .scroll-text {
    font-size: 0.9rem;
  }
  
  .scroll-mouse {
    width: 20px;
    height: 35px;
  }
  
  /* Section responsive styles */
  .section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section h2 {
    font-size: 2.5rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .ralph-image-container {
    display: none;
  }
  
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    justify-content: space-around;
    gap: 1rem;
  }
  
  .stat-item h4 {
    font-size: 2rem;
  }
}
@media (max-width :1383px) {
    .ralph-image
    {
       display: none;
    }
    
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.5rem 0;
  }
}

