@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf");
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf") ;
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: "Orbitron";
    src: url("../fonts/Orbitron-Bold.ttf") ;
    font-weight: 700;
    font-style: normal;
  }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

img{
    max-width: 100%;
    object-fit: cover;
}
a{
    text-decoration: none;
    color: inherit;
}
button{
    border: none;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: #ff6f61;
  text-transform: uppercase;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}
nav a:hover {
  color: #ff6f61;
}
.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}
.section {
  padding: 80px 0;
}
.section h2 , h1{
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  color: #ff6f61;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
}
.section h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
}
.section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
}
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #ff6f61, #ff3d00);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 111, 97, 0.5);
}
.hero {
  height: 100vh;
  max-height: 1200px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 600px;
  z-index: 2;
}
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  color: #ff6f61;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/banner.jpeg') center/cover;
  opacity: 0.3;
  transform: translateY(0);
}
.about, .community, .join, .contact, .history, .gallery, .resources, .openings, .analysis, .masterclass {
  background: #1c2526;
}
.community{
    text-align: center;
}
.about-content, .history-content, .resources-content, .openings-content, .coaching-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.about-text, .history-text, .resources-text, .openings-text, .coaching-text, .analysis-text {
  flex: 1;
}
.about-img, .history-img, .resources-img, .openings-img, .coaching-img, .analysis-img {
  flex: 1;
  max-width: 600px;
}
.about-img img, .history-img img, .resources-img img, .openings-img img, .coaching-img img, .analysis-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 111, 97, 0.2);
}
.tournaments, .legends, .tactics, .endgames, .masters, .gallery, .challenges, .puzzles, .workshops {
  background: #0a0a0a;
}
.strategies, .events, .coaching, .puzzles, .workshops {
  background: linear-gradient(135deg, #1c2526, #0a0a0a);
}
.slider, .events-slider, .endgame-slider, .challenge-slider, .puzzle-slider, .workshop-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
}

.slider::-webkit-scrollbar, .events-slider::-webkit-scrollbar, .endgame-slider::-webkit-scrollbar, .challenge-slider::-webkit-scrollbar, .puzzle-slider::-webkit-scrollbar, .workshop-slider::-webkit-scrollbar{
    width: 0;
}
.slider-card, .event-card, .endgame-card {
  min-width: 300px;
  background: #1c2526;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}
.slider-card:hover, .event-card:hover, .endgame-card:hover {
  transform: translateY(-10px);
}
.slider-card img, .event-card img, .endgame-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
.challenge-slider, .puzzle-slider, .workshop-slider {
  position: relative;
}
.challenge-card, .puzzle-card, .workshop-card {
  min-width: 350px;
  position: relative;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.text{
    text-align: 
    center; 
    max-width: 800px; 
    margin: 0 auto 40px;
}
.challenge-card img, .puzzle-card img, .workshop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.challenge-text, .puzzle-text, .workshop-text {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #fff;
  max-width: 80%;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: #1c2526;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content.open {
  padding: 20px;
  max-height: 300px;
}
.community-grid, .legends-grid, .masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.community-card, .legend-card, .master-card {
  background: #1c2526;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.community-card:hover, .legend-card:hover, .master-card:hover {
  transform: translateY(-10px);
}
.community-card img, .legend-card img, .master-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-item img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}
.gallery-item img:hover {
  transform: scale(1.05);
}
.analysis-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row-reverse;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 10px;
  background: #1c2526;
  color: #fff;
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form .checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
footer {
  background: #1c2526;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h3 {
  font-family: 'Orbitron', sans-serif;
  color: #ff6f61;
  margin-bottom: 20px;
}
.footer-grid a,
.footer-grid p {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}
.footer-grid a:hover {
  color: #ff6f61;
}
.parallax-img {
  transition: transform 0.3s ease-in-out;
}
.thanks {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}
.thanks .container {
  max-width: 800px;
}
.thanks h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  color: #ff6f61;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
}
.thanks p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}
.welcome {
      background: #1c2526;
    }
    .welcome-content {
      display: flex;
      gap: 40px;
      align-items: center;
    }
    .welcome-text {
      flex: 1;
    }
    .welcome-img {
      flex: 1;
      max-width: 500px;
    }
    .welcome-img img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(255, 111, 97, 0.2);
      transition: transform 0.3s;
    }
    .welcome-img img:hover {
      transform: scale(1.05);
    }
    .location {
      background: linear-gradient(135deg, #1c2526, #0a0a0a);
    }
    .location-content {
      display: flex;
      gap: 40px;
      align-items: center;
    }
    .location-text {
      flex: 1;
    }
    .location-map {
      flex: 1;
      max-width: 600px;
    }
    .location-map iframe {
      width: 100%;
      height: 400px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(255, 111, 97, 0.2);
    }
    .team {
      background: #0a0a0a;
    }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .team-card {
      background: #1c2526;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .team-card:hover {
      transform: scale(1.05);
      box-shadow: 0 0 20px rgba(255, 111, 97, 0.3);
    }
    .team-card img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      margin-bottom: 20px;
    }
    .checkbox input{
        width: 13px;
        margin: 0;
    }

    .section-top{
        padding-top: 120px;
    }
    .gray{
        background-color: #1c2526;
    }
    .progress {
      background: #0a0a0a;
    }
    .progress-bar {
      max-width: 800px;
      margin: 0 auto;
    }
    .progress-item {
      margin-bottom: 20px;
    }
    .progress-item label {
      display: block;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .progress-bar-fill {
      height: 20px;
      background: linear-gradient(135deg, #ff6f61, #ff3d00);
      border-radius: 10px;
      transition: width 0.5s ease;
    }
    .stats {
      background: #1c2526;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      text-align: center;
    }
    .stat-card {
      background: rgba(255, 111, 97, 0.1);
      padding: 20px;
      border-radius: 10px;
      transition: transform 0.4s, box-shadow 0.4s;
      transform: perspective(1000px) rotateY(0deg);
    }
    .stat-card:hover {
      transform: perspective(1000px) rotateY(10deg);
      box-shadow: 0 0 20px rgba(255, 111, 97, 0.5);
    }
    .stat-card .counter {
      font-size: 36px;
      color: #ff6f61;
      margin-bottom: 10px;
    }
    .timeline {
      background: linear-gradient(135deg, #1c2526, #0a0a0a);
    }
    .timeline-container {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
    }
    .timeline-item {
      display: flex;
      align-items: center;
      margin-bottom: 40px;
      opacity: 0;
      transform: translateX(-100px);
      transition: opacity 0.5s, transform 0.5s;
    }
    .timeline-item.visible {
      opacity: 1;
      transform: translateX(0);
    }
    .timeline-img {
      flex: 0 0 200px;
      margin-right: 20px;
    }
    .timeline-img img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(255, 111, 97, 0.2);
    }
    .timeline-text {
      flex: 1;
    }
    .progress1{
width: 70%;
    }

    .progress2{
width: 50%;
    }

    .progress3{
width: 30%;
    }

    .card1{
animation-delay: 0.2s;
    }
    .card2{
animation-delay: 0.4s;
    }
    .card3{
animation-delay: 0.6s;
    }
@media (max-width: 768px) {
  nav ul {
    transform: translateX(100%);
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        transition: transform 0.3s ease;
  }
  nav ul li a{
    font-size: 20px;
  }
  nav ul.open {
    transform: translateX(0%);
  }
  .burger {
    display: block;
    font-size: 24px;
  }

  body.no-scroll {
    overflow: hidden;
  }
  .logo {
    font-size: 20px;
  }
  .hero h1, .thanks h1 {
    font-size: 28px;
  }
  .hero p, .thanks p {
    font-size: 16px;
  }
  .section h2 {
    font-size: 28px;
  }
  .about-content, .history-content, .resources-content, .openings-content, .coaching-content, .analysis-content {
    flex-direction: column;
  }
  .challenge-card, .puzzle-card, .workshop-card {
    min-width: 300px;
  }
  .section{
    padding: 60px 0;
  }
  .section-top{
    padding-top: 110px;
  }

  .container{
    padding: 0px 10px;
  }
  .location-content, .welcome-content{
    flex-direction: column;
  }
  .location-map{
    width: 100%;
    max-width: 100%;
  }
  .timeline-item {
    flex-direction: column;
  }
  .timeline-img{
    margin-right: 0;
  }
}