﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1280px;
    margin: auto;
    position: relative;
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: white;
    z-index: 1001;
}

.nav {
    display: flex;
    align-items: center;
}

    .nav a {
        color: #00264d;
        text-decoration: none;
        padding: 10px;
        display: inline-block;
    }

.nav-item {
    position: relative;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    padding: 20px;
    flex-wrap: wrap;
    width: max-content;
    min-width: 300px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.dropdown-content {
    display: flex;
    flex-wrap: wrap;
    /*gap: 20px;*/
}

.dropdown-column {
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

    .dropdown-column h3 {
        margin-bottom: 10px;
        color: #00bfff;
    }

.nav-item:hover .dropdown {
    display: flex;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;

}

body.menu-open .nav-button.prev,
body.menu-open .nav-button.next {
    display: none;
}

body.menu-open .Home {
    background: rgba(0, 0, 0, 0.6);
}



.footer1 {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.social-icons1 a {
    margin: 0 10px;
    display: inline-block;
    color: white;
    text-decoration: none;
}

.social-icons1 svg {
    width: 24px;
    height: 24px;
    fill: white;
    vertical-align: middle;
}

.popia-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    right: 20px;
    background-color: #444;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    display: none;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
}

    .popia-popup span {
        flex: 1 1 auto;
        margin-bottom: 10px;
    }

.popia-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

    .popia-buttons button {
        padding: 10px 15px;
        border-radius: 5px;
        border: none;
        font-size: 14px;
        cursor: pointer;
    }

#acceptPopia {
    background-color: #4CAF50;
    color: white;
}

#rejectPopia {
    background-color: #e74c3c;
    color: white;
}

/* Responsive: Portrait tablets and up */
/*@media screen and (min-width: 768px) {

    .body-content {
        padding: 0;
    }
}*/

/* ===== Responsive (≤768px) ===== */
@media (max-width: 768px) {


    .hamburger {
        display: block;
    }

    .logo {
        height: 100px;
    }

    .slideshow-container{
        margin-top:-100px;
    }



    .nav {
        display: none;
        flex-direction: column;
        background-color: #00264d;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        z-index:999;
    }

        .nav.active {
            display: flex;
        }

    .nav-item {
        width: 80%;
        margin-left: -130px;
    }

        .nav-item .dropdown {
            position: relative;
            display: none;
            top: auto;
            left: auto;
            width: 100%;
            box-shadow: none;
        }

        .nav-item.active .dropdown {
            display: flex;
            flex-direction: column;
        }

    .dropdown-content {
        flex-direction: column;
        /* gap: 10px;*/
    }

    .dropdown-column {
        border-top: 1px solid #1d3c6a;
        padding-top: 10px;
    }

    .stats-section .banner {
        max-height: 300px;
    }

        .stats-section .banner img {
            height: 50px;
        }

    .stat-item {
        font-size: 1.3rem;
        padding-top: 40px;
        font-weight: bold;
    }
    .mobiClass {
       font-size:20px; 
       font-weight:100;
       color: #004386;
    }

}


