body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background: #e9edfc;
    font-family: 'Lucida Sans';
}

p {
    font-size: 20px;
}

a {
    text-decoration: none;
    font-size: 20px;
    color: #333;
}

ul {
    list-style: none;
}

.heading {
    font-size: 30px;
    font-weight: bold;
    color: black;
    text-align: center;
    margin: 30px 0 10px;
}


.active_page{
    border-right: 2px solid #ff5e00;
    color: #ff5e00;
}



/*=================================
===== HEADERS ==========================*/
#header {
    padding: 0 7%;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}


.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2%;
    margin: 0;
    max-height: 10vh;
}

.top-nav-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

}

.top-nav-right button {
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
    background: transparent;
    color: #024705;
    font-weight: 800;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s ease-in-out;
}

.top-nav-right button:hover {
    color: #ff5e00;
}

.top-nav-right input {
    padding: 8px 15px;
    border: none;
    outline: 1px solid #a5a4a4;
    border-radius: 5px;
}

.top-nav ul {
    margin: 0;
}

.logo-div {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.logo {
    height: 30px;
}



.nav-items {
    margin: 10px 0;
}


.nav-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 20px;
    color: #024705;
    position: relative;
    font-weight: 500;
}

/*========== Dropdown styles=================== */
.dropdown-menu {
    display: none;
    flex-direction: column;
    padding: 15px;
    gap: 35px;
    position: absolute;
    justify-content: center;
    top: 100%;
    background-color: #e9edfc90;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-width: 180px;
    z-index: 999;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.dropdown-menu a {
    margin: 15px 0;
    font-weight: normal;
    font-size: 18px;
    text-align: center;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown.open .dropdown-menu {
    display: flex;
}


/*========= Responsive styles ==========*/
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


.nav-link:hover {
    color: #ff5e00;
    transform: scale(1.07);
}

.active-link {
    color: #ff5e00;
    font-size: 20px;
}

.nav-link:active::before,
.nav-link:active::after {
    transform: scaleX(1.1);
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #024705;
}

@media only screen and (max-width: 950px) {
    .nav-items {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        place-items: left;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 3.8rem;
        flex-direction: column;
        padding: 20px 0;
        background-color: #e9edfc;
        width: 80%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        float: right;
        height: 100vh;
    }

    .dropdown-menu {
        position: relative;
        background-color: transparent;
        box-shadow: none;
        top: 0;
    }

    .nav-link {
        color: #024705;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        padding: 10px 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}







/* ==================================
=============== MAIN SECTION ================== */
#main-section {
    padding: 150px 5% 30px 5%;
    text-align: center;
}







/* =======================
CERTIFICATE SECTION ================= */
.cert-container{
    display: flex;
    flex-wrap: wrap;
    min-height: 70vh;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}

.cert-left{
    width: 500px;
    height: 500px;
    background: url("../img/dots_bg4.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-left h4{
    font-weight: 900;
    font-size: 2.5rem;
    margin: 0;
    color: #000;
}

.cert-right h2{
    font-weight: 500;
    padding: 0 0 10px 0;
    display: inline;
    border-bottom: 1px solid #333;
    margin: 20px 0 40px 0;
}


.cert-right{
    min-width: 290px;
    max-width: 620px;
    width: 60%;
}

#upload-cert{
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 290px;
    text-align: left;
    max-width: 600px;
    margin: 50px 0 0 0;
}

@media(max-width: 600px){
    .cert-right{
        display: flex;
        justify-content: center;
        align-items: center;
        place-items: center;
        flex-direction: column;
    }
    #upload-cert{
        width: 100%;
    }

    #upload-cert input{
        width: 250px;
    }
}

#upload-cert label{
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

#upload-cert input{
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 10px;
}

#upload-cert input:focus{
    outline: 1px solid #333;
}

#upload-cert button{
    background: #4060ff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    width: 50%;
    float: right;
}

















/* ==============================================
============= ABPIT FORM SECTION ===================================== */
#form-section {
    padding: 30px 7%;
    display: flex;
    align-items: center;
    min-height: 50vh;
    flex-direction: column;
    text-align: center;
}

.form-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.left-div {
    min-width: 290px;
    max-width: 800px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

#contactform {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 35%;
    min-width: 290px;
    max-width: 400px;
    justify-content: flex-start;
    text-align: left;
    background: transparent;
    border-top: 1.5px solid #585858;
    /* border-radius: 20px; */
    padding: 30px;
    height: 300px;
}

#contactform label {
    font-weight: 600;
    color: #333;
}

#contactform input {
    padding: 8px 20px;
    border-radius: 3px;
    border: .5px solid #585858;
}

#contactform input::placeholder {
    font-weight: bold;
    color: #585858;
}

#contactform textarea {
    min-height: 50px;
    padding: 5px 20px;
}

#contactform textarea::placeholder {
    font-weight: bold;
    color: #585858;
}

#contactform button {
    padding: 8px 10px;
    border: none;
    background: #4360f1;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: .3s ease-in-out;
}

#contactform button:hover {
    background: #2640c2;
}

/* ====== FAQ ========= */
.right-div {
    min-width: 290px;
    max-width: 500px;
    width: 60%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: left;
}

.fag {
    height: 290px;
    border-right: 2px solid #00051e;
    border-top: 2px solid #00051e;
    overflow-y: scroll;
    padding: 10px;
    width: 60%;
    text-align: left;
}

@media(max-width: 1100px){
    #form-section{
        display: flex;
        justify-content: space-evenly;
    }
    .fag{
        width: 100%;
    }
}

.fag h2{
    text-align: center;
    margin: 10px 0;
}

.fag h3{
    margin: 10px 0 ;
}

.fag p{
    margin: 0;
}




/* ================================
================ LOGIN PAGE ================================== */
@media(max-width: 750px){
    #header .search-div{
        display: none;
    }
}







/* ==================================
============== FOOTER SECTION ============== */
footer {
    padding: 50px 7%;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-links-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.download-imgs img {
    height: 50px;
}

.footer-links-container a {
    min-width: 100px;
    font-weight: normal;
    border-right: 1px solid #333;
    color: #333;
    border-left: 1px solid #333;
    padding: 5px 10px;
    text-align: center;
    margin: 10px 0;
}

.footer-links-container a:hover {
    color: #024705;
}

.copyright {
    border-top: 1px solid #024705;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    color: #585858;
}

.footer-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright a {
    color: #585858;
    font-size: 18px;
}



/*==================== POP UPS */
.popup-trigger:hover {
    text-decoration: underline;
}

/* Pop-up Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.close-button:hover {
    color: red;
}