@import url('../../assets-custom/root.css');

body {
  margin: 0;
  font-family: sans-serif;
  background: #0a0a0a;
  color: #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('../../assets-custom/img/hero-bg.png') no-repeat center center/cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity for darkness */
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--primary-text-color);
  font-family: var(--title-font);
  font-size: 65px;
  font-style: normal;
  font-weight: 700;
  line-height: 80px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffffcc;
  margin-bottom: 30px;
}

.btn-hero {
  display: inline-block;
  background: var(--ea-primary-color);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 2px;
  transition: background 0.3s ease;
  z-index: 2;
}

.btn-hero:hover {
  text-decoration: none;
  color: var(--other-text-color);
}

/* About Us Section */
.about-section {
  background: #0a0a0a;
  padding: 60px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-images {
  flex: 1 1 45%;
  display: flex;
  position: relative;
  margin-bottom: 30px;
  gap: 20px;
}

.about-image-wrapper {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.about-img {
  width: 100%;
  max-height: 550px;
  display: block;
  border-radius: 5px;
  z-index: 10;
}

.right-img {
  transform: translate(0px, -45px);
}

.overlay-text {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 3rem;
  text-transform: uppercase;
  pointer-events: none;
}

.since-text {
  left: 15%;
  transform: translateY(-70%);
  font-family: var(--title-font);
  color: var(--other-text-color);
  text-align: center;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.year-text {
  bottom: -2%;
  right: 10%;
  z-index: 10;

  color: var(--other-text-color);
  text-align: center;
  font-family: var(--title-font);
  font-size: 82px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.about-content {
  flex: 1 1 45%;
  margin: 0 20px;
  max-width: 500px;
}

.about-subtitle {
  color: var(--ea-primary-color);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-title {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-description {
  color: #ffffffcc;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 40px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.feature-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 5px;
}

.feature-text {
  color: #ffffffcc;
  font-size: 0.9rem;
}

/* Why Choose Our Brain Training Section */
.why-choose-section {
  background: #0a0a0a;
  padding: 60px 20px;
  text-align: center;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-section h2 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 50px;
  line-height: 1.2;
}

.why-choose-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.why-choose-card {
  background: #111111;
  border: 1px solid #333;
  border-radius: 5px;
  flex: 1 1 30%;
  max-width: 360px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  margin: 20px 0;
}

.why-choose-card h5 {
  color: var(--ea-primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.why-choose-card p {
  color: #ffffffcc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.why-choose-icon {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}

.featured {
  background: var(--ea-third-color);
  border-color: var(--ea-primary-color);
}

.testimonial-buttons{
  display: flex;
  justify-content: center;
}

/* How to Play Section */
.how-to-play-section {
  background: #0a0a0a;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.how-to-play-container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-to-play-heading {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1.2;
  color: #fff;
}

.highlight-text {
  background: var(--ea-primary-color);
  color: #000;
  padding: 0 8px;
  border-radius: 4px;
  display: inline-block;
}

.how-to-play-description {
  color: #ffffffcc;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.how-to-play-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}

.step-item {
  background: #111111;
  border: 1px solid #333;
  border-radius: 5px;
  flex: 1 1 30%;
  max-width: 360px;
  padding: 40px 20px;
  margin: 20px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  color: var(--ea-primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.icon-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(196, 255, 0, 0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon {
  width: 60px;
  height: auto;
}

.step-title {
  color: var(--ea-primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.step-text {
  color: #ffffffcc;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 200px;
}

/* Testimonials */

.testimonials-section {
  background-color: #111; /* a dark grayish black */
  padding: 50px 0;
  text-align: center;
}

/* Section Heading */
.section-heading {
  color: #fff;
  font-family: 'Chakra Petch', sans-serif; /* or your chosen font */
  font-size: 2rem;
  margin-bottom: 40px;
}

/* SWIPER CONTAINER: center it, max width, etc. */
.testimonials-swiper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Each Slide => the testimonial card. We'll set min height to keep them even. */
.testimonial-card {
  background-color: #0e0e0e; /* slightly darker than section */
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 20px;
  text-align: left; /* aligns content inside the card to left */
  min-height: 250px;
  position: relative;
}

/* Header of Card: photo + name + location + quote icon */
.testimonial-header {
  display: flex;
  align-items: center;
  position: relative;
}

/* Left side: Customer Image */
.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 15px;
}

/* Customer Info: Name + Location */
.testimonial-info {
  line-height: 1.2;
}

.testimonial-name {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.testimonial-location {
  color: #ccc;
  font-size: 0.9rem;
  margin: 5px 0 0 0;
}

/* Bright green quote icon on the right of the card header */
.testimonial-quote {
  margin-left: auto; /* push it to the far right */
}
.testimonial-quote img {
  width: 50px;
  height: auto;
  /* If you have a pure SVG, you can recolor it in the SVG code or use filter */
  filter: brightness(1.2) saturate(2); /* optional punchier color */
}

/* Horizontal line between header & text */
.testimonial-separator {
  width: 100%;
  height: 1px;
  background-color: #333;
  margin: 20px 0;
}

/* Card Text */
.testimonial-text {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* MANUAL PREV/NEXT BUTTONS (below the cards, centered) */
.testimonial-buttons {
  margin-top: 30px;
}

.testimonial-button-prev,
.testimonial-button-next {
  background-color: transparent;
  border: 1px solid var(--ea-primary-color); /* bright green border */
  color: var(--ea-primary-color);
  width: 45px;
  height: 45px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.testimonial-button-prev:hover,
.testimonial-button-next:hover {
  background-color: #5a8154; /* fill green on hover */
  color: #111; /* text/icon black on hover */
}

.testimonial-button-prev i,
.testimonial-button-next i {
  font-size: 1.2rem; /* adjust arrow size */
}

/* Make sure default swiper arrows are hidden (we're using custom ones) */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 767px) {
  .testimonial-card {
    min-height: auto; /* let them shrink */
  }
  .testimonial-header {
    flex-wrap: wrap; /* stack image & info if needed */
  }
  .testimonial-quote {
    margin-left: 0;
    margin-top: 15px;
  }
  .testimonial-buttons {
    margin-top: 20px;
  }
  .testimonial-button-prev,
  .testimonial-button-next {
    margin: 0 5px;
    width: 40px;
    height: 40px;
  }
}

/* Consolidated Responsive Styles */

/* Tablet and below (max-width: 992px) */
@media (max-width: 992px) {
  /* About Us */
  .about-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-images,
  .about-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .about-content {
    margin: 40px 0 0 0;
  }

  /* Why Choose */
  .why-choose-grid {
    flex-direction: column;
    align-items: center;
  }
  .why-choose-card {
    max-width: 100%;
    margin: 20px 0;
  }
  .why-choose-section h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  /* How to Play */
  .how-to-play-steps {
    flex-direction: column;
    align-items: center;
  }
  .step-item {
    max-width: 100%;
    margin: 20px 0;
  }
  .how-to-play-heading {
    font-size: 1.8rem;
  }
}

/* Small tablets and large phones (max-width: 768px) */
@media (max-width: 768px) {
  /* Hero */
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-hero {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  /* About Us */
  .about-title {
    font-size: 1.5rem;
  }
  .overlay-text {
    font-size: 2rem;
  }

  /* Why Choose */
  .why-choose-section h2 {
    font-size: 1.5rem;
  }
  .why-choose-card h5 {
    font-size: 1rem;
  }
  .why-choose-card p {
    font-size: 0.85rem;
  }

  /* How to Play */
  .how-to-play-heading {
    font-size: 1.5rem;
  }
  .step-title {
    font-size: 1rem;
  }
  .step-text {
    font-size: 0.85rem;
  }
  .icon-wrapper {
    width: 80px;
    height: 80px;
  }
  .step-icon {
    width: 50px;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* Hero */
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }

  /* About Us */
  .feature-item {
    margin-right: 20px;
  }
  .feature-title {
    font-size: 0.9rem;
  }
  .feature-text {
    font-size: 0.8rem;
  }

  /* Why Choose */
  .why-choose-card {
    padding: 30px 15px;
  }
  .why-choose-card h5 {
    font-size: 0.9rem;
  }
  .why-choose-card p {
    font-size: 0.8rem;
  }
  .why-choose-icon {
    width: 50px;
  }

  /* How to Play */
  .how-to-play-heading {
    font-size: 1.4rem;
  }
  .step-title {
    font-size: 0.9rem;
  }
  .step-text {
    font-size: 0.8rem;
  }
  .icon-wrapper {
    width: 70px;
    height: 70px;
  }
  .step-icon {
    width: 40px;
  }
}
