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

* Theme Name: Routex Child
*Theme URI: https://wp.rrdevs.net/routex/
* Author: RRdevs
* Author URI: https://themeforest.net/user/rrdevs
* Description: Routex - Immigration and Visa Consulting WordPress Theme 
* Version: 1.0.0
* Template: routex
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    /* Serious Corporate Fonts: Montserrat for Headings (Strong), Inter for Body (Neutral/Clean) */
    --rr-ff-body: 'Inter', sans-serif !important;
    --rr-ff-heading: 'Montserrat', sans-serif !important;
}

/* ========================================================= */
/* DESKTOP COMPACT MODE (Simulated 67-80% zoom look)         */
/* ========================================================= */
@media only screen and (min-width: 992px) {
    :root {
        /* Reduce Typography */
        --rr-fs-h1: 54px !important;
        --rr-fs-h2: 38px !important;
        --rr-fs-h3: 26px !important;
        --rr-fs-h4: 20px !important;
        --rr-fs-body: 14.5px !important;
    }

    /* Tighten Container */
    .container {
        max-width: 1200px !important;
    }

    /* Reduce Header & Logo Scale */
    .header--slim .header__main {
        height: 62px !important;
    }
    .header--slim .header__logo img {
        max-height: 30px !important;
    }
    .header--slim .main-menu nav > ul > li > a {
        padding: 5px 18px !important;
        font-size: 12.5px !important;
    }

    /* Reduce Global Spacing Utilities (approx 30% reduction) */
    .pt-120 { padding-top: 80px !important; }
    .pb-120 { padding-bottom: 80px !important; }
    .pt-110 { padding-top: 75px !important; }
    .pb-110 { padding-bottom: 75px !important; }
    .pt-100 { padding-top: 65px !important; }
    .pb-100 { padding-bottom: 65px !important; }
    .pt-90  { padding-top: 60px !important; }
    .pb-90  { padding-bottom: 60px !important; }
    .pt-80  { padding-top: 55px !important; }
    .pb-80  { padding-bottom: 55px !important; }
    .section-space { padding: 80px 0 !important; }

    /* Testimonial Layout 3 Desktop Overlap */
    .testimonial__area .testimonial__media {
        width: 130% !important;
        position: relative !important;
        right: 28% !important;
        z-index: 1;
    }
}



/* =============================================
   Header Styles - Slim + Glass Effect
   ============================================= */

/* ---- Glass/Blur effect on header (Dark Glass / Effet Verre) ---- */
.header__area.header--slim {
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(8, 20, 50, 0.38) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1),
               inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    position: relative;
    z-index: 999;
}

/*my mofications*/
#need_remove .choose-us__media-thumb-circle.spin {
    animation-play-state: paused !important;
    animation: auto ease 0s 1 normal none running none !important;
}
#need_remove .choose-us__button {
    display: none !important;
}
#project .counter__bg {
    margin-top: 12px !important;
}
#equipe .about-4__box-item{
    display: none !important;
}
#equipe .about-us-2__wrapper.about-4__wrapper.wow.fadeInLeft.animated{
   display: none !important;
}
#equipe > div > section > div > div > div:nth-child(1){
    display: none !important;
}

/* Apply same style to #equipe_services but with col-12 adjustment */
#equipe_services .about-4__box-item,
#equipe_services .about-us-2__wrapper.about-4__wrapper.wow.fadeInLeft.animated,
#equipe_services > div > section > div > div > div:nth-child(1) {
    display: none !important;
}

#equipe_services > div > section > div > div > div:nth-child(2) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
#confiance > div > section > div > div:nth-child(2){
    display: none!important;
}
#confiance .section-space{
    padding-bottom: 0px!important;
}
/*contact*/
#information .rr-fea-product__tab.rr-fea-product__tab-3.product-filter-area-review.mb-60 {
    display: none;
}
/**/
#first_section .section-space {
    padding-top: 0px !important;
}
#first_section .section-space-top{
    padding-top: 0px !important;
}
body:has(#first_section) .pt-120 {
    padding-top: 0px;
}
.cta__media-icon {
    width: 90px !important;
    height: 90px !important;
}
/*#header-sticky {
    margin-top: -6px !important;
}*/
.section-slider-title-3-button-right {
   background: #f0f3f5 !important;
}
.elementor-3242 .elementor-element.elementor-element-492dad2 > .elementor-widget-container {
    border-radius: 50px 50px 0 0 !important;
}

/*end my*/
/* When sticky, keep the dark glass/verre effect */
.header__area.header--slim.rs-sticky {
    background: rgba(8, 20, 50, 0.50) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12),
               inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* ========================================================= */
/* HEADER 1 SPECIAL VERSION - WHITE GLASS                    */
/* ========================================================= */

/* Header Background (Light Glass) */
.header__area.header-1.header--slim,
.header__area.header-1.header--slim.header-sticky {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 25px rgba(8, 20, 50, 0.06) !important; /* Visible shadow on white background */
}

/* Nav Link Color (Primary Blue) */
.header-1.header--slim .main-menu nav>ul>li>a {
    color: #0E3877 !important;
}

/* Header 1 Hover - Subtle dark shadow instead of white glow */
.header-1.header--slim .main-menu nav>ul>li>a:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--rr-theme-primary) !important; /* Use theme primary on hover for extra pop */
}

/* Mobile Icon (Hamburger) for Header 1 */
.header-1.header--slim .offcanvas__toggle span,
.header-1.header--slim .offcanvas__toggle span::before,
.header-1.header--slim .offcanvas__toggle span::after {
    background-color: #0E3877 !important;
}

/* Right side icons/buttons for Header 1 */
.header-1.header--slim .header__main-right .search__open-icon i,
.header-1.header--slim .header__main-right .offcanvas-toggle i {
    color: #0E3877 !important;
}

/* ========================================================= */
/* HEADER 4 SPECIAL VERSION - DYNAMIC GLASS/TRANSPARENT      */
/* ========================================================= */

/* Base Overlay & Layout (Shared for both modes) */
.header__area.header-4.header--slim {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999 !important;
    transition: background 0.3s ease, backdrop-filter 0.3s ease !important;
}

/* Glass Effect Background (Fallback when transparency is OFF, or when Sticky) */
/* This look is "Identique à Sticky" as requested */
.header__area.header-4.header--slim,
.header__area.header-4.header--slim.rs-sticky {
    background: rgba(8, 20, 50, 0.25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Sticky Overrides */
.header__area.header-4.header--slim.rs-sticky {
    position: fixed !important;
}

/* GHOST/TRANSPARENT MODE (Enabled via Customizer, only for non-sticky state) */
body.h4-transparent .header__area.header-4.header--slim:not(.rs-sticky) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}



/* Remove parent backgrounds
.header--slim.white-bg,
.header--slim.gray-bg {
    background: transparent !important;
} */

.header--slim .mega__menu-wrapper {
    padding: 0 !important;
}

.header--slim .header-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---- Header sizing (balanced - not too thin) ---- */
.header--slim .header__main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: 70px !important;
    display: flex;
    align-items: center;
}

.header--slim .header__logo {
    padding: 0 !important;
    margin: 0 !important;
}

.header--slim .header__logo img {
    max-height: 36px !important;
    width: auto !important;
}


/* ---- Navigation links ---- */
.header--slim .main-menu {
    padding-left: 100px !important;
}

.header--slim .main-menu nav>ul {
    display: flex;
    align-items: center;
    gap: 2px !important;
}

.header--slim .main-menu nav>ul>li {
    margin: 0 !important;
}

/* Default nav link — white text on dark glass */
.header--slim .main-menu nav>ul>li>a {
    padding: 7px 25px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    border-radius: 50px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
}

/* Hover — subtle white glow */
.header--slim .main-menu nav>ul>li>a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* ===== PILL MODE (enabled via Customizer) ===== */
/* Active / current page — Theme Color pill */
.nav-pills-enabled .header--slim .main-menu nav>ul>li.current-menu-item>a,
.nav-pills-enabled .header--slim .main-menu nav>ul>li.current-menu-parent>a,
.nav-pills-enabled .header--slim .main-menu nav>ul>li.active>a {
    background: var(--rr-theme-primary) !important;
    border-color: var(--rr-theme-primary) !important;
    color: #ffffff !important;
}

.nav-pills-enabled .header--slim .main-menu nav>ul>li.current-menu-item>a:hover,
.nav-pills-enabled .header--slim .main-menu nav>ul>li.current-menu-parent>a:hover {
    background: var(--rr-theme-primary) !important;
    border-color: var(--rr-theme-primary) !important;
    color: #ffffff !important;
    filter: brightness(1.15);
}

/* ===== NO-PILL MODE (when disabled) ===== */
/* Active just shows brighter white text */
body:not(.nav-pills-enabled) .header--slim .main-menu nav>ul>li.current-menu-item>a,
body:not(.nav-pills-enabled) .header--slim .main-menu nav>ul>li.current-menu-parent>a,
body:not(.nav-pills-enabled) .header--slim .main-menu nav>ul>li.active>a {
    background: transparent !important;
    border-color: transparent !important;
    color: #ffffff !important;
    border-bottom: none !important; /* Removed underline as requested */
    border-radius: 0 !important;
}

/* Ensure Header 1 (White Glass) stays dark blue even in no-pill mode */
body:not(.nav-pills-enabled) .header-1 .main-menu nav>ul>li.current-menu-item>a,
body:not(.nav-pills-enabled) .header-1 .main-menu nav>ul>li.current-menu-parent>a,
body:not(.nav-pills-enabled) .header-1 .main-menu nav>ul>li.active>a {
    color: #0E3877 !important;
}

/* Sticky — keep same dark glass style */
.header__area.header--slim.header-sticky .main-menu nav>ul>li>a {
    background: transparent !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.header__area.header--slim.header-sticky .main-menu nav>ul>li>a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Sticky pill mode */
.nav-pills-enabled .header__area.header--slim.header-sticky .main-menu nav>ul>li.current-menu-item>a,
.nav-pills-enabled .header__area.header--slim.header-sticky .main-menu nav>ul>li.current-menu-parent>a {
    background: var(--rr-theme-primary) !important;
    border-color: var(--rr-theme-primary) !important;
    color: #ffffff !important;
}

/* Sticky no-pill mode */
body:not(.nav-pills-enabled) .header__area.header--slim.header-sticky .main-menu nav>ul>li.current-menu-item>a,
body:not(.nav-pills-enabled) .header__area.header--slim.header-sticky .main-menu nav>ul>li.current-menu-parent>a {
    background: transparent !important;
    border-color: transparent !important;
    color: #ffffff !important;
    border-bottom: none !important; /* Removed underline */
    border-radius: 0 !important;
}

/* Sticky Header 1 color logic */
body:not(.nav-pills-enabled) .header-1.header-sticky .main-menu nav>ul>li.current-menu-item>a {
    color: #0E3877 !important;
}


/* ========================================================= */
/* PROCESS LAYOUT 3 - FIGMA ALIGNMENT (Horizontal Design)    */
/* ========================================================= */

/* Card wrapper layout */
.overview__item {
    background: #ffffff !important;
    padding: 20px !important; 
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important; 
    gap: 20px !important; 
    flex-wrap: nowrap !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    height: auto !important;
}

/* Blue Icon Box Style */
.overview__icon {
    flex: 0 0 auto !important;
    width: 90px !important; /* Balanced size */
    height: 90px !important;
    border-radius: 10px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1B56CA !important; /* Original blue or theme default */
}

/* Icon Box Number */
.overview__icon-number {
    position: absolute !important;
    top: 6px !important;
    left: 8px !important;
    z-index: 2;
}

.overview__icon-number span {
    font-size: 14px !important; 
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.6) !important; /* White and subtle */
    line-height: 1 !important;
}

/* Ensure icon inside is centered and sized well */
.overview__icon img,
.overview__icon i,
.overview__icon svg {
    max-width: 44px !important;
    height: auto !important;
    position: relative;
    z-index: 1;
}

/* Text alignment (Title + Description) */
.overview__text {
    flex: 1 1 auto;
    text-align: left;
    margin-top: 0 !important; 
}

/* Title formatting - RESTORING COLORS */
.overview__text-title {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-size: 18px !important; 
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

/* Paragraph spacing - RESTORING COLORS */
.overview__text p {
    font-size: 14.5px !important; 
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

/* Responsive vertical stacking for Mobile & Tablet */
@media (max-width: 991px) {
    .overview__item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
}

/* ========================================================= */
/* FACT LAYOUT 3 (cta__box) - RECTANGULAR & COMPACT          */
/* ========================================================= */
.cta__counter .cta__box {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    padding: 18px 20px !important; /* REDUCED height to maintain rectangle shape */
    gap: 15px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.cta__counter .cta__box-icon {
    flex: 0 0 auto !important;
    width: 52px !important; /* Scaled down icon */
    height: 52px !important;
    margin: 0 !important; 
}

.cta__counter .cta__box-text {
    flex: 1 1 auto !important;
    min-width: 0 !important; 
    width: 100% !important;
    text-align: left !important;
}

.cta__counter .cta__count-title {
    display: inline-block !important;
    white-space: nowrap !important;
    font-size: 32px !important; /* Scaled down number */
    line-height: 1 !important;
    margin-bottom: 2px !important;
    font-weight: 800 !important;
}

.cta__box-text p {
    margin: 0 !important;
    font-size: 13.5px !important; /* Scaled down label */
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

/* Align Video with Fact box height */
@media only screen and (min-width: 992px) {
    .cta__thumb, 
    .cta__thumb img {
        height: 255px !important; /* Forces balance with the 2x2 fact grid */
        object-fit: cover !important;
        border-radius: 12px !important;
    }
}

/* ========================================================= */
/* TESTIMONIAL LAYOUT 3 - COMPACT MODE (Desktop only)        */
/* ========================================================= */
@media only screen and (min-width: 992px) {
    .testimonial__content-3 {
        margin-right: -50px !important; /* Reduced from -110px for better alignment */
        border-radius: 20px !important;
    }

    .testimonial__content-3-text {
        padding: 40px 45px !important; /* Reduced from 60px */
    }

    .testimonial__content-3-text p {
        font-size: 18px !important; /* SIGNIFICANT reduction from 29px */
        line-height: 1.6 !important; /* More professional spacing */
        font-family: var(--rr-ff-body) !important;
        margin-bottom: 25px !important;
    }

    /* Scaling background quote marks */
    .testimonial__bg-img {
        width: 170px !important; /* Reduced from 334px */
        height: 130px !important; /* Reduced from 261px */
        opacity: 0.08 !important; /* More subtle */
        top: 35px !important;      /* Re-aligned to match compact padding */
        right: 45px !important;    /* Re-aligned to match compact padding */
        background-size: contain !important;
    }

    /* Scaling Testimonial Side Image */
    .testimonial__media img.height-611 {
        height: 420px !important; /* Reduced from 611px to match compact card */
        object-fit: cover !important;
        border-radius: 20px !important;
    }

    /* Scaling Author Info */
    .testimonial__content-text-title-img {
        width: 55px !important;
        height: 55px !important;
    }

    .testimonial__content-3-text-name h6 {
        font-size: 17.5px !important; /* Reduced from 22px */
        margin-bottom: 2px !important;
    }

    .testimonial__content-3-text-name span {
        font-size: 13.5px !important; /* Reduced from 16px */
    }

    /* Scaling Navigation Buttons */
    .section-slider-title-7-button-2 {
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .section-slider-title-7-button-2 .section-slider-title-7-button-right {
        width: 44px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-size: 14px !important;
    }
}

/* ========================================================= */
/* RR SERVICES (Layout 2 & 3) - COMPACT MODE (Desktop only)  */
/* ========================================================= */
@media only screen and (min-width: 992px) {
    /* Layout 2 & 3 Card Box */
    .visa-catagory__item.services-box,
    .service__box.services-box {
        padding: 30px 25px !important; /* Reduced from 40px/50px */
        border-radius: 12px !important;
        margin-bottom: 20px !important; 
        min-height: 250px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Ensures content centers properly in layout 3 */
    }

    /* Target the icon circle */
    .visa-catagory__item-icon,
    .service__icon {
        width: 65px !important; /* Reduced from 100px */
        height: 65px !important;
        margin-bottom: 20px !important;
    }

    /* Shrink the icon inside the circle */
    .visa-catagory__item-icon svg,
    .visa-catagory__item-icon img,
    .visa-catagory__item-icon span i,
    .service__icon svg,
    .service__icon img,
    .service__icon span i {
        transform: scale(0.65) !important; 
        transform-origin: center center !important;
    }

    /* Card Title */
    .visa-catagory__title,
    .service__title {
        font-size: 17px !important; /* Reduced from 22px */
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        margin-top: 5px !important;
    }

    /* Card Paragraph */
    .visa-catagory__item-content p,
    .service__box-paragraph {
        font-size: 13px !important; /* Reduced from 16px */
        line-height: 1.5 !important;
    }

    /* Constrain Layout 3 Background Graphic */
    .service__bg-img {
        width: 35vw !important; /* Scale dynamically with viewport */
        max-width: 500px !important; 
        height: 100% !important; /* Fill height */
        background-size: cover !important;
        background-position: right top !important; /* Anchor cleanly to the right */
        opacity: 0.65 !important; /* Fade slightly so it doesn't clash */
    }

    /* Target the slider buttons so they align correctly */
    .section-slider-title-4-button {
        position: relative !important;
        z-index: 10 !important;
        transform: translateY(15px) !important; /* Slightly lower them to perfectly align with the title text baseline */
    }

    /* Wrap the entire section in a smaller floating box to expose the edges */
    .service__area.custom-width,
    .overview__area.custom-width {
        max-width: 1280px !important; /* Force the 1825px down to simulate the 67% scale */
        margin: 0 auto !important;
        border-radius: 30px !important; /* Ensure the rounded edges are visible */
    }

    /* Constrain Notre Processus Items */
    .overview__item {
        padding: 8px !important; /* Tighter internal padding */
        border-radius: 12px !important;
    }
    
    .overview__icon {
        width: 100px !important; /* Reduced from 160px */
        height: 105px !important; /* Reduced from 168px */
        border-radius: 8px !important;
    }

    .overview__icon svg,
    .overview__icon img,
    .overview__icon i {
        transform: scale(0.65) !important; /* Shrink inner graphic */
    }

    .overview__text-title {
        font-size: 16px !important; /* Reduced from 18px */
        margin-bottom: 8px !important;
    }

    .overview__text p {
        font-size: 13px !important; /* Reduced from 16px */
        line-height: 1.5 !important;
    }

    /* Constrain Layout 2 Thumbnail */
    .visa-catagory__thumb-media img {
        height: auto !important;
        min-height: 400px !important;
        max-height: 500px !important;
    }
}


/* ========================================================= */
/* ABOUT LIST (Accueil) - RESTORE SIDE-BY-SIDE LAYOUT        */
/* ========================================================= */
@media only screen and (min-width: 992px) {
    .about__box.d-flex {
        flex-wrap: nowrap !important;
        gap: 30px !important;
        align-items: flex-start !important;
    }
    
    .about__box-item {
        flex: 1 !important;
        max-width: 50% !important;
        margin-bottom: 0 !important;
    }
}

.about__box-item-title {
    white-space: nowrap !important;
}


/* ---- Submenu arrow alignment ---- */
.header--slim .main-menu ul>li>a .dropdown-icon,
.header--slim .main-menu ul>li>a i,
.header--slim .main-menu ul>li>a::after {
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 4px !important;
    font-size: 11px !important;
    position: static !important;
    transform: none !important;
    top: auto !important;
    color: inherit !important;
}

/* ---- Header right actions ---- */
.header--slim .header__action {
    gap: 14px !important;
}

.header--slim .header-2-icon svg {
    width: 38px !important;
    height: 38px !important;
}

/* White icons & text for dark header */
.header--slim .header-2-icon svg path,
.header--slim .header-2-icon svg line,
.header--slim .header-2-icon svg circle {
    stroke: #ffffff !important;
}

.header--slim .header__action .text span {
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.header--slim .header__action .text h4,
.header--slim .header__action .text h4 a {
    font-size: 14px !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
}

.header--slim .rr-btn {
    padding: 10px 22px !important;
    font-size: 13px !important;
    border-radius: 50px !important;
}

.header--slim .header__hamburger {
    margin-left: 12px !important;
}

/* =============================================
   Submenu / Dropdown Styles
   ============================================= */

/* Main dropdown container */
.header--slim .main-menu ul>li .submenu,
.header--slim .main-menu ul>li>ul {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 10px 0 !important;
    min-width: 220px !important;
    margin-top: 0 !important;
    overflow: hidden;
    animation: submenuFadeIn 0.25s ease-out !important;
}

/* Submenu items */
.header--slim .main-menu ul>li .submenu li,
.header--slim .main-menu ul>li>ul>li {
    border-bottom: none !important;
}

.header--slim .main-menu ul>li .submenu li a,
.header--slim .main-menu ul>li>ul>li a {
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #2d3436 !important;
    transition: all 0.25s ease !important;
    display: block;
    border-left: 3px solid transparent !important;
}

/* Submenu hover */
.header--slim .main-menu ul>li .submenu li a:hover,
.header--slim .main-menu ul>li>ul>li a:hover {
    background: rgba(14, 56, 119, 0.08) !important;
    color: #0e3877 !important;
    border-left-color: #0e3877 !important;
    padding-left: 28px !important;
}

/* Submenu active */
.header--slim .main-menu ul>li .submenu li.current-menu-item>a,
.header--slim .main-menu ul>li>ul>li.current-menu-item>a {
    color: #0e3877 !important;
    border-left-color: #0e3877 !important;
}

/* Submenu fade-in animation */
@keyframes submenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

/* =============================================
   Mega menu adjustments
   ============================================= */
.header--slim .main-menu ul>li .mega-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* =============================================
   Breadcrumb / Page Title Area (Island Style)
   ============================================= */

/* Main container overrides */
.breadcrumb__area {
    /* Box layout / Island shape (ensures margins on all screens) */
    max-width: 1400px !important;
    width: calc(100% - 60px) !important;
    margin: 40px auto 60px auto !important;
    border-radius: 24px !important;

    /* Inner spacing override (slimmer cinematic look) */
    padding-top: 70px !important;
    padding-bottom: 70px !important;

    /* Elevation / Cinematic feel */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Ensure Customizer overlay color respects border styling */
.breadcrumb__area::before,
.breadcrumb__area::after {
    border-radius: 24px !important;
}

/* Hide any theme-generated overlay shapes */
.breadcrumb__area .banner-all-shape-wrapper,
.breadcrumb__area .inner-top-shape {
    display: none !important;
}

/* Ensure text is clearly legible and properly sized */
.breadcrumb__area .breadcrumb__title,
.breadcrumb__area .breadcrumb__title-wrapper h1 {
    color: #ffffff !important;
    font-size: 42px !important;
    margin-bottom: 10px !important;
}

.breadcrumb__area .breadcrumb__menu,
.breadcrumb__area .breadcrumb__menu a,
.breadcrumb__area .breadcrumb__menu span {
    color: #ffffff !important;
}

/* Breadcrumb link hover effect */
.breadcrumb__area .breadcrumb__menu a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ---- Responsive adjustments for mobile ---- */
@media (max-width: 767px) {
    .breadcrumb__area {
        width: calc(100% - 30px) !important;
        margin: 20px auto 30px auto !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        border-radius: 16px !important;
    }

    .breadcrumb__area::before,
    .breadcrumb__area::after {
        border-radius: 16px !important;
    }

    .breadcrumb__area .breadcrumb__title,
    .breadcrumb__area .breadcrumb__title-wrapper h1 {
        font-size: 32px !important;
        margin-bottom: 5px !important;
    }
}

/* =============================================
   Testimonial Slider (Figma Match for Layout 4)
   ============================================= */

/* Main Swiper Container */
.neologix-testimonial-swiper {
    padding-bottom: 20px !important; /* Space for pagination */
}

/* Testimonial Card Styling */
.neologix-testimonial-swiper .story__content {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    padding: 40px 30px !important;
    margin-bottom: 0 !important;
    height: 100% !important;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0,0,0,0.02) !important;
}

.neologix-testimonial-swiper .story__content:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

/* Quote Icon Margin */
.neologix-testimonial-swiper .story__content-icon {
    margin-bottom: 25px !important;
}

/* Pagination Styling */
.neologix-testimonial-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background-color: #d1d5db !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.neologix-testimonial-pagination .swiper-pagination-bullet-active {
    width: 25px !important;
    border-radius: 5px !important;
    background-color: #0e3877 !important;
}

/* =============================================
   Offre Details - Single Page
   ============================================= */

/* ---- Hero Section ---- */
.offre-hero {
    background: #0e3877;
    position: relative;
    overflow: hidden;
}

.offre-hero__bg {
    padding: 80px 0 60px;
    position: relative;
    border-radius: 0 0 30px 30px;
    background: linear-gradient(135deg, #0e3877 0%, #1a4fa0 100%);
}

.offre-hero__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.offre-hero__title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.offre-hero__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.offre-hero__meta-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.offre-hero__meta-item i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ---- Main Content Area ---- */
.offre-details {
    padding-top: 60px;
    padding-bottom: 80px;
    background: #f8f9fa;
}

.offre-details__content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.offre-details__content h2,
.offre-details__content h3,
.offre-details__content h4 {
    color: #1a1a2e;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.offre-details__content h2 { font-size: 26px; }
.offre-details__content h3 { font-size: 22px; }
.offre-details__content h4 { font-size: 18px; }

.offre-details__content h2:first-child,
.offre-details__content h3:first-child,
.offre-details__content h4:first-child {
    margin-top: 0;
}

.offre-details__content p {
    color: #4a4a68;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.offre-details__content ul,
.offre-details__content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.offre-details__content li {
    color: #4a4a68;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
    position: relative;
}

.offre-details__content ul li::marker {
    color: #0e3877;
}

/* ---- Sidebar ---- */
.offre-sidebar {
    position: sticky;
    top: 100px;
}

/* ---- Apply Card ---- */
.offre-sidebar__card {
    background: #F0F3F5 !important;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.offre-sidebar__card--apply {
    border: 1px solid #e8edf3;
}

.offre-sidebar__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.offre-sidebar__card-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.offre-sidebar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--rr-theme-primary) !important;
    color: #ffffff !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.offre-sidebar__btn:hover {
    background: var(--rr-theme-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    color: #ffffff !important;
    filter: brightness(1.15);
}

.offre-sidebar__btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.offre-sidebar__btn:hover i {
    transform: translateX(4px);
}

/* Force pure white on meta items text, and custom blue on their icons */
.offre-meta-item {
    color: #ffffff !important;
}

.offre-meta-item i {
    color: #8EC5FF !important;
}

/* ---- Details Rows ---- */
.offre-sidebar__details {
    border-top: 1px solid #f0f0f5;
    padding-top: 20px;
}

.offre-sidebar__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8fb;
}

.offre-sidebar__detail-row:last-child {
    border-bottom: none;
}

.offre-sidebar__detail-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.offre-sidebar__detail-value {
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 600;
}

/* ---- Help Card ---- */
.offre-sidebar__card--help {
    text-align: center;
    background: #F0F3F5 !important;
    border: none;
    border-radius: 16px;
    padding: 35px 25px;
}

.offre-sidebar__card--help .offre-sidebar__card-title {
    color: #1a3561;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.offre-sidebar__help-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #2b6ce6;
    border: 1px solid #2b6ce6;
    box-shadow: inset 0 0 0 3px #F0F3F5; /* Matches the new card background to create the white ring effect */
    display: flex;
    align-items: center;
    justify-content: center;
}

.offre-sidebar__help-icon.has-custom-icon {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.offre-sidebar__help-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or contain depending on image uploaded */
    border-radius: 50%;
}

.offre-sidebar__help-icon i {
    font-size: 28px;
    color: #ffffff;
}

.offre-sidebar__help-text {
    color: #3b4e6d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.offre-sidebar__phone {
    color: #1a3561 !important;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: block;
}

.offre-sidebar__phone:hover {
    color: #2b6ce6 !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .offre-hero__bg {
        padding: 60px 0 40px;
    }
    .offre-hero__title {
        font-size: 28px;
    }
    .offre-hero__meta {
        gap: 16px;
    }
    .offre-details__content {
        padding: 24px;
        margin-bottom: 24px;
    }
    .offre-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .offre-hero__bg {
        padding: 40px 0 30px;
        border-radius: 0 0 20px 20px;
    }
    .offre-hero__title {
        font-size: 22px;
    }
    .offre-hero__meta {
        flex-direction: column;
        gap: 10px;
    }
    .offre-sidebar__card {
        padding: 20px;
    }
}

/* =============================================
   Blog Grid - Card Design (Neologix)
   ============================================= */

/* Reset article layout from parent theme */
.blog-4 .blog__details-content {
    display: block !important;
}

.blog-4 .nl-blog-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* ─── Neutralize parent theme article styles ─── */
.blog-4 article.nl-blog-card,
article.nl-blog-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
    border: 1px solid #eeeff4 !important;
    margin-bottom: 28px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    float: none !important;
    position: relative !important;
}

article.nl-blog-card:hover {
    box-shadow: 0 10px 36px rgba(14, 56, 119, 0.13) !important;
    transform: translateY(-3px) !important;
}

/* ─── Thumbnail ─── */
article.nl-blog-card .nl-blog-card__thumb {
    position: relative !important;
    display: block !important;
    flex-shrink: 0 !important;
    width: 260px !important;
    min-height: 200px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    border-radius: 0 !important;
}

article.nl-blog-card .nl-blog-card__img,
article.nl-blog-card .nl-blog-card__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.5s ease !important;
    margin: 0 !important;
}

article.nl-blog-card:hover .nl-blog-card__img,
article.nl-blog-card:hover .nl-blog-card__thumb img {
    transform: scale(1.06) !important;
}

/* ─── Category badge on image ─── */
article.nl-blog-card .nl-blog-card__cat {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: #0e3877 !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.7px !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    z-index: 2 !important;
    white-space: nowrap !important;
}

/* ─── Card body ─── */
article.nl-blog-card .nl-blog-card__body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 24px 28px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* ─── Meta row ─── */
article.nl-blog-card .nl-blog-card__meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

article.nl-blog-card .nl-blog-card__meta-item,
article.nl-blog-card .nl-blog-card__meta-item a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    color: #0e3877 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

article.nl-blog-card .nl-blog-card__meta-item a:hover {
    color: #0e3877 !important;
}

/* ─── Title (h2) ─── */
article.nl-blog-card .nl-blog-card__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    color: #1a1a2e !important;
}

article.nl-blog-card .nl-blog-card__title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
    display: block !important;
}

article.nl-blog-card .nl-blog-card__title a:hover {
    color: #0e3877 !important;
}

/* ─── Excerpt ─── */
article.nl-blog-card .nl-blog-card__excerpt {
    font-size: 13.5px !important;
    color: #6b7280 !important;
    line-height: 1.7 !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* ─── CTA button ─── */
article.nl-blog-card .nl-blog-card__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 20px !important;
    background: #0e3877 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    align-self: flex-start !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: auto !important;
}

article.nl-blog-card .nl-blog-card__btn:hover {
    background: #1a4fa0 !important;
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    article.nl-blog-card {
        flex-direction: column !important;
    }

    article.nl-blog-card .nl-blog-card__thumb {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
    }

    article.nl-blog-card .nl-blog-card__body {
        padding: 20px !important;
    }

    article.nl-blog-card .nl-blog-card__title {
        font-size: 16px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    article.nl-blog-card .nl-blog-card__thumb {
        width: 200px !important;
    }
}


/* Standard line-clamp for excerpt (with -webkit- fallback above) */
article.nl-blog-card .nl-blog-card__excerpt {
    line-clamp: 3;
}

/* =============================================
   Single Post - Content Design (Neologix)
   ============================================= */

/* Main content wrapper */
.nl-single-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

/* Post Title */
.nl-single-content__title {
    font-size: 32px;
    line-height: 1.3;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

/* Body Text Formatting */
.nl-single-content__entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #4a5568;
}

.nl-single-content__entry-content p {
    margin-bottom: 24px;
}

/* Headings inside content */
.nl-single-content__entry-content h2,
.nl-single-content__entry-content h3,
.nl-single-content__entry-content h4 {
    color: #1a1a2e;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.nl-single-content__entry-content h2 { font-size: 26px; }
.nl-single-content__entry-content h3 { font-size: 22px; }
.nl-single-content__entry-content h4 { font-size: 19px; }

/* Blockquotes */
.nl-single-content__entry-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #0e3877;
    padding: 24px 32px;
    margin: 32px 0;
    font-size: 19px;
    font-style: italic;
    color: #1a1a2e;
    border-radius: 0 12px 12px 0;
}

.nl-single-content__entry-content blockquote p {
    margin-bottom: 0;
}

/* Lists */
.nl-single-content__entry-content ul,
.nl-single-content__entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.nl-single-content__entry-content li {
    margin-bottom: 10px;
}

/* Images & Galleries */
.nl-single-content__entry-content img,
.nl-single-content__entry-content figure {
    border-radius: 12px;
    margin: 32px 0;
    max-width: 100%;
    height: auto;
}

/* Footer (Tags & Social) */
.nl-single-content__footer {
    border-top: 1px solid #e2e8f0;
}

.nl-single-content__tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-size: 14px;
    margin-right: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.nl-single-content__tags a:hover {
    background: #0e3877;
    color: #fff;
}

.nl-single-content__social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.nl-single-content__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8fafc;
    color: #1e293b;
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.nl-single-content__social a:hover {
    background: #0e3877;
    color: #fff;
    border-color: #0e3877;
}

/* Responsive */
@media (max-width: 767px) {
    .nl-single-content {
        padding: 24px;
    }
    .nl-single-content__title {
        font-size: 24px;
    }
    .nl-single-content__entry-content h2 { font-size: 22px; }
    .nl-single-content__entry-content h3 { font-size: 20px; }
    .nl-single-content__entry-content blockquote {
        padding: 20px;
        font-size: 17px;
    }
}

/* Contact Form Tab Map Embedded - Balanced Layout Fix */
@media (min-width: 992px) {
    .rr-fea-product {
        display: flex !important;
        align-items: stretch !important; /* Forces columns to same height */
        gap: 60px !important;
    }

    .rr-fea-product .media-content {
        flex: 1 !important;
        margin-bottom: 0 !important;
    }

    .rr-fea-product .tab-content.has-map {
        flex: 1 !important;
        max-width: none !important;
        margin: 0 !important;
        width: auto !important;
    }

    .rr-contact-map {
        width: 100% !important;
        height: 100% !important;
        padding-bottom: 0 !important; /* Removed fixed ratio hack */
        min-height: 220px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .rr-contact-map iframe {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
    }

    .rr-fea-product .media-content.has--line::before {
        height: 80% !important;
        top: 10% !important;
        right: -30px !important;
        background: #e3dbd8 !important;
    }
}

/* Fallback for smaller screens */
@media (max-width: 991px) {
    .rr-contact-map {
        padding-bottom: 60% !important;
        height: 0 !important;
    }
}
    
/* Experience Box Fixes (Specific to Layout 1) */
.choose-us__text.rr-el-experience-box {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
    width: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.choose-us__text.rr-el-experience-box h3, 
.choose-us__text.rr-el-experience-box .counter__item-title {
    margin-bottom: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

/* Force Odometer digits to stay together */
.choose-us__text.rr-el-experience-box .odometer {
    display: inline-flex !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.choose-us__text.rr-el-experience-box .odometer-digit {
    display: inline-block !important;
    vertical-align: middle !important;
}

.choose-us__text.rr-el-experience-box p {
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

/* Fact Section Layout Alignment (A-Propos) */
.faq__area .row {
    align-items: stretch !important;
}

.faq__area .col-md-8 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.faq__area .faq__content {
    flex-grow: 1 !important;
    margin-bottom: 30px !important;
}

.faq__area .counter__bg {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.faq__area .faq__media {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.faq__area .faq__media img {
    height: 100% !important;
    object-fit: cover !important;
    flex-grow: 1 !important;
}

/* =============================================
   Candidature Spontanée Form Styles
   ============================================= */

/* ── Form Container ── */
.nl-candidature-form {
    padding: 0;
}

/* ── Row layout ── */
.nl-candidature-form .nl-form-row {
    margin-bottom: 20px;
}

.nl-candidature-form .nl-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 575px) {
    .nl-candidature-form .nl-form-row--2col {
        grid-template-columns: 1fr;
    }
}

/* ── Labels ── */
.nl-candidature-form label {
    display: block;
    font-family: var(--rr-ff-heading, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* ── Form field wrapper ── */
.nl-candidature-form .nl-form-field {
    position: relative;
}

/* ── Input & Select base styling ── */
.nl-candidature-form input[type="text"],
.nl-candidature-form input[type="tel"],
.nl-candidature-form input[type="email"],
.nl-candidature-form input[type="url"],
.nl-candidature-form select,
.nl-candidature-form textarea {
    width: 100%;
    padding: 14px 45px 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--rr-ff-body, 'Inter', sans-serif);
    font-size: 14px;
    font-weight: 400;
    color: #334155;
    background: #ffffff;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.nl-candidature-form input[type="text"]:focus,
.nl-candidature-form input[type="tel"]:focus,
.nl-candidature-form input[type="email"]:focus,
.nl-candidature-form input[type="url"]:focus,
.nl-candidature-form select:focus,
.nl-candidature-form textarea:focus {
    border-color: var(--rr-theme-primary, #0e3877);
    box-shadow: 0 0 0 3px rgba(14, 56, 119, 0.08);
}

.nl-candidature-form input::placeholder,
.nl-candidature-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* ── Select dropdown arrow ── */
.nl-candidature-form select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    cursor: pointer;
}

/* ── Field icon (right side) ── */
.nl-candidature-form .nl-field-icon {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: var(--rr-theme-primary, #0e3877);
    font-size: 14px;
    pointer-events: none;
    opacity: 0.6;
}

.nl-candidature-form .nl-field-icon--textarea {
    bottom: auto;
    top: 46px;
}

/* ── Textarea ── */
.nl-candidature-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* ── File upload area ── */
.nl-candidature-form .nl-file-upload-area {
    position: relative;
    border: 2px dashed #d1d9e6;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    transition: border-color 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.nl-candidature-form .nl-file-upload-area:hover {
    border-color: var(--rr-theme-primary, #0e3877);
    background: #f0f4ff;
}

.nl-candidature-form .nl-file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.nl-candidature-form .nl-file-upload-text {
    pointer-events: none;
}

.nl-candidature-form .nl-file-upload-text i {
    font-size: 28px;
    color: #94a3b8;
    margin-bottom: 10px;
    display: block;
}

.nl-candidature-form .nl-file-upload-text p {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 4px;
}

.nl-candidature-form .nl-file-upload-text span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

/* ── Submit button ── */
.nl-candidature-form .nl-submit-btn,
.nl-candidature-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--rr-ff-heading, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rr-theme-primary, #0e3877) 0%, #1a4fa0 100%);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
    text-align: center;
    margin-top: 10px;
}

.nl-candidature-form .nl-submit-btn:hover,
.nl-candidature-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 56, 119, 0.3);
}

/* ── CF7 overrides ── */
.nl-candidature-form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

.nl-candidature-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
}

.nl-candidature-form .wpcf7-response-output {
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    margin: 20px 0 0 0 !important;
}
.nl-candidature-form .nl-file-upload-area .wpcf7-form-control-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
/* ── Fix for Select Fields ── */
.nl-candidature-form select,
.nl-candidature-form select.nl-custom-select {
height: 56px !important; /* Set a fixed height that exactly matches the input fields */
min-height: 56px !important; 
line-height: 54px !important; /* Vertically center the text */
padding-top: 0 !important; 
padding-bottom: 0 !important; 
padding-left: 18px !important; 
padding-right: 65px !important; /* Ensure sufficient space for the arrow and the blue icon */
box-sizing: border-box !important; 
display: block !important; 

/* Shift the custom arrow slightly to the left so it doesn't overlap with your blue icon */
background-position: calc(100% - 38px) center !important;
}


/* Ensure proper styling for options when the dropdown is opened */
.nl-candidature-form select option {
font-size: 14px; 
padding: 10px; 
color: #334155;
}
/* ── Contact info list checkmarks ── */
.contact-info__area .contact-info__content-text-list ul li i {
    color: var(--rr-theme-primary, #0e3877);
    background: rgba(14, 56, 119, 0.08);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ── Full width section ── */
.contact-info__area.contact-us__area .contact-info__shadow {
    background: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .nl-candidature-form .nl-form-row--2col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =============================================
   CF7 — Global Professional Messages & Styling
   ============================================= */

/* ── Success Message ── */
form.wpcf7-form.sent .wpcf7-response-output {
    border: none !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
    padding: 20px 28px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25) !important;
    margin: 24px 0 0 !important;
    position: relative;
    animation: nl-slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Error / Validation Message ── */
form.wpcf7-form.invalid .wpcf7-response-output,
form.wpcf7-form.unaccepted .wpcf7-response-output {
    border: none !important;
    background: linear-gradient(135deg, #dc2626 0%, #f43f5e 100%) !important;
    color: #ffffff !important;
    padding: 20px 28px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2) !important;
    margin: 24px 0 0 !important;
    animation: nl-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ── Spam / Server Error Message ── */
form.wpcf7-form.spam .wpcf7-response-output,
form.wpcf7-form.failed .wpcf7-response-output,
form.wpcf7-form.aborted .wpcf7-response-output {
    border: none !important;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    padding: 20px 28px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2) !important;
    margin: 24px 0 0 !important;
    animation: nl-slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Per-field validation errors ── */
form.wpcf7-form .wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

form.wpcf7-form .wpcf7-not-valid-tip::before {
    content: "•";
    color: #ef4444;
    font-size: 18px;
    line-height: 1;
}

/* ── Invalid field border highlight ── */
form.wpcf7-form .wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ── File Upload — Feedback when file is selected ── */
.nl-file-upload-area {
    position: relative;
    transition: all 0.3s ease;
}

.nl-file-upload-area.nl-file-selected {
    border-color: #059669 !important;
    background: rgba(5, 150, 105, 0.04) !important;
}

.nl-file-upload-area .nl-file-selected-feedback {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 10px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    animation: nl-slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nl-file-upload-area.nl-file-selected .nl-file-selected-feedback {
    display: flex;
}

.nl-file-upload-area.nl-file-selected .nl-file-upload-text {
    opacity: 0.4;
}

.nl-file-selected-feedback svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Animations ── */
@keyframes nl-slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nl-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ── Submitting state ── */
form.wpcf7-form.submitting .wpcf7-response-output {
    display: none !important;
}

form.wpcf7-form .wpcf7-spinner {
    display: block !important;
    margin: 16px auto 0 !important;
}

/* ── Fix Select & Input Icon Vertical Alignment ── */
.nl-candidature-form .contact-us__input {
    position: relative;
}
.nl-candidature-form .contact-us__input .icon {
    top: 55px !important; /* adjust precisely to align with text */
    pointer-events: none; /* allows clicking through the icon to open select */
}
.nl-candidature-form .contact-us__input select.nl-custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
/* Shift the custom arrow slightly to the left so it doesn't overlap with your blue icon */
background-position: calc(100% - 38px) center !important;
}


/* Ensure proper styling for options when the dropdown is opened */
.nl-candidature-form select option {
font-size: 14px; 
padding: 10px; 
color: #334155;
}
/* ── Contact info list checkmarks ── */
.contact-info__area .contact-info__content-text-list ul li i {
    color: var(--rr-theme-primary, #0e3877);
    background: rgba(14, 56, 119, 0.08);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ── Full width section ── */
.contact-info__area.contact-us__area .contact-info__shadow {
    background: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .nl-candidature-form .nl-form-row--2col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =============================================
   CF7 — Global Professional Messages & Styling
   ============================================= */

/* ── Success Message ── */
form.wpcf7-form.sent .wpcf7-response-output {
    border: none !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
    padding: 20px 28px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25) !important;
    margin: 24px 0 0 !important;
    position: relative;
    animation: nl-slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Error / Validation Message ── */
form.wpcf7-form.invalid .wpcf7-response-output,
form.wpcf7-form.unaccepted .wpcf7-response-output {
    border: none !important;
    background: linear-gradient(135deg, #dc2626 0%, #f43f5e 100%) !important;
    color: #ffffff !important;
    padding: 20px 28px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2) !important;
    margin: 24px 0 0 !important;
    animation: nl-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ── Spam / Server Error Message ── */
form.wpcf7-form.spam .wpcf7-response-output,
form.wpcf7-form.failed .wpcf7-response-output,
form.wpcf7-form.aborted .wpcf7-response-output {
    border: none !important;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    padding: 20px 28px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2) !important;
    margin: 24px 0 0 !important;
    animation: nl-slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Per-field validation errors ── */
form.wpcf7-form .wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

form.wpcf7-form .wpcf7-not-valid-tip::before {
    content: "•";
    color: #ef4444;
    font-size: 18px;
    line-height: 1;
}

/* ── Invalid field border highlight ── */
form.wpcf7-form .wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ── File Upload — Feedback when file is selected ── */
.nl-file-upload-area {
    position: relative;
    transition: all 0.3s ease;
}

.nl-file-upload-area.nl-file-selected {
    border-color: #059669 !important;
    background: rgba(5, 150, 105, 0.04) !important;
}

.nl-file-upload-area .nl-file-selected-feedback {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 10px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    animation: nl-slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nl-file-upload-area.nl-file-selected .nl-file-selected-feedback {
    display: flex;
}

.nl-file-upload-area.nl-file-selected .nl-file-upload-text {
    opacity: 0.4;
}

.nl-file-selected-feedback svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Animations ── */
@keyframes nl-slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nl-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ── Submitting state ── */
form.wpcf7-form.submitting .wpcf7-response-output {
    display: none !important;
}

form.wpcf7-form .wpcf7-spinner {
    display: block !important;
    margin: 16px auto 0 !important;
}

/* ── Fix Select & Input Icon Vertical Alignment ── */
.nl-candidature-form .contact-us__input {
    position: relative;
}
.nl-candidature-form .contact-us__input .icon {
    top: 55px !important; /* adjust precisely to align with text */
    pointer-events: none; /* allows clicking through the icon to open select */
}
.nl-candidature-form .contact-us__input select.nl-custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* =============================================
   Preloader Global Fixes
   ============================================= */
#preloader, .sk-three-bounce {
    background-color: #ffffff !important;
    z-index: 999999 !important;
}

/* =============================================
   Global Text Selection (Highlight) Color
   ============================================= */
::selection {
    background-color: #0e3877 !important;
    color: #ffffff !important;
}
::-moz-selection {
    background-color: #0e3877 !important;
    color: #ffffff !important;
}

/* =============================================
   Footer Gallery Widget Formatting (Refined)
   ============================================= */
.footer__widget .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Back to 3 per row as requested */
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer__widget-title h4 {
    font-size: 20px !important; /* Make title smaller */
    margin-bottom: 20px !important;
}

.footer__widget .gallery .gallery-item {
    margin: 0 !important;
    width: 100% !important; 
    max-width: 100% !important;
}

.footer__widget .gallery .gallery-item img {
    border-radius: 4px;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border: none !important;
    padding: 0 !important;
    display: block !important;
    transition: all 0.3s ease;
}

.footer__widget .gallery .gallery-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
    position: relative;
}

.footer__widget .gallery-caption {
    display: none !important;
}

/* =============================================
   NeoLogix Contact & Map Widget (Footer)
   ============================================= */
.nl-contact-widget .nl-contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.nl-contact-widget .nl-contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}

.nl-contact-widget .nl-contact-info-list li:last-child {
    margin-bottom: 0;
}

.nl-contact-widget .nl-contact-info-list li::before,
.nl-contact-widget .nl-contact-info-list li a::before {
    display: none !important;
    content: none !important;
}

.nl-contact-widget .nl-contact-info-list li .icon {
    color: #ffffff;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.nl-contact-widget .nl-contact-info-list li a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.nl-contact-widget .nl-contact-info-list li a:hover {
    color: #ffffff;
}

.nl-contact-widget .nl-widget-map iframe {
    width: 100% !important;
    height: 140px !important;
    border-radius: 8px;
    border: none;
    background-color: #1e293b; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* =============================================
   Global Subtitle Icons Fix (Wavy Arrow globally)
   ============================================= */
[class*="-subtitle"] svg,
[class*="-subtitle"] i,
.rr-el-sub-title svg,
.rr-el-sub-title i,
.rr-el-subtitle svg,
.rr-el-subtitle i,
.banner-5__form-wrapper-subtitle i,
.banner-5__form-wrapper-subtitle svg {
    display: none !important;
}

/* Wavy Arrow Pseudo-element */
[class*="-subtitle"]::before,
.rr-el-sub-title::before,
.rr-el-subtitle::before,
.banner-5__form-wrapper-subtitle::before,
.trining__content-subtitle::before,
.trining__subtitle::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3877' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 19c3-2 4-5 6-4s2 4 5 4 4-5 7-9'/%3e%3cpolyline points='15 10 20 10 20 15'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========================================================= */
/* NEOLOGIX HERO SLIDER — Premium Corporate Slider           */
/* ========================================================= */

/* --- Core Container: Force Full-Width (break out of Elementor container) --- */
.nl-hero-slider {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 85vh;
    overflow: hidden;
    background: #081432;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Also force the Elementor column/widget wrapper to allow overflow */
.elementor-widget-neologix-hero-slider,
.elementor-widget-neologix-hero-slider .elementor-widget-container {
    max-width: 100vw !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Force the parent Elementor section/container to not clip */
.elementor-element:has(.nl-hero-slider) {
    overflow: visible !important;
    padding: 0 !important;
    max-width: 100% !important;
}
.elementor-section:has(.nl-hero-slider),
.e-con:has(.nl-hero-slider) {
    padding: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.nl-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* --- Background Image Layer --- */
.nl-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: none;
}

/* --- Ken Burns (Parallax Zoom) --- */
.nl-ken-burns .swiper-slide-active .nl-hero-bg {
    animation: nlKenBurns 8s ease-out forwards;
}
.nl-ken-burns .swiper-slide-prev .nl-hero-bg,
.nl-ken-burns .swiper-slide-next .nl-hero-bg {
    animation: none;
    transform: scale(1);
}

@keyframes nlKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* --- Overlay --- */
.nl-hero-overlay, .nl-global-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.nl-global-overlay {
    z-index: 1; /* Sits behind the slide-specific overlay or alongside it */
}

/* --- Decorative Grid Pattern --- */
.nl-hero-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* --- Floating Particles --- */
.nl-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.nl-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: nlFloat 12s ease-in-out infinite;
}
.nl-particle-1 { width: 300px; height: 300px; top: -80px; right: -60px; animation-delay: 0s; }
.nl-particle-2 { width: 200px; height: 200px; bottom: -50px; left: 10%; animation-delay: -4s; animation-duration: 16s; }
.nl-particle-3 { width: 120px; height: 120px; top: 40%; right: 20%; animation-delay: -8s; animation-duration: 20s; }

@keyframes nlFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.08; }
    50%      { transform: translateY(-30px) scale(1.05); opacity: 0.14; }
}

/* --- Content Area --- */
.nl-hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}
.nl-hero-inner {
    max-width: 700px;
    padding: 60px 0;
}
.nl-align-center .nl-hero-inner {
    margin: 0 auto;
    text-align: center;
}
.nl-align-right .nl-hero-inner {
    margin-left: auto;
    text-align: right;
}

/* --- Badge --- */
.nl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-family: var(--rr-ff-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.nl-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4A90D9;
    animation: nlPulse 2s ease-in-out infinite;
}
@keyframes nlPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}

/* --- Title --- */
.nl-hero-title {
    font-family: var(--rr-ff-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}
.nl-hero-title span {
    color: #4A90D9;
}

/* --- Description --- */
.nl-hero-desc {
    font-family: var(--rr-ff-body);
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 35px;
    max-width: 560px;
}
.nl-align-center .nl-hero-desc {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.nl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.nl-align-center .nl-hero-actions {
    justify-content: center;
}
.nl-align-right .nl-hero-actions {
    justify-content: flex-end;
}

.nl-hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 32px !important;
    border-radius: 8px !important;
    font-family: var(--rr-ff-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    line-height: 1.4 !important;
}
.nl-hero-slider .nl-btn-primary {
    background: #0e3877 !important;
    color: #ffffff !important;
    border: 2px solid #0e3877 !important;
}
.nl-hero-slider .nl-btn-primary:hover {
    background: #ffffff !important;
    color: #0e3877 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(14,56,119,0.35);
}
.nl-hero-slider .nl-btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.35) !important;
}
.nl-hero-slider .nl-btn-outline:hover {
    background: #ffffff !important;
    color: #0e3877 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.15);
}
.nl-btn-icon {
    display: inline-flex !important;
    transition: transform 0.3s ease;
}
.nl-hero-btn:hover .nl-btn-icon {
    transform: translateX(5px);
}

/* ============================================================
   STAGGERED TEXT ANIMATIONS
   ============================================================ */

/* All stagger elements hidden by default, revealed on active slide */
.nl-hero-slider .swiper-slide .nl-stagger {
    opacity: 0;
    visibility: hidden;
}
.nl-hero-slider .swiper-slide-active .nl-stagger {
    opacity: 1;
    visibility: visible;
}

/* --- Fade Up Animation --- */
.nl-anim-fade-up .swiper-slide .nl-stagger {
    transform: translateY(50px);
}
.nl-anim-fade-up .swiper-slide-active .nl-stagger {
    animation: nlFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nl-anim-fade-up .swiper-slide-active .nl-stagger[data-delay="0"] { animation-delay: 0.15s; }
.nl-anim-fade-up .swiper-slide-active .nl-stagger[data-delay="1"] { animation-delay: 0.35s; }
.nl-anim-fade-up .swiper-slide-active .nl-stagger[data-delay="2"] { animation-delay: 0.55s; }
.nl-anim-fade-up .swiper-slide-active .nl-stagger[data-delay="3"] { animation-delay: 0.75s; }

@keyframes nlFadeUp {
    0%   { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Fade Right Animation --- */
.nl-anim-fade-right .swiper-slide .nl-stagger {
    transform: translateX(-60px);
}
.nl-anim-fade-right .swiper-slide-active .nl-stagger {
    animation: nlFadeRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nl-anim-fade-right .swiper-slide-active .nl-stagger[data-delay="0"] { animation-delay: 0.15s; }
.nl-anim-fade-right .swiper-slide-active .nl-stagger[data-delay="1"] { animation-delay: 0.35s; }
.nl-anim-fade-right .swiper-slide-active .nl-stagger[data-delay="2"] { animation-delay: 0.55s; }
.nl-anim-fade-right .swiper-slide-active .nl-stagger[data-delay="3"] { animation-delay: 0.75s; }

@keyframes nlFadeRight {
    0%   { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* --- Clip Reveal Animation --- */
.nl-anim-clip-reveal .swiper-slide .nl-stagger {
    clip-path: inset(0 100% 0 0);
}
.nl-anim-clip-reveal .swiper-slide-active .nl-stagger {
    animation: nlClipReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.nl-anim-clip-reveal .swiper-slide-active .nl-stagger[data-delay="0"] { animation-delay: 0.1s; }
.nl-anim-clip-reveal .swiper-slide-active .nl-stagger[data-delay="1"] { animation-delay: 0.3s; }
.nl-anim-clip-reveal .swiper-slide-active .nl-stagger[data-delay="2"] { animation-delay: 0.5s; }
.nl-anim-clip-reveal .swiper-slide-active .nl-stagger[data-delay="3"] { animation-delay: 0.7s; }

@keyframes nlClipReveal {
    0%   { clip-path: inset(0 100% 0 0); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* --- Blur In Animation --- */
.nl-anim-blur-in .swiper-slide .nl-stagger {
    filter: blur(15px);
    transform: scale(0.95);
}
.nl-anim-blur-in .swiper-slide-active .nl-stagger {
    animation: nlBlurIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nl-anim-blur-in .swiper-slide-active .nl-stagger[data-delay="0"] { animation-delay: 0.1s; }
.nl-anim-blur-in .swiper-slide-active .nl-stagger[data-delay="1"] { animation-delay: 0.3s; }
.nl-anim-blur-in .swiper-slide-active .nl-stagger[data-delay="2"] { animation-delay: 0.5s; }
.nl-anim-blur-in .swiper-slide-active .nl-stagger[data-delay="3"] { animation-delay: 0.7s; }

@keyframes nlBlurIn {
    0%   { opacity: 0; filter: blur(15px); transform: scale(0.95); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* ============================================================
   NAVIGATION ARROWS
   ============================================================ */
.nl-hero-nav {
    position: absolute;
    z-index: 10;
    bottom: 45px;
    right: 80px;
    display: flex;
    gap: 10px;
}
.nl-hero-prev,
.nl-hero-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}
.nl-hero-prev:hover,
.nl-hero-next:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0e3877;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.nl-hero-prev svg,
.nl-hero-next svg {
    width: 20px;
    height: 20px;
}

/* ============================================================
   PAGINATION BULLETS
   ============================================================ */
.nl-hero-pagination {
    position: absolute;
    z-index: 10;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.nl-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.4s ease;
    cursor: pointer;
}
.nl-hero-pagination .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* ============================================================
   PROGRESS BAR (Autoplay)
   ============================================================ */
.nl-hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 10;
}
.nl-hero-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4A90D9, #0e3877);
    transition: width 0.05s linear;
    border-radius: 0 2px 2px 0;
}

/* ============================================================
   SLIDE COUNTER
   ============================================================ */
.nl-hero-counter {
    position: absolute;
    z-index: 10;
    bottom: 55px;
    left: 80px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-family: var(--rr-ff-heading);
    color: #ffffff;
}
.nl-counter-current {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}
.nl-counter-sep {
    font-size: 16px;
    opacity: 0.4;
    margin: 0 3px;
}
.nl-counter-total {
    font-size: 16px;
    opacity: 0.5;
    font-weight: 500;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media only screen and (max-width: 991px) {
    .nl-hero-slider {
        height: 70vh;
    }
    .nl-hero-title {
        font-size: 36px;
    }
    .nl-hero-desc {
        font-size: 15px;
    }
    .nl-hero-inner {
        max-width: 90%;
    }
    .nl-hero-nav {
        right: 30px;
        bottom: 30px;
    }
    .nl-hero-counter {
        left: 30px;
        bottom: 38px;
    }
}


@media only screen and (max-width: 575px) {
    .nl-hero-slider {
        height: 65vh;
        min-height: 500px;
    }
    .nl-hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    .nl-hero-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    .nl-hero-badge {
        font-size: 10px;
        padding: 6px 14px;
        letter-spacing: 1.5px;
    }
    .nl-hero-btn {
        padding: 12px 22px;
        font-size: 13px;
    }
    .nl-hero-nav {
        display: none;
    }
    .nl-hero-counter {
        display: none;
    }
    .nl-hero-inner {
        max-width: 100%;
        padding: 40px 0;
    }
    .nl-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .nl-particle { display: none; }
}

/* =========================================================================
   About Layout 3 Mobile Fixes (Proportional Collage)
   ========================================================================= */
@media (max-width: 767px) {
    .about-us-2__wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
        padding: 0 10px;
    }
    .about-us-2__wrapper-media {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 15px !important;
    }
    
    /* Row 1 */
    .about-us-2__wrapper-media-image-1 {
        flex: 1 1 55% !important;
        max-width: 55% !important;
        margin: 0 !important;
    }
    .about-us-2__wrapper-media-image-2 {
        flex: 1 1 42% !important;
        max-width: 42% !important;
        margin-top: 15% !important;
        height: auto !important;
    }

    /* Row 2 */
    .about-us-2__wrapper-media__counter {
        flex: 1 1 40% !important;
        max-width: 40% !important;
        height: auto !important;
        margin: 0 !important;
        margin-top: 20px !important;
        padding: 20px 10px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 12px !important;
    }
    .about-us-2__wrapper-media__counter-title {
        font-size: 26px !important;
        line-height: 1.1 !important;
        margin-bottom: 5px !important;
    }
    .about-us-2__wrapper-media__counter-title span {
        font-size: 26px !important;
    }
    .about-us-2__wrapper-media__counter p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    
    .about-us-2__wrapper-media-image-3 {
        flex: 1 1 56% !important;
        max-width: 56% !important;
        margin: 0 !important;
        margin-top: -15% !important;
    }

    /* Common */
    .about-us-2__wrapper-media-image-1 img,
    .about-us-2__wrapper-media-image-2 img,
    .about-us-2__wrapper-media-image-3 img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }
}

/* =========================================================================
   Fact Widget Size Fix (Make ALL layouts less huge)
   ========================================================================= */
/* Layout 1 / Counter */
.counter__bg,
.counter2__bg-color {
    padding: 30px !important;
    border-radius: 20px !important;
}
.counter__item,
.counter2__item,
.cta__box {
    padding: 20px !important;
    gap: 15px !important;
    border-radius: 15px !important;
}
.counter__item-title,
.counter__item-title span,
.counter2__item-count-title,
.counter2__item-count-title span,
.cta__count-title,
.cta__count-title span,
.rr-el-re-number {
    font-size: 38px !important; /* Scaled down from 60px/50px */
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
    margin-bottom: 5px !important;
}
.counter__item p,
.counter2__item-count p,
.cta__box-text p,
.rr-el-re-Title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
}

/* =========================================================================
   RR Service Layout 4: Alignment & Size Fixes
   ========================================================================= */
.visa__item.visa__item-2.services-box {
    display: flex !important;
    align-items: stretch !important;
    gap: 35px !important;
    padding: 35px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05) !important;
    height: calc(100% - 30px) !important; /* Adjust height to allow for margin */
    margin-bottom: 30px !important; /* Fix for boxes sticking together */
    min-height: 220px !important;
    text-align: left !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    transition: all 0.35s ease !important;
}

.visa__item.visa__item-2.services-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Fix Image Sizing (Matching Image 2) */
.visa__item-media {
    flex: 0 0 165px !important;
    width: 165px !important;
    height: 165px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}
.visa__item-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Fix Content Area */
.visa__item-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Professional Font Sizes (Structure only, no forced colors) */
.visa__item-content-title.rr-el-re-Title,
.visa__item-content-title.rr-el-re-Title a {
    font-size: 20px !important; 
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.visa__item-content .rr-el-re-dec {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

/* Fix Bottom Actions Alignment */
.visa__item-content-button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: auto !important;
}

/* Action Button Structure */
.rr-visas-btn {
    width: 55px !important;
    height: 55px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

.visa__item.visa__item-2.services-box:hover .rr-visas-btn {
    transform: rotate(-15deg) scale(1.05);
}

/* The Bottom-Right Icon */
.visa__item-content-button-icon.rr-el-icon {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.visa__item-content-button-icon.rr-el-icon svg,
.visa__item-content-button-icon.rr-el-icon img,
.visa__item-content-button-icon.rr-el-icon i {
    width: 38px !important;
    height: auto !important;
}

/* Responsive Fixes */
@media (max-width: 575px) {
    .visa__item.visa__item-2.services-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .visa__item-media {
        width: 100% !important;
        flex: 0 0 160px !important;
        height: 160px !important;
    }
}

/* =========================================================================
   About Layout 1 Mobile Fixes (Proportional Collage)
   ========================================================================= */
@media (max-width: 767px) {
    .choose-us__media {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px;
    }

    /* Left Column */
    .choose-us__media-thumb {
        flex: 1 1 50% !important;
        max-width: 50% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .choose-us__media-thumb-img-img img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }
    .choose-us__media-thumb-img-green-border {
        display: none !important;
    }
    .choose-us__media-thumb-circle {
        margin-top: 15px !important;
        max-width: 100px !important;
        margin-left: 0 !important;
    }
    .choose-us__media-thumb-circle img {
        width: 100% !important;
        height: auto !important;
    }

    /* Right Column */
    .choose-us__media-img {
        flex: 1 1 45% !important;
        max-width: 45% !important;
        margin-top: 30px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .choose-us__text.rr-el-experience-box {
        padding: 12px 10px !important;
        gap: 8px !important;
        border-radius: 10px !important;
        margin-bottom: 15px !important;
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        min-height: 70px !important; /* Shorter to make it rectangular */
        display: flex !important;
    }
    .choose-us__text h3.counter__item-title,
    .choose-us__text span {
        font-size: 26px !important;
        line-height: 1 !important;
        margin-bottom: 0 !important;
        color: #ffffff !important;
    }
    .choose-us__text p {
        font-size: 11px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        text-transform: uppercase !important; /* Professional look */
    }
    .choose-us__media-img-pictute {
        width: 100% !important;
        max-width: 100% !important;
    }
    .choose-us__media-img-pictute img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }
}

/* =========================================================================
   Contact Form: Constrain Width (Centered Look)
   ========================================================================= */
.contact-us__area.custom-width {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* =========================================================================
   Footer 3: Unwanted Spacing Reduction (Corrected)
   ========================================================================= */
.footer3 .footer-wrap {
    padding-bottom: 20px !important; /* Fixed the large gap from 102px */
}

.footer3 .footer__bottom-wrapper {
    padding-top: 15px !important; /* Closer copyright bar */
    padding-bottom: 30px !important;
    margin-top: 0 !important;
}

/* Adjust individual widget margins */
.footer3 .footer__widget {
    margin-bottom: 25px !important;
}

/* Compact copyright area */
.footer3 .footer__bottom {
    padding: 10px 0 !important;
}

/* Mobile specific footer spacing */
@media (max-width: 767px) {
    .footer3 .footer-wrap {
        padding-top: 40px !important;
        padding-bottom: 10px !important;
    }
}
/* =========================================================================
   About Layout 3: Scale Down Text & Images for Compact Desktop Look
   ========================================================================= */
@media (min-width: 992px) {
    /* Shrink the Image Collage Constraints */
    .about-us-2.about-4 .about-4__wrapper-media .about-us-2__wrapper-media-image-1 {
        max-width: 260px !important;
        height: 330px !important;
    }
    
    .about-us-2.about-4 .about-4__wrapper-media .about-us-2__wrapper-media-image-3 {
        top: 160px !important;
        max-width: 280px !important;
        height: 330px !important;
        right: 30px !important; 
    }

    /* Shrink the Experience Box Block */
    .about-us-2.about-4 .about-4__wrapper-media .about-us-2__wrapper-media__counter {
        width: 190px !important;
        height: 125px !important; /* Keep a fixed height for a stable square/rectangle shape */
        padding: 20px 15px !important;
        margin-top: 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important; /* Forces absolute centering */
        text-align: center !important;
    }

    /* Scale down the main title */
    .about-us-2.rr-el-section .section__title-wrapper-title {
        font-size: 34px !important; /* Smaller text to match 67% look */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    /* Scale down the subtitle */
    .about-us-2.rr-el-section .section__title-wrapper-black-subtitle {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    /* Scale down the description paragraph */
    .about-us-2.rr-el-section .rr-el-desc {
        font-size: 14px;
        line-height: 1.6 !important;
    }
    
    /* Scale down the feature list items */
    .about-us-2.rr-el-section .about__box-item-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    .about-us-2.rr-el-section .about__box-item .rr-rp-desc {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* Scale down the Experience Counter text */
    .about-us-2.rr-el-section .about-us-2__wrapper-media__counter-title,
    .about-us-2.rr-el-section .about-us-2__wrapper-media__counter-title span {
        font-size: 38px !important; /* Scaled down significantly */
        line-height: 1 !important;
        margin-bottom: 5px !important;
    }
    .about-us-2.rr-el-section .rr-rp-experience {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }
}

/* =========================================================================
   Global Site Scaling (Dynamic Zoom System)
   ========================================================================= */
:root {
    --site-zoom: 0.9; /* <--- Change this ONLY once to scale the whole site! */
}

@media (min-width: 1200px) {
    /* 1. The Global Zoom */
    body {
        zoom: var(--site-zoom) !important;
    }
    
    /* 2. Rescue Footer & Animated Elements */
    .elementor-invisible,
    .wow {
        visibility: visible !important;
        opacity: 1 !important;
        animation-name: none !important;
    }

    /* 3. Fix Testimonial Layout 3 (Overlap & Buttons) under Zoom */
    .testimonial__content-3 {
        margin-right: -150px !important;
        z-index: 5 !important;
        position: relative !important;
    }
    .testimonial__slider-button {
        position: absolute !important;
        right: 180px !important;
        bottom: 60px !important;
        z-index: 10 !important;
    }
    /* Ensure the image doesn't push the card away */
    .testimonial__media {
        position: relative !important;
        z-index: 1 !important;
    }

    /* 4. Fix Hero Slider Full Width (Dynamic Calculation) */
    #hero_neologix {
        /* Automatically calculates the inverse zoom so it's always 100% full-width */
        zoom: calc(1 / var(--site-zoom)) !important; 
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        margin-left: -50vw !important;
    }
}

/* ========================================================= */
/* NEOLOGIX HERO SLIDER — Layout 2 (Cinematic)               */
/* ========================================================= */

.nl-layout-2 .nl-hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nl-layout-2 .nl-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.nl-layout-2 .nl-hero-overlay {
    /* Background is now handled by PHP inline style to allow customization */
    opacity: 1 !important;
}

.nl-layout-2 .nl-cinematic-container {
    position: absolute !important;
    right: 5% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    min-width: 500px;
    z-index: 10;
}

.nl-layout-2 .nl-hero-inner {
    max-width: 850px;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nl-layout-2 .nl-hero-title {
    font-size: 58px; /* Slightly smaller for better fit */
    font-weight: 800;
    line-height: 1.1;
    text-transform: none;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: left !important;
}

.nl-layout-2 .nl-hero-desc {
    font-size: 19px;
    line-height: 1.6;
    max-width: 580px; /* Constrain width for cinematic feel */
    color: rgba(255, 255, 255, 0.95);
    margin-left: 0 !important; /* Stay on the left of its container */
    margin-right: auto;
    margin-bottom: 40px;
    text-align: left !important;
}

.nl-layout-2 .nl-hero-actions {
    justify-content: flex-start; /* Buttons start from the left */
    width: 100%;
}

/* Specific Animation for Layout 2: Slide from Right */
.nl-layout-2.nl-anim-fade-right .swiper-slide-active .nl-stagger {
    animation: nlFadeRightCinematic 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes nlFadeRightCinematic {
    0% {
        opacity: 0;
        transform: translateX(50px); /* Changed to slide from right */
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Adjustments for Layout 2 on Mobile */
@media (max-width: 767px) {
    .nl-layout-2 .nl-hero-inner {
        padding-left: 20px;
        text-align: center;
    }
    .nl-layout-2 .nl-hero-overlay {
        background: rgba(8, 20, 50, 0.7) !important;
    }
    .nl-layout-2 .nl-hero-title {
        font-size: 32px;
    }
}

/* --- Contact Info Item Description --- */
.rr-contact-item-desc {
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    margin-top: 4px;
}

/* --- Contact Info Alignment Styles --- */
.is-align-center {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}
.is-align-center .latest-contact-us-2-media-content-contact-icon {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
}
.rr-fea-product.justify-content-center {
    gap: 50px;
}
.rr-fea-product.text-center .has--line::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* ========================================================= */
/* TABLET & MOBILE COMPACT MODE (Responsive Scaling)        */
/* ========================================================= */

@media only screen and (max-width: 991px) {
    :root {
        --rr-fs-h1: 42px !important;
        --rr-fs-h2: 32px !important;
        --rr-fs-h3: 24px !important;
        --rr-fs-h4: 18px !important;
        --rr-fs-body: 14px !important;
    }
    .section-space { padding: 60px 0 !important; }
    .pt-120 { padding-top: 60px !important; }
    .pb-120 { padding-bottom: 60px !important; }
}

@media only screen and (max-width: 767px) {
    :root {
        --rr-fs-h1: 34px !important;
        --rr-fs-h2: 28px !important;
        --rr-fs-h3: 22px !important;
        --rr-fs-h4: 17px !important;
        --rr-fs-body: 13.5px !important;
    }
    .section-space { padding: 50px 0 !important; }
    .pt-120 { padding-top: 50px !important; }
    .pb-120 { padding-bottom: 50px !important; }
    h1 { font-size: 32px !important; }
    h2 { font-size: 26px !important; }
    h3 { font-size: 20px !important; }
    h4 { font-size: 18px !important; }
    p, span, li, a { font-size: 13.5px !important; line-height: 1.5 !important; }
    .rr-el-section { padding: 30px 20px !important; }
}

/* Specific Responsive Fixes for Oversized Elements */
@media only screen and (max-width: 767px) {
    .choose-us__media-thumb-circle {
        width: 100px !important;
        height: 100px !important;
    }
    .cta__media-icon {
        width: 65px !important;
        height: 65px !important;
    }
    .nl-layout-2 .nl-hero-title { font-size: 28px !important; }
    .nl-layout-2 .nl-hero-desc { font-size: 14px !important; }
}

/* Aggressive Scaling for Oversized Titles on Mobile */
@media only screen and (max-width: 767px) {
    .rr-el-title, 
    .section-slider-title-4-wrapper-title, 
    .section__title-wrapper-title,
    .section__title-wrapper-title-2,
    h2.rr-el-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    /* Handle spans inside titles */
    .rr-el-title span, 
    .section-slider-title-4-wrapper-title span {
        font-size: inherit !important;
    }
    
    /* Smaller Subtitles */
    .rr-el-subtitle, 
    .section__title-wrapper-black-subtitle {
        font-size: 13px !important;
    }
}

/* --- Testimonial Layout 3 Watermark Fix --- */
.testimonial__content-3-text .testimonial__bg-img {
    opacity: 0.06 !important;
    transition: opacity 0.3s ease;
}

@media only screen and (max-width: 991px) {
    .testimonial__content-3-text .testimonial__bg-img {
        opacity: 0.04 !important;
        max-width: 80%;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Tighten Spacing & Gaps on Mobile/Tablet */
@media only screen and (max-width: 991px) {
    .section-space-top { padding-top: 45px !important; }
    .section-space-bottom { padding-bottom: 45px !important; }
    .mb-50 { margin-bottom: 25px !important; }
    .mb-60 { margin-bottom: 30px !important; }
    
    /* Specific Testimonial Spacing */
    .testimonial__area .section__title-wrapper { margin-bottom: 20px !important; }
    .testimonial__media { margin-bottom: 15px !important; }
    .testimonial__content-3 { padding-top: 0 !important; margin-top: 0 !important; }
    
    /* Image height adjustment for mobile to prevent huge gaps */
    .testimonial__media img.height-611 {
        height: auto !important;
        max-height: 350px !important;
        object-fit: cover;
    }
}

/* --- RR Service Layout 3 - Equal Height Cards --- */
.service-swiper .swiper-wrapper {
    display: flex !important;
}

.service-swiper .service__item-slide {
    height: auto !important;
    display: flex !important;
}

.service-swiper .service__box.services-box {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    height: 100% !important;
}

.service-swiper .service__box .service__box-paragraph {
    flex-grow: 1 !important;
    margin-bottom: 0 !important;
}


/* --- Testimonial Layout 4 - Mobile Alignment Fix (Aggressive) --- */
@media only screen and (max-width: 767px) {
    .story__content-details, 
    div.story__content-details.d-flex {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .story__content-details-img {
        margin-right: 15px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    .story__content-details-img img {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        border-radius: 50% !important;
    }
    .story__content-details-name {
        margin-left: 0 !important;
        text-align: left !important;
        flex-grow: 1 !important;
    }
    .story__content-details-name h6, 
    .story__content-details-name .rr-el-re-Title {
        font-size: 17px !important;
        margin-bottom: 2px !important;
        text-align: left !important;
    }
    .story__content-details-name span, 
    .story__content-details-name .rr-el-re-designation {
        font-size: 13px !important;
        display: block !important;
        text-align: left !important;
    }
}

/* --- Slider Video Background & Overlay --- */
.banner__thumb-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
    background-color: #000 !important;
}

.rr-slider-video-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.rr-slider-video-frame,
.rr-slider-video-element {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important;
}

.rr-slider-video-frame {
    width: 120vw !important;
    height: 120vh !important;
}

.banner__thumb-bg::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.banner__thumb-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1 !important;
}

.banner__content {
    position: relative !important;
    z-index: 10 !important;
}

.banner__space {
    position: relative !important;
    overflow: hidden !important;
}

/* --- RR Service Layout 3 Mobile/Tablet Icon Centering --- */
@media (max-width: 991px) {
    .service__area.ele-section .service__box {
        text-align: center !important;
    }
    
    .service__area.ele-section .service__icon {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 25px !important;
    }

    .service__area.ele-section .service__icon span {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* --- CTA Video Icon Centering Fix --- */
.cta__thumb {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.cta__thumb .cta__media-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 5 !important;
}

.cta__thumb .cta__media-icon svg {
    display: block !important;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    .cta__thumb .cta__media-icon {
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
    }
    .cta__thumb .cta__media-icon svg {
        width: 20px !important;
        height: 25px !important;
    }
}

/* --- Modern Corporate Animations for Slider --- */
@keyframes rrRevealUp {
    0% {
        transform: translateY(100%) !important;
        clip-path: inset(0 0 100% 0) !important;
        opacity: 0 !important;
    }
    100% {
        transform: translateY(0) !important;
        clip-path: inset(0 0 0 0) !important;
        opacity: 1 !important;
    }
}

@keyframes rrBlurFadeIn {
    0% {
        filter: blur(10px) !important;
        opacity: 0 !important;
        transform: scale(0.95) !important;
    }
    100% {
        filter: blur(0) !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

@keyframes rrElegantSlideRight {
    0% {
        transform: translateX(-50px) !important;
        opacity: 0 !important;
    }
    100% {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
}


/* --- Slider Layout 1 Overlay & Video Support --- */
.banner__thumb-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
    background-color: #000 !important;
}

.rr-slider-video-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.rr-slider-video-frame,
.rr-slider-video-element {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    pointer-events: none !important;
}

.banner__thumb-bg::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Hide navigation if only one slide */
.rr-slider-single-slide .slider-arrow,
.rr-slider-single-slide .rs-slider-dot,
.rr-slider-single-slide .swiper-button-next,
.rr-slider-single-slide .swiper-button-prev,
.rr-slider-single-slide .swiper-pagination {
    display: none !important;
}

.nl-blog-horizontal-card,
.nl-blog-horizontal-card:hover,
article.nl-blog-card,
article.nl-blog-card:hover {
    transform: none !important;
    transition: none !important;
    -webkit-transition: none !important;
    -webkit-transform: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
}

.nl-blog-horizontal-card {
    display: flex !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: none !important;
    width: 100% !important;
    transition: none !important;
}

.nl-blog-horizontal-card__image {
    flex: 0 0 35% !important;
    position: relative !important;
    min-height: 240px !important;
    overflow: hidden !important;
}

.nl-blog-horizontal-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: none !important;
}

.nl-blog-horizontal-card__cat {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: #0e3877 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 6px 15px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
}

.nl-blog-horizontal-card__content {
    flex: 1 !important;
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important; /* Fix for long button */
}

.nl-blog-horizontal-card__meta {
    font-size: 13px !important;
    color: #888 !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.nl-blog-horizontal-card__meta i {
    color: #0e3877 !important;
}

.nl-blog-horizontal-card__title {
    font-size: 21px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.nl-blog-horizontal-card__title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.nl-blog-horizontal-card__title a:hover {
    color: #0e3877 !important;
}

.nl-blog-horizontal-card__excerpt {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
}

.nl-blog-horizontal-card__btn {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #0e3877 !important;
    padding: 10px 25px !important;
    border-radius: 6px !important;
    text-transform: capitalize !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: none !important;
    width: auto !important; /* Ensure it stays compact */
}

.nl-blog-horizontal-card__btn:hover {
    background: #11499a !important;
    color: #ffffff !important;
}

.nl-blog-horizontal-card__btn i {
    font-size: 12px !important;
}

/* Mobile Stacking */
@media (max-width: 991px) {
    .nl-blog-horizontal-card {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .nl-blog-horizontal-card__image {
        flex: 0 0 250px !important;
    }
}

/* --- Disable Magic Cursor (Mouse Follower) --- */
.disable-magic-cursor .mt-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- Contact Info Background Blending --- */
.rr-el-section[style*="background-image"] {
    background-blend-mode: overlay !important;
    background-color: #ffffff; /* Default fallback */
    transition: all 0.3s ease !important;
}

.rr-el-section[style*="background-image"] .rr-fea-product {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important; 
    box-shadow: none !important;
}

/* --- Clean state for Main Description to allow Elementor control --- */
.rr-el-main-description-text {
    /* No fixed styles here to allow Elementor full control */
    margin: 0;
}

/* Base state: Hidden until animated */
.rr-anim-reveal-up, 
.rr-anim-blur-fade, 
.rr-anim-elegant-slide {
    opacity: 0 !important;
    visibility: hidden;
}

/* Elementor Editor Fallback: Always visible while editing */
.elementor-editor-active .rr-anim-reveal-up,
.elementor-editor-active .rr-anim-blur-fade,
.elementor-editor-active .rr-anim-elegant-slide {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Global trigger: When slide is active (from Swiper) */
.swiper-slide-active .rr-anim-reveal-up,
.swiper-slide-active .rr-anim-blur-fade,
.swiper-slide-active .rr-anim-elegant-slide,
.rr-force-animate .rr-anim-reveal-up,
.rr-force-animate .rr-anim-blur-fade,
.rr-force-animate .rr-anim-elegant-slide {
    opacity: 1 !important;
    visibility: visible !important;
}

.swiper-slide-active .rr-anim-reveal-up,
.rr-force-animate .rr-anim-reveal-up {
    animation: rrRevealUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    animation-delay: 0.3s !important;
}

.swiper-slide-active .rr-anim-blur-fade,
.rr-force-animate .rr-anim-blur-fade {
    animation: rrBlurFadeIn 1.5s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    animation-delay: 0.5s !important;
}

.swiper-slide-active .rr-anim-elegant-slide,
.rr-force-animate .rr-anim-elegant-slide {
    animation: rrElegantSlideRight 1.2s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    animation-delay: 0.4s !important;
}

/* Base state: Let WOW handle initial visibility for theme defaults */
.banner_parallax-slider .ele-heading:not(.rr-anim-reveal-up):not(.rr-anim-blur-fade):not(.rr-anim-elegant-slide),
.banner_parallax-slider .ele-desc:not(.rr-anim-reveal-up):not(.rr-anim-blur-fade):not(.rr-anim-elegant-slide) {
    /* Opacity handled by WOW/Animate.css */
}
/* --- Professional Animation Keyframes --- */
@keyframes rrRevealUp {
    0% {
        opacity: 0;
        transform: translateY(50px) skewY(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

@keyframes rrBlurFadeIn {
    0% {
        opacity: 0;
        filter: blur(15px);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes rrElegantSlideRight {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- LUXURY ANIMATIONS PACK --- */

/* 1. Mask Reveal (Text coming out of hiding) */
@keyframes rrMaskUp {
    0% { transform: translateY(100%); clip-path: inset(0 0 100% 0); opacity: 0; }
    100% { transform: translateY(0); clip-path: inset(0 0 0 0); opacity: 1; }
}
.rr-anim-mask-up { opacity: 0; visibility: hidden; }
.swiper-slide-active .rr-anim-mask-up,
.rr-force-animate .rr-anim-mask-up {
    animation: rrMaskUp 1.4s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 2. Cinematic Zoom Out (Focus effect) */
@keyframes rrCinematicZoom {
    0% { transform: scale(1.3); opacity: 0; filter: blur(20px); }
    100% { transform: scale(1); opacity: 1; filter: blur(0); }
}
.rr-anim-zoom-cinematic { opacity: 0; visibility: hidden; }
.swiper-slide-active .rr-anim-zoom-cinematic,
.rr-force-animate .rr-anim-zoom-cinematic {
    animation: rrCinematicZoom 1.8s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. Elegant Split Up (Word by word feel) */
@keyframes rrSplitUp {
    0% { transform: translateY(60px) skewY(7deg); opacity: 0; }
    100% { transform: translateY(0) skewY(0); opacity: 1; }
}
.rr-anim-split-up { opacity: 0; visibility: hidden; }
.swiper-slide-active .rr-anim-split-up,
.rr-force-animate .rr-anim-split-up {
    animation: rrSplitUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 4. Luxury Letter Expansion */
@keyframes rrLetterExpand {
    0% { letter-spacing: 1em; opacity: 0; filter: blur(10px); transform: scale(1.1); }
    100% { letter-spacing: normal; opacity: 1; filter: blur(0); transform: scale(1); }
}
.rr-anim-letter-expand { opacity: 0; visibility: hidden; }
.swiper-slide-active .rr-anim-letter-expand,
.rr-force-animate .rr-anim-letter-expand {
    animation: rrLetterExpand 1.6s cubic-bezier(0.2, 1, 0.3, 1) both !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Editor Visibility for Luxury Pack */
.elementor-editor-active .rr-anim-mask-up,
.elementor-editor-active .rr-anim-zoom-cinematic,
.elementor-editor-active .rr-anim-split-up,
.elementor-editor-active .rr-anim-letter-expand {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Breadcrumb separator color fix */
.breadcrumb__area .breadcrumb__menu,
.breadcrumb__menu {
    color: #ffffff !important;
    font-size: 18px !important;
}

.breadcrumb__menu > * {
    color: #ffffff !important;
    font-size: 18px !important;
}

/* Remove any icons or pseudo-elements from breadcrumb area */
.breadcrumb__area ::before,
.breadcrumb__area ::after,
.breadcrumb__area i,
.breadcrumb__area svg,
.breadcrumb__area img:not([src*="breadcrumb.png"]) {
    display: none !important;
    content: none !important;
}

/* Global text justify for all paragraphs except the Hero Slider */
p:not(.nl-slider-container p) {
    text-align: justify;
}

/* ========================================================= */
/* PREMIUM BRAND LOGO CARDS (Fix for distorted logos)        */
/* ========================================================= */
.brand__item {
    padding: 10px 5px !important; /* Give room for shadow */
}

.brand__thumb {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 15px 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 130px !important; /* Increased height for larger logos */
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease !important;
}

.brand__thumb:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Ensure logos never stretch or distort, whether horizontal or vertical */
.brand__thumb img {
    max-width: 100% !important;
    max-height: 80px !important; /* Limit max height to fit perfectly in the card */
    width: auto !important; /* Natively preserve aspect ratio */
    height: auto !important; /* Natively preserve aspect ratio */
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    filter: none !important;
    opacity: 1 !important;
}


