/* global variables */
:root {
    --primary: #283b91;
    --primary-hover: #3a4a93;
    --dark-secondary: #4f3f3f;
    --dark-primary: #ffffff;
    --facebook: #324fe1;
    --linkedin: #0f69ff;
    --github: #757575;
    --instagram: #E4405F;
    --whatsapp: #1ca809;
    --nunito: 'Nunito Sans', sans-serif;
    --border-box: border-box;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
   
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: var(--border-box);
    text-decoration: none;
    outline: none; border: none;
    text-transform: capitalize;
    transition: all .2s linear; 
}
* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: var(--border-box);
    text-decoration: none;
    outline: none; border: none;
    text-transform: capitalize;
    transition: all .2s linear; 
}

html {
    scroll-behavior: smooth;
    background-color: orange;
    font-size: 62.5%;
    scroll-padding-top: 5.5rem;

}

body {
    font-family: var(--nunito);
    background-color: orange;
    
   
}
/* header */
nav {
    position: fixed;
    top:0; left:0; right:0; 
    z-index: 99;
    width: 100%;
    background: #fff;
    padding: 30px 30px 20px 0px;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    justify-content: space-between;
    align-items: center;
}
nav .wrapper {
    position: relative;
    max-width: 1300px;
    padding: 0px 30px;
    height: 40px;
    line-height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wrapper .logo a {
    color: #000000;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}
.wrapper .nav-links {
    display: inline-flex;
    font-size: 1.7rem;
    border-radius:  .5rem;
    padding: .5rem 1.5rem;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: var(--dark-secondary);
    text-decoration-line: none;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover { 
    /* background: var(--primary); */
    color: #fff;
    background-color: #f3bb05;
    

} 

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: var(--dark-primary);
    width: 180px;
    line-height: 45px;
    top: 85px;
    margin: 0%;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
    padding-left: 0%;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 5px;
    color: var(--primary);
    
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.mega-box .content {
    background: var(--primary);
    padding: 25px 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-radius: 7px;
}

.mega-box .content .row {
    width: calc(25% - 30px);
    line-height: 45px;
}

.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content .row header {
    color: #f3bb05;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
}
.content .row header:hover {
    color: #fff;
    background-color: var(--primary);
}

.content .row .mega-links {
    margin-left: -40px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.row .mega-links li {
    padding: 0 20px;
}

.row .mega-links li a {
    padding: 10px;
    padding: 0 20px;
    color: #d9d9d9;
    font-size: 17px;
    display: block;
    width:200px;
}

.row .mega-links li a:hover {
    color: #fff;
    font-weight: bold;
    
}

.wrapper .btn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}

@media screen and (max-width: 970px) {
    .wrapper .btn {
          display: block;
    }

    .wrapper .nav-links {
          position: fixed;
          height: 100vh;
          width: 100%;
          max-width: 350px;
          top: 0;
          left: -100%;
          background: var(--primary);
          display: block;
          padding: 50px 10px;
          line-height: 50px;
          overflow-y: auto;
          box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
          transition: all 0.3s ease;
    }

    /* custom scroll bar */
    ::-webkit-scrollbar {
          width: 10px;
    }

    ::-webkit-scrollbar-track {
          background: #242526;
    }

    ::-webkit-scrollbar-thumb {
          background: #3A3B3C;
    }

    #menu-btn:checked~.nav-links {
          left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
          display: none;
    }

    #close-btn:checked~.btn.menu-btn {
          display: block;
    }

    .nav-links li {
          margin: 15px 10px;
    }

    .nav-links li a {
          padding: 0 20px;
          display: block;
          font-size: 20px;
    }

    .nav-links .drop-menu {
          position: absolute;
          opacity: 1;
          top: 65px;
          visibility: visible;
         /* padding-left: 1px;*/
          width: 100%;
          max-height: 0px;
          overflow: hidden;
          box-shadow: none;
          transition: all 0.3s ease;
    }

    #showDrop:checked~.drop-menu,
    #showMega:checked~.mega-box {
          max-height: 100%;
    }

    .nav-links .desktop-item {
          display: none;
    }

    .nav-links .mobile-item {
          display: block;
          color: #f2f2f2;
          font-size: 20px;
          font-weight: 500;
         /* padding-left: 20px;*/
          cursor: pointer;
          border-radius: 5px;
          transition: all 0.3s ease;
    }

    .nav-links .mobile-item:hover {
          background: #3A3B3C;
    }

    .drop-menu li {
          margin: 0;
    }

    .drop-menu li a {
          border-radius: 5px;
          font-size: 18px;
    }

    .mega-box {
          position: static;
          top: 65px;
          opacity: 1;
          visibility: visible;
          padding: 0 20px;
          max-height: 0px;
          overflow: hidden;
          transition: all 0.3s ease;
    }

    .mega-box .content {
          box-shadow: none;
          flex-direction: column;
          padding: 20px 20px 0 20px;
    }

    .mega-box .content .row {
          width: 100%;
          margin-bottom: 15px;
          border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
          border-top: 0px;
    }

    .content .row .mega-links {
          border-left: 0px;
          padding-left: 15px;
    }

    .row .mega-links li {
          margin: 0;
    }

    .content .row header {
          font-size: 19px;
    }
}

nav input {
    display: none;
}
.course-container{
    padding-top: calc(5% + 40px);
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 2%;
    display: flex;
    flex-direction: column;
    gap: clamp(5vh,8vh,10vh);
    background-color: #ffffff;
  }
  .course-container h1{
    font-size: 40px;
    text-align: center;
    text-shadow: white;
    color: rgb(10, 10, 10);
  }
    .crs1{
        background-color:#f3bb05;
        width: 100%;
        border-radius: 19px;

       
        padding: 3%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    .box02{
       text-align: center;
      flex: 1;
      color: #2e2323;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      line-height:35px;
      gap: 1rem;
      display: block;
  
    }
    .name-of-course{
      font-size: 3rem;
      
    }
    .price-of-course,.availability{
      font-size: 2rem;
    }

    .box{
        margin: 0px!important;
    }

    .enroll-btn{
      text-decoration: none;
      color: white;
      font-size: 1.2rem;
      padding: 10px 20px;
      background-color: rgb(6, 6, 61);
      transition: 0.2s ease;
      width: fit-content;
      font-weight: 900;
    }
    .enroll-btn:hover{
       color: black;
       background-color:#ffffff;
    }
    .crstext{
        float: right;
        text-align: center;
        color: #324fe1;
    }
    .crs1 img{
        height: 270px;
        width: 465px;
        min-width: 400px;
        border-radius: 13px;
        transition: 0.2s ease;
        filter: brightness(0.9);
        
    }
    .crs1 img:hover{
      filter: brightness(1);
      transform: scale(1.02);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    .box {

          border-radius: 10px;
          padding: 30px;
          max-width: 500px;
          background-color: white;
          transition: 0.2s ease;
}
.box:hover{
transform: scale(1.02);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}




.amount {
text-align: center;
}

.amount p {
margin: 5px 0;
}

.amount hr {
border-top: 1px solid #ccc;
margin: 2px;
}

.lilist ul {
padding: 0;
margin: 0;
list-style: none;
}

.lilist ul li {
margin-bottom: 5px;
}
.heading{
font-size: 24px;
font-weight: bold;
text-align: center;
background-color: rgb(6, 6, 61);
color: white;
margin: 0px 70px 4px 70px;
border-radius: 10px;
width: 150px;
}
.amt p {
font-size: 20px;
text-align: center;
}

p {
margin-top: 0;
margin-bottom: 1rem;
}
@media (max-width:1200px){
    .box02{
        display: none;
    }
    .crs1 {
        background-color: white;
      
        border-radius: 19px;
        padding: 2%;
        display: flex;
        /* min-height: 50vh; */
       min-height: auto;
       justify-content: space-between;
       align-items: center;

    }
    .crs1 img{
        height: 230px;
    width: 100%;
    max-width: 400px;
    min-width: 100px;
    }
    .box{
        height: fit-content!important;
        width: fit-content!important;
        padding-left: 0px!important;
        padding: 1%  3%!important;
        margin: 0%!important;
    }
    .heading{
        margin: 0px;
    
    }
}

@media (max-width:700px) {
    .crs1 {
        background-color: white;
      
        border-radius: 19px;
        padding: 2%;
        display: flex;
        /* min-height: 50vh; */
       min-height: auto;
       justify-content: space-between;
       align-items: center;

    }
    .course-container{
        padding-top: calc(16% + 40px)!important;
    }
    .crs1 img{
        height: 230px;
    width: auto;
    max-width: 300px;
    min-width: 100px;
    }
    .box02{
        display: none;
    }
    .heading{
        margin:0px;
        
    
    }
    .box{
        height: fit-content!important;
        width: fit-content!important;
        padding-left: 0px!important;
        padding: 1%!important;
        margin: 0%!important;
    }
    .course-container{
        padding-top: calc(14% + 40px);
    }
    .course-container h1{
        font-size: 20px;
        
      }
    .neettxt{
        margin: 3% 3% 3% 3%!important;
    }
    .map{
        width: 100vw;
        height: auto;
        display: flex;
        align-items: center;
    }
}