﻿@media (min-width: 800px) {
    nav.top-nav-right {
        padding-left: 1em !important;
    }
    a.nav-link {
        display: block !important;
    }
}


    /* ---------------------------------- */
    /* Mobile */
    /* ---------------------------------- */
    @media (max-width: 700px) {
        .d-flex.justify-content-around.py-3 {
            flex-direction: column !important;
            overflow: hidden;
            align-items: center;
            width: 100%;
            
        }
        .col-8.offset-2 img.img-fluid {
    display: none;
}

.text-center {
  padding-bottom: 20px;
          padding-right: 30px;
        padding-left: 30px;
}
        .ms-5 {
            margin-left: 0 !important;
        }

        .me-5 {
            margin-right: 0 !important;
        }

        .row.py-4.gx-5 {
            flex-direction: column;
            align-items: center;
        }

        .col-6.p-4.text-center {
            width: 95%;
        }

        nav.top-nav-right {
            flex-direction: column;
        }


        .top-nav-left {
            flex-direction: column;
            color: #2663a5;
            padding-right: 0;
        }

        a.nav-link {
            display: flex;
            flex-direction: column;
            color: #2663a5;
            padding: 15px 10px;
        }

        a.navbar-brand-custom img {
            margin: 5px 0;
        }

        header.main-header {
            padding: auto;
            background-color: #dce2e5;
        }

        a.navbar-brand-custom::after {
            content: "";
            display: inline-block;
            width: 24px;
            background-image: url("https://res.cloudinary.com/drjembbas/image/upload/v1751978571/menu_s4nmuw.png");
            background-size: cover;
            background-repeat: no-repeat;
            margin: 12px 20px 0 30px;
            padding-top: 25px !important;
            float: right;
        }


        .d-grid.gap-2.d-sm-flex.justify-content-sm-center a {
            padding: 10px 0;
        }

        a.btn.btn-hero.btn-sm.px-4.gap-3 {
            padding: 13px 0;
            line-height: 1.2;
        }

        .p-4 {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        .row.pt-4.text-center {
            padding-top: 0 !important;
        }

        .col-6.p-4 {
            width: 65%;
        }

        .mobile-menu-container {
            display: flex;
            flex-direction: column;
            width: 100%;
            background-color: #dce2e5;
            padding: 0;
            margin: 0;
            border-radius: 5px;
            transition: all 0.3s ease;
            gap: 0;
            line-height: 1;
        }


        .mobile-menu-hidden {
            display: none;
        }


        .mobile-menu-link {
            display: block;
            padding: 10px 15px;
            color: #333;
            width: 100%;
            background-color: #dce2e5;
            border-bottom: none;
            margin: 0;
            line-height: 1;
            font-size: 14px;
            text-decoration: none;
            box-sizing: border-box;
        }


            .mobile-menu-link:hover {
                background-color: #c8d1d6;
                color: #222;
            }


            .mobile-menu-link:active {
                background-color: #b8c3c8;
            }


        .mobile-menu-trigger {
            cursor: pointer;
            transition: opacity 0.2s ease;
        }

            .mobile-menu-trigger:hover {
                opacity: 0.8;
            }



        .mobile-menu-container.animating {
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        .mobile-menu-trigger {
            display: block;
        }

        .mobile-menu-container {
            padding: 15px 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .mobile-menu-link:first-child {
            margin-top: 0;
            padding-top: 10px;
        }

        .mobile-menu-link:last-child {
            margin-bottom: 0;
            padding-bottom: 10px;
        }


        .top-nav-left, .top-nav-right {
            gap: 0;
        }

        p.endorsment.pt-5 {
            font-size: 1.4em;
        }

        .py-3 {
            padding-top: 2rem !important;
        }

        .d-grid.gap-2.d-sm-flex.justify-content-sm-center a {
            width: 100%;
        }
    }



    /* ---------------------------------- */
    /* Between Mobile and Desktop */
    /* ---------------------------------- */
    @media (min-width: 500px) and (max-width: 768px) {
        nav.top-nav-right {
            gap: 10px;
        }

        a.navbar-brand-custom {
            padding: 0;
        }

        a.nav-link {
            font-size: 0.56em;
            padding-right: 0;
        }

        .top-nav-left.mobile-menu-hidden {
            gap: 5px;
        }

        .navbar-brand-custom img {
            padding: 5px;
        }


    }

    /* ---------------------------------- */
    /* Global */
    /* ---------------------------------- */

    .navbar-brand-custom {
        padding: 0;
    }


    a.btn.btn-hero.btn-sm.px-4.gap-3:hover {
        background-color: transparent;
        border: 1px solid white;
    }


    .py-4 {
        align-items: center;
    }

@media screen and (max-width: 760px) {
    div#dvHero {
        padding: 5em 0 !important;
    }
}