
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    scroll-behavior: smooth;
    transition: var(--trance);
}

:root {
    /* --primary: #7F56D9; */
    /* --primary:  #2ECA7F; */
    /* --primary:  crimson; */
    --primary: #1C8E5A;
    --secondary: #F4EBFF;
    --text-primary: #101828;
    --text-secondary: #667085;
    --badge-bg: #ECFDF3;
    --badge-text: #027A48;
    --white: #fff;
    --dropdown-bg: rgb(252, 253, 251);
    --shadow: rgba(32, 7, 65, 0.14);
    --container: 124rem;
    --nav-height: 10rem;
    --trance: all .5s linear;
    --main-color:#002147;
}

body:not(.dark-mode) {
    --background-color: #FFFFFF;
    --color: #1e272e;
    --nav-color:#fff;
    ---text:#6e6b6b;
    ---lightbg: #F2F8F1;
     --MsecBg: #E5F3ED;
}

.dark-mode {
    --background-color: #1e272e;
    --color: rgb(241, 242, 246);
    --nav-color:#161d22; 
    ---text:#b3aeae;
    ---lightbg: #2a2a33;
     --MsecBg: #4141419a;
}


html {
    /* font-family: 'Inter', sans-serif; */
    font-family: "Chakra Petch", sans-serif;
    font-size: 62.5%;
    font-style: normal;
    box-sizing: border-box;
    background-color: var(--background-color);
    transition: var(--trance);
    overflow-x: hidden;
}

body {
    font-size: 1.6rem;
    box-sizing: border-box;
    background-color: var(--background-color);
    transition: var(--trance);
    overflow-x: hidden;
}

body::-webkit-scrollbar{
    display: none;
}


.info{
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: var(--primary);
    position: fixed;
    z-index: 1000;
}

.info-data, .data{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: #fff;
}

.phone-icon{
    cursor: pointer; 
    display: none;
    z-index: 1000;
    
}

.phone-icon i{
 font-size: 1.9rem;
 color: var(--color);
}

.main-class{
    color: var(--primary);
    font-weight: 600;
}

.navigation {
    padding: 30px 40px;
    position:absolute;
    top: 7.5%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    background: var(--nav-color);
    box-shadow: 2px 2px 3px 0px lightblue;
    z-index: 999;
}

.logo img{
    margin-top: 10px;
    width: 8.5rem;
    height: 6.5rem;
    border-radius: 5px;
}

.nav_list {
    display: inline-flex;
    gap: 2rem;
    align-items: center;
    margin: 0 1.5rem;
    font-size: 1.9rem;
}

.nav_link .nav-active{
    color: var(--primary);
    transition: var(--trance);
    font-weight: 500;
}

.nav_link .nav-active:hover{
    color: transparent;
}

.nav_action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav_link,
.btn {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--color);
    font-size: 1.9rem;
    transition: var(--trance);
}

.nav_link:hover{
    color: transparent;
}
.nav_action{
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav_action .btn{
    color: var(--primary);
    font-weight: 600;
}

.nav_action a{
     padding: 11px 12.5px;
    border-radius: 50%;
    background-color: var(--color);
}

.nav_action .btn:hover{
    color: transparent;
}

/* Drak Mode Btn */


label{
    display: inline-flex;
    color: var(--white);
    background: var(--primary);
    font-weight: 500;
    padding: 11px 12.5px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_action input{
    position: absolute;
    opacity: 0;
}

.sun{
    position: absolute;
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
    transform: scale(0);
    transition: 1s ease;
}

input:checked~.sun{
    transition-delay: .8s;
    transform: scale(1) rotate(360deg);
}

.moon{
    font-size: 2.2rem;
    color: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
    transition: 1s ease;
    transition-delay: .8s;
}

input:checked~.moon{
    transition-delay: 0s;
    transform: rotate(360deg) scale(0);
}

.btn-primary {
    display: inline-flex;
    color: var(--white);
    background: var(--primary);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
}

.nav_toggle {
    cursor: pointer;
    display: none;
}

.nav_toggle ion-icon {
    font-size: 3.5rem;
    color: var(--color);
}

.dropdown {
    position: absolute;
    top: var(--nav-height);
    left: 25%;
    min-width: 40%;
    /* height: 100vh; */
    background: var(--color);
    box-shadow: 0rem 0.2rem 0.5rem var(--shadow);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.5s ease-in;
   
}

.dropdown-inner {
    gap: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;

}

.dropdown-item .item-heading{
    color: var(--primary);
}

.nav_list_menu:hover ion-icon {
    transition: all 0.5s ease-in;
    transform: rotate(180deg);
}

.nav_list_menu:hover .dropdown {
    clip-path: polygon(0 0, 100% 0, 100% 102%, 0 102%);
}

.item-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    color: var(--background-color);
}

.item-img {
    width: 4.5rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
}

.item-img i {
    font-size: 2rem;
    color: var(--primary);
}

.item-list-info {
    position: relative;
    width: 100%;
}

.item-list-info a{
    color: var(--background-color);
    font-weight: 600;
}

.item-list-info p{
    color: var(--primary);
}

.info-badge {
    position: absolute;
    right: 5rem;
    top: 0;
    background-color: #D5F2ED;
    color: #2FBFA7;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
}



/* Home Section */

.home{
    width: 100%;
    height: 100vh;
    background-image: url("../IMG/home-img7.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home .main-intro{
    width: 100%;
    height: 100%;
     display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000085;
    backdrop-filter: blur(100%);
}

.home .main-intro .intro{
    margin-top: 5%;
    align-content: center;
    color: #fff;
    text-align: center;
}

.home .main-intro .intro h1{
    font-size: 4.5rem;
}

.home .main-intro .intro h3{
    text-transform: uppercase;
}

.home .main-intro .intro h3 span{
    color: var(--primary);
}




/* course Section */

.course{
    width: 95%;
    margin: 5% auto;
}

.course .c-head{
    text-align: center;
    color: var(--color);
    letter-spacing: .1rem;
}

.course .c-head h1 i{
    color: var(--primary);
}

.course .c-main{
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
     flex-wrap: wrap;
    gap: 60px;
}

.course .c-main .c-card{
    width: 30%;
    background-color: var(--MsecBg);
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.course .c-main .c-card:hover{
    transform: translateY(-20px);
}

.course .c-main .c-card .main-img{
    width: 100%;
    height: 250px;
    object-fit: cover;
   
}

.course .c-main .c-card .logo-img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 8px solid var(--MsecBg);
    margin-top: -45px;
    margin-left: 30px;
    object-fit: cover;
    z-index: 100;
}

.course .c-main .c-card:hover .logo-img{
    transform: translateY(-20px);
}

.course .c-main .c-card .lvl{
    position: absolute;
    top: 2%;
    right: 2%;
    background-color: var(--primary);
    border: 0;
    outline: 0;
    color: #fff;
    padding: 12px 10px;
    width: 100px;
    font-weight: 600;
    letter-spacing: .1rem;
    border-radius: 5px;
}

.course .c-main .c-card .card-info{
    padding: 0% 5% 5% 5%;
    color: var(--color);
}

.course .c-main .c-card .card-info .c-stars{
    font-size: 2.2rem;
    color: var(--primary);
}

.course .c-main .c-card .card-info h2{
    color: var(--color);
    margin-top: 10px;
}

.course .c-main .c-card .card-info .crs-info{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    border-top : 1px solid var(--text-secondary);
    border-bottom: 1px solid var(--text-secondary);
    padding: 10px;
}

.course .c-main .c-card .card-info .crs-info h4{
    color: var(--primary);
}

.course .c-main .c-card .card-info .crs-info h3{
    font-weight: 500;
}

.course .c-main .c-card .card-info .crs-dis{
    margin-top: 20px;
    color: var(--text-secondary);
}

.card-footer{
  background-color: var(--primary);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.course .c-main .c-card .c-social{
   display: flex;
    gap: 10px;
}

.course .c-main .c-card .c-social a{
    color: var(--primary);
    font-size: 1.7rem;
    background-color: #fff;
    border-radius: 5px;
    padding: 6px 9px;
}

.course .c-main .c-card .c-social a:hover{
    color: transparent;
}


.card-footer .see{
    color: var(--primary);
    font-size: 1.7rem;
    background-color: #fff;
    border-radius: 5px;
    padding: 6px 9px;
    font-weight: 500;
}


/*MSG TOSTER SECTION */


.toast-container {
  position: fixed;
  top: 10%;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  color: #333;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  margin-right: 12px;
  font-size: 20px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-content {
  flex-grow: 1;
  padding-right: 10px;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
}

.toast-message {
  font-size: 14px;
  color: #666;
}

.toast-close {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #333;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transform-origin: left;
}

/* Toast types */
.toast.success {
  border-left: 4px solid #4caf50;
}

.toast.success .toast-icon {
  color: #4caf50;
}

.toast.success .toast-progress {
  background-color: #4caf50;
}

.toast.error {
  border-left: 4px solid #f44336;
}

.toast.error .toast-icon {
  color: #f44336;
}

.toast.error .toast-progress {
  background-color: #f44336;
}

.toast.info {
  border-left: 4px solid #2196f3;
}

.toast.info .toast-icon {
  color: #2196f3;
}

.toast.info .toast-progress {
  background-color: #2196f3;
}

.toast.warning {
  border-left: 4px solid #ff9800;
}

.toast.warning .toast-icon {
  color: #ff9800;
}

.toast.warning .toast-progress {
  background-color: #ff9800;
}

/* Dark mode styling */
@media (prefers-color-scheme: dark) {
  .toast {
    background-color: #333;
    color: #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .toast-message {
    color: #bbb;
  }
  
  .toast-close {
    color: #aaa;
  }
  
  .toast-close:hover {
    color: #eee;
  }
}







/* Footer Section */
 
footer{
    margin-top: 5%;
    background-image: url("../IMG/home-img9.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}



.f-main{
    padding: 5% 3% 2% 3%;
    background-color: #ffffffbd;
    backdrop-filter: blur(100%);  
}

footer .f-main .line{
    margin: 0 auto;
    margin-top: 40px;
    width: 95%;
    height: 3px;
    background-color: #000;
}

.f-main .f-part1{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.f-main .f-part1 .f-info .f-img{
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.f-main .f-part1 .f-info img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.f-main .f-part1 .f-info .f-p1{
    margin-top: 20px;
    line-height: 30px;
    font-weight: 600;
}

.f-main .f-part1 .f-info .social{
    margin-top: 25px;
    display: flex;
    gap: 30px;
}

.f-main .f-part1 .f-info .social a{
    background-color: #000;
    color: #fff;
    font-size: 2rem;
    padding: 8.6px 12px;
    border-radius: 50%;
    transition: var(--trance);
}

.f-main .f-part1 .f-info .social a:hover{
    background-color: var(--primary);
}


.f-main .f-part1 .f-info h2{
    color: var(--primary);
    letter-spacing: .1rem;
    font-weight: 600;
}

.f-main .f-part1 .f-info ul{
    justify-content: center;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.f-main .f-part1 .f-info ul li a{
    color: #000;
    font-weight: 600;
    font-size: 1.5rem;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    transition: var(--trance);
}

.f-main .f-part1 .f-info ul li a:hover{
    color: transparent;
}

.f-main .f-part1 .f-info ul li i{
    background-color: var(--primary);
    border-radius: 50%;
    color: #fff;
    padding: 1px;
}

.f-main .f-part1 .f-info .f-p2{
    margin-top: 20px;
    font-weight: 600;
    width: 65%;
}

.f-main .f-part1 .f-info .subs{
    margin-top: 30px;
}

.f-main .f-part1 .f-info .subs .sub-input{
    background-color: #000;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.f-main .f-part1 .f-info .subs .sub-input input{
    border: 0;
    outline: 0;
    background-color: transparent;
    border-bottom: 2px solid #fff;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .1rem;
    color: #fff;
    padding-bottom: 20px;
    width: 100%;
}

.f-main .f-part1 .f-info .subs .sub-input input::placeholder{
    color: #fff;
}

.f-main .f-part1 .f-info .subs .sub-input button{
    position: absolute;
    right: 15%;
    background-color: #fff;
    border: 0;
    padding: 8px 9px;
    bottom: 45%;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--trance);
}

.f-main .f-part1 .f-info .subs .sub-input button:hover{
    background-color: var(--primary);
}

.f-main .f-part1 .f-info .subs .sub-input button i{
    font-weight: 600;
    font-size: 2rem;
}

.f-part2{
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    gap: 30px;
}

.f-part2 i{
    background-color: var(--primary);
    padding: 15px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    transition: var(--trance);
}


.f-part2 i:hover{
   background-color: #000;
}

.f-part2 span{
    color: var(--primary);
} 


.f-part2 span i{
    color: #000;
    background-color: transparent;
    padding: 0;
    font-size: 1.4rem;
}

/* RESPONSIVE CODE */





/* MEDIA MAX-WIDTH 1150PX */

@media (max-width: 1260px) {

    .navigation {
        padding: 30px 30px;
    }


      /* Card Section */

    .course .c-main{
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: space-around;
     flex-wrap: wrap;
    gap: 100px;
}

.course .c-main .c-card{
    width: 40%;
    background-color: var(--MsecBg);
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}


}





/* MEDIA MAX-WIDTH 1100PX */

@media (max-width:1100px) {

    .nav_toggle {
        display: block;
    }
    .nav_menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;

        display: none;
        color: var(--background-color);
        background-color:var(--background-color);
        z-index: 999;
        box-shadow: 2px 2px 5px 1px lightblue;
    }
    .nav_menu.active {
        display: block;
    }
    .nav_list {
        display: block;
        margin: 2rem 0;
        text-align: center;
    }
    .nav_link {
        padding: 0 2rem;
        display: flex;
        justify-content: space-between;
        color: var(--color);

    }
    .dropdown {
        top: 0;
        position: relative;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        box-shadow: none;
        height: 0;
        text-align: start;
        transition: all 0.5s ease-in;
        background-color: var(--color);
    }

    .dropdown-inner {
        gap: 1rem;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
    
    }

    .nav_list_menu:hover .dropdown {
        height: 100%;
        transition: all 0.5s ease-in;
       background-color: var(--color);
    }


    /* Card Section */

     .course{
    margin-top: 6%;
   }


    .course .c-main{
    margin-top: 6%;
    justify-content: space-around;
     flex-wrap: wrap;
    gap: 60px;
}

.course .c-main .c-card{
    width: 40%;
}
 


/* Footer Section */


 .f-main .f-part1{
    text-align: center;
    justify-content: center;
    display: flex;
   flex-wrap: wrap;
   gap: 150px;
}

  
}







/* MEDIA MAX-WIDTH 850PX */

@media (max-width:995px) {

    /* Header Info */

     .info-data{
    width: 70%;
    height: 60vh;
    right: 0;
    top: 0;
    position: absolute;
    border-radius: 0px 0px 0px 20px;
    background-color: var(--background-color);
    opacity: 0;
    transform: translateX(100%);
    transition: all .4s linear;
     }

    .info-data, .data{
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--color);
  
    }

    .open .info-data{
    opacity: 1;
    transform: translateX(0%);
    }

    .phone-icon{
        cursor: pointer;
        color: #fff;
        font-size: 1.9rem;
        display: block;
    }

    .dropdown {
    left: 0%;
     min-width: 30%;
    /* height: 100vh; */
   
}

    .dropdown-inner {
        gap: 1rem;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 20px;
    
    }



    /* Card Section */

    .course{
    margin-top: 8%;
   }

    .course .c-main{
    margin-top: 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
     flex-wrap: wrap;
    gap: 60px;
}

.course .c-main .c-card{
    width: 45%;
    background-color: var(--MsecBg);
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}
    




/* Footer Section */

 footer{
    margin-top: 10%;
}

.f-main{
    padding: 5% 5% 2% 5%;
    background-color: #ffffffbd;
    backdrop-filter: blur(100%);  
}

.f-main .f-part1{
    text-align: center;
    justify-content: center;
    display: flex;
   flex-wrap: wrap;
   gap: 100px;
}

.f-main .f-part1 .f-info .f-p2{
    margin-top: 20px;
    font-weight: 600;
    width: 90%;
} 

}









/* MEDIA MAX-WIDTH 600PX */


@media (max-width:640px) {

    
    .navigation {
        padding: 20px;
    }


     .logo img{
        margin-top: 10px;
        width: 7rem;
        height: 6.9rem;
        border-radius: 5px;
    }
    
    .btn,
    .btn-primary {
        padding: 0.5rem 1rem;
    }


   

   /* Card Section */

   .course{
    margin-top: 12%;
   }

    .course .c-main{
    margin-top: 12%;
    justify-content: space-around;
     flex-wrap: wrap;
    gap: 100px;
}

.course .c-main .c-card{
    width: 100%;
}




/* Footer Section */
 
footer{
    margin-top: 15%;
}

.f-main .f-part1{
    text-align: center;
    justify-content: center;
    display: flex;
   flex-wrap: wrap;
   gap: 60px;
}

.f-part2{
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    gap: 30px;
} 

}
