/* =========================================================
   ZYYRON SOFTWARE SOLUTIONS
   RESPONSIVE GLASS NAVBAR
========================================================= */


/* =========================================================
   GLOBAL RESET
========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

* {
    box-sizing: border-box;
}


/* =========================================================
   MAIN NAVBAR
========================================================= */

.main-navbar {
    width: 100%;
    height: 82px;

    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            90deg,
            #eef6ff 0%,
            #dcecff 50%,
            #eef6ff 100%
        );

    position: sticky;
    top: 0;

    z-index: 9999;

    border-bottom:
        1px solid rgba(18, 97, 201, 0.10);

    box-shadow:
        0 3px 18px rgba(18, 97, 201, 0.08);

    transition:
        box-shadow 0.3s ease;
}


/* =========================================================
   SCROLL EFFECT
========================================================= */

.main-navbar.navbar-scrolled {
    box-shadow:
        0 7px 25px rgba(18, 97, 201, 0.15);
}


/* =========================================================
   NAVBAR CONTAINER
========================================================= */

.navbar-container {
    width: 100%;
    height: 100%;

    padding: 0 5%;

    display: flex;
    align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.navbar-logo {
    display: flex;
    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}

.navbar-logo img {
    width: 65px;
    height: auto;

    display: block;

    object-fit: contain;

    border-radius: 15px;
}


/* =========================================================
   NAVIGATION AREA
========================================================= */

.main-navbar .navbar-collapse {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* =========================================================
   COMMON GLASS MENU BOX
========================================================= */

.main-menu {
    height: auto;

    display: flex;
    align-items: center;

    gap: 2px;

    margin: 0;
    padding: 5px 6px;

    list-style: none;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.42),
            rgba(255, 255, 255, 0.20)
        );

    border:
        1px solid rgba(255, 255, 255, 0.70);

    border-radius: 12px;

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    box-shadow:
        0 5px 20px rgba(18, 97, 201, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.80);
}


/* =========================================================
   NAV ITEM
========================================================= */

.main-menu .nav-item {
    margin: 0;
    padding: 0;
}


/* =========================================================
   NAV LINKS
========================================================= */

.main-menu .nav-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 12px !important;

    color: #172033;

    font-family: Arial, sans-serif;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.4;

    text-decoration: none;

    white-space: nowrap;

    background: transparent;

    border:
        1px solid transparent;

    border-radius: 8px;

    transition:
        all 0.3s ease;
}


/* =========================================================
   NAV LINK HOVER
========================================================= */

.main-menu .nav-link:hover {
    color: #1261c9;

    background:
        rgba(255, 255, 255, 0.42);

    border-color:
        rgba(255, 255, 255, 0.65);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    box-shadow:
        0 3px 10px rgba(18, 97, 201, 0.07);
}


/* =========================================================
   ACTIVE PAGE
========================================================= */

.main-menu .nav-link.active {
    color: #1261c9;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.88),
            rgba(255, 255, 255, 0.50)
        );

    border:
        1px solid rgba(255, 255, 255, 0.95);

    border-radius: 8px;

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    box-shadow:
        0 4px 12px rgba(18, 97, 201, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.95);

    transform:
        translateY(-1px);
}


/* =========================================================
   ACTIVE HOVER
========================================================= */

.main-menu .nav-link.active:hover {
    color: #0d4fa8;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.60)
        );

    box-shadow:
        0 6px 16px rgba(18, 97, 201, 0.16),
        inset 0 1px 3px rgba(255, 255, 255, 1);

    transform:
        translateY(-2px);
}


/* =========================================================
   REMOVE OLD INDICATOR
========================================================= */

.main-menu .nav-link::before,
.main-menu .nav-link::after {
    display: none !important;
}


/* =========================================================
   LET'S TALK
========================================================= */

.talk-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-left: 5px;

    padding: 10px 18px;

    min-width: 96px;

    border-radius: 8px;

    background: #1261c9;

    border:
        1px solid #1261c9;

    color: #ffffff !important;

    font-family: Arial, sans-serif;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        all 0.3s ease;
}


/* =========================================================
   LET'S TALK HOVER
========================================================= */

.talk-btn:hover {
    background: #0d4fa8;

    border-color: #0d4fa8;

    color: #ffffff !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 7px 18px rgba(18, 97, 201, 0.28);
}


/* =========================================================
   HAMBURGER
========================================================= */

.custom-toggler {
    border: none !important;

    outline: none !important;

    box-shadow: none !important;

    width: 45px;
    height: 42px;

    padding: 7px;

    background: transparent;

    display: none;

    position: relative;

    cursor: pointer;
}


/* =========================================================
   HAMBURGER LINES
========================================================= */

.custom-toggler .bar {
    position: absolute;

    left: 9px;

    width: 27px;
    height: 2px;

    background: #172033;

    border-radius: 3px;

    transition:
        all 0.3s ease;
}


/* First line */

.custom-toggler .bar-one {
    top: 10px;
}


/* Second line */

.custom-toggler .bar-two {
    top: 19px;
}


/* Third line */

.custom-toggler .bar-three {
    top: 28px;
}


/* =========================================================
   HAMBURGER -> CROSS
========================================================= */

.custom-toggler.menu-open .bar-one {
    top: 19px;

    transform:
        rotate(45deg);
}


.custom-toggler.menu-open .bar-two {
    opacity: 0;

    transform:
        scale(0);
}


.custom-toggler.menu-open .bar-three {
    top: 19px;

    transform:
        rotate(-45deg);
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 992px) {

    .main-navbar .navbar-collapse {
        display: flex !important;

        flex-basis: auto;
    }

    .custom-toggler {
        display: none !important;
    }

}


/* =========================================================
   SMALL DESKTOP / TABLET
========================================================= */

@media (max-width: 1199px) {

    .navbar-container {
        padding: 0 3%;
    }

    .main-menu {
        gap: 1px;

        padding: 4px 5px;
    }

    .main-menu .nav-link {
        padding:
            8px 9px !important;

        font-size: 14px;
    }

    .talk-btn {
        margin-left: 4px;

        padding:
            9px 14px;

        min-width: 88px;

        font-size: 13px;
    }

}


/* =========================================================
   TABLET / MOBILE
   991px AND BELOW
========================================================= */

@media (max-width: 991px) {

    /* Navbar */

    .main-navbar {
        height: 75px;
    }


    /* Container */

    .navbar-container {
        padding: 0 5%;
    }


    /* Logo */

    .navbar-logo img {
        width: 70px;
    }


    /* Hamburger */

    .custom-toggler {
        display: block;

        margin-left: auto;
    }


    /* =============================================
       MOBILE NAVIGATION
    ============================================= */

    .main-navbar .navbar-collapse {

        position: absolute;

        top: 75px;

        left: 0;
        right: 0;

        height: auto;

        display: none;

        padding:
            15px 5% 20px;

        background:
            linear-gradient(
                135deg,
                #eef6ff,
                #dcecff
            );

        border-top:
            1px solid rgba(18, 97, 201, 0.10);

        box-shadow:
            0 10px 25px rgba(18, 97, 201, 0.12);
    }


    /* =============================================
       OPEN MOBILE MENU
    ============================================= */

    .main-navbar .navbar-collapse.mobile-open {
        display: block;
    }


    /* =============================================
       MOBILE COMMON GLASS BOX
    ============================================= */

    .main-menu {

        width: 100%;

        height: auto;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 3px;

        padding: 6px;

        margin: 0;
    }


    /* =============================================
       MOBILE NAV ITEM
    ============================================= */

    .main-menu .nav-item {
        width: 100%;
    }


    /* =============================================
       MOBILE NAV LINK
    ============================================= */

    .main-menu .nav-link {

        width: 100%;

        justify-content: flex-start;

        padding:
            12px 13px !important;

        font-size: 15px;

        border-radius: 8px;
    }


    /* =============================================
       MOBILE ACTIVE
    ============================================= */

    .main-menu .nav-link.active {

        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.90),
                rgba(255, 255, 255, 0.55)
            );

        backdrop-filter:
            blur(14px);

        -webkit-backdrop-filter:
            blur(14px);

        border:
            1px solid rgba(255, 255, 255, 0.95);

        box-shadow:
            0 4px 12px rgba(18, 97, 201, 0.12);
    }


    /* =============================================
       MOBILE HOVER
    ============================================= */

    .main-menu .nav-link:hover {

        background:
            rgba(255, 255, 255, 0.55);
    }


    /* =============================================
       MOBILE LET'S TALK
    ============================================= */

    .talk-btn {

        width: 100%;

        margin:
            10px 0 0;

        padding:
            12px 20px;

        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .main-navbar {
        height: 70px;
    }


    .navbar-logo img {
        width: 65px;
    }


    .main-navbar .navbar-collapse {
        top: 70px;

        padding:
            12px 5% 18px;
    }


    .main-menu {
        padding: 5px;

        gap: 2px;
    }


    .main-menu .nav-link {
        font-size: 14px;

        padding:
            11px 10px !important;
    }


    .talk-btn {
        font-size: 14px;

        padding:
            11px 18px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 375px) {

    .navbar-logo img {
        width: 60px;
    }


    .custom-toggler {
        width: 42px;
    }


    .custom-toggler .bar {
        width: 25px;
    }

}