﻿/* ===== HEADER OVER HERO ===== */
#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin: 10px 0 0;
}

/* center navbar properly */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent;
    padding: 20px 0;
}

/* main pill container */
.container-fluid {
    width: 100%;
    max-width: 920px;
    height: 66px;
    margin: 0 auto;
    border-radius: 999px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #E3E3E380;
    padding: 0 22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* logo */
.logo {
    width: 160px;
    height: 52px;
    object-fit: contain;
    display: block;
}

/* nav links */
.nav-link {
    color: #43454A !important;
    font-size: 17px;
    font-weight: 500 !important;
    line-height: 20.55px;
    margin: 0 10px;
}

.nav-link:hover {
    color: #E65454 !important;
}

.nav-link.active {
    color: #E65454 !important;
}

/* button */
.get-started-btn {
    background: #ff4d4d;
    color: #fff;
    border-radius: 30px;
    padding: 7px 20px;
    border: none;
    font-weight: 500;
    text-decoration: none;
}

/* default hide black */
.black-icon {
    display: none;
}

/* LIGHT HEADER -> show black icon */
.light-header .white-icon {
    display: none;
}

.light-header .black-icon {
    display: inline;
}

/* DARK HEADER -> show white icon */
.dark-header .white-icon {
    display: inline;
}

.dark-header .black-icon {
    display: none;
}

/* mobile */
@media (max-width: 991px) {

    .container-fluid {
        max-width: 95%;
        height: auto;
        border-radius: 20px;
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-nav{
        width:100%;
        justify-content:center;
        gap:10px;
        margin-top:8px;
        flex-wrap:wrap;
    }

    .get-started-btn {
        margin: 8px auto 0;
    }
}

@media (max-width: 767px) {

    #header {
        margin-top: 8px;
    }

    .container-fluid {
        height: auto;
        padding: 10px 15px;
        max-width: 100%;
        border-radius: 16px;
    }

    .navbar-nav{
        gap:8px;
    }

    .logo {
        width: 140px;
        height: auto;
        object-fit: contain;
    }

    .nav-link{
        font-size:15px;
    }
}
