/* =========================
   CSS Variables (Colors)
========================= */
:root {
    --primary-color: #0ea5e9;
    --secondary-color: #2D2330;
    --white-color: #ffffff;
    --light-gray-color: #e2e8f0;
    --border-gray: #eaeaea;
    --dark-bg: #1e293b;
    --navbar-bg: #0f172a;
    --text-color: #000000;
}

/* =========================
   Header Wrapper
========================= */
header {
    width: 100%;
    position: relative;
    z-index: 999;
    background-color: var(--primary-color);
}

header .top-header {
    background-color: var(--primary-color);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-gray);
}

header .contact-list,
header .hdr-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

header .contact-list li {
    display: inline-block;
    margin-right: 10px;
}

header .contact-list li:last-child {
    margin-right: 0;
}

header .contact-list a,
header .hdr-social-list a {
    font-size: 13px;
    color: var(--light-gray-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

header .contact-list a i,
header .hdr-social-list a i {
    color: var(--white-color);
    margin-right: 0.375rem;
}

header .hdr-social-list a i {
    margin: 0;
}

header .contact-list a:hover,
header .hdr-social-list a:hover {
    color: var(--primary-color);
}

header .hdr-social-list {
    margin-left: auto;
    text-align: right;
}

header .hdr-social-list li {
    display: inline-block;
    margin-left: 8px;
}

header .hdr-social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 13px;
    color: var(--light-gray-color);
    border: 1px solid var(--light-gray-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

header .hdr-social-list a:hover {
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

header .hdr-social-list a:hover i {
    color: var(--primary-color);
}

/* Header Bottom & Navbar */
header .header-bottom {
    width: 100%;
}

header .navbar {
    padding: 0;
}

header .navbar-brand img {
    max-height: 60px;
}

header .main-header-list {
    display: block;
    position: relative;
    z-index: 1;
    padding: 15px 0px;
    margin-left: auto;
    padding-left: 70px;
}

header .main-header-list::before,
header .main-header-list::after {
    content: "";
    width: calc(100% + 50px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 100px 0px 0px 0px;
}

header .main-header-list::before {
    background: var(--secondary-color);
    left: 0;
}

header .main-header-list::after {
    background: var(--white-color);
    left: 15px;
}

header .navbar-nav {
    align-items: center;
}

header .custom-item {
    margin-left: 10px;
}

header .custom-link {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: var(--text-color);
    transition: .3s;
    position: relative;
}

header .custom-link i {
    margin-right: 6px;
}

header .custom-link:hover,
header .custom-link.active {
    color: var(--primary-color);
}

header .custom-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

header .custom-link:hover::after {
    width: 100%;
}

/* Dropdown Mega Menu */
header .dropdown-mega {
    position: static;
}

header .dropdown-mega .dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 20px;
    background: var(--white-color);
    width: 100%;
    margin: 0;
}

header .dropdown-mega .dropdown-menu .col-megamenu {
    padding: 10px;
}

header .dropdown-mega .dropdown-menu h6.title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

header .dropdown-mega .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .dropdown-mega .dropdown-menu ul li {
    margin-bottom: 5px;
}

header .dropdown-mega .dropdown-menu ul li a {
    font-size: 13px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

header .dropdown-mega .dropdown-menu ul li a:hover {
    color: var(--primary-color);
}

/* Sign-in Box */
.header-signbtn {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

header .sign-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.sign-text-box {
    color: var(--text-color);
}

header .main-header__phone-title {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 0;
}

header .main-header__phone-number a {
    color: var(--primary-color);
}

header .main-header__phone-number {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
    header .top-header {
        display: none;
    }

    header .main-header-list {
        padding: 0;
    }

    header .main-header-list::before,
    header .main-header-list::after {
        display: none;
    }

    header .custom-item {
        margin-left: 0;
        width: 100%;
    }

    header .custom-link {
        font-size: 13px;
        color: var(--white-color);
    }

    .header-signbtn {
        margin-left: 0;
        margin-top: 10px;
        font-size: 14px;
        width: 100%;
    }

    header .custom-link:hover,
    header .custom-link.active {
        color: var(--white-color);
    }

    header .main-header__phone-title,
    header .main-header__phone-number,
    header .main-header__phone-number a {
        color: var(--white-color);
    }

    header .dropdown-mega .dropdown-menu .col-megamenu {
        padding: 0;
    }

    header .sign-icon-box {
        background: var(--white-color);
        color: var(--primary-color);
    }

    header .navbar-toggler {
        border: none;
        color: var(--white-color);
    }
}