* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}



body{
    overflow-x: hidden;
    font-family: "nunito";
}

html{
    scroll-behavior: smooth;
}

:root{
    --main: rgb(32, 32, 124);
    --secondshade:rgb(203, 232, 241);
    --gray: rgb(112, 110, 110);
    --orange: orange;
}

nav{
    /* position: relative; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding-right: 20px ;
    height: 80px ;
    cursor: pointer;
    /* border-bottom: 1px solid var(--main); */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* overflow-y: hidden; */
    /* position: fixed; */
    z-index: 1000;
}

.logo{
    display: flex;
    align-items: center;

}
/* #logo{
    width: 20vm;
    min-width:50px;
   max-width: 150px;
    image-rendering: crisp-edges;
} */

.logoh{
    color: var(--main);
    font-family: "nunito";
    font-weight: 800;
    text-align: center;
}


/* .logo, .logoh {
    display: flex;
    
} */


/* Base styles for dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  /* Dropdown content links */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Show dropdown content on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Optional: Hover effect for dropdown links */
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }

.imlo{
    display: flex;
    align-items: center;
    
}

ul {
    display: flex;
    gap: 30px;
    align-items: center;
    z-index: 1001;
}

ul li {
    list-style: none;
}

ul li a{
    text-decoration: none;
    font-size: 1rem;
    color: var(--main);
    font-family: "nunito";
    font-weight: 700;
    transition: color 0.3s ease;

}

#nav-list-items li a:hover {
    color: var(--orange);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    text-decoration: none;
    font-size: 1rem;
    color: var(--main);
    font-family: "nunito";
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px; /* Space between text and icon */
    transition: color 0.3s ease;
}

.dropbtn:hover {
    color: var(--orange);
}

/* Dropdown Icon */
.dropdown-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg); /* Rotate when dropdown is active */
}

/* Dropdown Content */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1400;
    min-width: 150px;
    text-align: left;
    overflow: hidden;
}

.dropdown-content a {
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    font-size: 1rem;
    color: var(--main);
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1500;
}



/* Show Dropdown When Active */
.dropdown.active .dropdown-content {
    display: block;
}

/* Enroll Now Button */
.enroll-now-desktop {
    display: block;
}

.enroll-now-mobile {
    display: none;
}

.enroll-btn {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--main);
    color: #fff !important;
    font-family: "nunito";
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    overflow: hidden;
}

/* Sliding Orange Effect */
.enroll-btn::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--orange);
    animation: slide-color 3s infinite;
    z-index: -1;
}

.enroll-btn:hover::before {
    top: 0;
    animation: none;
}

.enroll-btn:hover {
    background-color: rgb(233, 92, 41);
    color: #fff;
}

@keyframes slide-color {
    0% {
        top: 100%;
    }
    50% {
        top: 50%;
    }
    100% {
        top: 0;
    }
}

.icon {
    font-size: 35px;
    color: var(--main);
    /* padding-right: 10px; */
    display: none;
}


/* General Styles */
.about {
    /* padding: 2rem 5%; */
    /* background-color: var(--secondshade); */
    border-radius: 10px;
    /* box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); */
    text-align: center;
    font-family: "nunito";
}




.image-card{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-card::before{
    content: '';
    background-image: url(winsschool/IMG_5368.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 1;
    filter: brightness(0.5);
}

.texts{
    position: relative;
    /* text-align: center; */
    font-family: "nunito";
    padding: 20px;
    /* width: 60%; */
}


.texts h2{
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondshade);
    margin-bottom: 2rem;
    text-align: center;
    /* padding-right: 19rem; */
}

.texts p{
    color: #fff;
    /* width: 70%; */
    /* text-align: center; */
    font-size: 1.4rem;
    font-family: "nunito";
    font-weight: 400;

}


.highlight {
    color: var(--orange);
    font-weight: bold;
}

/* Two-column Section */
/* .about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
} */



.about-text h2 {
    font-family: "nunito";
    font-weight: 700;
    font-size: 2rem;
    color: var(--main);
    margin-bottom: 1rem;
}

.about-text p {
    font-family: "nunito";
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* admin */
.line{
    width: 35px;
    height: 4px;
    background-color:var(--orange);
    display: grid;
    margin-bottom: 5px;
}

.line2{
    width: 65px; 
}


.two{
    display: flex;
    margin-top: 5px;
    margin-bottom: 2rem;
    align-items: center;
}

.two h2{
    color: var(--main);
    font-family: "nunito";
    font-weight: 700;
}

.two > .twospan {
    margin-left: 20px;
    margin-top: 5px;
}



.admin img{
    width: 100%;
    /* object-fit: cover; */
    height: 40rem;
}

.admin p{
    font-family: "nunito";
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
    text-align: left;
    font-weight: 400;
}

.Administration {
    display: grid;
    margin: 4rem 4rem;
}

.bold-para{
    font-family: "nunito";
    font-weight: 700 !important;
    
}

.name-para{
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    margin-top: 1rem;
}


/* Values Section */
.about-values {
    background-color:rgb(235, 243, 248);
    padding: 4rem 2rem;
    border-radius: 8px;
   
    margin-bottom: 2rem;
    /* margin-top: 3rem; */
}

.about-values h2 {
    color: var(--main);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-family: "nunito";
    font-weight: 800;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 1.5rem;
   
}



.value-item {
    text-align: center;
    /* box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1); */
    border: 1px solid rgb(241, 234, 234);
    padding: 2rem;
    transition: 0.3s ease-in;
    border-radius: 0.5rem;
    background-color: #fff;
}

.value-item:hover{
    background-color: var(--main);
}

.value-item:hover h3{
    color: #fff !important;
    /* z-index: 1000; */
}

.value-item:hover p{
    color: #fff;
}




.value-item i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.value-item h3 {
    color: var(--main);
    margin-bottom: 0.7rem;
    font-size: 1.4rem;
    font-family: "nunito";
    font-weight: 700;
}

.value-item p {
    color: black;
    font-size: 1.2rem;
}

/* Mission Section */
.about-mission{
    display: grid;
    gap: 1rem;
}

.about-mission h2 {
    color: var(--main);
    margin-bottom: 1rem;
    font-size: 1.9rem;
    text-align: left;
}

.about-mission p {
    color: black;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: left;
    font-family: "nunito";
    font-weight: 400;
}

.vision-img img{
    width: 100%;
    height: 100%;
}














/* quicklinks */

.footer-section{
    background-image: url(winsschool/bluebackground3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 1.5rem;
    margin-top: 4rem;
    /* display: flex; */
}

.footer-section h2{
    color: #fff;
    margin-bottom: 1rem;
    padding-top: 3rem;
}


.icon-text {
    display: flex;
    gap: 0.5em;
    align-items: center;
    margin-bottom: 0.8rem;

}

.icon-text i{
    color: var(--orange);
    font-weight: 800;
    font-size: 0.8rem;
    font-family: "nunito";
}





.icon-text a{
    text-decoration: none;
    color: #fff;
    font-family: "nunito";
    
}

.contact-icon{
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;

}

.contact-icon i{
    color: var(--orange);
}

.contact-icon p{
    color: #fff;
    font-family: "nunito";
    font-weight: 400;
    
}

.brands {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.brands i {
    margin-right: 0.2rem;
    border: 1px solid black;
    padding: 10px;
    border-radius: 50%;
    background-color: var(--main);
    
}

/* news */
/* .exam-input{
    width: 70%;
    height: 3rem;
    font-size: 1rem;
    font-family: serif;
    font-size: 1.5rem;
    border: none;
}

.exam-form{
    position: relative;
}

.exam-form button{
    padding: 0.4rem;
    background-color: var(--main);
    color: #fff;
    position: absolute;
    right: 4rem;
    top: 0.08rem;
    width: 20%;
    
} */



/* footer */
footer{
    display: flex;
    margin-top: 3rem;
    color: #fff;
    font-size: 1rem;
    padding-bottom: 2rem;
    align-items: center;
    font-family: "nunito";
}

footer a{
    text-decoration: none;
    color: #fff;

}


.rightsreserved, footer i{
    color: grey;
}


/* scroll Arrow */

.back-to-top{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--main);
    border-radius: 50%;
    padding: 0.5rem;
    text-decoration: none;
    transition: 0.2s ease-out;
}

.back-to-top.show {
    display: inline-flex;
 }

.back-to-top i{
    color: #fff;
    font-size: 1.7rem;
    transition: 0.2s ease-out;
}

.back-to-top:hover {
background-color: var(--orange);
}

.back-to-top:hover i{
    transform: translateY(-4px);
}














/* mediaqueries */


@media only screen and (max-width: 900px){
    ul {
       position: absolute;
       top: 80px;
       left: 0;
       right: 0;
       flex-direction: column;
       background: #fff;
       text-align: center;
       gap: 0;
       overflow: hidden;
       transition: all, 0.7s ease-out;
       
   }
  

   ul li {
       padding: 20px;

   }

   ul li a {
       color:var(--main);
       font-family: "nunito";
       
   }

   
     /* Hide Desktop Enroll Now */
     .enroll-now-desktop {
        display: none;
    }

    /* Show Mobile Enroll Now */
    .enroll-now-mobile {
        display: block;
        color:#fff;
    }

  .icon {
   display: block;
  }  


  #logo{
      width: 5rem;
  }

  .dropdown-content {
    left: auto; /* Remove left alignment */
    right: 5rem; /* Align dropdown to the right */
}
   
}


@media only screen and (min-width: 700px){

   
   
      
       #logo{
           /* width: 25vm; */
           /* min-width:50px; */
           /* height: 125px; */
          max-width: 150px;
           image-rendering: crisp-edges;
       }

       .texts{
        width: 60%;
       }

       .footer-section{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding: 1% 5%;
       }

       footer{
        padding-bottom: 1rem;
        margin-top: 2rem;
       }
   
       /* core values */
       .values-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
        padding: 0 3rem;
        /* margin: 2rem; */
    }

    .about-mission{
        grid-template-columns: 1fr 1fr;
        gap: 1.9rem;
        padding: 1rem 5rem;
    }

    /* admin */

    .Administration {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
     
}



@media only screen and (min-width: 968px){
   
    #logo{
        width: 7rem;
        /* min-width:50px; */
        /* height: 125px; */
       max-width: 150px;
        image-rendering: crisp-edges;
    }

}