@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


:root {
  --xs: 1.5%;
  --sm: 2.5%;
  --md: 5%;
  --lg: 7.5%;
  --xl: 10%;

  --px-xs: 1%;
  --px-sm: 2.5%;
  --px-md: 5%;
  --px-lg: 7.5%;
  --px-xl: 10%;

  --fontsize1: clamp(34px, 5vw + 1rem, 84px);
  --fontsize2: clamp(28px, 4vw + 1rem, 64px);

  --fontsize-sh1: clamp(50px, 8vw + 1rem, 100px);
  --fontsize-sh2: clamp(24px, 3vw + 0.5rem, 38px);
  --fontsize-sh3: clamp(34px, 3.5vw + 0.5rem, 44px);

  --fontsize-p1: clamp(16px, 2vw + 0.5rem, 24px);
  --fontsize-p2: clamp(18px, 2.8vw + 0.5rem, 34px);
  --fontsize-p3: clamp(34px, 6vw + 1rem, 78px);
  --fontsize-p4: clamp(16px, 1.2vw + 0.25rem, 18px);
  /* --fontsize1: calc(5vw + 1rem);
--fontsize2: calc(4vw + 1rem);

--fontsize-sh1: calc(8vw + 1rem);
--fontsize-sh2: calc(3vw + 0.5rem);
--fontsize-sh3: calc(3.5vw + 0.5rem);
--fontsize-sh4: calc(4vw + 0.5rem);

--fontsize-p1: calc(2vw + 0.5rem);
--fontsize-p2: calc(2.8vw + 0.5rem);
--fontsize-p3: calc(6vw + 1rem);
--fontsize-p4: calc(1.2vw + 0.25rem); */
}

@font-face {
  font-family: 'Garet';
  src: url('/fonts/garet/Garet-Heavy.woff2') format('woff2'),
    url('/fonts/garet/Garet-Heavy.woff') format('woff'),
    url('/fonts/garet/Garet-Heavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
span{
  font-size: var(--fontsize1);
  font-family: "DM Sans", sans-serif;
}
p{
  font-size: var(--fontsize1);
  font-family: "DM Sans", sans-serif;
}
a{
  font-family: "DM Sans", sans-serif;
  /* font-size: var(--fontsize1); */
  /* font-family: 'Garet'; */
}
h1 {
  font-size: var(--fontsize1);
  font-family: 'Garet';
  color: #626156;
}

h2 {
  font-size: var(--fontsize2);
  font-family: "DM Sans", sans-serif;
}

h3 {
  font-size: var(--fontsize-sh1);
  font-family: "DM Sans", sans-serif;
}

h4 {
  font-size: var(--fontsize-sh2);
  font-family: "DM Sans", sans-serif;
}

h5 {
  font-size: var(--fontsize-sh3);
  font-family: "DM Sans", sans-serif;
}

h6 {
  font-size: var(--fontsize-sh4);
  font-family: "DM Sans", sans-serif;
}

h1 {
  font-weight: 800;
}

img {
  width: 100%;
  box-sizing: border-box;
}

a {
  font-size: 1.8rem;
  font-weight: 400;
  color: black;
  text-decoration: none;
}

section {
  padding: 3.5% 7%;
}

.para1 {
  font-size: var(--fontsize-p1);
  font-family: "Nunito", sans-serif;
}

.para2 {
  font-size: var(--fontsize-p2);
  font-family: "Nunito", sans-serif;
}

.para3 {
  font-size: var(--fontsize-p3);
  font-family: "DM Sans", sans-serif;
  font-weight: bold;
}

.para4 {
  font-size: var(--fontsize-p4);
  line-height: 8.6rem;
  font-family: "DM Sans", sans-serif;
}

.btn-2{
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: bold;
}


@media(max-width:1440px) {}

@media(max-width:1024px) {
  section {
    padding: 3.5% 8%;
  }
}

@media(max-width:768px) {

  section {
    padding: 4% 6%;
  }

  section#h1 {
    padding: 3% 6%;
  }
  .btn-2{
  font-size: 24px;
}
}

@media(max-width:577px) {

  section {
    padding: 8% 6%;
  }
  .btn-2{
  font-size: 20px;
}

}

/*----------- common styling ---------- */
.pageGrid {
  background-color: #dbdac6;
}

.bg {
  background-image: url(../img/hero-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#h1 .n0-i1 {
  width: 30%;
}

.mobile-menu-toggle {
  display: none;
  margin-left: auto;
}

.hamburger {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 30px;
}

.hamburger-icon,
.close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: var(--color1);
  transition: all 0.3s ease;
}

.close-icon {
  opacity: 0;
}

.hamburger.active .hamburger-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.hamburger.active .close-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.nav-button {
  font-size: 1.6rem;
  padding: 15px 30px;
  border-radius: 30px;
  color: yellow;
  background-color: Black;
  box-sizing: border-box;
  transition: all 0.3s ease;
  outline: none;
  border: none;
}

button:hover {
  cursor: pointer;
}

@media(max-width:1024px) {
  .nav-button {
    padding: 8px 20px;
  }

  .destop-menu {
    gap: 4.5%;
  }
}

@media(max-width:768px) {
  .desktop-nav {
    display: none;
    gap: 10%;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-button {
    padding: 6px 15px;
  }

  button {
    padding: 4px 10px;
  }

  .hamburger-icon,
  .close-icon {
    font-size: 2.2rem;
  }
}

@media(max-width:577px) {
    section#h1 {
        padding: 7% 6% 0% 6%;
      }
    
      #h1 .n0-i1 {
        width: 50%;
      }
  .nav-button {
    padding: 6px 15px;
  }
  .bg {
  background-image: url(../img/hero-bg-mobile.png);
  background-size: cover;
}
}

/* <--------- nav bar end --------> */

#m1 {
  padding: 0;
  margin-bottom: 10%;
}

#m1 .n0-i1 {
  padding: 0% 12% 10% 12%;
}

#m1 .n0-i2 {
  top: 90%;
  /* width: 80%; */
  width: 60%;
  z-index: 1000;
  /* border: 2px solid red; */
  height: fit-content;
}



/* #m1 .n1-i1 {
  width: 80%;
} */

#m1 .n1-i1 img {
  border-radius: 30px;
}

#m1 .n1-i2 {
  position: relative;
  width: 30%;
  height: 30%;
}

.slide {
  position: absolute;
  width: 100%;
  bottom: 130%;
  left: 100%;
  transform: translateX(5%) rotate(30deg); 
  transform-origin: bottom center;
  opacity: 0;
  animation: slideTilt 8s infinite ease-in-out;
}

.rot-text {
  color: white;
  opacity: 0;
  animation: textFade 8s infinite;
}

.slide.img2,
.slide.img2 .rot-text {
  animation-delay: 2s;
}

.slide.img3,
.slide.img3 .rot-text {
  animation-delay: 4s;
}

.slide.img4,
.slide.img4 .rot-text {
  animation-delay: 6s;
}


/* image animation */
@keyframes slideTilt {

  0%,
  5% {
    transform: translateX(3%) rotate(30deg);
    opacity: 0;
  }

  10% {
    transform: translateX(0%) rotate(0deg);
    opacity: 1;
  }

  25% {
    transform: translateX(0%) rotate(0deg);
    opacity: 1;
  }

  30%,
  35% {
    transform: translateX(-3%) rotate(-30deg);
    opacity: 0;
  }

  100% {
    transform: translateX(-3%) rotate(-30deg);
    opacity: 0;
  }
}

/* text animation */
@keyframes textFade {

  0% {
    opacity: 1;
  }

  5% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  30%,
  35% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media(max-width:1440px) {}

@media(max-width:1024px) {
  #m1 .n0-i1 {
    padding: 0% 10% 20% 10%;
  }

}

@media(max-width:768px) {
  #m1 {
    padding: 0;
    margin-bottom: 10%;
  }

  #m1 .n0-i1 {
    padding: 0% 8% 8% 8%;
  }
  #m1 .n1-i2 {
    position: relative;
    width: 28%;
    height: 20%;
}

  #m1 .n0-i2 {
    top: 105%;
  }

}

@media(max-width:577px) {
  #m1 {
  padding: 0;
  margin-bottom: 20%;
}

#m1 .n0-i1 {
  padding: 15% 12% 15% 12%;
}

#m1 .n0-i2 {
  top: 105%;
}
#m1 .n1-i1 {
  width: 90%;
}

#m1 .n1-i1 img {
  border-radius: 12px;
}

#m1 .n1-i2 {
  width: 40%;
  height: 40%;
}
.slide {
  bottom: 110%;
}
}

/* -------Hero section end--------- */

/* ------- section 2 start--------- */
.section2 {
  background-color: #FFD302;
}

section#m2 {
  padding: 0%;
}

#m2 .n0-i2 {
  top: 15%;
}

#m2 .n2-i1 {
  padding: 3.5% 10%;
}

#m2 .n2-i2 {
  width: 100%;
}

#m2 .n3-i2 {
  color: #171616;
}

@media(max-width:1024px) {
  #m2 .n0-i1 {
    top: -25%
  }
}

@media(max-width:768px) {
  #m2 .n0-i2{
    margin-top: 3%;
  }
}

@media(max-width:577px) {
  #m2 .n2-i1 {
    margin-top: 15%;
    margin-right: 10%;
}
  #m2 .n3-i1 {
    margin-right: 20%;

  }

}

/* ----Section3 styling------ */
section#m3{
  margin-top: 5%;
}
#m3 .n0-i1 {
  background-color: #262626;
  border-radius: 60px;
}

#m3 .n1-i1 {
  color: white;
  line-height: 86px;
}

#m3 .n0-i1 .btn {
  font-size: 1.6rem;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 18px;
  color: black;
  font-family: sans-serif;
  background-color: white;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#m3 .n2-i1 {
  background-color: #C8C8CA;
  border-radius: 40px;
}

#m3 .n3-i1 {
  color: #262626;
}

#m3 .n5-i1 {
  background-color: #FFD302;
  border-radius: 40px;
}

#m3 .text-bold {
  font-weight: bold;
  display: block;
}

@media(max-width:1024px) {
  #m3 .simpleGrid{
  grid-template-columns: repeat(1, 1fr);
  }

}

@media(max-width:768px) {
  section#m3 {
    margin-top: 6%;
  }

  #m3 .para3 {
    line-height: 62px;
  }

  #m3 .n0-i1 {
    border-radius: 40px;
  }
}

@media(max-width:577px) {
  section#m3 {
    margin-top: 8%;
  }

  #m3 .para3 {
    line-height: 42px;
  }

  #m3 .n0-i1 {
    border-radius: 35px;
  }
  #m3 .n2-i1 {
  border-radius: 30px;
}
#m3 .inner-col {
  grid-template-columns: repeat(1, 1fr);
}
}

/* ---------END of section3 with responsive---------- */

/*---- section 4 Start------------ */
#m4 .n0-i1 {
  line-height: 70px;
}

#m4 .row1 {
  width: 100%;
  flex-direction: row;
}

#m4 .row2 {
  width: 100%;
  flex-direction: row-reverse;
}
#m4 .para1{
  line-height: 26px;
}

@media(max-width:1024px) {}

@media(max-width:768px) {
  #m4 .row1 {
    flex-direction: column;
  }

  #m4 .row2 {
    flex-direction: column;
  }
}

@media(max-width:577px) {
  #m4 .para1{
  line-height: 24px;
}
}

/*---- section 4 END------------ */

/*---- section 5 Start------------ */

#m5 .n1-i1 img {
  border-radius: 40px;
}

#m5 .n1-i2 {
  background-color: #FFD302;
  border-radius: 40px;
  padding: 10% 5%;
}

#m5 .box {
  background-color: #EEEDED;
  border-radius: 30px;
  padding: 10% 8%;
}
#m5 .para4{
  line-height: 26px;
}
@media(max-width:1024px) {
  #m5 .inner-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media (max-width: 768px) {
  #m5 .customGrid {
    grid-template-columns: 1fr;
  }
  #m5 .n1-i2 {
    order: 1;
    text-align: center;
  }
  #m5 .n1-i1 {
    order: 2;
  }
  #m5 .n0-i2 {
    margin-top: 5%;
  }
}

@media (max-width: 577px) {
  #m5 .n0-i2 {
    margin-top: 5%;
  }
    #m5 .inner-col {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

/*---- section 5 END------------ */


/*---- section 6 Start------------ */
.section6 {
  background-image: url(../img/hero-bg.png);
  background-size: cover;
}

#m6 .n0-i2 {
  width: 100%;
}

#m6 .n0-i2 img {
  border-radius: 10%;
}
#m6 .para1{
  line-height: 32px;
}

@media(max-width:1440px) {}

@media(max-width:1024px) {
  #m6 .n0-i2 {
    width: 100%;
  }
  #m5 h2{
    line-height:58px;
  }
      #m6 .para1{
        font-size: 20px;
  line-height: 24px;
}
}

@media(max-width:768px) {
  #m6 .para1{
  line-height: 30px;
}
#m6 .simpleGrid{
  gap: 0;
}
}

@media(max-width:577px) {
    #m6 .para1{
  line-height: 24px;
}

}

/*---- section 6 END------------ */

/*---- section 7 Start------------ */
#m7 .n0-i1 {
  padding: 3.5% 10%;
}

section#m7 {
  padding: 0;
  padding-bottom: 3.5%;
}

.scroll-img-section .n0-i1 {
  padding: 0% 10%;
}

.scroll-img {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  /* Safari GPU acceleration */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.scroll-img-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation: scroll-left 20s linear infinite;
  -webkit-animation: scroll-left 20s linear infinite;
  transform: translateZ(0);
  /* Important for Safari */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.scroll-img .card {
  flex: 0 0 auto;
  width: 390px;
  background-color: #FFE66F;
  border-radius: 60px;
  text-align: center;
  padding: 20px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.scroll-img img {
  width: 45%;
  margin-bottom: 30%;
  padding: 10%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
}

#m7 h5{
  padding: 40px 38px;
}
/* Keyframes for seamless infinite scroll */
@keyframes scroll-left {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

.scroll-img-track::after {
  content: "";
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}


@media(max-width:1440px) {}

@media(max-width:1024px) {}

@media(max-width:768px) {
.scroll-img img {
  width: 40%;
  padding: 8%;
  margin-bottom: 20%;
}
.scroll-img .card {
  width: 300px;
  border-radius: 30px;
  padding: 15px;
}
#m7 h5{
  padding: 30px 20px;
}
}

@media(max-width:577px) {
.scroll-img img {
  width: 35%;
  padding: 5%;
  margin-bottom: 10%;
}
.scroll-img .card {
  width: 290px;
  border-radius: 30px;
  padding: 15px;
}
#m7 h5{
  padding: 30px 20px;
}
}

/*---- section 7 END------------ */

/*---- section 8 Start------------ */
#m8 {
  background-color: #000;
  color: white;
}

#m8 .n0-i1 h2 {
  font-size: 5.5rem;
  line-height: 6.3rem;
}

#m8 .n0-i1 p {
  font-size: 2.4rem;
  line-height: 3.2rem;
}

#m8 .course-cards {
  /* background-color: #262626; */
  border-radius: 30px;
  background-image: url(../img/section8-bg.png);
  background-size: cover;
}

#m8 .course-cards img {
  border-radius: 30px;
}

#m8 .n1-i2 h3 {
  font-size: 4.5rem;
  line-height: 5.3rem;
  margin-right: 33%;
}

#m8 .n1-i2 p {
  font-size: 2rem;
  line-height: 2.8rem;
}

#m8 ol {
  list-style-type: disc;
  font-size: 2rem;
  line-height: 2.8rem;
}

@media(max-width:1440px) {}

@media(max-width:1024px) {}

@media(max-width:768px) {
  #m8 .course-cards {
    background-size: contain;
  }
}

@media(max-width:577px) {}

/*---- section 8 END------------ */

/*---- section 9 Start------------ */
section#m9 {
  padding: 3.5% 0% 3.5% 7%;
}

#m9 .n1-i2 button {
  background-color: #FFD302;
  border: none;
  padding: 4% 5%;
  margin: 3%;
  border-radius: 50%;
}

#m9 .n1-i2 i {
  font-size: 25px;
}

#m9 .card {
  background-color: #D0D0D0;
  border-radius: 40px;
  flex: 0 0 calc(100% / 3.5);
  scroll-snap-align: start;
  height: fit-content;
}

#m9 .n3-i1 {
  padding: 7% 5%;
}

#m9 .para5 {
  padding: 10px 16px;
  border-radius: 40px;
  width: 20%;
  background-color: white;
  width: fit-content;
}

#m9 .n3-i2 img {
  border-radius: 40px;
}

#m9 .card-btn {
  position: absolute;
  bottom: 10%;
  left: 10%;
  padding: 4% 8%;
  border-radius: 25px;
  border: none;
}

.scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.manual-scroll-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  cursor: grab;
}

.manual-scroll-cards.dragging {
  cursor: grabbing;
}

.carousel-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.manual-scroll-cards::-webkit-scrollbar {
  display: none;
}

.manual-scroll-cards {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#m9 .card:hover {
  background-color: #FFD302;
}

@media(max-width:1440px) {}

@media(max-width:1024px) {}

@media(max-width:768px) {}

@media(max-width:577px) {}

/*---- section 9 END------------ */

/*---- section 10 Start------------ */
#m10 .n0-i1 {
  width: 50%;
}

#m10 .img-up {
  margin-bottom: 5%;
}

#m10 .img-down {
  margin-top: 5%;
}
#m10 .ready-btn{
  border: none;
  outline: none;
  padding: 20px 30px;
  background-color: #FFD302;
  border-radius: 24px;
}

@media(max-width:1440px) {}

@media(max-width:1024px) {}

@media(max-width:768px) {}

@media(max-width:577px) {
  #m10 .n0-i1 {
  width: 90%;
}
  #m10 .ready-btn{
  padding: 10px 15px;
  border-radius: 12px;
}
}

/*---- section 10 END------------ */

/* ---footer styling---------- */

#f1 .customGrid{
 border: 2px solid red;
}
#f1 .n0-i1{
   border: 2px solid green;
}
#f1 .n0-i2{
   border: 2px solid blue;
}