/* --------------------------------------
            Navbar Area
-------------------------------------- */

.navbar-toggler {
    color: #eee !important;
}

.home-page-navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    transition: all 0.5s ease;
    top: 0;
}

.home-page-navbar .navbar {
    background: var(--hero-bg-color) !important;
    padding-top: .5rem;
    padding-bottom: .5rem;
}


.home-page-navbar .navbar-nav .nav-link {
    color: #c2c7d0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    transition: all .3s ease-in-out;
}

.home-page-navbar .navbar-nav .nav-link:hover {
    color: var(--defaultColor);
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn.language-dropdown-toggle.dropdown-toggle {
    color: #ddd;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.language-dropdown-toggle:focus {
    box-shadow: none;
}

.language-dropdown-toggle>img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
}

.btn.language-dropdown-toggle.dropdown-toggle:hover {
    background: var(--after-bg-color);
    border-radius: 20px;
}

.language-link {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dropdown-menu .language-link a {
    justify-content: flex-start !important;
    height: auto !important;
    width: 100% !important;
    padding: .6rem .8rem !important;
    border-bottom: 1px solid var(--border-color);
    gap: 10px !important;
    transition: all .3s ease-in-out;
    font-size: .9rem !important;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    transition: all .3s ease-in-out;
}

.theme-light .dropdown-menu .language-link a:hover {
    background: #ddd;
}

.theme-dark .dropdown-menu .language-link a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    background-color: var(--background-color);
}

.dropdown-menu .language-link a>img {
    width: 30px;

}

.theme-toggle-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: 0 0 30px;
}

.theme-toggle-box:hover {
    transform: scale(1.05);
}

.theme-toggle-box .theme-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle-box .theme-icon.d-none {
    opacity: 0;
    transform: rotate(180deg) scale(0.3);
    pointer-events: none;
}

.theme-toggle-box .theme-icon.light {
    background-color: #00bcd41c;
    border: 1px solid #00BCD4;
    color: #ffffff;
}

.theme-toggle-box .theme-icon.dark {
    background-color: #1e293b;
    border: 1px solid var(--border-color);
    color: #fbbf24;
}

.theme-toggle-box .theme-icon i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.theme-toggle-box:active .theme-icon {
    transform: rotate(0deg) scale(0.9);
}

/* Theme icon entrance animation */
@keyframes iconEnter {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.3);
    }

    60% {
        transform: rotate(10deg) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.theme-toggle-box .theme-icon:not(.d-none) {
    animation: iconEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Glow effect on hover for light theme */
.theme-light .theme-toggle-box:hover .theme-icon.light {
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

/* Glow effect on hover for dark theme */
body.theme-dark .theme-toggle-box:hover .theme-icon.dark {
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 0.95rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.brand-logo-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(145deg, #3d5a80, #1b2838);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: -0.5px;
    color: #fff;
    flex-shrink: 0;
}

.brand-text-ar {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-gradient-pill {
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff !important;
    background: linear-gradient(90deg, var(--primaryColor) 0%, var(--primaryRGB-25) 100%);
    font-family: 'Poppins', sans-serif;
    transition: all .3s ease-in-out;
}

.btn-gradient-pill:hover {
    filter: brightness(1.05);
    box-shadow: 0 2px 7px var(--primaryColor);
}

.nav-side-link {
    font-size: 14px;
    letter-spacing: 0.8px;
    font-weight: 400;
    white-space: nowrap;
    border: 1px solid var(--primaryRGB-25);
    color: var(--primaryColor) !important;
    background-color: var(--primaryRGB-25);
    padding: 7px 20px !important;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    transition: all .3s ease-in-out;
}

.nav-side-link:hover {
    background-color: var(--primaryRGB-50);
}

.nav-flag {
    font-size: 1.15rem;
    line-height: 1;
    margin-right: 0.35rem;
}

.small-divice-action {
    display: none;
}

@media (min-width: 320px) and (max-width: 426px) {

    .small-divice-action {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .small-divice-action .theme-toggle-box {
        display: flex !important;
    }

    .nav-action-btn .language-dropdown.dropdown,
    .nav-action-btn .theme-toggle-box {
        display: none;
    }

    .nav-action-btn .nav-side-link {
        padding: 9px 15px !important;
        width: 100%;
        justify-content: center;
        border-radius: 30px;
    }

    .home-page-navbar .navbar-collapse {
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 10px 13px;
        margin-top: 15px;
    }

    .theme-light .home-page-navbar .navbar-collapse {
        border: 1px solid #dddddd4a !important;
    }

    .theme-light .home-page-navbar .navbar-collapse .navbar-nav {
        border-bottom: 1px solid #dddddd4a !important;
    }

    .home-page-navbar .navbar-collapse .navbar-nav {
        text-align: left !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 5px;
        margin-bottom: 11px;
    }

    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .small-divice-action .dropdown-toggle::after {
        display: none;
    }
}

@media (min-width: 427px) and (max-width: 991px) {

    .small-divice-action {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .small-divice-action .theme-toggle-box {
        display: flex !important;
    }

    .small-divice-action .dropdown-toggle::after {
        display: none;
    }

    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-action-btn .language-dropdown.dropdown,
    .nav-action-btn .theme-toggle-box {
        display: none;
    }

    .home-page-navbar .navbar-collapse {
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 10px 13px;
        margin-top: 15px;
    }

    .home-page-navbar .navbar-collapse .navbar-nav {
        text-align: left !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 5px;
        margin-bottom: 11px;
    }
}


/* cookies btn
================================================== */
.cookie-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #2f3640;
    color: #f5f6fa;
    padding: 10px 32px;
    box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);

    transition: 400ms;
}

.cookie-container.active {
    bottom: 0;
}

.cookie-container p {
    margin-top: 5px;
    color: #fff !important;
}

.cookie-container a {
    color: rgb(3, 127, 255) !important;
    text-decoration: underline;
}

.cookie-container.active {
    display: flex;
    z-index: 99999;
}


.cookie-btn {
    background: #e84118;
    border: 0;
    color: #f5f6fa;
    padding: 0px 25px;
    font-size: 15px;
    margin-bottom: 16px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 7px;
    margin-left: 20px;
}

/* cookies btn
================================================== */