﻿body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    min-height: 100vh;
}

.header {
    display: flex;
    align-items: center;
    padding: 10px 5%;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
}

/* Logo */
.logo {
    margin-right: 2rem;
}

/* Main Navigation */
.main-nav {
    display: flex;
    /*align-items: center;*/
    gap: 12px;
}

.main-nav a {
    position: relative;
    padding-bottom: 4px; /* space for underline */
    color: #000; /* default text color */
    text-decoration: none;
}

.main-nav a:hover {
    color: #ef4565;
}

.nav-item {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/*.nav-item.active::after {
    position: relative;
    padding-bottom: 4px;
}*/

/*.main-nav a:hover {
    color: #ef4565;
}
*/

a.logo {
    color: black;
    text-decoration: none;
}

.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #4fc4cf;
}

/*.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #4fc4cf;
}*/


.dropdown:hover{
    cursor:pointer;
}

.dropdown-toggle {
    color: #333;
    font-weight: bold;
}


.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
}

    .dropdown-menu li a {
        display: block;
        padding: 8px 12px;
        text-decoration: none;
        color: #333;
    }

.dropdown.active .dropdown-menu {
    display: block;
}

.search-bar {
    display: flex;
}

    .search-bar input {
        padding: 19px;
        width: 289px;
        border: 1px solid #ccc;
        border-radius: 9px 0px 0px 9px;
        outline: none;
    }

    .search-bar button {
        padding: 19px 19px;
        border: 1px solid #ccc;
        border-left: none;
        background-color: #4fc4cf;
        border-radius: 0 8px 13px 0;
        cursor: pointer;
    }

.menu-button {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    padding: 8px 12px;
    display: none;
}

    .menu-button i {
        font-size: 20px;
    }

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px 5%;
}

    .mobile-menu a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

    .mobile-menu .search-bar {
        width: 100%;
    }

        .mobile-menu .search-bar input {
            width: 100%;
        }

.nav a:hover {
    color: #ef4565;
    text-decoration: underline solid #4fc4cf 25%;
}

.search-bar button:hover {
    background-color: white;
}

.search-bar:hover {
    /*transform: scale(1.05);*/
    /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
    /*border: none;*/
}

footer {
    border-top: 5px solid #39c3cd;
    padding: 0px 5%;
    margin-top: 12px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #444;
}

.footer-right {
    text-align: right;
    flex: 1;
    min-width: 250px;
    margin : 16px 0px;
}

.footer-links a {
    color: black;
    font-weight: bold;
    margin-left: 10px;
}

    .footer-links a:hover,
    .footer-copy a:hover {
        color: #ef4565;
        text-decoration: none;
    }

.footer-copy {
    font-size: 1rem;
    margin-top: 8px;
}

    .footer-copy a {
        color: black;
        font-weight: bold;
    }

.footer-copy span {
    text-decoration: underline;
    font-weight: bold;
}

.f-logo {
    padding-left: 78px;
    margin-bottom: 16px;
    margin-top: 100px;
}

@media (max-width: 1200px) {

    .search-bar {
        display: flex;
        margin-left: 0%;
    }

    .search-bar input {
        width: 276px;
    }

    .mobile-menu .search-bar {
        width: 100%;
        margin-top: 0rem;
        display: flex;
        margin: 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-right {
        text-align: center;
    }

    .f-logo {
        padding-left: 80px;
        margin-top: 40px;
    }
}

@media (max-width: 1024px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
    }

    .nav,
    .search-bar {
/*        display: none;*/
    }

    .menu-button {
        display: block;
        margin-left: 6px;
    }

    .mobile-menu.show {
        display: flex;
    }


    .search-bar {
        width: 100%;
        justify-content: center;
    }

        .search-bar input {
            width: 70%;
            padding: 15px;
        }

        .search-bar button {
            padding: 15px;
        }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .f-logo {
        padding-left: 13px;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 15px;
    }

    .nav a {
        margin: 0 10px;
        font-size: 0.9rem;
    }

    .search-bar input,
    .search-bar button {
        padding: 12px;
        font-size: 0.9rem;
    }

    .mobile-menu {
        padding: 20px 2%;
    }
}

@media (max-width: 425px) {

    .header {
        padding: 10px;
    }

    .search-bar {
        margin: 0px;
        justify-content: center;
    }
}
