/* Base Reset/Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif; /* Swap for your chosen font, e.g., Oswald/Open Sans */
    background-color: #0A0A0A; /* Dark background */
    color: #FFFFFF;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section Container */
.hero {
  position: relative;
  width: 100%;
  height: 120vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Image */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  object-fit: cover; /* Ensures the image covers the section */
  z-index: 0;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Darker overlay for better text contrast */
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2; /* On top of background & overlay */
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  color: #fff;
}

/* Hero Title */
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 1; /* Ensure text is fully visible */
  font-style: italic;  /* Italicize the entire hero title */
  color: #fff;  /* Use white for a consistent text colour */
  animation: fadeInSlide 1s forwards ease;
}

/* Highlighted Key Phrase using Bebas Neue */
.highlight {
  font-family: 'Bebas Neue', sans-serif;
  color: #00A650; /* Brand green remains for the highlight */
  font-size: 4.5rem;
}

/* Hero Tagline */
.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.4;
  opacity: 1;
  animation: fadeInSlide 1s forwards ease 0.5s; /* Delay for sequential animation */
}

/* Call-to-Action Button */
.btn-cta {
  display: inline-block;
  background-color: #00A650;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
  animation: fadeInSlide 1s forwards ease 1s; /* Delay to follow tagline */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta:hover {
  background-color: #00B85C;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 8px;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* Fade-In and Slide-Up Animation */
@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient Animation for Title */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Bounce Animation for Scroll Arrow */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0) rotate(45deg);
  }
  40% {
    transform: translateX(-50%) translateY(10px) rotate(45deg);
  }
  60% {
    transform: translateX(-50%) translateY(5px) rotate(45deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
  .btn-cta {
    font-size: 0.9rem;
  }
}

/************************************************************
  Overlapping Promo Cards Section
************************************************************/
.promo-cards-section {
  position: relative;
  margin-top: -60px; /* Overlap the hero slightly */
  z-index: 3;
  padding-bottom: 2rem;
  width: 100%;
}

/************************************************************
  Carousel Container & Track
************************************************************/
.promo-cards-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background-color: #111;
}

.promo-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/************************************************************
  Individual Cards (Desktop View: 3 visible)
************************************************************/
.promo-card {
  position: relative;
  flex: 0 0 33.3333%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
}

/* Each card gets a base gradient color aligned with DraftNaija's theme */
.card1 {
  background: linear-gradient(135deg, #00A650, #00B85C);
}
.card2 {
  background: linear-gradient(135deg, #007B3B, #00A650);
}
.card3 {
  background: linear-gradient(135deg, #00B85C, #008F4E);
}
.card4 {
  background: linear-gradient(135deg, #006633, #00A650);
}

/* Dark Overlay for every card */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Dark overlay */
  z-index: 1;
}

/* Card Content sits above overlay */
.card-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
}
.card-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.card-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

/* Button inside Cards */
.card-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s;
}
.card-btn:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/************************************************************
  Navigation Buttons for Carousel
************************************************************/
.promo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.promo-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/************************************************************
  Responsive Adjustments
************************************************************/
@media (max-width: 768px) {
  .promo-card {
    flex: 0 0 100%; /* One card at a time on mobile */
    height: 200px;
    padding: 1.5rem;
  }
  .card-content h2 {
    font-size: 1.5rem;
  }
  .card-content p {
    font-size: 0.95rem;
  }
  .promo-btn {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
  }
}

/* How to Play Section */
.how-to-play {
  background-color: #1a1a1a; /* Dark background to complement DraftNaija theme */
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.how-to-play .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #00A650; /* Accent with brand green */
}

.section-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #ccc;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Individual Step */
.step {
  background-color: #2a2a2a;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards ease;
}

.step:nth-child(1) {
  animation-delay: 0.2s;
}
.step:nth-child(2) {
  animation-delay: 0.4s;
}
.step:nth-child(3) {
  animation-delay: 0.6s;
}
.step:nth-child(4) {
  animation-delay: 0.8s;
}

.step:hover {
  transform: translateY(0px) scale(1.03);
}

/* Step Icon */
.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00A650;
}

/* Step Title */
.step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #fff;
}

/* Step Description */
.step-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #ccc;
}

/* Call-to-Action Button */
.how-to-play-cta {
  display: inline-block;
  background-color: #00A650;
  color: #fff;
  padding: 0.75rem 2rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.how-to-play-cta:hover {
  background-color: #00B85C;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Fade-In Up Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .step {
    padding: 1.5rem;
  }
  .step-icon {
    font-size: 2.5rem;
  }
  .step-title {
    font-size: 1.25rem;
  }
  .step-description {
    font-size: 0.9rem;
  }
  .how-to-play-cta {
    font-size: 0.9rem;
  }
}


/* Testimonials Section */
.testimonials {
  background-color: #111; /* Dark background to fit the DraftNaija theme */
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/* Testimonial Card */
.testimonial-card {
  flex: 0 0 100%;  /* One card at a time */
  padding: 2rem;
  background-color: #222;
  border-radius: 8px;
  margin: 0 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Avatar */
.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 2px solid #00A650; /* Accent border */
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.testimonial-content {
  padding: 0 1rem;
}

.testimonial-quote {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: #ccc;
}

.testimonial-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: #00A650; /* Accent color for names */
}

/* Navigation Buttons */
.testimonial-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  width: 35px;
  height: 35px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.3s;
}
.testimonial-btn:hover {
  background-color: rgba(0,0,0,0.8);
}
.testimonial-btn.prev {
  left: 10px;
}
.testimonial-btn.next {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-quote {
    font-size: 0.9rem;
  }
  .testimonial-name {
    font-size: 1rem;
  }
  .testimonial-btn {
    font-size: 1.25rem;
    width: 30px;
    height: 30px;
  }
}



/* Featured Contests / News Section */
.featured-news {
  background-color: #111; /* Dark background */
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
}

.featured-news .section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #00A650; /* Brand accent */
}

.featured-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.featured-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/* Individual Card Styling */
.featured-card {
  flex: 0 0 33.3333%; /* Three cards visible on desktop */
  background: #222;
  margin: 0 1rem;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-headline {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00A650;
}

.card-excerpt {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.btn-readmore {
  align-self: flex-start;
  background-color: #00A650;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-readmore:hover {
  background-color: #00B85C;
}

/* Navigation Buttons */
.featured-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.featured-btn:hover {
  background-color: rgba(0,0,0,0.8);
}

.featured-btn.prev {
  left: 10px;
}

.featured-btn.next {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .featured-card {
    flex: 0 0 100%; /* Show one card at a time on mobile */
    margin: 0 0.5rem;
    padding: 1.5rem;
  }
  .card-headline {
    font-size: 1.5rem;
  }
  .card-excerpt {
    font-size: 0.95rem;
  }
  .btn-readmore {
    font-size: 0.8rem;
  }
  .featured-btn {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
  }
}









/************************************************************
  Promotions Section
************************************************************/
.promotions {
  background-color: #111; /* Dark background to match DraftNaija theme */
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  width: 100%;
}

.promotions-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #00A650; /* DraftNaija accent color */
}

/* Container uses CSS Grid for responsiveness */
.promos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Promo Card */
.promo-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Dark Gradient Overlay for each card */
.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  transition: background 0.3s ease;
}
.promo-card:hover .promo-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.8));
}

/* Text Styles within Promo Cards */
.promo-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: #00A650;
}
.promo-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

/* Secondary Button */
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
}
.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .promo-card {
    height: 200px;
  }
  .promo-heading {
    font-size: 1.5rem;
  }
  .promo-text {
    font-size: 0.95rem;
  }
}




/* Features Section */
.features {
  background-color: #111; /* Dark background */
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
  position: relative;
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #00A650; /* DraftNaija accent color */
}

/* Grid Layout for Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Individual Feature Item */
.feature-item {
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.95));
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards ease;
}

/* Stagger the animation delay for each item */
.feature-item:nth-child(1) {
  animation-delay: 0.2s;
}
.feature-item:nth-child(2) {
  animation-delay: 0.4s;
}
.feature-item:nth-child(3) {
  animation-delay: 0.6s;
}

.feature-item:hover {
  transform: translateY(0) scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

/* Feature Title */
.feature-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #00A650;
}

/* Feature Text */
.feature-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.4;
}

/* Fade-In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .feature-item {
    padding: 1.5rem 1rem;
  }
  .feature-title {
    font-size: 1.5rem;
  }
  .feature-text {
    font-size: 0.95rem;
  }
}



/* Chat Modal Trigger Button */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00A650;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10000;
  transition: background-color 0.3s ease;
}
.chat-button:hover {
  background-color: #00B85C;
}

/* Modal Container */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}

/* Chat Form */
.chat-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-form .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.chat-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-family: 'Open Sans', sans-serif;
}
.chat-form input[type="text"],
.chat-form input[type="email"],
.chat-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}
.modal-send {
  background-color: #00A650;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.modal-send:hover {
  background-color: #00B85C;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    margin: 20% auto;
    width: 90%;
    padding: 1rem;
  }
  .chat-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
