@font-face {
    font-family: ap;
    src: url(./FONTS/Montserrat-SemiBold.otf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ap;
}
html, body{
    height: 100%;
    width: 100%;
    background-color: white;
}
#main{
    height: 100%;
    width: 100%;
    background-color: white;
}
nav{
    height: 10vh;
    width: 100%;
    display: flex;
    padding: 7vh 0;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background-color: white;
    z-index: 2;
}
#nav-left{
    height: 10vh;
    width: 20vh;
    padding-left: 4vw;
    align-items: center;
    justify-content: center;
}
#nav-left img{
    height:12vh;
    width: 10vw;
    object-fit: contain;
}

#nav-right{
    display: flex;
    gap: 1.2vw;
    align-items: center;
    padding-right: 4vw;
   
}
#nav-right a {
    text-decoration: none;
    color: black;
}
#nav-right h4{
    padding: 10px 20px;
    border: 1px solid rgb(60, 60, 60);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

#home-page{
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#home-page h1{
    text-align: center;
    font-size: 12vh;
    font-weight: 500;
    margin-top: 12vh;
    line-height: 10vh;
}
#home-page h1 span{
    color: blueviolet;
}
#home-page p{
    margin-top: 15px;
    margin-left: auto;
    margin-right: 20vw;
    font-size: 1.5vh;
    font-weight: 500;
}
#home-page p span{
    color: blueviolet;
}
#home-page a{
    text-decoration: none;
}
#home-page a h4{
    color: white;
    padding: 2.2vh 5vw;
    background-color: blueviolet;
    border-radius: 10px;
    font-weight: 600;
}

#moving-div {
    /* background-color: red; */
    margin-top: 10vh;
    position: absolute;
    bottom: 3%;
    white-space: nowrap;
    padding: 1.2vw;
    overflow: hidden;
    width: 44%;
    z-index: 1;

}

#moving-div .move {
    display: inline-block;
    animation-name: mobe;
    animation-duration: 9s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#moving-div .move img {
    height: 2vw;
    margin: 0 1.2vw;
}

@keyframes mobe {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }

}

#blur-left {
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, white, transparent);

    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

#blur-right {
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, transparent, white);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}



#courses{
    height: 215vh;
    width: 100%;
}
#course-heading{
    height: 15vh;
    width: 100%;
    align-items: center;
}
#course-heading h1{
 font-size: 10vh;
 font-weight: 500;
 margin-left: 2.3vw;
}
#course-heading h1 span{
    color: blueviolet;
}
#row1{
    height: 85vh;
    width: 100%;
}
#row1 .course-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  
#row1 .course-card {
    background-color: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    height: 70vh;
    width: 23vw;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
#row1 .course-image {
    position: relative;
    width: 100%;
    height: 30vh;
  }
  
#row1 .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
#row1 .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f2f2f2;
    color: black;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
  }
  
#row1 .course-content {
    padding: 20px;
    text-align: left;
  }
  
#row1  .course-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
  }
  
#row1 .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
  }
  
#row1 .tag {
    background-color: #4f4f4f;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 300;
  }
  
#row1 .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 6vh;
    border-radius: 5px;
    background-color: #4f4f4f;
  }
  
#row1 .details a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 1vh;
  }
  #row1 .details a p{
    color: white;
  }

.permo{
    font-size: 0.9rem;
}
  
#row1 .price {
    font-weight: bold;
    font-size: 1.2rem;
  }
#achievements-heading{
    margin-top: 10px;
    margin-bottom: 30px;
}
#achievements-heading h1{
    font-size: 10vh;
    font-weight: 700;
    margin-left: 2.3vw;
    color: blueviolet;
}
#achievements-heading span{
    color: black;
}



#achievements-container {
    width: 100%;
    height: 300px;
    overflow: hidden; /* Hide the overflow to make only one part visible */
}

#achievements {
    display: flex;
    width: max-content;
}

.achievement-card {
    background-color: #9e2ed3;
    border-radius: 15px;
    color: white;
    width: 250px;
    height: 250px;
    margin: 0 15px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.achievement-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.achievement-card h4 {
    font-size: 22px;
    margin-bottom: 2px;
}

.achievement-card p {
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}


#youtube{
    margin-top: 20px;
    height: 80vh;
    width: 100%;
    align-items: center;
    position: relative;
    margin-bottom: 10vh;
}
#youtube h1{
    text-align: center;
    font-size: 10vh;
}
#youtube span{
    color: blueviolet;
}
#youtube-card{
    position: absolute;
    height: 60vh;
    width: 100vh;
    margin-top: 8vh;
    margin-left: 55vh;
    border-radius: 12px;
    overflow: hidden;
}
#youtube-card a img{
    object-fit: cover;
    height: 60vh;
    width: 100vh;
}


footer {
    background-color: #212121;
    color: #fff;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    background-color: white;
    color: black;
    align-items: center;
}

.contact-text p {
    font-size: 18px;
    font-weight: 500;
    margin-right: 20px;
}

.contact-main {
    flex-grow: 1;
    text-align: center;
}

.contact-main h2 {
    font-size: 48px;
    font-weight: 600;
}

.yellow-line {
    display: block;
    width: 250px;
    height: 3px;
    background-color: blueviolet;
    margin: 10px auto;
}
.arrow a{
    text-decoration: none;
}
.arrow .circle {
    width: 50px;
    height: 50px;
    background-color: blueviolet;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow .circle span {
    font-weight: 600;
    font-size: 30px;
    color: white;
}

.info-section {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #212121;
}

.brand-info h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.484);
}

.location {
    display: flex;
    gap: 50px;
}

.city h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.city p, .city a {
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    color: #fff;
}

.city a:hover {
    text-decoration: underline;
}

.newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 9px;
}

.newsletter a:hover {
    text-decoration: underline;
}


@media (max-width:430px) {
    nav{
        height: 10vh;
        width: 100%;
        display: flex;
        position: fixed;
        padding: 2vh 0;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        z-index: 2;
    }
    #nav-left{
        height: 100%;
        width: 16vh;
        align-items: center;
    }
    #nav-left img{
        height: 100%;
        width: 100%;
        margin-right: 20px;
    }
    
    #nav-right{
        display: flex;
        gap: 1.2vw;
        align-items: center;
        padding-right: 4vw;
       
    }
    #nav-right a {
        display: none;
    }
    #nav-right h4{
        display: none;
    }
    #home-page{
        height: 90vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: fle;
        align-items: center;
    }
    #home-page h1{
        text-align: center;
        font-size: 5vh;
        font-weight: 500;
        line-height: 3.9vh;
    }
    #home-page h1 span{
        color: blueviolet;
    }
    #home-page p{
        display: none;
    }
    #home-page p span{
        color: blueviolet;
    }
    #home-page a{
        margin-top: 20px;
        text-decoration: none;
    }
    #home-page a h4{
        color: white;
        padding: 2vh 5vw;
        background-color: blueviolet;
        border-radius: 10px;
        font-weight: 600;
    }
    
    #moving-div {
        /* background-color: red; */
        position: absolute;
        bottom: 23%;
        white-space: nowrap;
        padding: 1.2vw;
        overflow: hidden;
        width: 70%;
        z-index: 1;
    
    }
    
    #moving-div .move {
        display: inline-block;
        animation-name: mobe;
        animation-duration: 9s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }
    
    #moving-div .move img {
        height: 5vw;
        margin: 0 1.2vw;
    }
    
    @keyframes mobe {
        0% {
            transform: translateX(0);
        }
    
        100% {
            transform: translateX(-100%);
        }
    
    }
    
    #blur-left {
        height: 100%;
        width: 20%;
        background: linear-gradient(to right, white, transparent);
    
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
    }
    
    #blur-right {
        height: 100%;
        width: 20%;
        background: linear-gradient(to right, transparent, white);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
    }
    #courses{
        height: 215vh;
        width: 100%;
    }
    #course-heading{
        height: 5vh;
        width: 100%;
        align-items: center;
    }
    #course-heading h1{
     font-size: 5vh;
     font-weight: 600;
     margin-left: 2.3vw;
    }
    #course-heading h1 span{
        color: blueviolet;
    }
    #row1{
        height: 285vh;
        width: 100%;
    }
    #row1 .course-container {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
      }
      
    #row1 .course-card {
        background-color: #2d2d2d;
        border-radius: 15px;
        overflow: hidden;
        height: 70vh;
        width: 90vw;
        color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      }
      
    #row1 .course-image {
        position: relative;
        width: 100%;
        height: 30vh;
      }
      
    #row1 .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
    #row1 .badge {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: #f2f2f2;
        color: black;
        font-size: 0.8rem;
        padding: 4px 10px;
        border-radius: 12px;
      }
      
    #row1 .course-content {
        padding: 20px;
        text-align: left;
      }
      
    #row1  .course-content h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        font-weight: 500;
      }
      
    #row1 .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 40px;
      }
      
    #row1 .tag {
        background-color: #4f4f4f;
        color: white;
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: 300;
      }
      
    #row1 .details {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 6vh;
        border-radius: 5px;
        background-color: #4f4f4f;
      }
      
    #row1 .details a {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        padding: 1vh;
      }
      #row1 .details a p{
        color: white;
      }
    
    .permo{
        font-size: 0.9rem;
    }
      
    #row1 .price {
        font-weight: bold;
        font-size: 1.2rem;
    }
    #achievements-heading{
        margin-top: 20px;
        margin-bottom: 30px;
    }
    #achievements-heading h1{
        font-size: 5vh;
        font-weight: 600;
        line-height: 4vh;
        margin-left: 2.3vw;
        color: blueviolet;
    }
    #achievements-heading span{
        color: black;
    }
    #youtube{
        margin-top: 10px;
        height: 50vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2vh;
    }
    #youtube h1{
        text-align: center;
        font-size: 5vh;
    }
    #youtube span{
        color: blueviolet;
    }
    #youtube-card{
        margin-top: 20vh;
        margin-right: 55vh;
        height: 25vh;
        width: 40vh;
        background-color: red;
    }
    #youtube-card a img{
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    
    footer {
        background-color: #212121;
        color: #fff;
    }
    
    .contact-section {
        display: flex;
        justify-content: space-between;
        padding: 30px;
        background-color: white;
        color: black;
        align-items: center;
    }
    
    .contact-text p {
        display: none;
    }
    
    .contact-main {
        flex-grow: 1;
        text-align: center;
    }
    
    .contact-main h2 {
        font-size: 30px;
        font-weight: 600;
    }
    
    .yellow-line {
        display: block;
        width: 190px;
        height: 3px;
        background-color: blueviolet;
        margin: 10px auto;
    }
    .arrow a{
        text-decoration: none;
    }
    .arrow .circle {
        width: 50px;
        height: 50px;
        background-color: blueviolet;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .arrow .circle span {
        font-weight: 600;
        font-size: 30px;
        color: white;
    }
    
    .info-section {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 40px;
        background-color: #212121;
    }
    
    .brand-info h3 {
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.484);
    }
    
    .location {
        margin-top: 10px;
        display: flex;
        gap: 50px;
    }
    
    .city h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .city p, .city a {
        font-size: 14px;
        line-height: 1.6;
        text-decoration: none;
        color: #fff;
    }
    
    .city a:hover {
        text-decoration: underline;
    }
    
    .newsletter {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .newsletter a {
        font-size: 14px;
        text-decoration: none;
        color: #fff;
        margin-bottom: 9px;
    }
    
    .newsletter a:hover {
        text-decoration: underline;
    }
    
    
    
    
}
