@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oswald:wght@200..700&family=Oxygen:wght@300;400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oxygen", sans-serif;
}
body{
    max-width: 100vw;
    overflow-x: hidden;
}

/*--------NAVBAR---------*/
nav{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #01a8ec;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    

}
nav .logo img{
    width: 15em;
    cursor: pointer;
    margin-right: 60px;

}

nav .menu {
    display: center;
    align-items: center; /* Ensures vertical alignment */
    gap: 15px; /* Space between menu items */
}

nav .menu a{
    color:black;
    text-decoration: none;
    margin-left: 10px;
    cursor: pointer;'
    font-size: 14px;

}

nav .menu a img{
    width: 15px;
    margin-bottom: -4px;

}
nav .menu .logb {
    color:black;
    background:transparent;
    border:1.5px solid #000000;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 16px;
    margin-left: 10px;
    cursor:pointer;
}

nav .menu .call{
   background:white;
   padding: 2.5px 2.5px; 
   border-radius: 50%;
   margin-bottom: -7px;
   margin-left: 10px;
   cursor: pointer;
   width: 25px;
}

nav .menu .search{
    background:white;
    padding: 5px 5px; 
    border-radius: 50%;
    margin-bottom: -7px;
    margin-left: 10px;
    cursor: pointer;
    width: 25px;
 }

 /*-----Hero Section ---------------*/
 .hero .hero-bg{
    position:relative;
    width:100vw;
    object-fit:cover;
    z-index: 1000;
    height: 111vh;
 }
.hero .baral{
    position: absolute;
    width:800px;
    height:auto;
    z-index: 1008;
    left: 50%; /* Center horizontally */
    top: 20%; /* Adjust as needed */
    transform: translateX(-100%); /* Centering trick */
    /*transform: scale(1.05);  Slight zoom effect */
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5); /* Stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glow 10s infinite alternate;
}

.hero .form{
    position:absolute;
    z-index: 1008;
    right:0;
    background-color: white;
    /*width: calc(100% / 2 -130px);*/
    padding: 30px 30px;
    margin-top: -55rem; 
    /*top:Y; position: absolute;*/
    margin-right: 8rem;
    right: 5rem;
    border-radius: 10px;
    text-align: center;




}
.hero .form form{
    display: inline-grid;

}

.hero .form form input{
    width: 28rem;
    height: 2rem;
    margin-bottom: 25px;
    padding 10px 10px;
    border-radius: 5px;
    border: 1px solid black;
}

.hero .form form .book-class{
    padding: 10px 10px;
    font-size: 25px;
    font-weight: 500;
    color:white;
    border:transparent;
    border-radius: 10px;
    background-color: #01a8ec;
    cursor: pointer;
}
.hero .form form .otp{
    width:100px;
    height: 2rem;
    padding: 10px 10px;
    font-size: 15px;
    border: transparent;
    border-radius: 5px;
    margin-top:-57px;
    margin-bottom: 25px;
    margin-left: 350px;
    cursor: pointer;
    background-color: #01a8ec;
    text-emphasis-color: white;
    color:white;
    text-align: center;
    
}
.hero .form form ion-icon{
    margin-top: -50px;
    margin-left: 430px;
    color:#01a8ec;
    font-size:16px;
    cursor: pointer;

}

.hero .form .top{
    font-size: 33px;
    /*font-weight: 500; */
    color: black;
    margin-bottom: 10px;
    font-weight:bolder;

}

.hero .form .middle{
    font-size: 17px;
    font-weight: 400px;
    color:#01a8ec;
    margin-bottom: 10px;

}

.hero .form .bottom{
    font-size: 20px;
    font-weight: 500;
    color:black;
    margin-bottom: 10px;
}
.hero .form .hr1{
    border: 1px solid #f5f2f5;
    width: 8.55rem;
    margin-left: 10px;
    margin-top:-22px;
    margin-bottom: 22px;
}
.hero .form .hr2{
    border: 1px solid #f5f2f5;
    width: 8.55rem;
    margin-left: 310px;
    margin-top:-22px;
    margin-bottom: 22px;
}

.hero .curves{
    position: absolute;
    z-index: 1008;
    margin-top: -57px;
    width: 101%;
}

/*-------------SECTION 2 -------------------*/
.sec2 h2 {
    text-align: center;
    margin-top: 20px;
    padding-left: 25rem;
    padding-right: 25rem;
}

.sec2 .title {
    text-align: center;
    margin-top: 20px;
    padding-left: 26.5rem;
    padding-right: 26.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 10px;
}




/* TOGGLE ONLINE OFFLINE wala code *>
/* Toggle Container */
.hero .form .toggle-container {
    position: relative;
    padding: 10px 15px;
    margin-top: -0px;
    align-items: center;



    /*width:100px;
    height: 2rem;
    padding: 10px 10px;
    font-size: 15px;
    border: transparent;
    border-radius: 5px;
    margin-top:-57px;*/



}

.hero .form .toggle-container .classkomod{
    width:fit-content;
    height: 3rem;
    font-size: 15px;
    
    
    
}

/* Hide default checkbox */
.toggle-input {
    display: none;
}

/* Toggle Label (Background Box) */
.toggle-label {
    display: flex;
    align-items: center;
    width: 200px;
    height: 50px;
    background: white;
    border: 2px solid #01a8ec;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

/* Toggle Circle (Indicator) */
.toggle-circle {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 25px;
    height: 25px;
    background: #01a8ec;
    border-radius: 50%;
    transition: 0.3s;
    transform: translateY(-50%);
}

/* Online & Offline Text */
.option {
    width: 50%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: black;
    transition: 0.3s;
}

.online {
    margin-left: 40px;
}

.offline {
    margin-right: 40px;
}

/* Checked State (When Toggled) */
.toggle-input:checked + .toggle-label .toggle-circle {
    left: calc(100% - 40px);
}

.toggle-input:checked + .toggle-label {
    border: 2px solid  #01a8ec;
}

.toggle-input:checked + .toggle-label .online {
    color: black;
}

.toggle-input:checked + .toggle-label .offline {
    color:  #01a8ec;
}

/* TOGGLE ONLINE OFFLINE wala code *>




/*FOOTER KO CSS CODE*/
footer {
    width: 100%;
    position: relative;
    bottom: 0;
}

footer img {
    width: 100%;  /* Makes the image span the full width */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra space below the image */
}


footer img{
    z-index: 1008;
    width: 100%;
}

footer .india-course{
    background:#0099ff;
    display: flex;
    justify-content: space-between;
    margin-top: -10px;
    padding-left: 3rem;
    padding-right: 1rem;
    padding-bottom: 20px;
}

footer .india-course .course, .exams-classes, .exam-resources, .company-follow, .free-textbook-solution, .state-boards{
    display: inline-grid;
    width: 17%;
    min-height: 1px;
}

footer .india-course .course p, .exams-classes p, .exam-resources p, .company-follow p, .free-textbook-solution p, .state-boards p{
    color:black;
    font-weight: 700;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: underline;
}

footer .india-course .course a, .exams-classes a, .exam-resources a, .company-follow a, .free-textbook-solution a, .state-boards a{
    color: white;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 5px;
}

footer .india-course .course a:hover, .exams-classes a:hover, .exam-resources a:hover, .company-follow a:hover, .free-textbook-solution a:hover, .state-boards a:hover{
    font-weight: 500;
}

footer .india-course .company-follow .follow{
    display: flex;
}

footer .india-course .company-follow .follow img{
    width: 30px;
}
footer hr{
    height: 1px;
    background: rgba(179, 179, 179, 0.582);
    border: none;
    width: 93%;
    margin-left: 45px;
}

footer .bottom{
    background: #01a8ec;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 10px 3rem;
    font-size: 13px;
}

footer .bottom .pages a{
    color: white;
    text-decoration: none;
}

footer .bottom .pages ion-icon{
    transform: rotate(90deg);
    font-size: 30px;
    margin-bottom: -10px;
}

footer .bottom .copyright{
    margin-top: 10px;
}


/*FOOTER KO CSS CODE*/






/*----- Sub-MENU ko CSS ------------- */
/* Main Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: whitesmoke;
}

/* Submenu */
.submenu-container {
    position: relative;
    display: inline-block;
    
}

.submenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #01a8ec;
    top: 100%;
    left: 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(55, 0, 255, 0.918);
    width: 180px;
    transition: opacity 0.3s ease, transform 0.2s ease;
    transform: translateY(10px);
    z-index: 1111;
}

.submenu li {
    list-style: none;
    color:white;
}

.submenu a {
    display: block;
    padding: 10px;
    font-size: 14px;
    color: white;
    transition: background-color 0.3s, transform 0.2s;
}

.submenu a:hover {
    background-color:whitesmoke;
    color: #111;
    transform: translateX(5px);
}

/* Show submenu on hover (for desktop) */
.submenu-container:hover .submenu {
    display: visible;
    opacity: 1;
    transform: translateY(0);
}



/* Icons */
.call, .search {
    width: 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.call:hover, .search:hover {
    transform: scale(1.2);
}

.submenu.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


/* Responsive - Mobile Menu */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu {
        flex-direction: column;
        width: 100%;
    }
    .submenu {
        position: relative;
        width: 100%;
    }
}
/*----- Sub-MENU ko CSS ------------- */


/*--------- OJT ko contents haru ko css*/
/* Show submenu on hover */
.submenu-container:hover .submenu,
.has-submenu:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Nested submenu (Fix for OJT submenu issue) */
.has-submenu {
    position: relative; /* Ensure the submenu is positioned relative to OJT */
}

.submenu.nested {
    position: absolute;
    top: 0; /* Aligns with "OJT" */
    left: 100%; /* Moves submenu to the right of "OJT" */
    background-color: #01a8ec;
    width: 180px;
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 4px 10px rgba(55, 0, 255, 0.918);
    display: none;
} 

/* Show nested submenu on hover */
.has-submenu:hover .submenu.nested {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

/* Add arrow indicator for submenus */
.has-submenu > .submenu-toggle::after {
    content: " ▶";
    font-size: 12px;
}
/*--------- OJT ko contents haru ko css*/









/*--------- POP OUT IMAGE ko lagi------------*/


/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    z-index: 2000;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Adjust the margin to keep it centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Reduced width for responsiveness */
    max-width: 600px; /* Maximum width to avoid oversized images */
    position: relative;
    animation: popIn 0.5s ease-in-out; /* Animation to make it pop in */
}

/* Image inside Modal */
.popout-img {
    width: 100%; /* Make the image take the full width of the modal */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure the image doesn't exceed the width of the modal */
    max-height: 80vh; /* Limit the height to 80% of the viewport height */
    object-fit: contain; /* Make sure the image is contained within the modal */
}

/* Close Button */
.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 15px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Pop-In Animation */
@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Website Content */
.content {
    text-align: center;
    margin-top: 100px;
}


/*--------- POP OUT IMAGE ko lagi------------*/



/*-------------- Search button ko lagi CSS*/
.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
}

/*-------------- Search button ko lagi CSS*/
