:root {
    --xba-red: #DF1117;
    --xba-dark-red: #A50D12;
    --xba-navy: #032330;
    --xba-dark: #0B1524;
    --xba-white: #FFFFFF;
    --xba-gray: #555555;
    --xba-body: #2D2D2D;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --z-header: 999;
    --z-dropdown: 998;
    --z-modal: 1000;
    --z-overlay: 997;
    --z-back-to-top: 996;
    --z-content-top: 10;
    --z-overlay-inner: 5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-body);
    color: var(--xba-body);
    background: var(--xba-white);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: padding-top 0.4s ease;
}

body.header-is-fixed {
    padding-top: var(--site-header-height, 100px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--xba-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: 0.3s;
    border: none;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn-red {
    background: var(--xba-red);
    color: white;
}

.btn-red:hover {
    background: var(--xba-dark-red);
    color: white;
}

.text-red {
    color: var(--xba-red);
}

h1 {
    font-size: clamp(3.2rem, 5vw, 6rem);
    color: var(--xba-white);
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.pre-label {
    display: inline-block;
    color: var(--xba-red);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* INNER PAGE LAYOUT */
.xba-main-content {
    flex: 1;
}

body:not(.home) .site-content,
body:not(.home) #main,
body:not(.home) .xba-main-content,
body:not(.home) .ast-container,
body:not(.home) .entry-content,
body:not(.home) #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#content, .site-content, .ast-container { padding-top: 0 !important; margin-top: 0 !important; }

.ast-above-header-bar,
.ast-primary-header-bar,
.ast-main-header-wrap {
    display: none !important;
}

/* HEADER */
.site-header {
    position: relative;
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Layer 1: Topbar */
.topbar {
    /* Background and color set via inline styles from Customizer */
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    transition: opacity 0.3s ease, 
                transform 0.3s ease, 
                max-height 0.4s ease,
                padding 0.3s ease,
                margin 0.3s ease;
    transition-delay: 0s;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 30px;
}

.marquee-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
}

.topbar-contact {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
}

.topbar-contact a,
.topbar-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

@media (max-width: 968px) {
    .topbar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .marquee-wrapper,
    .topbar-contact {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .topbar-contact {
        justify-content: center;
        gap: 20px;
    }
}

/* Layer 2: Preheader */
.preheader {
    /* Background and color set via inline styles from Customizer */
    padding: 25px 0;
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    overflow: hidden;
    transition: opacity 0.3s ease, 
                transform 0.3s ease, 
                max-height 0.4s ease,
                padding 0.3s ease,
                margin 0.3s ease;
    transition-delay: 0.1s;
}

.preheader .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--xba-red);
}

.header-widgets {
    display: flex;
    gap: 4rem;
}

.header-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.header-widget .icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--xba-red);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
}

.header-widget .info {
    display: flex;
    flex-direction: column;
}

.header-widget .info .title {
    font-size: 1.3rem;
    color: #ccc;
}

.header-widget .info .desc {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Layer 3: Navbar — inside site-header, overlaps hero */
.navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    /* Background set via inline styles from Customizer */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 30px;
    transition: all 0.4s ease;
}

/* Collapsed Scrolled State — topbar+preheader hidden, navbar stays */
.header-scrolled .topbar {
    opacity: 0;
    transform: translateY(-15px);
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition-delay: 0s;
}

.header-scrolled .preheader {
    opacity: 0;
    transform: translateY(-15px);
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition-delay: 0.05s;
}

.header-scrolled .navbar {
    position: fixed;
    top: 0;
    bottom: auto;
    transform: translateY(0);
    background: var(--collapsed-bg-color) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--xba-red);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-scrolled .navbar .nav-links a {
    color: var(--collapsed-text-color) !important;
}

.header-scrolled .navbar .nav-links a:hover,
.header-scrolled .navbar .nav-links .current-menu-item > a {
    color: var(--xba-red) !important;
}

/* Extra elements for collapsed header */
.collapsed-header-logo {
    display: block;
    max-width: 0;
    opacity: 0;
    transform: scale(0.9) translateX(-10px);
    transition: opacity 0.3s ease 0.1s,
                transform 0.3s ease 0.1s,
                max-width 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

.collapsed-header-logo img {
    height: 40px;
    width: auto;
}

.collapsed-header-extras {
    display: none;
    align-items: center;
    gap: 20px;
    margin-right: 15px;
}

.collapsed-social-icons {
    display: flex;
    gap: 10px;
}

.collapsed-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--collapsed-text-color);
    transition: all 0.3s;
}

.collapsed-social-icon:hover {
    background: var(--xba-red);
    color: white;
    transform: translateY(-2px);
}

.collapsed-phone, .collapsed-account, .collapsed-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--collapsed-text-color);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.collapsed-phone i, .collapsed-account i, .collapsed-cart i {
    color: var(--xba-red);
}

.collapsed-phone:hover, .collapsed-account:hover, .collapsed-cart:hover {
    color: var(--xba-red);
}

.collapsed-cart {
    position: relative;
}

.collapsed-cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--xba-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Activating collapsed elements */
.header-scrolled .collapsed-header-logo {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: auto;
    max-width: 200px;
}

.header-scrolled .collapsed-header-extras {
    display: flex;
}

/* Toggles via the scroll classes */
.header-scrolled.hide-collapsed-menu .nav-links {
    display: none !important;
}
.header-scrolled.hide-collapsed-chat .nav-btn {
    display: none !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    transition: gap 0.3s ease;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links .current-menu-item > a {
    color: #DF1117;
}

.nav-btn {
    background: #DF1117;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: #A50D12;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 17, 23, 0.4);
}

.header-social-navbar {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.header-social-navbar .social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-social-navbar .social-icon:hover {
    background: #DF1117;
    border-color: #DF1117;
}

.header-social-topbar {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.header-social-topbar .social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social-topbar .social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.header-social-preheader {
    display: flex;
    gap: 10px;
    margin-left: 30px;
}

.header-social-preheader .social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social-preheader .social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* PAGE HEADER */
.xba-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.xba-page-header .xba-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.xba-page-header:hover .xba-spotlight {
    opacity: 1;
}

.xba-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: var(--z-overlay-inner);
}

.xba-page-header::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    width: 3px;
    height: 70%;
    background: var(--xba-red);
    z-index: 2;
}

.xba-page-header-right-line {
    position: absolute;
    top: 15%;
    right: 0;
    width: 3px;
    height: 70%;
    background: var(--xba-red);
    z-index: 2;
}

.xba-page-header-content {
    position: relative;
    z-index: var(--z-content-top);
    text-align: center;
    padding-top: 4rem;
    padding: 2rem;
    width: 100%;
}

.xba-page-header-breadcrumb {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.xba-page-header-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.xba-page-header-breadcrumb a:hover {
    color: var(--xba-red);
}

.xba-page-header-breadcrumb .separator {
    color: var(--xba-red);
    margin: 0 8px;
    font-weight: 600;
}

.xba-page-header-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 768px) {
    .xba-page-header {
        height: 220px;
    }

    .xba-page-header-title {
        font-size: 2.2rem;
    }

    .xba-page-header-breadcrumb {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .xba-page-header {
        height: 180px;
    }

    .xba-page-header-title {
        font-size: 1.8rem;
    }
}

/* HERO */
.hero, .hero-slider, .xba-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    z-index: 1;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center/cover;
    opacity: 0;
    z-index: 0;
}

/* Overlay is now generated inline by template-home.php via Customizer settings */

.hero .container,
.xba-hero-content,
.xba-slide-content,
.xba-slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero .pill-label {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero p {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

/* SERVICES OVERLAP */
.services-overlap {
    position: relative;
    margin-top: -6rem;
    z-index: 10;
    padding-bottom: 10rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.service-card {
    background: white;
    border-radius: 3rem;
    padding: 4rem 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--xba-navy);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: -1;
    border-radius: 3rem;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .read-more {
    color: white;
}

.service-icon {
    width: 8rem;
    height: 8rem;
    background: rgba(223, 17, 23, 0.1);
    border-radius: 0 10rem 10rem 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--xba-red);
    margin-bottom: 3rem;
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: var(--xba-red);
    color: white;
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 1px var(--xba-red);
    opacity: 0.2;
    transition: 0.4s;
}

.service-card:hover .service-number {
    opacity: 0.5;
    -webkit-text-stroke: 1px white;
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    transition: 0.4s;
    color: var(--xba-navy);
}

.service-card p {
    color: var(--xba-gray);
    margin-bottom: 2.5rem;
    transition: 0.4s;
}

.read-more {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--xba-navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    text-transform: uppercase;
    transition: 0.4s;
}

/* ===== SECURITY SECTION ===== */
.security-section {
    padding: 100px 0;
    background: #fff;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Organic Blob Shape Container */
.security-img-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.protect-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spinning Decorative Border */
.spin-border {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px dashed rgba(223, 17, 23, 0.3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: dt_rounded 30s linear infinite;
    z-index: 1;
}

/* Animated Orbit Dots */
.orbit-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: 3;
    animation: dt_circle_shapes 20s linear infinite;
}

.orbit-dot-1 {
    top: 10%;
    left: -10px;
    animation-delay: 0s;
}

.orbit-dot-2 {
    bottom: 15%;
    right: -10px;
    animation-delay: -10s;
}

/* Play Button */
.play-btn {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(223, 17, 23, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(223, 17, 23, 0.6);
}

.play-btn i {
    margin-left: 4px;
}

/* Red Scrolling Marquee */
.red-marquee {
    background: linear-gradient(90deg, transparent, var(--xba-red), transparent);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10px;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    gap: 100px;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-content span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.pre-label {
    display: inline-block;
    color: var(--xba-red);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.protect-heading {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.protect-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--xba-gray);
    margin-bottom: 30px;
}

.security-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--xba-red);
    transition: width 0.4s ease;
    z-index: 0;
}

.feature-box:hover::before {
    width: 100%;
}

.feature-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-box:hover .feature-icon,
.feature-box:hover h4 {
    color: white;
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--xba-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .security-grid { grid-template-columns: 1fr; gap: 40px; }
    .security-features { grid-template-columns: 1fr; }
    .protect-heading { font-size: 32px; }
}

/* SERVICES GRID */
.services-main {
    background: var(--xba-navy);
    padding: 10rem 0;
    color: white;
}

.services-main h2 {
    color: white;
}

.main-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

.main-card {
    background: white;
    border-radius: 3rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.main-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.main-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 2rem;
    margin-bottom: 2.5rem;
}

.main-card .icon-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: var(--xba-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 0 0 0 5rem;
    z-index: 2;
}

.main-card .outline-num {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 6rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 1px var(--xba-red);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.main-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--xba-navy);
}

.main-card h3 a:hover {
    color: var(--xba-red);
}

.main-card p {
    font-size: 1.4rem;
    color: var(--xba-gray);
    margin-bottom: 0;
}

/* PARTNERS */
.partners-section {
    padding: 8rem 0;
    background: white;
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    width: 150px;
    height: 80px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #aaa;
    font-weight: 600;
    filter: grayscale(100%);
    transition: 0.3s;
    overflow: hidden;
}

.partner-logo:hover {
    filter: grayscale(0);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--xba-red);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* WHY CHOOSE US */
.why-choose {
    padding: 10rem 0;
    background: #F9FAFB;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.benefit-icon {
    color: var(--xba-red);
    font-size: 2.4rem;
    margin-top: 5px;
}

.benefit-content h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.benefit-content p {
    color: var(--xba-gray);
    margin: 0;
}

.why-image {
    border-radius: 3rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* STATS */
.stats-section {
    background: var(--xba-navy);
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--xba-red);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* FOOTER */
.footer {
    background: var(--xba-dark);
    color: #ccc;
    padding: 8rem 0 2rem 0;
    font-size: 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col .logo {
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
}

.footer-col p {
    margin-bottom: 3rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--xba-red);
}

.footer-title {
    color: white;
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--xba-red);
}

.footer-links {
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1.5rem;
}

.footer-links a:hover {
    color: var(--xba-red);
    padding-left: 5px;
}

.footer-contact {
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.footer-contact i {
    color: var(--xba-red);
    font-size: 1.8rem;
    margin-top: 5px;
}

.newsletter form {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 2rem;
}

.newsletter input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
}

.newsletter button {
    padding: 0 25px;
    border: none;
    background: var(--xba-red);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter button:hover {
    background: var(--xba-dark-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    text-align: center;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {

    .security-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .header-widgets,
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 4rem;
    }

    .nav-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .main-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .topbar-contact {
        display: none;
    }
}

/* User Fix: Dropdown Menu CSS */
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; position: relative; }
.nav-links > li { position: relative; }
.nav-links > li > ul,
.nav-links .sub-menu,
.nav-links .dropdown {
display: block;
position: absolute;
top: 100%;
left: 0;
background: #0B1524;
min-width: 280px;
border-top: 3px solid #DF1117;
border-radius: 0 0 8px 8px;
padding: 10px 0;
opacity: 0;
visibility: hidden;
transform: translateY(15px);
transition: all 0.3s ease;
z-index: 9999;
box-shadow: 0 15px 40px rgba(0,0,0,0.4);
pointer-events: none;
list-style: none;
margin: 0;
}
.nav-links > li:hover > ul,
.nav-links > li:hover .sub-menu,
.nav-links > li:hover .dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
pointer-events: all;
}
.nav-links .sub-menu li,
.nav-links .dropdown li,
.nav-links > li > ul li {
display: block;
margin: 0;
width: 100%;
}
.nav-links .sub-menu a,
.nav-links .dropdown a,
.nav-links > li > ul li a {
display: block;
padding: 12px 25px !important;
color: #cccccc;
font-size: 1.3rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.3px;
border-left: 3px solid transparent;
transition: all 0.2s ease;
white-space: nowrap;
background: transparent;
}
.nav-links .sub-menu a:hover,
.nav-links .dropdown a:hover,
.nav-links > li > ul li a:hover {
color: #DF1117 !important;
border-left-color: #DF1117;
padding-left: 30px !important;
background: rgba(223,17,23,0.05);
}

/* Kill Astra defaults */
.ast-separate-container .ast-article-single,
.ast-separate-container #primary,
.ast-container,
.ast-page-builder-template .ast-article-single,
#ast-fixed-footer,
.ast-above-header-bar,
.ast-below-header-bar,
.ast-masthead-custom-menu-items,
.menu-toggle,
.ast-mobile-header-stack,
.ast-primary-header-bar { display: none !important; }

.ast-page-builder-template #content,
.ast-page-builder-template #primary,
#content .ast-container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

.entry-content a { color: #DF1117 !important; }
.entry-content a:hover { color: #A50D12 !important; }
h1, h2, h3, h4, h5, h6 { color: #032330; }
a { color: inherit; }

/* Override Astra blue everywhere */
.ast-highlight-color,
.ast-color-theme,
.elementor-button,
.wp-block-button__link { background-color: #DF1117 !important; color: white !important; border-color: #DF1117 !important; }
.xba-main-content .elementor-widget-heading .elementor-heading-title { color: #032330; font-family: Poppins, sans-serif !important; }
.xba-main-content .elementor-widget-text-editor { font-family: Inter, sans-serif !important; color: #2D2D2D; }
.xba-main-content .elementor-icon-box-icon .elementor-icon i { color: #DF1117; }
.elementor-icon-box-title { color: #032330 !important; font-family: Poppins, sans-serif !important; }
.elementor-counter-number { color: #DF1117 !important; font-family: Poppins, sans-serif !important; }
.elementor-divider-separator { border-color: #DF1117 !important; }
.elementor-section { font-family: Inter, sans-serif !important; }

/* Elementor Animations & Hover Effects */
.elementor-section,
.elementor-widget-wrap,
.elementor-icon-box-wrapper,
.elementor-column { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }

.elementor-section.xba-animated,
.elementor-widget-wrap.xba-animated,
.elementor-icon-box-wrapper.xba-animated,
.elementor-column.xba-animated { opacity: 1; transform: translateY(0); }

.elementor-icon-box-wrapper {
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border-top: 3px solid transparent;
}
.elementor-icon-box-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(223,17,23,0.12);
    border-top-color: #DF1117;
}
.elementor-icon-box-wrapper:hover .elementor-icon i {
    transform: scale(1.2);
}
.elementor-icon i {
    transition: transform 0.3s ease;
}

/* ─── WooCommerce Cart Overrides ─── */
.woocommerce-cart .woocommerce { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { background: #032330; color: white; padding: 15px; font-family: Poppins, sans-serif; }
.woocommerce table.shop_table td { padding: 20px 15px; border-bottom: 1px solid #F5F5F5; vertical-align: middle; }
.woocommerce .cart-collaterals .cart_totals { background: #F9FAFB; padding: 30px; border-radius: 12px; }
.woocommerce .cart-collaterals h2 { font-family: Poppins, sans-serif; color: #032330; font-size: 2.2rem; }
.woocommerce .cart_totals .order-total .amount { color: #DF1117; font-weight: 700; font-size: 2rem; }
.woocommerce .wc-proceed-to-checkout .checkout-button { background: #DF1117 !important; color: white !important; border-radius: 6px !important; padding: 18px 40px !important; font-family: Poppins, sans-serif !important; font-size: 1.6rem !important; font-weight: 600 !important; width: 100% !important; text-align: center !important; }
.woocommerce .wc-proceed-to-checkout .checkout-button:hover { background: #A50D12 !important; }
.woocommerce a.remove { color: #DF1117 !important; font-size: 2rem !important; }
.woocommerce a.remove:hover { background: #DF1117 !important; color: white !important; }

/* Duration Selector */
.xba-cart-duration-wrap { margin-top: 10px; }
.xba-duration-label { display: block; font-size: 12px; color: #777; margin-bottom: 4px; font-family: Inter, sans-serif; }
.xba-duration-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #2D2D2D;
    background: white;
    cursor: pointer;
    appearance: auto;
}
.xba-duration-select:focus { border-color: #DF1117; outline: none; }

/* FIX 1 — Elementor Full Width Overrides for About Page Widgets */
.elementor-page .elementor-widget-xba-about-hero .elementor-widget-container,
.elementor-page .elementor-widget-xba-about-who .elementor-widget-container,
.elementor-page .elementor-widget-xba-about-vision .elementor-widget-container,
.elementor-page .elementor-widget-xba-about-mission .elementor-widget-container,
.elementor-page .elementor-widget-xba-about-values .elementor-widget-container,
.elementor-page .elementor-widget-xba-about-team .elementor-widget-container,
.elementor-page .elementor-widget-xba-about-cta .elementor-widget-container {
padding: 0 !important;
margin: 0 !important;
width: 100vw !important;
max-width: 100vw !important;
position: relative !important;
left: 50% !important;
right: 50% !important;
margin-left: -50vw !important;
margin-right: -50vw !important;
}
.elementor-page .elementor-widget-xba-about-hero,
.elementor-page .elementor-widget-xba-about-who,
.elementor-page .elementor-widget-xba-about-vision,
.elementor-page .elementor-widget-xba-about-mission,
.elementor-page .elementor-widget-xba-about-values,
.elementor-page .elementor-widget-xba-about-team,
.elementor-page .elementor-widget-xba-about-cta {
width: 100% !important;
max-width: 100% !important;
}

/* FIX 4 — Global Elementor Section Spacing Overrides */
.elementor-section,
.elementor-top-section,
.elementor-inner-section,
.e-container,
.e-flex {
width: 100% !important;
max-width: 100% !important;
}
.ast-container,
.ast-page-builder-template .ast-article-single,
#ast-fixed-footer { max-width: 100% !important; padding: 0 !important; }

/* Contact Form 7 Global Styling */
.wpcf7-form input, .wpcf7-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    color: #2D2D2D;
    background: white;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
    border-color: #DF1117;
    outline: none;
}
.wpcf7-form input[type="submit"] {
    background: #DF1117;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 6px;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}
.wpcf7-form input[type="submit"]:hover { background: #A50D12; }

/* Contact Form Specific Overrides For Widget */
.xba-cf7-wrapper .wpcf7-form p { margin-bottom: 0; }
.xba-cf7-wrapper .wpcf7-form br { display: none; }

/* Contact Us Widget Full Width Fixes */
.elementor-widget-xba-contact-hero .elementor-widget-container,
.elementor-widget-xba-contact-info .elementor-widget-container,
.elementor-widget-xba-contact-form .elementor-widget-container,
.elementor-widget-xba-contact-newsletter .elementor-widget-container {
padding: 0 !important;
margin: 0 !important;
width: 100vw !important;
max-width: 100vw !important;
position: relative !important;
left: 50% !important;
right: 50% !important;
margin-left: -50vw !important;
margin-right: -50vw !important;
}
.elementor-widget-xba-contact-hero,
.elementor-widget-xba-contact-info,
.elementor-widget-xba-contact-form,
.elementor-widget-xba-contact-newsletter {
width: 100% !important;
max-width: 100% !important;
overflow: hidden;
}

/* Nuclear Full Width Global Fixes */
body.xba-fullwidth-page .site-content,
body.xba-fullwidth-page #content,
body.xba-fullwidth-page #primary,
body.xba-fullwidth-page .ast-container,
body.xba-fullwidth-page .ast-article-single,
body.xba-fullwidth-page .entry-content,
body.xba-fullwidth-page .post-content,
body.xba-fullwidth-page .elementor-section-wrap,
body.xba-fullwidth-page .elementor-inner {
max-width: 100% !important;
width: 100% !important;
padding: 0 !important;
margin: 0 !important;
}
body.xba-fullwidth-page .elementor-widget-container {
padding: 0 !important;
margin: 0 !important;
}
body.xba-fullwidth-page .elementor-section {
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

/* =============== HERO SLIDER =============== */
.xba-hero-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #000;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* .hero-slide .container styling moved to template-home.php for dynamic controls */

.hero-slide .pill-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slide .hero-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-slide .hero-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.hero-slide .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* .hero-controls, .hero-prev, .hero-next moved to template-home.php for dynamic controls */

.hero-prev:hover, .hero-next:hover {
    background: var(--xba-red);
    border-color: var(--xba-red);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--xba-red);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .xba-hero-slider { height: 600px; }
    .hero-slide .hero-heading { font-size: 36px; }
    .hero-slide .hero-text { font-size: 16px; }
    .hero-controls { bottom: 20px; }
}

/* ===== VIDEO LIGHTBOX ===== */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-lightbox-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
}

.video-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--xba-red);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-lightbox-close:hover {
    transform: scale(1.1);
}

.video-lightbox-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-lightbox-wrapper iframe,
.video-lightbox-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== CUSTOM CODE SECTIONS ===== */
.xba-custom-section {
    position: relative;
    width: 100%;
}

.xba-custom-section .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Style inheritance for custom sections */
.xba-custom-section h1,
.xba-custom-section h2,
.xba-custom-section h3,
.xba-custom-section h4,
.xba-custom-section h5,
.xba-custom-section h6 {
    font-family: var(--font-heading);
}

.xba-custom-section p,
.xba-custom-section li,
.xba-custom-section span {
    font-family: var(--font-body);
}

/* ===== PARTNERS SECTION ===== */
.xba-partners-section {
    padding: 100px 0;
    background: #fff;
}

.partners-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.partners-heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--xba-black);
    line-height: 1.2;
}

.partners-heading span {
    color: var(--xba-red);
    position: relative;
}

.partners-heading span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--xba-red);
    border-radius: 2px;
}

.partners-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--xba-gray);
}

.partners-description strong {
    color: var(--xba-red);
    font-weight: 600;
}

.partners-slider-wrapper {
    position: relative;
    padding: 0 80px;
}

.partners-swiper {
    overflow: hidden;
    padding: 20px 0;
}

.partners-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.partner-logo-box:hover {
    background: #fff;
    border-color: var(--xba-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo-box:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.partners-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.partners-prev,
.partners-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: var(--xba-black);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-prev:hover,
.partners-next:hover {
    background: var(--xba-red);
    border-color: var(--xba-red);
    color: white;
}

.partners-pagination {
    display: flex;
    gap: 10px;
}

.partners-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partners-pagination .swiper-pagination-bullet-active {
    background: var(--xba-red);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .partners-heading { font-size: 32px; }
    .partners-slider-wrapper { padding: 0 20px; }
    .partners-nav { gap: 15px; }
    .partners-prev, .partners-next { width: 40px; height: 40px; font-size: 16px; }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: 100px 0;
    background: #fff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Why Image Column with Decorations */
.why-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Organic Shape Container */
.why-img-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    z-index: 2;
    border: 4px solid var(--xba-red);
    box-shadow: 0 20px 60px rgba(223, 17, 23, 0.15);
}

.why-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spinning Decorative Border */
.why-spin-border {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px dashed rgba(223, 17, 23, 0.3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: dt_rounded 30s linear infinite;
    z-index: 1;
}

/* Animated Orbit Dots */
.why-orbit-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--xba-red);
    z-index: 3;
    animation: dt_circle_shapes 20s linear infinite;
}

.why-orbit-dot-1 {
    top: 15%;
    left: -8px;
    animation-delay: 0s;
    background: var(--xba-red);
}

.why-orbit-dot-2 {
    top: 50%;
    right: -8px;
    animation-delay: -7s;
    background: #FFA500;
}

.why-orbit-dot-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: -14s;
    background: #FF6B6B;
}

/* #1 Agency Badge */
.why-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--xba-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 15px 40px rgba(223, 17, 23, 0.4);
    border: 6px solid white;
}

.why-badge-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.why-badge-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
}

/* Content Column */
.why-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--xba-black);
}

.why-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-benefit:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.why-benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--xba-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.why-benefit-icon i {
    color: white;
    font-size: 14px;
}

.why-benefit-text {
    flex: 1;
}

.why-benefit-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--xba-black);
}

.why-benefit-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--xba-gray);
    margin: 0;
}

@media (max-width: 968px) {
    .why-choose-grid { grid-template-columns: 1fr; gap: 50px; }
    .why-content h2 { font-size: 32px; }
    .why-badge { width: 120px; height: 120px; bottom: -20px; left: -20px; }
    .why-badge-number { font-size: 40px; }
    .why-badge-text { font-size: 14px; }
}

/* ===== STATS SECTION - CREATIVE DESIGN ===== */
.xba-stats-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #032330 0%, #0B1524 100%);
    overflow: hidden;
}

/* Animated Background Decorations */
.stats-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.stats-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 17, 23, 0.15) 0%, transparent 70%);
    animation: pulse-float 8s ease-in-out infinite;
}

.stats-circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.stats-circle-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.stats-circle-3 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 40%;
    animation-delay: 4s;
}

@keyframes pulse-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Stat Card */
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--xba-red), #FF6B6B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(223, 17, 23, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(223, 17, 23, 0.3);
}

/* Icon Wrapper with Animated Background */
.stat-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.stat-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--xba-red), #FF6B6B);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.stat-icon {
    position: relative;
    z-index: 2;
    font-size: 42px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 25px;
}

/* Stat Content */
.stat-content {
    position: relative;
    z-index: 2;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--xba-red);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(223, 17, 23, 0.4);
}

.stat-suffix {
    font-size: 36px;
    font-weight: 700;
    color: var(--xba-red);
    margin-left: 4px;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Decorative Line */
.stat-decoration {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    transition: width 0.4s ease;
}

.stat-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--xba-red), transparent);
}

.stat-card:hover .stat-decoration {
    width: 80%;
}

@media (max-width: 968px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .stat-number {
        font-size: 48px;
    }
    .stat-suffix {
        font-size: 30px;
    }
}

/* ===== SCROLL PROGRESS BACK TO TOP BUTTON ===== */
.scroll-progress-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.scroll-progress-btn::before,
.scroll-progress-btn::after {
    display: none !important;
}

.scroll-progress-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-progress-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(223, 17, 23, 0.3);
}

.scroll-progress-btn:active {
    transform: scale(0.95);
}

/* Progress Ring SVG */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 4;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--xba-red);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 163.36;
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.1s linear;
}

/* Arrow Icon */
.scroll-arrow {
    position: relative;
    z-index: 2;
    font-size: 20px;
    color: var(--xba-red);
    transition: transform 0.3s ease;
}

.scroll-progress-btn:hover .scroll-arrow {
    transform: translateY(-3px);
}

.scroll-btn-right {
    right: 30px;
    left: auto;
}

.scroll-btn-left {
    left: 30px;
    right: auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .scroll-progress-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .scroll-btn-right {
        right: 20px;
    }
    
    .scroll-btn-left {
        left: 20px;
    }
    
    .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .progress-ring-bg,
    .progress-ring-fill {
        r: 21;
        stroke-dasharray: 131.95;
        stroke-dashoffset: 131.95;
    }
    
    .scroll-arrow {
        font-size: 16px;
    }
}

/* Hide any duplicate or old back to top buttons */
a[href="#"][style*="position:fixed"] {
    display: none !important;
}

/* ===== MOTION DECORATIVE ELEMENTS ===== */
.xba-motion-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.xba-motion-global {
    position: fixed; /* Keep it on screen everywhere if global */
}

.motion-element {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.motion-element svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Animation Types */
.motion-anim-float {
    animation: motion-float 8s ease-in-out infinite;
}

.motion-anim-pulse {
    animation: motion-pulse 4s ease-in-out infinite;
}

.motion-anim-rotate {
    animation: motion-rotate 20s linear infinite;
}

.motion-anim-bounce {
    animation: motion-bounce 6s ease-in-out infinite;
}

.motion-anim-sway {
    animation: motion-sway 10s ease-in-out infinite;
}

.motion-anim-none {
    animation: none;
}

/* Keyframe Animations */
@keyframes motion-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, 15px) rotate(-5deg);
    }
    75% {
        transform: translate(15px, -10px) rotate(3deg);
    }
}

@keyframes motion-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
}

@keyframes motion-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes motion-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes motion-sway {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(30px) rotate(10deg);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    75% {
        transform: translateX(-30px) rotate(-10deg);
    }
}

/* Ensure footer is positioned for absolute children */
.footer {
    position: relative;
}

/* ═══════════════════════════════════════════
   SOCIAL MEDIA ICONS
   ═══════════════════════════════════════════ */

.header-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-social-icons .social-icon:hover {
    background: #DF1117;
    transform: translateY(-3px);
}

.header-social-preheader {
    margin-left: 30px;
}

.header-social-preheader .social-icon {
    background: rgba(255, 255, 255, 0.05);
}

.header-social-navbar {
    margin-right: 20px;
}

.header-social-navbar .social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════
   ACCOUNT/LOGIN BUTTON
   ═══════════════════════════════════════════ */

.header-account-btn-wrapper,
.header-account-navbar {
    margin-right: 15px;
}

.header-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-account-btn:hover {
    background: #DF1117;
    border-color: #DF1117;
    transform: translateY(-2px);
}

.header-account-btn i {
    font-size: 16px;
}

/* Pre-header account button */
.header-account-btn-wrapper .header-account-btn {
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar account button */
.header-account-navbar {
    padding: 12px 20px;
}

@media (max-width: 968px) {
    .header-social-icons {
        display: none;
    }
    
    .header-account-btn span {
        display: none;
    }
    
    .header-account-btn {
        padding: 10px;
    }
}

/* ═══════════════════════════════════════════
   COLLAPSING HEADER SYSTEM - FIXED
   ═══════════════════════════════════════════ */

.site-header {
    position: relative;
    z-index: 9999;
}

.site-header.header-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Topbar - slides up and disappears */
.header-scrolled .topbar {
    display: none;
}

/* Preheader - slides up and disappears */
.header-scrolled .preheader {
    display: none;
}

/* Navbar - stays but gets compact */
.header-scrolled .navbar {
    padding: 0;
    background: var(--collapsed-bg-color, #0B1524) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-top: none;
}

.header-scrolled .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 25px;
}

/* Logo in collapsed state */
.collapsed-header-logo {
    display: none;
    margin-right: 20px;
    flex-shrink: 0;
}

.header-scrolled .collapsed-header-logo {
    display: block;
}

.collapsed-header-logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* Menu in collapsed state */
.header-scrolled .nav-links {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.header-scrolled .nav-links li {
    margin: 0;
    padding: 0;
}

.header-scrolled .nav-links a {
    color: var(--collapsed-text-color, #FFFFFF) !important;
    font-size: 14px;
    padding: 6px 0;
}

.header-scrolled .nav-links a:hover {
    color: #DF1117 !important;
}

/* Hide menu if disabled */
.header-scrolled.hide-collapsed-menu .nav-links {
    display: none !important;
}

/* Chat button in collapsed state */
.header-scrolled .nav-btn {
    margin: 0;
    padding: 12px 28px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Hide chat button if disabled */
.header-scrolled.hide-collapsed-chat .nav-btn {
    display: none !important;
}

/* Collapsed Header Extras */
.collapsed-header-extras {
    display: none;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-scrolled .collapsed-header-extras {
    display: flex;
}

.collapsed-social-icons {
    display: flex;
    gap: 8px;
}

.collapsed-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--collapsed-text-color, #FFFFFF);
    transition: all 0.3s ease;
    text-decoration: none;
}

.collapsed-social-icon:hover {
    background: #DF1117;
    transform: translateY(-2px);
}

.collapsed-phone,
.collapsed-account,
.collapsed-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--collapsed-text-color, #FFFFFF);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.collapsed-phone:hover,
.collapsed-account:hover,
.collapsed-cart:hover {
    background: #DF1117;
}

.collapsed-cart {
    position: relative;
}

.collapsed-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #DF1117;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

/* Add padding to body when header becomes fixed */
body.header-is-fixed {
    padding-top: 0;
}

/* Mobile adjustments */
@media (max-width: 968px) {
    .collapsed-header-extras {
        display: none !important;
    }
    
    .collapsed-phone span,
    .collapsed-account span {
        display: none;
    }
    
    .header-scrolled .navbar .container {
        padding: 10px 15px;
    }
    
    .collapsed-header-logo img {
        height: 38px;
    }
    
    .header-scrolled .nav-links {
        gap: 15px;
    }
    
    .header-scrolled .nav-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* ==========================================================================
   MOBILE HEADER — Hidden on Desktop
   ========================================================================== */

.xba-mobile-header,
.xba-mobile-overlay,
.xba-mobile-drawer {
    display: none;
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE — < 1024px (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1023px) {

    /* ── Hide Desktop Header Layers ── */
    .topbar,
    .preheader,
    .navbar {
        display: none !important;
    }

    /* ── Mobile Header Bar ── */
    .xba-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--xba-dark, #0B1524);
        padding: 0 16px;
        height: 64px;
        border-bottom: 2px solid var(--xba-red);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    /* Fix body so content doesn't hide behind fixed mobile header */
    body {
        padding-top: 64px !important;
    }

    /* Logo */
    .xba-mobile-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .xba-mobile-logo img {
        height: 36px;
        width: auto;
        object-fit: contain;
    }

    .xba-mobile-logo-text {
        font-family: var(--font-heading);
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--xba-white);
        letter-spacing: 1px;
    }

    .xba-mobile-logo-text span {
        color: var(--xba-red);
    }

    /* Right section: socials + hamburger */
    .xba-mobile-right {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    /* Social icons in mobile bar */
    .xba-mobile-social {
        display: flex;
        gap: 8px;
    }

    .xba-mobile-social-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: var(--xba-white);
        font-size: 13px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .xba-mobile-social-icon:hover {
        background: var(--xba-red);
        transform: scale(1.1);
    }

    /* ── Hamburger Button ── */
    .xba-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
        gap: 5px;
        z-index: 1002;
        -webkit-tap-highlight-color: transparent;
    }

    .xba-hamburger span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: var(--xba-white);
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    /* Hamburger → X animation */
    .xba-hamburger.is-active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .xba-hamburger.is-active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .xba-hamburger.is-active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* ── Mobile Overlay ── */
    .xba-mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .xba-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* ── Slide-in Drawer ── */
    .xba-mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100%;
        background: var(--xba-dark, #0B1524);
        z-index: 1003;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .xba-mobile-drawer.active {
        transform: translateX(0);
    }

    /* Drawer header */
    .xba-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .xba-drawer-logo img {
        height: 32px;
        width: auto;
    }

    .xba-drawer-close {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--xba-white);
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .xba-drawer-close:hover {
        background: var(--xba-red);
        border-color: var(--xba-red);
        transform: rotate(90deg);
    }

    /* Drawer navigation links */
    .xba-drawer-nav {
        list-style: none;
        margin: 0;
        padding: 16px 0;
    }

    .xba-drawer-nav li {
        margin: 0;
        padding: 0;
    }

    .xba-drawer-nav a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 24px;
        color: rgba(255, 255, 255, 0.85);
        font-family: var(--font-heading);
        font-size: 15px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        border-left: 3px solid transparent;
    }

    .xba-drawer-nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: rgba(223, 17, 23, 0.08);
        transition: width 0.3s ease;
    }

    .xba-drawer-nav a:hover {
        color: var(--xba-white);
        border-left-color: var(--xba-red);
        background: rgba(223, 17, 23, 0.06);
    }

    .xba-drawer-nav a:hover::before {
        width: 100%;
    }

    .xba-drawer-nav a i {
        width: 20px;
        text-align: center;
        font-size: 16px;
        color: var(--xba-red);
    }

    .xba-drawer-badge {
        margin-left: auto;
        background: var(--xba-red);
        color: var(--xba-white);
        font-size: 11px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 12px;
        min-width: 20px;
        text-align: center;
        line-height: 1.4;
    }

    /* Drawer social icons */
    .xba-drawer-social {
        display: flex;
        gap: 10px;
        padding: 20px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        margin-top: auto;
    }

    .xba-drawer-social-icon {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--xba-white);
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .xba-drawer-social-icon:hover {
        background: var(--xba-red);
        border-color: var(--xba-red);
        transform: translateY(-2px);
    }

    /* Drawer contact info */
    .xba-drawer-contact {
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .xba-drawer-contact p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 13px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .xba-drawer-contact p:last-child {
        margin-bottom: 0;
    }

    .xba-drawer-contact i {
        color: var(--xba-red);
        font-size: 14px;
        width: 16px;
        text-align: center;
    }

    /* Prevent hero from going under mobile header */
    .hero, .hero-slider, .xba-hero-slider {
        min-height: calc(100vh - 64px);
    }

    .xba-page-header {
        min-height: 300px;
    }

    /* ── Sub-menu Accordion ── */
    .xba-drawer-nav .menu-item-has-children {
        position: relative;
    }

    .xba-drawer-nav .menu-item-has-children > a {
        padding-right: 50px;
    }

    .xba-submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .xba-submenu-toggle i {
        font-size: 12px;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .xba-submenu-toggle.is-open i {
        transform: rotate(180deg);
    }

    .xba-drawer-submenu {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(0, 0, 0, 0.15);
    }

    .xba-drawer-submenu.is-open {
        max-height: 500px;
    }

    .xba-drawer-submenu a {
        padding-left: 44px !important;
        font-size: 13px !important;
        letter-spacing: 0.5px !important;
        opacity: 0.85;
        border-left: none !important;
    }

    .xba-drawer-submenu a::before {
        content: '—';
        position: absolute;
        left: 24px;
        color: rgba(255, 255, 255, 0.3);
        font-size: 12px;
    }

    .xba-drawer-submenu a:hover {
        opacity: 1;
        padding-left: 48px !important;
    }

    /* Depth-1 sub-sub-menus */
    .xba-drawer-submenu .xba-drawer-submenu {
        background: rgba(0, 0, 0, 0.1);
    }

    .xba-drawer-submenu .xba-drawer-submenu a {
        padding-left: 60px !important;
    }
}