@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/*====heading content=====*/
.heading {
    width: 600px;
    margin: 0 auto;
    padding: 10px 0px;
    text-align: center;
}

.heading h4 {
    color: #007FF9;
    font-size: 15px;
    line-height: 23px;
    font-weight: 900;
    text-transform: capitalize;
}

.heading h2 {
    color: #000;
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: -5px;
    text-transform: capitalize;
}

.heading p {
    color: #555;
    font-size: 16px;
    line-height: 25px;
    font-weight: 600;

}

/*===============Header section style on here======== */
header {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 1111;

}

#transparent_header {
    background: transparent;
}

#main_header {
    background: #007FF9;
}

.wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;

}

/*=====Main nav bar style====*/

/* ===== MODERN NAVBAR STYLING ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

#main_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

/* Transparent on top */
#main_header.transparent {
    background: transparent;
}

/* When scrolled */
#main_header.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

/* NAV BAR LAYOUT */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 80px;
    transition: all 0.3s ease;
}

/* LOGO */
.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #ffffff;
    letter-spacing: 1px;
    user-select: none;
}

.logo-text span {
    color: #2A6DF4;
}

/* NAV LINKS */
.nav-items {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-items li {
    list-style: none;
}

.nav-items li a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover underline animation */
.nav-items li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #2A6DF4;
    transition: width 0.3s ease;
}

.nav-items li a:hover::after,
.nav-items li a.active::after {
    width: 100%;
}

.nav-items li a:hover,
.nav-items li a.active {
    color: #60A5FA;
}

/* HAMBURGER MENU ICON */
.menu-bar {
    display: none;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.menu-close {
    display: none;
}

/* ===== MOBILE VERSION ===== */
@media (max-width: 900px) {
    .nav-bar {
        padding: 20px 30px;
    }

    .menu-bar {
        display: block;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        gap: 25px;
    }

    .nav-items.active {
        right: 0;
    }

    .menu-close {
        display: block;
        background: none;
        border: none;
        color: #fff;
        font-size: 26px;
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
    }

    .nav-items li a {
        font-size: 20px;
    }
}

/* Font reset for rest of site */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif !important;
}

p,
a,
li,
span,
button {
    font-family: 'Inter', sans-serif !important;
}

/* meadea query */

/* menu responsive design */
@media (max-width:900px) {

    /* menu bar toggoelr */
    .container {
        max-width: 880px !important;
        padding: 0px 20px;

    }

    #menu-container .nav-bar {
        padding: 15px 15px;
    }

    .menu-bar {
        display: block;
        background: none;
        border: none;
        outline: none;
        font-size: 20px;
        cursor: pointer;
        color: var(--white);
    }

    .menu-close {
        background: var(--primary-bg) !important;
        border-radius: 10px;
        border: none;
        width: 40px;
        height: 40px;
        outline: none;
        font-size: 18px;
        cursor: pointer;
        color: var(--black);
        display: block !important;
        margin: 25px 0px;
        margin-bottom: 60px;
    }

    /* dropdown menu bar */
    .nav-items {
        position: fixed;
        top: 0;
        right: 0px;
        background: #000;
        min-height: 100vh;
        width: 350px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px 30px;
        display: none;
        transition: 0.5s all ease-in-out;
        transform: translateX(-500px);
    }

    .nav-items li {
        margin: 15px 0px;
    }

    .nav-items li a:hover,
    .nav-items li.active a {
        color: var(--brand-color);
    }

    .nav-items.active {
        transform: translateX(-0px);
        display: block;
        transition: 0.5s all ease-in-out;
    }

}

@media (max-width: 420px) {
    .nav-items {
        position: absolute;
        top: 0;
        right: 0px;
        background: #000;
        min-height: 100vh;
        width: 270px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px 30px;
        display: none;
        transition: 0.5s all ease-in-out;
        transform: translateX(-500px);
    }
}