@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&amp;display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
    list-style-type: none;
}
body,html{
    overflow-x: hidden;
}
:root{
    --navcolor: #262626;
    --heroheadingcolor: #181E4B;
    --subheading: #1F1C14;
    --loginbtncolor: #075FD5;
    --btncolor:#FFAA00;

}
.extra-link{
    position: relative;
}
.dropdown-list{
    width: 270px;
    min-height: auto;
    position: absolute;
    z-index: 100;
    background-color: #ffffff;
    /* display: flex; */
    flex-direction: column;
    font-family: "Nunito", sans-serif;
    padding: 20px;
    border-radius: 8px;
    gap: 30px;
    top: 35px;
    right: -200px;
    -webkit-box-shadow: 0px 5px 15px 0px rgba(217,217,217,1);
    -moz-box-shadow: 0px 5px 15px 0px rgba(217,217,217,1);
    box-shadow: 0px 5px 15px 0px rgba(217,217,217,1);
    display: none;
}
.dropdown-list >a{
    text-decoration: none;
    color: rgb(28, 28, 28);
    font-size: 15px;
}
.extra-link:hover .dropdown-list{
    display: flex;
}
.nav-item a {
    position: relative;
   
}
.dropdown-icon{
    position: relative;
    right: -5px;
    top: 0px;
}
.nav-link:after{
    content: " ";
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #FFAA00;
    left: 0;
    bottom: -2px;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(255,170,0,1);
-moz-box-shadow: 0px 0px 2px 0px rgba(255,170,0,1);
box-shadow: 0px 0px 2px 0px rgba(255,170,0,1);
transition: 0.3s;

}
.nav-link:hover:after{
    width: 90%;
}

/* hero section */
.hero {
    padding: 35px 5%;
    background: url(images/Ellipse.html\ 171.png) no-repeat;
    background-position: left;
    background-size: 80%;
    overflow-x: hidden;

}

.content {
    text-align: left;
}

.content >h1 {
    font-size: 2.9rem;
    font-weight: 400;
    font-family: "Nunito", sans-serif;
}

.underline-vector{
    position: absolute;
    z-index: 100;
    top:119px;
    left: 363px;
    width: 210px;

}
.hero p {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
    font-family: "Nunito", sans-serif;
}

.explore-btn {
    background-color: var(--btncolor);
    color: rgb(0, 0, 0);
    padding: 13px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    border-radius: 8px;
    font-family: "Nunito", sans-serif;
    transition: transform 0.3s ease-in-out;

}

.explore-btn:hover {
    transform: translateY(-5px);
}

.carousel img {
    width: 300px;
   
}

.carousel {
    position: relative;
    width: 500px;
    height: 500px;
   
}
.carousel >img {
    width: 60%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    opacity: 0;
    left: 250px;
    transition: opacity 1s ease-in-out;
}
.carousel img.active {
    opacity: 1;
}

/* search section */

.search-section{
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #f6f6f4;
    gap: 40px;
}
.search-section > h2{
    font-size: 3rem;
    font-family: "Nunito", sans-serif;
    text-align: center;
    color: #0a033c;
    font-weight: 700;
}
.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
}
.search-box input {
    width: 400px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.search-box button {
    background-color: #ffb703;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    right: 170px;
}
.search-box select {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.highlight-red{
    color: #f74f5a;
}



/* company section */
.expectations-section {
    background: url(images/image.html\ 14.png) no-repeat center #FFAA00;
    background-size: cover;
    padding: 50px 0;
    text-align: center;
    color: #0a033c;
}
.expectations-section h2 {
    font-weight:bolder;
}
.skills-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.skill-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 215px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.skill-icon:hover{
    transform: translateY(-5px);
}

                               /* courses section */


.popular-courses {
    padding: 75px 0;
    text-align: center;
    overflow-x: hidden;
}
.popular-courses h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 50px;
}
.course-carded {
    perspective: 1000px;
  

}
.course-inner {
    width: 100%;
    height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    position: relative;
}
.course-carded:hover .course-inner {
    transform: rotateY(180deg);
}
.course-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    background: rgb(250,210,255);
    background: linear-gradient(60deg, rgba(250,210,255,1) 36%, rgba(255,255,255,1) 27%);
    box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.1);
}
 .course-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: rgb(250,210,255);
    background: linear-gradient(60deg, rgba(250,210,255,1) 36%, rgba(255,255,255,1) 27%);
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.064);
}
.course-back {
    background: #ffffff;
    transform: rotateY(180deg);
    color: rgb(0, 0, 0);
    text-transform: uppercase;
}

.course-front >img{
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover; 
    border: 1px solid rgba(0, 0, 0, 0.094);
    right:253px;
    top: 30px;
}

.course-underline-vector{
    position: absolute;
    top: 50px;
    left: 550px;
    width: 150px;
}
.bulb-vector{
    position: absolute;
    top: 37px;
    left: 1304px;
    
}
.polygon-vector{
    position: absolute;
    top: 0px;
    left: -55px;
    
}
.calculator-vector{
    position: absolute;
    bottom: 30px;
    left: -93px;
}
.course-back img{
    transition: transform 0.3s ease-in-out;
}
.course-back img:hover{
    transform: translateY(-5px);
}


.custom-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1533;
    background: transparent;
    border: 2px solid #f5a623;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.custom-btn .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    color: #1a1533;
    font-weight: bold;
    border: 2px solid #f5a623;
}

.custom-btn:hover {
    background: #f5a623;
    color: white;
}

.custom-btn:hover .arrow {
    background: white;
    color: #f5a623;
}
/* Responsive */


@media (max-width: 768px) {
    .carousel >img {
        position: absolute;
        left: -11px;
        width: 80%;
       
    }
    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
    .underline-vector{
        top: 118px;
        left: 360px;
    }
    .course-underline-vector{
        top: 43px;
        left: 166px;
    }
    .search-box button {
         right: 1px;
         top: 1px;
   }
   .course-front >img{
    right: 314px;
    top: 30px;
}
}

@media (max-width: 576px) {
    .carousel >img {
        position: absolute;
        left: -14px;
        width: 100%;
    }
    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }
    .underline-vector{
        top: 172px;
        left: 10px;
    }
    .course-underline-vector{
        top: 43px;
        left: 166px;
    }
    .search-box button {
         right: 1px;
         top: 1px;
   }
   .course-front >img{
    right: 314px;
    top: 30px;
}
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 14px;
    }

    .cta-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .carousel {
        width: 400px;
        height: 400px;
    }
    .carousel >img {
        position: absolute;
        right: 10px;
        width: 100%;
        margin-left: -72px;
    }
    .underline-vector{
        top: 141px;
        left: 8px;
        width: 150px;
    }
    .course-underline-vector{
        top: 46px;
        left: 140px;
    }
    .search-box button {
         position: absolute;
        right: 0px;
        top: 1px;
    }
    .course-front >img{
        right: 272px;
        top: 30px;
    }
    .course-front{
        box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.1);
    }
}
