* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
html {
    scroll-padding-top: 100px; /* Adjust this value based on your navbar height */
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right , #00368A,#0077ae);
    padding: 15px 30px;
    position:fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px; /* Adjust this size based on your logo */
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    /* font-family: 'Fredoka One', cursive;*/
    font-family: Arial, sans-serif;
    position: relative; /* Necessary for the underline effect */
    transition: background-color 0.3s ease-in;
}

/********************************************************************************
/* Hover Effect */
.nav-links li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px; /* Positions the underline below the text */
    left: 0;
    background-color: #fbb923; /* The underline color */
    transition: width 0.1s ease-in-out; /* Animation for underline */
}

/* When hovered */
.nav-links li a:hover {
    color: #fbb923; /* Change text color on hover */
}

.nav-links li a:hover::before {
    width: 100%; /* Animate the underline to full width */
}
/***********************************************************************

/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #333;
        width: 100%;
        text-align: center;

        
    }

    .nav-links a:hover {
        color: #0077ae;
        background: transparent;
    }
    .nav-links li a::before {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: -5px; /* Positions the underline below the text */
        left: 0;
        background-color:hsla(9, 100%, 64%, 0); /* The underline color */
        transition: width 0.1s ease-in-out; /* Animation for underline */
    }

    .nav-links.nav-active {
        display: flex;
    }

    .burger {
        display: block;
    }
    .nav-links li {
        margin-top: 15px;
        margin-bottom:10px;
    }
    .logo img {
        height: 30px; /* Adjust this size based on your logo */
        display: block;
    }
}
/* ************************** courses css *************************************************************************/




/***********************vedios section start******************/
.zain-regular {
    font-family: "Zain", sans-serif;
    font-weight: 400;

  }
  ::-webkit-scrollbar {
    width: 2px;

    }
    
    ::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 5px grey; */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
    
    ::-webkit-scrollbar-thumb {
    background:black; 
    border-radius: 10px;

    }
    
    ::-webkit-scrollbar-thumb:hover {
    background:rgb(54, 56, 58); 

    }

a{
  display:block;
  text-decoration:none;
  padding:7px;
  color:#3A3B3D;
  font-size:1.2rem;
  margin:auto;
margin-top:0px
}
a:hover:not(.head){
   background-color:#10a5ea;
   border-radius:10px;
   -webkit-border-radius:10px;
   -moz-border-radius:10px;
   -ms-border-radius:10px;
   -o-border-radius:10px;
   color:white;
}

.frame{
width:calc(80% - 370px);
height:80%;
margin:-70px auto 0 auto;
}
.frame iframe{
  width:100%;
  height:100%;
  border-radius:10px;
  box-shadow:5px 5px 5px#3D5A80  ;
  border:4px solid#242526;
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  -ms-border-radius:10px;
  -o-border-radius:10px;
}
.sidebar{
   height:100%;
   background-color:#FEFEFE;
   text-align:center;
 border-top-left-radius: 10px;
 border-bottom-left-radius:10px;
   padding:10px;
   border-right:2px solid gray;
   position:relative;
   text-align:center;
   overflow-y:scroll;

   
}

button{
    display:block;
    width:250px;
    min-height:50px;       ;
    font-size:20px;
    background-color:#0077ae;
    color:black;
    border:none !important;
     color:white;
     margin:20px auto 0 auto;
     margin-bottom:10px;
}


.vedios{
    display:flex;
    align-items:center;
    justify-content:space-between;
  padding:15px;
  background-color:#E4E9F7;

  height:700px;

  margin:100px 15px 10px 20px

}
.head{
    font-weight:bold;
    font-size:1.2rem;
    color:white;
    background-color:#0077ae;
    padding:10px 5px;
    border-radius:5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    -ms-border-radius:5px;
    -o-border-radius:5px;
    top:20px;
  width:200px;
    margin: auto;
    word-spacing: 5px;
    letter-spacing:0.5px;
  
}
.headmobile{
    font-weight:bold;
    font-size:20px;
    color:white;
    background-color:#3A3B3C;
    padding:10px;
    border-radius:10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -ms-border-radius:10px;
    -o-border-radius:10px;
    margin-top:0px ;
    margin-bottom:15px;
    width:300px;
    text-align:center;
    font-size:25px;
    /* display:none; */
}

@media (max-width:850px){
.vedios{
    flex-direction:column;
}
.none{
height:0;
padding:0
}
.frame{
    width:100%;
}
.frame iframe{
    max-width:100%;
}
.headmobile{
    display:block;
    font-size:30px;
}
a,.head :not(.nota){
    font-size:1rem;
}
.sidebar_onmobile{
    display: block;
    position: absolute;
    height:65%;
    top: 93px;
    padding:26px;
    overflow-y:scroll;
    flex-direction:column

}
.hidden{
    display:none;
}

.head{
    display:none
}

}
@media (min-width:850px){
    .headmobile{
        display:none
    }
    .head{
        display:block
    }
}





    /**************vedios section end**************/

    /* ************************** footer css **************************************************************************/
.footer {
    background: linear-gradient(to right , #00368A,#0077ae);
    color: #fff;
    padding: 40px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    font-size: 1.4rem;
    color: #FBB923;
    margin-bottom: 15px;
}

.footer p, .footer a {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #00AEFF;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

.footer-column a {
    display: inline-block;
    margin-right: 10px;
    color: #ddd;
    font-size: 1rem;
}

.footer-column a:hover {
    color: #00AEFF;
}

/* Responsive Footer */
@media (max-width: 850px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        margin-bottom: 20px;
    }
}