/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #111827;

    background: #ffffff;
}


a {
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}



/* =========================================
   TOP HEADER
========================================= */

.top-header {
    width: 100%;
    height: 74px;

    background: #111828;

    color: #ffffff;
}


.top-header-inner {
    width:
        min(
            1740px,
            calc(100% - 140px)
        );

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================
   TOP LEFT
========================================= */

.top-left {
    display: flex;

    align-items: center;

    gap: 30px;
}


.top-item {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #f4f6f9;

    font-size: 18px;

    font-weight: 500;

    transition: 0.2s;
}


.top-item:hover {
    color: #8eb2ff;
}


.top-item i {
    font-size: 18px;
}



/* =========================================
   TOP RIGHT
========================================= */

.top-right {
    display: flex;

    align-items: center;

    gap: 13px;
}


.top-login,
.top-signup {
    min-width: 102px;
    height: 52px;

    padding: 0 23px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 30px;

    font-size: 18px;

    font-weight: 700;

    transition: 0.2s;
}


.top-login {
    border:
        1px solid
        #485364;

    color: #ffffff;
}


.top-login:hover {
    border-color: #8090a6;

    background:
        rgba(255,255,255,0.05);
}


.top-signup {
    background: #2d65df;

    color: #ffffff;
}


.top-signup:hover {
    background: #2458c8;
}


.my-account-btn i {
    font-size: 17px;
}



/* =========================================
   MAIN HEADER
========================================= */

.main-header {
    position: sticky;

    top: 0;

    z-index: 2000;

    width: 100%;

    background: #ffffff;

    border-bottom:
        1px solid
        #eff1f4;

    box-shadow:
        0 3px 12px
        rgba(15,23,42,0.025);
}


.main-header-inner {
    width:
        min(
            1555px,
            calc(100% - 80px)
        );

    height: 132px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 30px;
}



/* =========================================
   LOGO
========================================= */

.main-logo {
    width: 130px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
}


.main-logo img {
    display: block;

    width: 100%;
    height: auto;
}



/* =========================================
   DESKTOP NAVIGATION
========================================= */

.main-navigation {
    margin-left: auto;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 14px;
}


.menu-link,
.location-item {
    position: relative;

    min-height: 56px;

    padding:
        0
        17px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 12px;

    color: #334155;

    font-size: 18px;

    font-weight: 500;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.menu-link:hover,
.location-item:hover {
    color: #2d65df;

    background: #f5f7fb;
}



/* =========================================
   LOCATION
========================================= */

.location-item {
    padding-left: 8px;

    font-weight: 400;
}


.location-item i {
    color: #3b4e63;

    font-size: 24px;
}



/* =========================================
   ACTIVE LINK
========================================= */

.menu-link.active {
    background: #eff3fe;

    color: #2d65df;

    font-weight: 700;
}


.menu-link.active::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 0;

    height: 4px;

    border-radius: 10px;

    background: #2d65df;
}



/* =========================================
   NAV ICONS
========================================= */

.icon-menu-link i {
    color: inherit;

    font-size: 22px;
}


.mobile-nav-icon {
    display: none;
}



/* =========================================
   MOBILE CONTROLS - DESKTOP HIDDEN
========================================= */

.mobile-menu-button,
.mobile-close-button,
.mobile-login-box,
.mobile-nav-header,
.mobile-menu-overlay {
    display: none;
}



/* =========================================
   MEDIUM DESKTOP
========================================= */

@media (max-width: 1200px) {

    .top-header-inner {
        width:
            calc(100% - 50px);
    }


    .main-header-inner {
        width:
            calc(100% - 50px);
    }


    .main-navigation {
        gap: 5px;
    }


    .menu-link,
    .location-item {
        padding:
            0
            10px;

        font-size: 16px;
    }


    .main-logo {
        width: 110px;
    }

}



/* =========================================
   MOBILE / TABLET NAV
========================================= */

@media (max-width: 850px) {


    /* ===============================
       TOP BAR
    =============================== */

    .top-header {
        height: 52px;
    }


    .top-header-inner {
        width:
            calc(100% - 28px);
    }


    .top-left {
        gap: 15px;
    }


    .top-item {
        gap: 6px;

        font-size: 13px;
    }


    .top-item i {
        font-size: 14px;
    }


    .top-item:nth-child(2) {
        display: none;
    }


    .top-right {
        display: none;
    }



    /* ===============================
       MAIN HEADER
    =============================== */

    .main-header-inner {
        width:
            calc(100% - 28px);

        height: 82px;

        justify-content: space-between;
    }


    .main-logo {
        width: 100px;
    }



    /* ===============================
       HAMBURGER
    =============================== */

    .mobile-menu-button {
        width: 44px;
        height: 44px;

        padding: 0;

        display: flex;

        align-items: center;
        justify-content: center;

        border: none;

        border-radius: 10px;

        background: #2d65df;

        color: #ffffff;

        font-size: 20px;

        cursor: pointer;
    }



    /* ===============================
       SLIDE NAV
    =============================== */

    .main-navigation {
        position: fixed;

        top: 0;
        right: -100%;

        z-index: 10001;

        width:
            min(
                350px,
                88vw
            );

        height:
            100dvh;

        margin: 0;

        padding:
            0
            20px
            28px;

        display: flex;

        flex-direction: column;

        align-items: stretch;
        justify-content: flex-start;

        gap: 6px;

        overflow-y: auto;

        background: #ffffff;

        box-shadow:
            -14px
            0
            45px
            rgba(15,23,42,0.18);

        transition:
            right 0.3s ease;
    }


    .main-navigation.open {
        right: 0;
    }



    /* ===============================
       MOBILE NAV HEADER
    =============================== */

    .mobile-nav-header {
        min-height: 75px;

        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 20px;

        margin-bottom: 12px;

        border-bottom:
            1px solid
            #e9edf2;
    }


    .mobile-nav-logo {
        width: 90px;

        display: flex;
    }


    .mobile-nav-logo img {
        width: 100%;

        display: block;
    }


    .mobile-close-button {
        width: 40px;
        height: 40px;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        border: none;

        border-radius: 10px;

        background: #f1f4f8;

        color: #1f2937;

        font-size: 19px;

        cursor: pointer;
    }



    /* ===============================
       MOBILE LINKS
    =============================== */

    .main-navigation .menu-link,
    .main-navigation .location-item {
        width: 100%;

        min-height: 53px;

        margin: 0;

        padding:
            0
            15px;

        justify-content: flex-start;

        gap: 13px;

        border-radius: 11px;

        background: transparent;

        color: #334155;

        font-size: 15px;

        font-weight: 600;
    }


    .main-navigation .location-item {
        border-bottom:
            1px solid
            #edf0f4;

        margin-bottom: 5px;

        padding-bottom: 0;
    }


    .main-navigation .menu-link:hover,
    .main-navigation .location-item:hover {
        background: #f5f7fb;
    }


    .main-navigation
    .menu-link.active {
        background: #eff3fe;

        color: #2d65df;
    }


    .main-navigation
    .menu-link.active::after {
        display: none;
    }


    .main-navigation
    .location-item i,
    .main-navigation
    .icon-menu-link i,
    .main-navigation
    .mobile-nav-icon {
        width: 22px;

        display: inline-flex;

        justify-content: center;

        color: inherit;

        font-size: 18px;
    }



    /* ===============================
       ACCOUNT AREA
    =============================== */

    .mobile-login-box {
        width: 100%;

        margin-top: 15px;

        padding-top: 18px;

        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap: 10px;

        border-top:
            1px solid
            #e8ecf1;
    }


    .mobile-login-box a {
        min-height: 47px;

        padding:
            0
            12px;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 8px;

        border-radius: 10px;

        font-size: 13px;

        font-weight: 700;
    }


    .mobile-account-btn,
    .mobile-signup-btn {
        background: #2d65df;

        color: #ffffff;
    }


    .mobile-logout-btn {
        background: #111827;

        color: #ffffff;
    }



    /* ===============================
       OVERLAY
    =============================== */

    .mobile-menu-overlay {
        position: fixed;

        inset: 0;

        z-index: 10000;

        display: block;

        opacity: 0;

        visibility: hidden;

        background:
            rgba(15,23,42,0.55);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }


    .mobile-menu-overlay.active {
        opacity: 1;

        visibility: visible;
    }


    body.mobile-menu-open {
        overflow: hidden;
    }

}



/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .top-left {
        width: 100%;

        justify-content: space-between;
    }


    .top-item:first-child span {
        display: none;
    }


    .top-item:last-child {
        margin-left: auto;
    }


    .main-header-inner {
        height: 72px;
    }


    .main-logo {
        width: 90px;
    }


    .main-navigation {
        width: 90vw;
    }


    .mobile-login-box {
        grid-template-columns: 1fr;
    }

}


/* ================================
   FOOTER
================================ */

.custom-footer {
    position: relative;
    background: linear-gradient(90deg, #0f2340 0%, #08152d 100%);
    color: #ffffff;
    padding-top: 70px;
    overflow: hidden;
}


.custom-footer-inner {
    width: min(1780px, calc(100% - 110px));
    margin: auto;
    display: grid;
    grid-template-columns: 1.7fr 0.8fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}


/* Left about */

.footer-about-box h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 28px;
}


.footer-about-box p {
    max-width: 430px;
    color: #d8e2ec;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 34px;
}


.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.footer-contact-items a,
.footer-contact-items div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #e7eef5;
    font-size: 18px;
    line-height: 1.5;
}


.footer-contact-items i {
    color: #f1f6fb;
    font-size: 22px;
    margin-top: 2px;
    width: 22px;
}



/* Link columns */

.footer-link-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}


.footer-link-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}


.footer-link-column a {
    color: #e2e8ef;
    font-size: 18px;
    transition: 0.2s;
    width: fit-content;
}


.footer-link-column a:hover {
    color: #4fa6ff;
    transform: translateX(3px);
}



/* Subscribe Card */

.footer-subscribe-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}


.subscribe-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #2f66e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 28px;
}


.footer-subscribe-card h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 18px;
}


.footer-subscribe-card p {
    color: #d4dde6;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
}


.footer-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.footer-subscribe-form input {
    width: 100%;
    height: 68px;
    border: none;
    outline: none;
    border-radius: 16px;
    background: #ffffff;
    color: #333333;
    padding: 0 24px;
    font-size: 17px;
}


.footer-subscribe-form input::placeholder {
    color: #8e8e8e;
}


.footer-subscribe-form button {
    width: 100%;
    height: 68px;
    border: none;
    border-radius: 16px;
    background: #2f66e0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}


.footer-subscribe-form button i {
    margin-left: 10px;
}


.footer-subscribe-form button:hover {
    background: #2457c9;
}


.subscribe-success {
    color: #8ff0ad;
    font-size: 14px;
    margin-bottom: 12px;
}


.subscribe-error {
    color: #ff9c9c;
    font-size: 14px;
    margin-bottom: 12px;
}


.footer-social-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}


.footer-social-row a {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255,255,255,0.09);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    transition: 0.2s;
}


.footer-social-row a:hover {
    background: #2f66e0;
}



/* Bottom Bar */

.footer-bottom-bar {
    margin-top: 75px;
    border-top: 1px solid rgba(255,255,255,0.12);
}


.footer-bottom-inner {
    width: min(1780px, calc(100% - 110px));
    min-height: 95px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


.footer-bottom-inner p,
.footer-bottom-inner span {
    color: #b8c4d0;
    font-size: 18px;
}



/* Floating WhatsApp */

.footer-whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: #26d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 10px 30px rgba(38, 211, 102, 0.35);
    z-index: 5000;
    transition: 0.2s;
}


.footer-whatsapp-float:hover {
    transform: scale(1.05);
}



/* ================================
   LARGE TABLET
================================ */

@media (max-width: 1400px) {

    .custom-footer-inner {
        width: calc(100% - 60px);
        grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.2fr;
        gap: 35px;
    }

    .footer-bottom-inner {
        width: calc(100% - 60px);
    }

    .footer-about-box h2,
    .footer-subscribe-card h2 {
        font-size: 32px;
    }

    .footer-about-box p,
    .footer-link-column a,
    .footer-contact-items a,
    .footer-contact-items div,
    .footer-bottom-inner p,
    .footer-bottom-inner span {
        font-size: 16px;
    }
}



/* ================================
   TABLET
================================ */

@media (max-width: 1100px) {

    .custom-footer {
        padding-top: 55px;
    }

    .custom-footer-inner {
        width: calc(100% - 40px);
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-about-box {
        grid-column: 1 / -1;
    }

    .footer-subscribe-card {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        width: calc(100% - 40px);
        min-height: 80px;
    }

    .footer-whatsapp-float {
        width: 72px;
        height: 72px;
        font-size: 36px;
        right: 20px;
        bottom: 20px;
    }
}



/* ================================
   MOBILE
================================ */

@media (max-width: 700px) {

    .custom-footer-inner {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about-box,
    .footer-subscribe-card {
        grid-column: auto;
    }

    .footer-about-box h2,
    .footer-subscribe-card h2 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .footer-about-box p {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .footer-contact-items {
        gap: 16px;
    }

    .footer-contact-items a,
    .footer-contact-items div,
    .footer-link-column a {
        font-size: 16px;
    }

    .footer-link-column {
        gap: 16px;
    }

    .footer-link-column h3 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .footer-subscribe-card {
        padding: 22px;
        border-radius: 14px;
    }

    .subscribe-card-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    .footer-subscribe-card p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .footer-subscribe-form input,
    .footer-subscribe-form button {
        height: 58px;
        font-size: 16px;
        border-radius: 12px;
    }

    .footer-social-row a {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 10px;
    }

    .footer-bottom-bar {
        margin-top: 45px;
    }

    .footer-bottom-inner {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-inner p,
    .footer-bottom-inner span {
        font-size: 15px;
    }

    .footer-whatsapp-float {
        width: 58px;
        height: 58px;
        font-size: 28px;
        right: 14px;
        bottom: 14px;
    }
}

/* =========================================
   NAVBAR FINAL FIX
========================================= */

@media (min-width: 851px) {

    .main-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 10px;

        margin-left: auto;
    }


    .main-navigation > a {
        position: relative;

        min-height: 54px;

        padding: 0 17px;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 9px;

        border-radius: 12px;

        color: #1f2937 !important;

        font-family: Arial, Helvetica, sans-serif !important;

        font-size: 17px;
        font-weight: 500;

        text-decoration: none !important;

        transition: 0.25s ease;
    }


    /* Normal hover */

    .main-navigation > a:hover {
        color: #246de8 !important;

        background: #f3f6fc;
    }


    /* CURRENT PAGE */

    .main-navigation > a.active {
        color: #246de8 !important;

        background: #f1f5ff !important;

        font-weight: 700;
    }


    /* Blue bottom line */

    .main-navigation > a.active::after {
        content: "";

        position: absolute;

        left: 12px;
        right: 12px;
        bottom: 0;

        height: 4px;

        border-radius: 8px;

        background: #246de8;
    }


    /* Icons */

    .main-navigation > a i {
        color: inherit;

        font-size: 20px;
    }

}

/* =================================
   LOGGED IN USER
================================= */

.top-user,
.top-logout {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 52px;

    padding: 0 20px;

    border-radius: 30px;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none;
}


.top-user {
    color: #ffffff;

    border: 1px solid #485364;
}


.top-user i {
    font-size: 15px;
}


.top-user:hover {
    border-color: #6b7a90;
}


.top-logout {
    background: #2d65df;

    color: #ffffff;
}


.top-logout:hover {
    background: #2456c4;
}

.my-account-btn {
    gap: 9px;
}

.my-account-btn i {
    font-size: 17px;
}

/* =========================================
   FINAL MOBILE NAV FIX
========================================= */

@media (max-width: 850px) {

    .mobile-menu-button {
        display: flex !important;

        width: 44px;
        height: 44px;

        padding: 0;

        align-items: center;
        justify-content: center;

        border: 0;
        border-radius: 10px;

        background: #2d65df;

        color: #ffffff;

        font-size: 20px;

        cursor: pointer;

        position: relative;

        z-index: 100;
    }


    .main-navigation {
        position: fixed !important;

        top: 0 !important;
        right: 0 !important;

        width: min(350px, 88vw) !important;
        height: 100dvh !important;

        margin: 0 !important;

        padding: 0 20px 30px !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        gap: 6px !important;

        overflow-y: auto;

        background: #ffffff;

        z-index: 99999 !important;

        box-shadow:
            -10px
            0
            40px
            rgba(15, 23, 42, 0.22);

        transform: translateX(110%);

        visibility: hidden;

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;
    }


    .main-navigation.open {
        transform: translateX(0) !important;

        visibility: visible !important;
    }


    .mobile-nav-header {
        width: 100%;
        min-height: 75px;

        display: flex !important;

        align-items: center;
        justify-content: space-between;

        border-bottom:
            1px solid
            #e8edf3;

        margin-bottom: 10px;
    }


    .mobile-nav-logo {
        width: 90px;

        display: flex;
    }


    .mobile-nav-logo img {
        display: block;

        width: 100%;
        height: auto;
    }


    .mobile-close-button {
        width: 42px !important;
        height: 42px !important;

        display: flex !important;

        align-items: center;
        justify-content: center;

        padding: 0;

        border: 0;
        border-radius: 10px;

        background: #f1f4f8;

        color: #111827;

        font-size: 20px;

        cursor: pointer;
    }


    .main-navigation .menu-link,
    .main-navigation .location-item {
        width: 100% !important;

        min-height: 52px !important;

        padding: 0 15px !important;

        margin: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 12px !important;

        border-radius: 10px !important;

        background: transparent;

        color: #334155;

        font-size: 15px !important;

        font-weight: 600;

        border-bottom: 0;
    }


    .main-navigation .menu-link.active {
        background: #eff3fe !important;

        color: #2d65df !important;
    }


    .main-navigation
    .menu-link.active::after {
        display: none !important;
    }


    .mobile-login-box {
        width: 100%;

        display: grid !important;

        grid-template-columns:
            1fr
            1fr;

        gap: 10px;

        margin-top: 15px;

        padding-top: 18px;

        border-top:
            1px solid
            #e8edf3;
    }


    .mobile-login-box a {
        min-height: 46px;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 7px;

        border-radius: 10px;

        background: #2d65df;

        color: #ffffff;

        font-size: 13px;

        font-weight: 700;
    }


    .mobile-menu-overlay {
        position: fixed !important;

        inset: 0 !important;

        display: block !important;

        z-index: 99998 !important;

        background:
            rgba(15, 23, 42, 0.55);

        opacity: 0;

        visibility: hidden;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }


    .mobile-menu-overlay.active {
        opacity: 1 !important;

        visibility: visible !important;
    }


    body.mobile-menu-open {
        overflow: hidden !important;
    }

}


@media (max-width: 480px) {

    .main-navigation {
        width: 90vw !important;
    }


    .mobile-login-box {
        grid-template-columns: 1fr;
    }

}