
@media (min-width:992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}

@media (max-width: 991px) {
    .navbar {
        display: none;
    }
}

.dropdown-menu {
    background-color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 10px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    color: var(--black);
    margin-top: 13px;
    position: absolute;
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transition: visibility 0s;
}

.nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0s ease .1s, visibility 0s linear .1s;
}

.dropdown-menu a {
    color: var(--black);
    display: block;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.3s;
}

    .dropdown-menu a:hover {
        color: var(--primary);
    }

.dropdown-menu.mega-menu {
    min-width: 700px;
}

.drawer-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    background: rgba(249, 249, 249, 0.95);
    border: none;
    margin: 0;
    padding: 10px 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

    .drawer-nav .dropdown-menu.show {
        display: block;
    }

    .drawer-nav .dropdown-menu a {
        padding: 10px 20px 10px 40px;
        font-size: 14px;
    }

.drawer-dropdown-toggle:checked ~ .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: none;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent
}

@media (max-width: 991px) {

    .g-4,
    .gy-4 {
        --bs-gutter-y: 1.2rem;
    }
}

@media (max-width: 767px) {

    .g-4,
    .gy-4 {
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 480px) {

    .g-4,
    .gy-4 {
        --bs-gutter-y: 0.8rem;
    }
}

@media (max-width: 360px) {

    .g-4,
    .gy-4 {
        --bs-gutter-y: -1.4rem;
    }
}

.card {
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color:;
    --bs-card-subtitle-color:;
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-box-shadow:;
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-cap-color:;
    --bs-card-height:;
    --bs-card-color:;
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: linear-gradient(145deg, #fafafa, #f1f1f1);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: 20px;
    height: -webkit-fill-available;
}

a {
    color: inherit;
    text-decoration: none;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #c6923b;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(175, 152, 21, 0.25)
}

/* tabination */


.nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    border-bottom: none !important;
    gap: 12px;
}

    .nav-tabs .nav-link {
        border: 1px solid #dcdcdc !important;
        border-radius: 30px !important;
        background: #f8f8f8;
        padding: 8px 20px;
        font-size: 15px;
        font-weight: 500;
        transition: .25s;
        color: #c6923b;
    }

        .nav-tabs .nav-link:hover {
            background: #efefef;
        }

        .nav-tabs .nav-link.active {
            background: #ffffff !important;
            border-color: #cfcfcf !important;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
            font-weight: 600;
        }

.tabs-wrapper {
    overflow-x: auto;
    padding: 10px 0;
    max-width: 900px;
}


.hamburger-dropdown {
    position: relative;
}

.hamburger-btn {
    background: #f8f8f8;
    border: 1px solid #dcdcdc;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s;
    flex-shrink: 0;
}

    .hamburger-btn:hover {
        background: #ececec;
    }

.hamburger-dropdown .dropdown-menu {
    min-width: 600px;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    background: white;
}


.hamburger-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hamburger-dropdown .dropdown-menu .dropdown-item {
    border: 1px solid #dcdcdc;
    border-radius: 25px;
    background: #f8f8f8;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: .2s;
    white-space: nowrap;
    flex: 0 0 auto;
    text-decoration: none;
    color: #333;
}

    .hamburger-dropdown .dropdown-menu .dropdown-item:hover {
        background: #efefef;
        border-color: #cfcfcf;
    }

    .hamburger-dropdown .dropdown-menu .dropdown-item:active {
        background: #ffffff;
        border-color: #cfcfcf;
    }


.hamburger-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .hamburger-dropdown .dropdown-menu {
        min-width: 300px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .hamburger-dropdown:focus-within .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}

.card-body {
    flex: 1 1 auto;
    color: #fff;
}

.testimonial-carousel .owl-stage {
    padding-left: 0 !important;
}


@media (max-width: 576px) {
    .mobile-50 {
        width: 50%;
    }
}

.small,
small {
    font-size: .880em
}

.tab-pane p {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--lines, 3);
    overflow: hidden;
}

.badge {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
    background-color: #c6923b;
}

.form-select:focus {
    border-color: #596f9a;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}


.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

    .owl-nav button {
        background: #1f345c !important;
        color: #fff !important;
        border-radius: 13px !important;
        width: 40px !important;
        height: 50px !important;
        font-size: 20px !important;
        font-weight: bolder !important;
        pointer-events: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        transition: all 0.3s ease !important;
    }


    .owl-nav .owl-prev {
        margin-left: -24px;
        margin-bottom: 50px;
    }

    .owl-nav .owl-next {
        margin-right: -24px;
        margin-bottom: 50px;
    }

.text-primary {
    --bs-text-opacity: 1;
    color: #1f345c !important
}

.text-secondary {
    --bs-text-opacity: 1;
    color: #579434 !important
}

.text-success {
    --bs-text-opacity: 1;
    color: #e63d24 !important
}

.text-warning {
    --bs-text-opacity: 1;
    color: #fd9203 !important
}

.btn-outline-primary {
    --bs-btn-color: #1f345b;
    --bs-btn-border-color: #1f345b;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1f345b;
    --bs-btn-hover-border-color: #1f345b;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1f345b;
    --bs-btn-active-border-color: #1f345b;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #1f345b;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #1f345b;
    --bs-gradient: none
}

.btn-outline-secondary {
    --bs-btn-color: #579434;
    --bs-btn-border-color: #579434;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #579434;
    --bs-btn-hover-border-color: #579434;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #579434;
    --bs-btn-active-border-color: #579434;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #579434;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #579434;
    --bs-gradient: none
}

.btn-outline-success {
    --bs-btn-color: #e63d24;
    --bs-btn-border-color: #e63d24;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e63d24;
    --bs-btn-hover-border-color: #e63d24;
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e63d24;
    --bs-btn-active-border-color: #e63d24;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #e63d24;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #e63d24;
    --bs-gradient: none
}

.btn-outline-warning {
    --bs-btn-color: #fd9203;
    --bs-btn-border-color: #fd9203;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #fd9203;
    --bs-btn-hover-border-color: #fd9203;
    --bs-btn-focus-shadow-rgb: 255, 193, 7;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #fd9203;
    --bs-btn-active-border-color: #fd9203;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fd9203;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #fd9203;
    --bs-gradient: none
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #2c4a7a !important; 
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: #6fb24d !important;
}

.bg-success {
    --bs-bg-opacity: 1;
    background-color: #f0644f !important;
}

.bg-warning {
    --bs-bg-opacity: 1;
    background-color: #ffae42 !important;
}

.card h5 {
    color: #1f345c;
}

.nav-pills .nav-link {
    color: #000;
    background-color: #f0f0f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}