@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

* {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* ======= Navbar Wrapper ======= */
.header-area {

    padding: 12px 40px;
    border-bottom: 0.8px solid #46474a;
    /* __________ */
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    height: 70px;
    background: transparent;
    transition: background-color .7s ease, padding .7s ease, box-shadow .7s ease;

}

/* Change navbar background when scrolling */
.header-area.scrolled {
    background: rgba(31, 37, 51, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 2px 8px rgba(8, 8, 8, 0.5);
    padding: 20px 0;
}

/* ======= Alignment ======= */

.header-align {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ======= Logo ======= */
.header-logo-area img {
    width: 130px;
    height: auto;
    transition: transform 0.3s ease;
}

.header-logo-area img:hover {
    transform: scale(1.05);
}

/* ======= Main Navigation ======= */
.header-navigation-area {
    text-align: center;
    transition: background 0.3s ease;
    padding: 15px 0;
    color: #33C2E8 !important;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;

}

.main-menu li {
    position: relative;

}

/* ======= Links ======= */
.main-menu a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;


}

.main-menu a:hover {
    color: #33C2E8;
}

/* ======= Authentication Buttons ======= */
.auth-links .btn-long,
.mobile-auth .btn-long {
    background-color: #33C2E8;
    border: 1px solid #33C2E8;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.auth-links .btn-long:hover,
.auth-links .btn-long:focus,
.mobile-auth .btn-long:hover,
.mobile-auth .btn-long:focus {
    background-color: #14A1C5;
    border-color: #14A1C5;
    color: #fff;
}

/* ======= Dropdown Arrow Icon ======= */
.has-submenu>a::after {
    content: "▾";
    /* down arrow */
    font-size: 13px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

/* Rotate arrow when hover */
.has-submenu:hover>a::after {
    transform: rotate(180deg);
}

/* ======= Dropdown Menu ======= */
.submenu-nav {
    position: absolute;

    top: 200%;
    left: 1%;
    min-width: 200px;
    background-color: #fff;
    border-radius: 1px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 5px 20px;
    padding-inline-start: 0px;
    z-index: 999;
    text-align: left;
    border-radius: 8px;
}

.submenu-nav li {
    display: block;

}

.submenu-nav a {
    padding: 10px 15px;
    color: #151515;
    font-size: 15px;
}

.submenu-nav a:hover {
    background-color: #e5e5e5;
    color: #33C2E8;
}

/* Show dropdown on hover */
.has-submenu:hover>.submenu-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ======= Menu Button (Mobile) ======= */
.btn-menu {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* ======= Responsive Design ======= */
/* @media (max-width: 992px) {

    .main-menu {
        display: none;
        flex-direction: column;
        background: white;
        border-radius: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
    }

    .main-menu.active {
        display: flex;
    }

    .btn-menu {
        display: block;
    }

    .header-align {
        justify-content: space-between;
    }

    .header-align-center {
        width: 100%;
    }

    .header-align-end {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .submenu-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        padding-left: 20px;
    }

    .submenu-nav a {
        padding: 8px 0;
    }

    .has-submenu>a::after {
        font-size: 12px;
    }

} */

/* Responsive */
/* @media (max-width: 991px) {
    .custom-navbar {
        background: rgba(0, 0, 0, 0.85);
    }
} */
/* ======================================= */
/* 💻 Media Queries for Responsive Design */
/* ======================================= */

/* --- Screens up to 992px (Mobile & Tablet Layout) --- */
@media screen and (max-width: 992px) {

    /* --- Header Area Adjustments --- */
    .header-area {
        height: 60px;
        padding: 0 15px;
        background-color: rgba(31, 37, 51, 1);
        /* Solid background for header on mobile */
        box-shadow: 0 2px 8px rgba(8, 8, 8, 0.5);
    }

    .header-area.scrolled {
        padding: 0 15px;
        height: 60px;
    }

    /* --- Mobile Menu Button --- */
    .btn-menu {
        display: block;
        /* Show the hamburger button */
        z-index: 101;
    }

    /* --- Off-Canvas Navigation (The Sliding Panel) --- */
    .header-navigation-area {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transition: left 0.5s ease;
        padding: 0;
        text-align: left;
        z-index: 100;
        overflow-y: auto;
    }

    /* State when the mobile menu is open (requires JavaScript to add this class) */
    .header-navigation-area.active {
        left: 0;
        /* Slide in from the left */
    }

    .header-navigation-area .menu-header {
        background-color: #33C2E8;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        font-weight: 600;
        font-size: 18px;
    }


    /* --- Menu Item Styling --- */
    .main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 10px;
        /* Space below the menu header */
    }

    .main-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-menu a {
        /* Links inside the slide-in menu should be dark */
        color: #151515;
        font-size: 15px;
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
        font-weight: 500;
    }

    .main-menu a:hover {
        background-color: #f7f7f7;
        color: #33C2E8;
    }

    /* Hide the dropdown arrow from the desktop CSS, replace it with the '+' sign */
    .has-submenu>a::after {
        content: "+";
        font-size: 20px;
        margin-left: 10px;
        line-height: 1;
        /* Align the plus sign */
        transform: none;
        /* Reset rotation */
    }

    /* Change the '+' to a '-' when the submenu is open (requires JS to toggle a class like '.open') */
    .has-submenu.open>a::after {
        content: "−";
        /* Minus sign */
    }

    /* --- Submenu (Accordion Panel) --- */
    .submenu-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        /* Hidden by default for accordion effect */
        background-color: #f7f7f7;
        /* Slightly different background for submenus */
        border-radius: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        box-shadow: none;
    }

    .submenu-nav a {
        color: #33C2E8;
        /* Highlighted color for submenu links */
        font-size: 14px;
        padding: 10px 30px;
        /* Indent sub-links */
        font-weight: 400;
    }

    .submenu-nav a:hover {
        background-color: #eee;
    }

    /* Hide desktop hover effects */
    .has-submenu:hover>.submenu-nav {
        opacity: 0;
        visibility: hidden;
    }

}
