html {
    position: relative;
    min-height: 100%;
    /* filter: grayscale(1); */
}

body {
    color: #5b5b5b;
    font-family: 'Work Sans', sans-serif;
}

a, 
.text-primary {
    color: #F16F63 !important;
}

a:hover{
    color: #F16F63 !important;
}

.bg-primary,
.custom-dropdown-menu .dropdown-item:hover,
.custom-dropdown-menu .dropdown-item:focus{
    background-color: #F16F63 !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active{
    color: #FFF !important;
    background-color: #F16F63;
    border:none;
}

.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show>.btn-primary.dropdown-toggle {
    color: #fff !important;
    background-color: #F16F63 !important;
    border:none;
}

/* ==========================================================================
   Base Navbar & Core Components
   ========================================================================== */
.custom-navbar {
    padding: 15px 0;
    background-color: #F16F63 !important;
}

.custom-navbar .nav-link {
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.navbar-brand-text {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-decoration: none !important;
}

/* ==========================================================================
   Desktop Split Layout Configurations (>= 992px)
   ========================================================================== */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-section-left {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    .nav-section-center {
        flex: 0 0 auto;
        text-align: center;
    }

    .nav-section-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        gap: 15px;
    }

    .search-box-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-input {
        background-color: rgba(0, 0, 0, 0.15);
        border: none;
        border-radius: 20px;
        color: #ffffff;
        padding: 4px 15px 4px 35px;
        font-size: 0.85rem;
        width: 160px;
        outline: none;
    }

    .search-icon {
        position: absolute;
        right: 12px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
    }

    .right-utilities-nav {
        flex-direction: row !important;
        align-items: center;
        gap: 5px;
    }

    .right-utilities-nav .nav-link {
        font-size: 1.05rem;
        padding: 0 5px !important;
    }

    .lang-selector .nav-link {
        font-size: 0.75rem !important;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .flag-img {
        width: 16px;
        height: auto;
        border-radius: 2px;
    }

    .nav-item.separator {
        width: 1px;
        height: 14px;
        background-color: rgba(255, 255, 255, 0.4);
        margin: 0 8px;
    }

    .custom-dropdown-menu {
        background-color: #fdf5e6 !important;
        border: none;
        border-radius: 0;
    }

    .custom-dropdown-menu .dropdown-item {
        color: #f16f63 !important;
        font-size: 0.8rem;
        font-weight: 600;
    }
    .custom-dropdown-menu .dropdown-item:hover {
        color: #ffffff !important;
    }
}

/* ==========================================================================
   Mobile Menu Drawer Styling
   ========================================================================== */
@media (max-width: 991.98px) {

    /* Transforms the collapsed area into a high-depth white modal block */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff !important;
        /* Forces pure white background */
        padding: 20px 25px;
        overflow-y: auto;
        z-index: 9999;
    }

    /* Top utility block structure inside the drawer */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 15px;
        margin-bottom: 25px;
    }

    .mobile-utils-left {
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
    }

    .mobile-utils-left .nav-link {
        color: #333333 !important;
        /* Converts top icons to dark grey */
        font-size: 1.2rem;
        padding: 0 4px !important;
    }

    .mobile-utils-left .lang-selector .nav-link {
        font-size: 0.9rem !important;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-utils-left .separator {
        width: 1px;
        height: 18px;
        background-color: #333333;
        margin: 0 4px;
    }

    /* Right-aligned 'X' closing button styling */
    .mobile-close-btn {
        background: transparent;
        border: none;
        font-size: 1.5rem;
        color: #000000;
        cursor: pointer;
        padding: 5px;
    }

    /* Main stacked list menu styling */
    .main-menu-links {
        flex-direction: column !important;
        width: 100%;
        gap: 15px;
    }

    .main-menu-links .nav-link {
        color: #ff6550 !important;
        /* Red-orange typography as requested */
        font-size: 1.6rem;
        font-weight: 500;
        letter-spacing: 2px;
        padding: 5px 0 !important;
    }

    /* Arrow indicators pointing right on text lists */
    .menu-arrow-icon {
        font-size: 1.1rem;
        color: #ff6550;
    }

    /* Embedded Promo Banner Card Block Styling */
    .mobile-menu-banner {
        margin-top: 35px;
        width: 100%;
        max-width: 324px;
    }

    .banner-img-wrapper {
        position: relative;
        width: 100%;
        border-radius: 4px;
        overflow: hidden;
    }

    .banner-img-wrapper img {
        width: 100%;
        filter: brightness(0.75);
        /* Darkens placeholder text slightly for readability */
    }

    /* Positions text and buttons elegantly atop the image frame */
    .banner-overlay-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #ffffff;
    }

    .banner-overlay-content h3 {
        font-size: 1.4rem;
        font-weight: 500;
        letter-spacing: 3px;
        margin-bottom: 5px;
    }

    .banner-overlay-content p {
        font-size: 0.75rem;
        font-weight: 300;
        line-height: 1.4;
        margin-bottom: 15px;
        opacity: 0.9;
    }

    .read-more-link {
        color: #ffffff !important;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-decoration: underline !important;
    }
}

/* ==========================================================================
   Perfected Floating Card Footer Configuration (Absolute X-Center Mode)
   ========================================================================== */

.perfect-footer-wrapper {
    position: relative;
    width: 100%;
    min-height: 380px;
    /* Fixed default canvas height to precisely match 1920x582 specification */
    overflow: hidden;
    font-family: 'Work Sans', sans-serif;
    background-color: #777777;
    /* Fallback safe background */
}

/* FIXED: This block shifts and locks the SVG/Image center coordinate directly to the viewport center */
.footer-raw-bg-centered {
    position: absolute;
    top: 0;
    left: 50%;
    /* Moves element left edge to screen center */
    transform: translateX(-50%);
    /* Pulls element back by half its width, forcing absolute X-axis center */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

/* Flex overlay designed to perfectly center the signature box container elements */
.footer-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

/* The signature Orange-Red Floating Card */
.footer-floating-card {
    padding: 65px 60px 50px 60px;
    color: #ffffff !important;
    width: 100%;
}

.card-contact-title {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
}

.card-social-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.card-social-links a {
    color: #ffffff !important;
    font-size: 1.5rem;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-social-links a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.card-copyright {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0;
}

.card-policy-navigation {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card-policy-navigation a {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.card-policy-navigation a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Responsive Adjustments (Mobile Handling Queries)
   ========================================================================== */
@media (max-width: 991.98px) {
    .perfect-footer-wrapper {
        min-height: auto;
    }

    .footer-content-overlay {
        position: relative;
        padding: 40px 0;
    }
}

@media (max-width: 767.98px) {
    .footer-floating-card {
        padding: 40px 30px;
    }

    .card-policy-navigation {
        margin-top: 35px;
        gap: 14px;
    }

    .card-policy-navigation a {
        font-size: 1rem;
    }

    .card-copyright {
        margin-top: 40px !important;
    }
}


/* ================ */

.owl-carousel {
    position: relative;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin-top: 0;
    pointer-events: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px !important;
    line-height: 38px !important;
    text-align: center;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav .owl-prev {
    left: 0px;
}

.owl-carousel .owl-nav .owl-next {
    right: 0px;
}


.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}