body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.sec-1 {
  background-color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 5px 10px;
  transition: color 0.3s;
}

.nav-links li a.active {
  border-bottom: 2px solid #800000;
  color: #800000;
}

.nav-links li a:hover {
  color: #800000;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Sec 2 */

.background {
  height: 600px;
  position: relative;
  margin: 0;
  background: center;
}
video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.overlay {
  position: absolute;
  top: 50px;
  left: 0;
  bottom: 0;
  right: 0;
}

.heading-5g {
  margin-top: 15%;
}

.heading-5g h1,
.heading-5g h6 {
  color: #fff;
}

.heading-5g h1 {
  font-size: 70px;
}

.heading-5g h6 {
  font-size: 30px;
}

/* Sec 3 */

.team-img img {
  border-radius: 10px;
  margin-right: 50px;
}

.about-club h3 {
  border-bottom: 3px solid #c01f45;
  padding: 0 10px 10px 0;
}

.about-club p {
  font-size: 20px;
}

/* Sec 4 */

/* .sec-4 {
  background: linear-gradient(45deg, #00bcd4, #ffeb3b);
} */
.news-cards {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 50px;
  padding: 100px 50px;
}

.news-card {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 350px;
  height: 350px;
  background: #d6d6d6;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}

.news-card:hover {
  min-height: 450px;
}

.news-img {
  position: absolute;
  top: 20px;
  width: 300px;
  height: 220px;
  background: #333;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.5s;
}

.news-card:hover .news-img {
  top: -100px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.news-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  position: absolute;
  top: 252px;
  width: 100%;
  padding: 0 30px;
  height: 30px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.news-card:hover .news-content {
  top: 130px;
  height: 350px;
}

.news-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr);
}

.news-content p {
  color: #333;
}

.news-content a {
  position: relative;
  top: 15px;
  display: inline-block;
  padding: 12px 25px;
  background: var(--clr);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

/* Sec 5 */

.sec-5 {
  background-color: #c01f45;
}

.member-img img {
  max-width: 450px;
  margin-right: 50px;
  border-radius: 5px;
}

.total-members h3,
.total-members p {
  color: #fff;
}

.total-members h3 {
  border-bottom: 3px solid #fff;
  padding: 0 10px 10px 0;
}

.count-num {
  font-size: 55px;
  font-weight: 700;
}

.count-box {
  margin: 3rem;
}

/* Sec 6 */

.gallery-images {
  width: 100%;
}

.gallery-container {
  align-items: center;
  display: flex;
  height: 400px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}

.gallery-item {
  height: 200px;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 330px;
  z-index: 0;
  border-radius: 15px;
  background-size: contain;
}

.gallery-item-1 {
  left: 15%;
  opacity: 0.4;
  transform: translateX(-50%);
}

.gallery-item-2,
.gallery-item-4 {
  height: 250px;
  opacity: 0.8;
  width: 380px;
  z-index: 1;
}

.gallery-item-2 {
  left: 30%;
  transform: translateX(-50%);
}

.gallery-item-3 {
  box-shadow: -2px 5px 33px 6px rgba(0, 0, 0, 0.35);
  height: 300px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 430px;
  z-index: 2;
}

.gallery-item-4 {
  left: 70%;
  transform: translateX(-50%);
}

.gallery-item-5 {
  left: 85%;
  opacity: 0.4;
  transform: translateX(-50%);
}

.gallery-controls {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  height: 100px;
}

.gallery-controls button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-size: 30px;
  margin: 0 50px;
  padding: 0 12px;
  text-transform: capitalize;
}

.gallery-controls-button:focus {
  outline: none;
}

.gallery-controls-previous {
  position: relative;
}

.gallery-controls-previous::before {
  border: solid #000;
  border-width: 0 5px 5px 0;
  content: "";
  display: inline-block;
  height: 5px;
  left: -30px;
  padding: 10px;
  position: absolute;
  top: 25%;
  transform: rotate(135deg) translateY(-50%);
  transition: left 0.15s ease-in-out;
  width: 5px;
}

.gallery-controls-previous:hover::before {
  left: -40px;
}

.gallery-controls-next {
  position: relative;
}

.gallery-controls-next::before {
  border: solid #000;
  border-width: 0 5px 5px 0;
  content: "";
  display: inline-block;
  height: 5px;
  right: -30px;
  padding: 10px;
  position: absolute;
  top: 45%;
  transform: rotate(-45deg) translateY(-50%);
  transition: left 0.15s ease-in-out;
  width: 5px;
}

.gallery-controls-next:hover::before {
  right: -40px;
}

.gallery-nav {
  bottom: -15px;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: absolute;
  width: 100%;
}

.gallery nav li {
  background: #ccc;
  border-radius: 50%;
  height: 10px;
  margin: 0 16px;
  width: 10px;
}

.gallery nav li.gallery-item-selected {
  background: #555;
}

/* Sec 7 */

.sec-7 {
  background: #d9d9d9;
}

.ex-co {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ex-co-images {
  width: 95%;
  position: relative;
}

.slide-button {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  height: 50px;
  width: 50px;
  color: #fff;
  border: none;
  outline: none;
  background: #000;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
}

.slide-button:hover {
  background: #444;
}

#prev-slide {
  left: -20px;
}

#next-slide {
  right: -20px;
}

.ex-co-images .image-list {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  overflow-x: auto;
  scrollbar-width: none;
}

.ex-co-images .image-list::-webkit-scrollbar {
  display: none;
}

.ex-co-images .image-list .image-item {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}

.ex-co-images .image-list .image-item img {
  border-radius: 100px;
}

.ex-co-name {
  font-size: 20px;
  margin-top: -15px;
}

/* Sec 9 */

.sec-9 {
  background-color: #c01f45;
}

.contact-us-form h2 {
  color: #fff;
}

.contact-form {
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  max-width: 800px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  background-color: transparent;
  width: 97%;
  margin: 10px;
  font-size: 15px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #7c7c7c;
}

.contact-form-btn {
  margin: 10px;
  background-color: #c01f45;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  color: #fff;
  padding: 8px 12px;
}

.contact-form-btn:hover {
  opacity: 80%;
  cursor: pointer;
}

/* Footer */

.footer-logo img {
  max-width: 200px;
}

.quick-links,
.social-links {
  color: #c01f45;
  font-weight: 600;
}

.footer-nav-links li {
  list-style-type: none;
  margin-bottom: 10px;
  margin-right: 15px;
}

.footer-nav-links li a:hover {
  color: #c01f45;
}

.footer-nav-links li a {
  text-decoration: none;
  color: #15122c;
  font-weight: bold;
  text-transform: uppercase;
}

.social-images a {
  margin: 10px;
}

.social-images a img {
  max-width: 40px;
}

.footer-copywrite {
  background-color: #c01f45;
  padding: 20px 0 10px 0;
  text-align: center;
}

.footer-copywrite p {
  color: #fff;
  font-weight: 700;
}

/* Sec 10 */

.sponser-slider {
  height: 250px;
  margin: auto;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide-track {
  display: flex;
}

.slide-track:hover {
  animation-play-state: paused;
}

/* @keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 9));
  }
} */

.sponser-slide {
  height: 200px;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 15px;
  perspective: 100px;
}

.sponser-slide img {
  width: 100%;
  transition: transform 1s;
}

.sponser-slide img:hover {
  transform: translateZ(20px);
}

/* .sponser-slider::before,
.sponser-slider::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
}

.sponser-slider::before {
  left: 0;
  top: 0;
}

.sponser-slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
} */

/*  */
/*  */
/*  */
/*  */
/*  */

/* Responsive styles */

@media (max-width: 1200px) {
  .about-wcc {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  .about-club h2 {
    margin-top: 15px;
  }

  .team-img img {
    margin-right: 0;
    width: 100%;
  }

  .about-club h2 {
    padding: 15px;
  }
  .count {
    justify-content: center;
  }
}

@media (max-width: 978px) {
  .member-count {
    flex-direction: column;
    text-align: center;
  }
  .member-img img {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .total-members h3 {
    border-bottom: 3px solid #fff;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    z-index: 1000;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 10px 0;
    z-index: 1000;
  }

  .menu-toggle {
    display: block;
  }

  .background {
    height: 450px;
  }
}

@media (max-width: 480px) {
  .member-img img {
    width: 100%;
  }
  .count-box {
    margin: 1rem;
  }

  .news-card:hover {
    min-height: 550px;
  }

  .news-card:hover .news-content {
    height: 400px;
  }
}
