* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'montserrat';
    color: #fff;
}

html, body {
    height: 100%;
    perspective: none;
    width: 100%;
}


#custom-cursor {
  width: 30px;
  height:30px;
  border: 2px solid rgb(117, 235, 14);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;

}

#cursor-blur{
    height: 300px;
    width: 300px;
    background-color: hsla(76, 73%, 44%, 0.160);
    border-radius: 50%;
    position: fixed;
    filter: blur(50px);
    z-index: 9;
}


#nav {
    height: 150px;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    padding: 0 150px;
    gap: 40px;
    position: fixed;
    justify-content: flex-start;
    z-index: 999;
}
#nav img {
    height: 80px;
}
#nav h4{
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

#nav h4:hover{
    color: #000;
    transform: scale(1.1);
    transition: all 0.2s ease;
}



video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    position: fixed;
}


#main{
    position: relative;
    background-color: rgba(0, 0, 0, 0.37);
}

#page1{
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
}

#page1 h1{
    font-size: 140px;
    font-weight: 900;
    position: relative;
}
#page1 h1::before{
    content: "TRAIN. PLAY. ACHIEVE";
    position: absolute;
    color: #ff7b00;
    top: -1px;
    left: -1px;
    -webkit-text-stroke: 1.5px #bdff08;
    z-index: -1;
    opacity: 2.5;
}

#page1 h2{
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 20px;
}

#page1 p {
    font-size: 20px;
    font-weight: 500;
    width: 40%;
}

#page2 {
    min-height: 100vh;
    width: 100%;
    z-index: 10;
}

.scroller{
    /* background-color: red; */
    white-space: nowrap;
    overflow: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 10;

}

.scroller::-webkit-scrollbar{
    display: none;
}

.scroller-in{
    display: inline-block;
    white-space: nowrap;
}
.scroller-in{
    display: inline-block;
    white-space: nowrap;
    animation-name: scroll;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.scroller h4{
    display: inline-block;
    font-size: 120px;
    font-weight: 900;
    font-family: gilroy;
    margin-right: 10px;
    transition: all linear 0.5s;
    color: transparent;
    -webkit-text-stroke: 2px brown;
}
.scroller h4:hover{
    color:rgb(255, 255, 255);
}

@keyframes scroll {
    from{
        transform:translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}

#about-us{
    height: 40vh;
    width: 100%;
    /* background-color: red; */
    display: flex;
    padding: 0 50px;
    align-items: center;
    justify-content: space-around;
}

#about-us img{
    height: 180px;
    width: 180px;
    border-radius: 20px;
    object-fit: cover;
}

#about-us-in{
    width: 50%;
    text-align: center;
}

#about-us-in h3{
    font-size: 54px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}

#about-us-in p {
    font-size: 20px;
    line-height: 26px;
}

.card-container{
    /* background-color: red; */
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    position: relative;
    z-index: 10;
}
.card{
    height: 70%;
    width: 24%;
    /* background-color: blue; */
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: all ease 0.6s;
}

#card1{
    background-image: url(Assests/card1.jpg);
}
#card2{
    background-image: url(Assests/card2.jpg);
}
#card3{
    background-image: url(Assests/card3.jpg);
}

.overlay{
    height: 100%;
    width: 100%;
    background-color: #95c11e;
    padding-top: 140px;
    opacity: 0;
    transition: all ease 0.6s;
}
.overlay h4{
    color: #000;
    font-size: 30px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 20px;
    font-weight: 700;
}

.overlay p{
    color: #000;
    font-size: 18px;
}
.card:hover .overlay{
    opacity: 1;
}
.card:hover{
    transform: rotate3d(-1, 1, 0, 20deg);
}


.green-div{
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: red; */
    background: linear-gradient(to left bottom, #1dda53, #ace022);
}
.green-div h4{
    width: 45%;
    line-height: 50px;
    color: #000;
    text-align: center;
    font-weight: 800;
    font-size: 27px;
    text-transform: uppercase;
}


.page3{
    height: 100vh;
    width: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.page3 > p{
    font-size: 35px;
    font-weight: 700;
    width: 60%;
    line-height: 45px;
    text-align: center;
    transform: rotate3d(-1, 1, 0, 20deg);
}

.page4{
    height: 30vh;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;
    position: relative;
}

.elem{
    height: 70%;
    width: 26%;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}
.elem h2{
    height: 100%;
    width: 100%;
    background-color: #95c11e;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.5s;
    font-size: 2vw;
    position: absolute;
    z-index: 10;
}

.elem img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ese 0.5s;
    scale: 1.1;
}

.elem:hover h2{
    color: #fff;
    background-color: transparent;
}
.elem:hover h2{
    scale: 1;
}
.page4 h1{
    font-size: 5vw;
    position: absolute;
    top: -15%;
    font-weight: 900;
    align-items: center;
    font-family: gilroy;
    color: #e0d5d5;
    -webkit-text-stroke: 2px #91b4d6;
}

.footer{
    height: 40vh;
    width: 100%;
    background: linear-gradient(to left bottom, #119f3a 0%, #a3d421 80%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6.5vw;
    padding: 0 100px;
}

.f1 img{
    height: 100px;
}
.f1,
.f2,
.f3,
.f4{
    width: fit-content;
    position: relative;
    z-index: 99;
}

.f2 h3{
    font-size: 1.6vw;
    white-space: nowrap;
    text-transform: uppercase;
    color: #000;
    font-weight: 900;
    margin-bottom: 8px;
}

.f3 h3 {
  font-size: 1.6vw;
  white-space: nowrap;
  text-transform: uppercase;
  color: #000;
  font-weight: 800;
  margin-bottom: 8px;
}
.f4 h4 {
  font-size: 1vw;
  white-space: nowrap;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 8px;
}

.f2 h3,
.f3 h3 {
  color: #000;
  font-size: 1.6vw;
  text-transform: uppercase;
  font-weight: 900;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.f2 h3:hover,
.f3 h3:hover {
  color: #119f3a; /* light green */
  transform: scale(1.03); /* slight zoom effect */
}

/* 📌 Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  #nav {
    padding: 0 40px;
    gap: 20px;
  }

  #nav h4 {
    font-size: 14px;
  }

  #page1 h1 {
    font-size: 80px;
  }

  #page1 h2 {
    font-size: 22px;
  }

  #page1 p {
    width: 70%;
    font-size: 18px;
  }

  #about-us {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 30px;
  }

  #about-us img {
    height: 200px;
    width: 200px;
  }

  #about-us-in {
    width: 80%;
  }

  .card-container {
    flex-wrap: wrap;
    gap: 30px;
    height: auto;
    padding: 30px 0;
  }

  .card {
    width: 40%;
    height: 250px;
  }

  .green-div h4 {
    width: 80%;
    font-size: 22px;
    line-height: 35px;
  }

  .page3 > p {
    width: 80%;
    font-size: 24px;
    line-height: 36px;
  }

  .page4 {
    flex-wrap: wrap;
    height: auto;
    gap: 30px;
    padding: 40px 0;
  }

  .elem {
    width: 40%;
    height: 220px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
  }
}

/* 📌 Mobile (0 - 767px) */
@media (max-width: 767px) {
  #nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px;
    gap: 15px;
    height: auto;
  }

  #nav img {
    height: 50px;
  }

  #nav h4 {
    font-size: 12px;
  }

  #page1 h1 {
    font-size: 40px;
  }

  #page1 h2 {
    font-size: 18px;
  }

  #page1 p {
    width: 90%;
    font-size: 14px;
    line-height: 22px;
  }

  #about-us {
    flex-direction: column;
    padding: 20px;
  }

  #about-us img {
    width: 120px;
    height: 120px;
  }

  #about-us-in {
    width: 95%;
  }

  #about-us-in h3 {
    font-size: 28px;
  }

  #about-us-in p {
    font-size: 14px;
    line-height: 22px;
  }

  .card-container {
    flex-direction: column;
    gap: 20px;
    height: auto;
    padding: 20px 0;
  }

  .card {
    width: 85%;
    height: 200px;
  }

  .green-div h4 {
    width: 90%;
    font-size: 16px;
    line-height: 26px;
  }

  .page3 > p {
    width: 90%;
    font-size: 18px;
    line-height: 26px;
  }

  .page4 {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .elem {
    width: 85%;
    height: 200px;
  }

  .page4 h1 {
    font-size: 28px;
    text-align: center;
    top: -10%;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }

  .f2 h3, .f3 h3 {
    font-size: 14px;
  }

  .f4 h4 {
    font-size: 12px;
    line-height: 18px;
  }
}
