/* ========================================
   Xpert Point Elementor Widgets - Main Stylesheet
   ======================================== */

/* Hero Section */
.xpert-point-hero {
    position: relative;
    background: linear-gradient(135deg, #0d4491 0%, #172170 100%);
    padding: 80px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.xpert-point-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(23, 33, 112, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(23, 33, 112, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.xpert-point-cityscape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.xpert-point-building {
    position: absolute;
    bottom: 0;
    background: linear-gradient(135deg, #1774ae 0%, #0d4491 100%);
    border-radius: 8px 8px 0 0;
    opacity: 0.2;
}

.xpert-point-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.xpert-point-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    line-height: 1.2;
}

.xpert-point-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.xpert-point-hero-btn {
    padding: 15px 35px;
    background: #1774ae;
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 116, 174, 0.3);
    display: inline-block;
}

.xpert-point-hero-btn:hover {
    background: #0d4491;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 116, 174, 0.4);
}

/* Icon Navigation */
.xpert-point-icon-nav {
    background: white;
    padding: 40px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.xpert-point-icon-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
}

.xpert-point-icon-container[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.xpert-point-icon-container[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.xpert-point-icon-container[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.xpert-point-icon-container[data-columns="5"] {
    grid-template-columns: repeat(5, 1fr);
}

.xpert-point-icon-container[data-columns="6"] {
    grid-template-columns: repeat(6, 1fr);
}

.xpert-point-icon-container[data-columns="8"] {
    grid-template-columns: repeat(8, 1fr);
}

.xpert-point-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    /* CRITICAL: Always visible from start */
    opacity: 1 !important;
    visibility: visible !important;
}

.xpert-point-icon-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.xpert-point-icon-item:hover {
    transform: translateY(-5px);
}

.xpert-point-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #172170;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.xpert-point-icon-circle i,
.xpert-point-icon-circle svg {
    font-size: 32px;
    color: white;
    /* CRITICAL: Ensure icons are visible from page load */
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.xpert-point-icon-item:hover .xpert-point-icon-circle {
    transform: scale(1.1);
}

.xpert-point-icon-label {
    font-size: 0.9rem;
    color: #172170;
    line-height: 1.4;
}

/* Mission Section */
.xpert-point-mission-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: block !important;
    visibility: visible !important;
}

.xpert-point-mission-heading {
    font-size: 2.5rem;
    color: #172170;
    margin-bottom: 30px;
    font-weight: 700;
    display: block !important;
    visibility: visible !important;
}

.xpert-point-mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    display: block !important;
    visibility: visible !important;
}

.xpert-point-mission-text p {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 15px;
}

.xpert-point-mission-tagline {
    font-style: italic;
    color: #666;
    margin-top: 30px;
    display: block !important;
    visibility: visible !important;
}

/* App Promo Section - Slider */
.xpert-point-app-promo {
    background: #f8f9fa;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.xpert-point-promo-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.xpert-point-promo-slides {
    position: relative;
    width: 100%;
    min-height: 450px;
}

.xpert-point-promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

.xpert-point-promo-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
    position: relative !important;
}

/* Force content to be visible */
.xpert-point-promo-slide.active * {
    visibility: visible !important;
}

.xpert-point-promo-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.xpert-point-promo-container > * {
    display: block !important;
    visibility: visible !important;
}

.xpert-point-promo-container.image-left {
    grid-template-areas: "image content";
}

.xpert-point-promo-container.image-left .xpert-point-promo-image {
    grid-area: image;
}

.xpert-point-promo-container.image-left .xpert-point-promo-content {
    grid-area: content;
}

.xpert-point-promo-container.image-right {
    grid-template-areas: "content image";
}

.xpert-point-promo-container.image-right .xpert-point-promo-content {
    grid-area: content;
}

.xpert-point-promo-container.image-right .xpert-point-promo-image {
    grid-area: image;
}

.xpert-point-promo-content {
    z-index: 1;
}

.xpert-point-promo-heading {
    font-size: 2rem;
    color: #172170;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    display: block !important;
    visibility: visible !important;
}

.xpert-point-promo-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    display: block !important;
    visibility: visible !important;
}

.xpert-point-promo-description p {
    margin-bottom: 15px;
    display: block !important;
}

.xpert-point-promo-description p:last-child {
    margin-bottom: 0;
}

.xpert-point-promo-description strong {
    font-weight: 600;
    color: #172170;
}

.xpert-point-promo-btn {
    display: inline-block !important;
    padding: 15px 35px;
    background: #1774ae;
    color: white !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 116, 174, 0.3);
    visibility: visible !important;
}

.xpert-point-promo-btn:hover {
    background: #0d4491;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 116, 174, 0.4);
}

.xpert-point-promo-image {
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    visibility: visible !important;
}

.xpert-point-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    visibility: visible !important;
}

/* Slider Navigation Arrows */
.xpert-point-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #172170;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: #172170;
}

.xpert-point-slider-arrow:hover {
    background: #1774ae;
    border-color: #1774ae;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.xpert-point-slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Arrows Outside Content (Default) */
.xpert-point-arrows-outside .xpert-point-slider-arrow-left {
    left: -70px;
}

.xpert-point-arrows-outside .xpert-point-slider-arrow-right {
    right: -70px;
}

/* Arrows Inside Content */
.xpert-point-arrows-inside .xpert-point-slider-arrow-left {
    left: 20px;
}

.xpert-point-arrows-inside .xpert-point-slider-arrow-right {
    right: 20px;
}

.xpert-point-slider-arrow svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Slider Navigation Dots */
.xpert-point-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.xpert-point-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cccccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.xpert-point-slider-dot:hover {
    background: #999999;
    transform: scale(1.2);
}

.xpert-point-slider-dot.active {
    background: #1774ae;
    width: 30px;
    border-radius: 6px;
}

/* Service Cards Section */
.xpert-point-service-cards-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.xpert-point-service-heading {
    text-align: center;
    font-size: 2.5rem;
    color: #172170;
    margin-bottom: 60px;
    font-weight: 700;
}

.xpert-point-cards-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.xpert-point-card-wrapper {
    grid-column: span 1;
    position: relative;
}

.xpert-point-service-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.xpert-point-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.xpert-point-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.xpert-point-card-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.xpert-point-card-link {
    display: inline-block;
    color: white !important;
    text-decoration: none;
    padding: 10px 20px;
    background: #0d4491;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.xpert-point-card-link:hover {
    background: #172170;
    transform: translateX(5px);
}

.xpert-point-card-description-row {
    grid-column: 1 / -1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    line-height: 1.6;
    color: #555;
    border: 3px solid #1774ae;
    border-style: solid;
    margin-bottom: 20px;
}

.xpert-point-card-description-row p {
    margin: 0;
}

.xpert-point-card-description-row p:not(:last-child) {
    margin-bottom: 15px;
}

/* Responsive Grid Adjustments */
@media (max-width: 968px) {
    .xpert-point-cards-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .xpert-point-card-wrapper {
        grid-column: span 1;
    }
    
    .xpert-point-service-card {
        height: 320px;
    }
}

/* Responsive Styles */
@media (max-width: 968px) {
    .xpert-point-hero h1 {
        font-size: 2.5rem;
    }

    .xpert-point-promo-container {
        grid-template-columns: 1fr !important;
        grid-template-areas: 
            "content"
            "image" !important;
    }

    .xpert-point-icon-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    }

    .xpert-point-cards-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .xpert-point-building {
        display: none;
    }

    .xpert-point-mission-heading,
    .xpert-point-service-heading {
        font-size: 2rem;
    }

    .xpert-point-service-card {
        height: 320px;
    }

    .xpert-point-promo-slides {
        min-height: 500px;
    }

    /* Move arrows inside on tablet for outside position */
    .xpert-point-arrows-outside .xpert-point-slider-arrow-left {
        left: 15px;
    }

    .xpert-point-arrows-outside .xpert-point-slider-arrow-right {
        right: 15px;
    }
}

@media (max-width: 640px) {
    .xpert-point-hero h1 {
        font-size: 2rem;
    }

    .xpert-point-hero {
        padding: 60px 15px 40px;
    }

    .xpert-point-hero-btn,
    .xpert-point-promo-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .xpert-point-icon-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .xpert-point-icon-circle {
        width: 60px;
        height: 60px;
    }

    .xpert-point-icon-circle i,
    .xpert-point-icon-circle svg {
        font-size: 28px;
    }

    .xpert-point-service-card {
        height: 300px;
    }

    .xpert-point-promo-image {
        height: 250px;
    }

    .xpert-point-promo-heading {
        font-size: 1.5rem;
    }

    .xpert-point-card-overlay h3 {
        font-size: 1.5rem;
    }

    /* Move arrows to bottom on mobile */
    .xpert-point-slider-arrow {
        top: auto;
        bottom: 60px;
        transform: none;
        width: 45px;
        height: 45px;
    }

    .xpert-point-slider-arrow:hover {
        transform: scale(1.1);
    }

    .xpert-point-arrows-outside .xpert-point-slider-arrow-left,
    .xpert-point-arrows-inside .xpert-point-slider-arrow-left {
        left: 50%;
        margin-left: -70px;
    }

    .xpert-point-arrows-outside .xpert-point-slider-arrow-right,
    .xpert-point-arrows-inside .xpert-point-slider-arrow-right {
        right: 50%;
        margin-right: -70px;
    }

    .xpert-point-slider-arrow svg {
        width: 20px;
        height: 20px;
    }

    .xpert-point-promo-slides {
        min-height: 450px;
        padding-bottom: 80px;
    }

    .xpert-point-slider-dots {
        margin-top: 10px;
    }
}

/* ========================================
   Language Switcher Styles
   ======================================== */

.xpert-point-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xpert-point-globe-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
    color: #555555;
    line-height: 1;
}

.xpert-point-globe-icon svg {
    display: block;
}

.xpert-point-language-dropdown {
    font-family: inherit;
    font-size: 16px;
    padding: 12px 20px 12px 16px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 12px;
}

.xpert-point-language-dropdown:hover {
    box-shadow: none;
}

.xpert-point-language-dropdown:focus {
    box-shadow: none;
}

/* Minimal Style */
.xpert-point-lang-switcher-minimal .xpert-point-language-dropdown {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
}

/* Modern Style */
.xpert-point-lang-switcher-modern .xpert-point-language-dropdown {
    border: none;
    border-radius: 20px;
    padding: 14px 45px 14px 20px;
    background-color: #f5f5f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.xpert-point-lang-switcher-modern .xpert-point-language-dropdown:hover {
    background-color: #eeeeee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Loading Spinner */
.xpert-point-lang-loading {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.xpert-point-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(23, 116, 174, 0.2);
    border-top-color: #1774ae;
    border-radius: 50%;
    animation: xpert-point-spin 0.8s linear infinite;
}

@keyframes xpert-point-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Google Translate Overrides */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
    position: static !important;
}

.skiptranslate {
    display: none !important;
}

#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.goog-te-gadget {
    display: none !important;
}

/* Hide Google Translate top bar */
body > .skiptranslate {
    display: none !important;
}

iframe.skiptranslate {
    display: none !important;
}

body > iframe.skiptranslate {
    display: none !important;
}

/* Prevent body positioning issues */
body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
}

/* ========================================
   Global Scrollbar Fix
   Prevent oversized decorative pseudo-elements
   (::before / ::after blobs wider than viewport)
   from creating a horizontal scrollbar.
   ======================================== */
html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Keep the language switcher visible and untranslated */
.xpert-point-lang-switcher,
.xpert-point-language-dropdown {
    font-family: inherit !important;
}

/* Responsive */
@media (max-width: 640px) {
    .xpert-point-language-dropdown {
        font-size: 14px;
        padding: 10px 35px 10px 12px;
    }
}

/* ========================================
   Career Section Widget
   ======================================== */

.xp-career-section {
    --career-primary: #162675;
    --career-accent: #1B1464;
    --career-dark: #262065;
    --career-white: #ffffff;
    --career-light-gray: #f5f5f5;
    --career-gray: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

/* Hero */
.xp-career-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.xp-career-hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: xpCareerFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes xpCareerFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%       { transform: translate(30px, -30px) rotate(5deg); }
    66%       { transform: translate(-20px, 20px) rotate(-5deg); }
}

.xp-career-hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: xpCareerFadeUp 1s ease-out;
}

@keyframes xpCareerFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.xp-career-hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.xp-career-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.xp-career-hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.xp-career-cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #ffffff;
    color: var(--career-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.xp-career-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--career-primary);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.xp-career-cta-btn:hover::before {
    width: 400px;
    height: 400px;
}

.xp-career-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.xp-career-cta-btn span {
    position: relative;
    z-index: 1;
}

.xp-career-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: xpCareerBounce 2s infinite;
}

@keyframes xpCareerBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Shared block padding */
.xp-career-block {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section title/subtitle */
.xp-career-section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--career-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.xp-career-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--career-accent);
    border-radius: 2px;
}

.xp-career-section-title--white { color: #ffffff; }
.xp-career-section-title--white::after { background: #ffffff; }

.xp-career-section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    margin: 1.5rem auto 4rem;
    max-width: 700px;
    display: block;
}

.xp-career-section-subtitle--white { color: rgba(255,255,255,0.85); }

/* Values Grid */
.xp-career-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.xp-career-value-card {
    background: #f5f5f5;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.xp-career-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--career-primary), var(--career-accent), var(--career-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.xp-career-value-card:hover::before { transform: scaleX(1); }

.xp-career-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22,38,117,0.15);
    border-color: var(--career-primary);
}

.xp-career-value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--career-primary);
    margin-bottom: 0.5rem;
}

.xp-career-value-card p { color: #555; line-height: 1.7; }

/* Culture Block */
.xp-career-culture-block {
    background: linear-gradient(135deg, var(--career-dark) 0%, var(--career-primary) 100%);
    color: #ffffff;
    padding: 6rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.xp-career-culture-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.xp-career-culture-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.xp-career-culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.xp-career-culture-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.08);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.xp-career-culture-feature:hover {
    background: rgba(255,255,255,0.12);
    transform: scale(1.05);
}

.xp-career-culture-feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.xp-career-culture-feature p { color: rgba(255,255,255,0.85); line-height: 1.6; }

/* Benefits */
.xp-career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.xp-career-benefit-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.xp-career-benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--career-primary) 0%, var(--career-accent) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.xp-career-benefit-card:hover::before { opacity: 1; }

.xp-career-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22,38,117,0.2);
    border-color: var(--career-primary);
    color: #ffffff;
}

.xp-career-benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--career-primary), var(--career-accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.xp-career-benefit-card:hover .xp-career-benefit-icon {
    background: #ffffff;
    transform: rotate(10deg) scale(1.1);
}

.xp-career-benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--career-primary);
    transition: color 0.3s ease;
}

.xp-career-benefit-card:hover h3 { color: #ffffff; }

.xp-career-benefit-card p { color: #555; line-height: 1.7; transition: color 0.3s ease; }
.xp-career-benefit-card:hover p { color: rgba(255,255,255,0.9); }

/* Growth */
.xp-career-growth-block {
    background: #f5f5f5;
    padding: 6rem 2rem;
    margin-top: 4rem;
}

.xp-career-growth-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding-top: 4rem;
}

.xp-career-growth-inner .xp-career-section-title {
    position: absolute;
    top: 0;
}

.xp-career-growth-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--career-primary);
    font-weight: 500;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Final CTA */
.xp-career-final-cta {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #000000 0%, var(--career-dark) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.xp-career-final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: xpCareerPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes xpCareerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.1); }
}

.xp-career-final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.xp-career-final-cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.xp-career-final-cta p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.xp-career-contact-info {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.xp-career-contact-info:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}

.xp-career-contact-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .xp-career-hero { padding: 2rem 1rem; min-height: 90vh; }
    .xp-career-block { padding: 3rem 1rem; }
    .xp-career-values-grid,
    .xp-career-benefits-grid,
    .xp-career-culture-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .xp-career-culture-block,
    .xp-career-growth-block,
    .xp-career-final-cta { padding: 4rem 1rem; }
    .xp-career-cta-btn { padding: 1rem 2rem; font-size: 1rem; }
}

@media (max-width: 480px) {
    .xp-career-hero h1 { font-size: 2rem; }
    .xp-career-section-title { font-size: 1.8rem; }
    .xp-career-benefit-card,
    .xp-career-value-card { padding: 2rem 1.5rem; }
}

/* ========================================
   Legal, Compliance & Sustainability Widget
   ======================================== */

.xp-legal-section {
    --legal-navy: #1a3a6b;
    --legal-blue: #2563eb;
    --legal-green: #16a34a;
    --legal-green-bg: #dcfce7;
    --legal-blue-bg: #dbeafe;
    --legal-light-gray: #f7f9fc;
    --legal-white: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hero */
.xp-legal-hero {
    background: linear-gradient(135deg, var(--legal-hero-start, #162675) 0%, var(--legal-hero-mid, #262065) 50%, var(--legal-hero-end, #1B1464) 100%);
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.xp-legal-hero-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-legal-hero-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.xp-legal-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.xp-legal-hero-desc {
    font-size: 17px;
    line-height: 1.8;
    max-width: 750px;
    margin: 20px auto 0;
    font-weight: 300;
    opacity: 0.95;
    color: #ffffff;
}

/* Content sections */
.xp-legal-content-section {
    padding: 90px 5%;
    animation: xpLegalFadeIn 0.6s ease-in;
}

@keyframes xpLegalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.xp-legal-white-bg { background-color: #ffffff; }
.xp-legal-light-bg { background-color: #f7f9fc; }

.xp-legal-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Titles */
.xp-legal-section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: -0.5px;
}

.xp-legal-section-standards {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 25px;
    font-weight: 400;
}

.xp-legal-section-desc {
    text-align: center;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 60px;
    font-weight: 400;
}

.xp-legal-section-subtitle {
    display: block;
    text-align: center;
    color: #4b5563;
    font-size: 17px;
    margin-top: 10px;
    margin-bottom: 55px;
    font-weight: 400;
}

.xp-legal-sedex-note {
    color: #4b5563;
    font-size: 16px;
}

/* Features list */
.xp-legal-features-list {
    max-width: 850px;
    margin: 60px auto;
}

.xp-legal-feature-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 25px;
    margin-bottom: 12px;
    background-color: #f7f9fc;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.xp-legal-feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(26, 58, 107, 0.08);
}

.xp-legal-feature-icon {
    width: 45px;
    height: 45px;
    background-color: var(--legal-green-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xp-legal-feature-icon i {
    color: var(--legal-green);
    font-size: 20px;
}

.xp-legal-feature-item span {
    color: #1f2937;
    font-size: 16px;
    font-weight: 400;
}

/* Link */
.xp-legal-link-text {
    color: #06b6d4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: block;
    text-align: center;
    margin: 45px 0;
    transition: color 0.3s;
}

.xp-legal-link-text:hover { color: #0891b2; }

/* Declaration box */
.xp-legal-declaration-box {
    background-color: #f7f9fc;
    padding: 45px;
    border-radius: 10px;
    margin-top: 60px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.xp-legal-decl-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.xp-legal-decl-text {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
    font-weight: 400;
}

.xp-legal-ceo-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.xp-legal-ceo-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--legal-navy), var(--legal-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xp-legal-ceo-avatar i {
    color: white;
    font-size: 26px;
}

.xp-legal-ceo-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
}

.xp-legal-ceo-title {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}

/* Cards grid */
.xp-legal-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin: 60px 0;
}

.xp-legal-info-card {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.xp-legal-white-bg .xp-legal-info-card { background-color: #f7f9fc; }
.xp-legal-light-bg .xp-legal-info-card { background-color: #ffffff; }

.xp-legal-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(26, 58, 107, 0.12);
}

.xp-legal-card-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.xp-legal-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.xp-legal-card-icon i {
    color: var(--legal-navy);
    font-size: 28px;
}

.xp-legal-card-title {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.xp-legal-card-desc {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}

/* Cert note */
.xp-legal-cert-note {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    font-style: italic;
    margin-top: 45px;
}

/* Sustainability note */
.xp-legal-sustainability-note {
    text-align: center;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
    margin-top: 55px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

/* Equal opportunity */
.xp-legal-equal-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
}

.xp-legal-equal-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.xp-legal-equal-icon i {
    color: var(--legal-green);
    font-size: 38px;
}

/* Why matters grid */
.xp-legal-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.xp-legal-matter-card {
    text-align: center;
    padding: 35px 25px;
}

.xp-legal-matter-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.xp-legal-matter-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.xp-legal-matter-icon i {
    color: var(--legal-navy);
    font-size: 30px;
}

.xp-legal-matter-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .xp-legal-hero-title,
    .xp-legal-hero-subtitle { font-size: 40px; }
    .xp-legal-section-title { font-size: 36px; }
}

@media (max-width: 1024px) {
    .xp-legal-why-grid { grid-template-columns: repeat(2, 1fr); }
    .xp-legal-hero-title,
    .xp-legal-hero-subtitle { font-size: 36px; }
}

@media (max-width: 768px) {
    .xp-legal-content-section { padding: 60px 5%; }
    .xp-legal-hero { padding: 50px 5% 70px; }
    .xp-legal-hero-title,
    .xp-legal-hero-subtitle { font-size: 28px; }
    .xp-legal-hero-desc { font-size: 15px; }
    .xp-legal-section-title { font-size: 28px; }
    .xp-legal-cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .xp-legal-why-grid { grid-template-columns: 1fr; gap: 25px; }
    .xp-legal-declaration-box { padding: 30px; }
    .xp-legal-info-card { padding: 30px; }
    .xp-legal-feature-item { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .xp-legal-hero-title,
    .xp-legal-hero-subtitle { font-size: 22px; }
    .xp-legal-section-title { font-size: 24px; }
    .xp-legal-declaration-box { padding: 25px; }
    .xp-legal-info-card { padding: 25px; }
}

/* ========================================
   Services Section Widget
   ======================================== */

.xp-srv-section {
    --srv-navy-dark:   #1a3a7d;
    --srv-navy-medium: #2557a7;
    --srv-blue-light:  #3b7dd6;
    --srv-blue-bright: #4a9ff5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Progress bar */
.xp-srv-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--srv-navy-dark), var(--srv-blue-bright));
    z-index: 9999;
    transition: width 0.1s ease;
    pointer-events: none;
}

/* Banner */
.xp-srv-banner {
    background: linear-gradient(135deg, var(--srv-navy-dark) 0%, var(--srv-navy-medium) 50%, var(--srv-blue-light) 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.xp-srv-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: xpSrvRotate 20s linear infinite;
    pointer-events: none;
}

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

.xp-srv-banner h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    animation: xpSrvFadeDown 1s ease-out;
}

.xp-srv-banner p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 2;
    animation: xpSrvFadeUp 1s ease-out 0.2s both;
}

@keyframes xpSrvFadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes xpSrvFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Service block */
.xp-srv-service-block {
    padding: 5rem 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.xp-srv-service-block.xp-srv-visible {
    opacity: 1;
    transform: translateY(0);
}

.xp-srv-service-block.xp-srv-even {
    background: #f8f9fa;
}

/* Container – 2-col grid, alternating */
.xp-srv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Even rows: flip direction so image appears on left */
.xp-srv-even .xp-srv-container {
    direction: rtl;
}

.xp-srv-even .xp-srv-content,
.xp-srv-even .xp-srv-image {
    direction: ltr;
}

/* Number badge */
.xp-srv-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--srv-navy-dark), var(--srv-blue-light));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: xpSrvPulse 2s ease-in-out infinite;
    cursor: default;
}

@keyframes xpSrvPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(42,87,167,0.7); }
    50%       { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(42,87,167,0); }
}

/* Content */
.xp-srv-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--srv-navy-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.xp-srv-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Features list */
.xp-srv-features {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.xp-srv-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.xp-srv-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--srv-blue-light), var(--srv-blue-bright));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 24px;
    text-align: center;
}

/* CTA button */
.xp-srv-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--srv-navy-dark), var(--srv-blue-light));
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(26,58,125,0.3);
    position: relative;
    overflow: hidden;
}

.xp-srv-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.xp-srv-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.xp-srv-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26,58,125,0.4);
    color: #ffffff;
}

.xp-srv-cta-btn span {
    position: relative;
    z-index: 1;
}

/* Image panel */
.xp-srv-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26,58,125,0.2);
    min-height: 420px;
}

.xp-srv-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--srv-navy-dark) 0%, transparent 100%);
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.xp-srv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.xp-srv-service-block:hover .xp-srv-image img {
    transform: scale(1.03);
}

.xp-srv-img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--srv-navy-medium), var(--srv-blue-light));
}

/* ─── Responsive: Tablet (768px – 1024px) ────────────────────────────── */
@media (max-width: 1024px) {
    .xp-srv-container {
        gap: 2.5rem;
    }

    .xp-srv-service-block {
        padding: 4rem 2rem;
    }

    .xp-srv-image {
        min-height: 340px;
    }

    .xp-srv-content h2 {
        font-size: 1.6rem;
    }

    .xp-srv-number {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* ─── Responsive: Mobile (<= 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
    .xp-srv-banner {
        padding: 3.5rem 1.5rem;
    }

    .xp-srv-banner h1 {
        font-size: 1.8rem;
    }

    .xp-srv-banner p {
        font-size: 1rem;
    }

    .xp-srv-service-block {
        padding: 2.5rem 1.25rem;
    }

    .xp-srv-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        max-width: 100%;
    }

    /* Reset RTL layout on mobile — always stack content then image */
    .xp-srv-even .xp-srv-container {
        direction: ltr;
    }

    .xp-srv-content {
        order: 1;
    }

    .xp-srv-image {
        order: 2;
        min-height: 280px;
        border-radius: 14px;
    }

    .xp-srv-number {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .xp-srv-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .xp-srv-content p {
        font-size: 0.95rem;
    }

    .xp-srv-features {
        gap: 0.5rem;
    }

    .xp-srv-features li {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem 0.5rem 2rem;
    }

    .xp-srv-cta-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .xp-srv-img-placeholder {
        height: 260px;
    }
}

/* ─── Responsive: Small mobile (<= 480px) ───────────────────────────── */
@media (max-width: 480px) {
    .xp-srv-banner {
        padding: 2.5rem 1rem;
    }

    .xp-srv-banner h1 {
        font-size: 1.5rem;
    }

    .xp-srv-service-block {
        padding: 2rem 1rem;
    }

    .xp-srv-container {
        gap: 1.25rem;
    }

    .xp-srv-image {
        min-height: 220px;
        border-radius: 10px;
    }

    .xp-srv-content h2 {
        font-size: 1.25rem;
    }

    .xp-srv-features li {
        font-size: 0.9rem;
    }

    .xp-srv-cta-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .xp-srv-img-placeholder {
        height: 200px;
    }
}

/* ========================================
   Icon List Widget
   ======================================== */

.xpert-icon-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Traditional (vertical) layout */
.xpert-icon-list-items.xpert-traditional-items .xpert-icon-list-item {
    display: flex;
    align-items: center;
}

/* Inline (horizontal) layout */
.xpert-icon-list-items.xpert-inline-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.xpert-icon-list-items.xpert-inline-items .xpert-icon-list-item {
    display: inline-flex;
    align-items: center;
}

/* Divider */
.xpert-icon-list-items.xpert-list-divider.xpert-traditional-items .xpert-icon-list-item:not(:last-child):after {
    content: '';
    display: block;
    border-top: 1px solid #ddd;
    width: 100%;
}
.xpert-icon-list-items.xpert-list-divider.xpert-traditional-items .xpert-icon-list-item {
    flex-wrap: wrap;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

/* Icon */
.xpert-icon-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.xpert-icon-list-icon i {
    font-size: 14px;
    color: #1774ae;
}
.xpert-icon-list-icon svg {
    width: 14px;
    height: 14px;
    fill: #1774ae;
}

/* Text */
.xpert-icon-list-text {
    padding-left: 8px;
    font-size: inherit;
    line-height: 1.4;
}

/* Link reset */
.xpert-icon-list-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}
.xpert-icon-list-item a:hover {
    text-decoration: underline;
}

/* ============================================
   CRITICAL FIX: Icon Navigation Frontend Display
   ============================================ */

/* Ensure icons render properly in frontend */
.xpert-point-icon-circle i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.xpert-point-icon-circle svg {
    display: inline-block !important;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force icon visibility */
.xpert-point-icon-circle .elementor-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
}

/* Ensure Font Awesome icons load properly */
.xpert-point-icon-circle .fas,
.xpert-point-icon-circle .far,
.xpert-point-icon-circle .fab,
.xpert-point-icon-circle .fa {
    display: inline-block !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force visibility for all icon types */
.xpert-point-icon-circle i[class*="fa-"],
.xpert-point-icon-circle i[class*="fas "],
.xpert-point-icon-circle i[class*="far "],
.xpert-point-icon-circle i[class*="fab "] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: inherit !important;
    color: inherit !important;
}

/* Ensure wrapper doesn't hide icons */
.xpert-point-icon-circle {
    overflow: visible !important;
}

/* Additional class-based targeting */
.xpert-icon-element {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================
   ULTIMATE ICON PROTECTION - HIGHEST PRIORITY
   ============================================ */

/* Ultra-specific selectors to override EVERYTHING */
html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: transform 0.3s ease !important;
}

html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle i,
html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle svg,
html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle .fa,
html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle .fas,
html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle .far,
html body .elementor .elementor-widget-container .xpert-point-icon-nav .xpert-point-icon-container .xpert-point-icon-item .xpert-point-icon-circle .fab {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 32px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}

/* Kill ALL animations on icons */
.xpert-point-icon-nav *,
.xpert-point-icon-nav *::before,
.xpert-point-icon-nav *::after {
    animation: none !important;
    transition-property: transform !important;
}

/* Force immediate visibility - no delays */
.xpert-point-icon-nav {
    animation: none !important;
}

.xpert-point-icon-nav .xpert-point-icon-circle i,
.xpert-point-icon-nav .xpert-point-icon-circle svg {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    transition-delay: 0s !important;
}

/* ============================================
   ICON BOX WIDGET
   ============================================ */

.xpert-icon-box-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.xpert-icon-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.xpert-icon-box-wrapper > a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.xpert-icon-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* CRITICAL: Force icon visibility in icon box */
.xpert-icon-box-icon i,
.xpert-icon-box-icon svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1 !important;
}

.xpert-icon-box-icon svg {
    width: 1em;
    height: 1em;
}

/* Icon View: Default */
.xpert-icon-box-view-default .xpert-icon-box-icon {
    font-size: 50px;
}

/* Icon View: Stacked */
.xpert-icon-box-view-stacked .xpert-icon-box-icon {
    background-color: #172170;
    width: 100px;
    height: 100px;
}

.xpert-icon-box-view-stacked .xpert-icon-box-icon i,
.xpert-icon-box-view-stacked .xpert-icon-box-icon svg {
    color: #ffffff;
    fill: #ffffff;
}

/* Icon View: Framed */
.xpert-icon-box-view-framed .xpert-icon-box-icon {
    border: 3px solid #172170;
    width: 100px;
    height: 100px;
    background-color: transparent;
}

/* Icon Shape: Circle */
.xpert-icon-box-shape-circle .xpert-icon-box-icon {
    border-radius: 50%;
}

/* Icon Shape: Square */
.xpert-icon-box-shape-square .xpert-icon-box-icon {
    border-radius: 0;
}

/* Content */
.xpert-icon-box-content {
    width: 100%;
}

.xpert-icon-box-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #172170;
    margin-bottom: 15px;
    line-height: 1.3;
}

.xpert-icon-box-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

/* Hover Effects */
.xpert-icon-box-wrapper:hover .xpert-icon-box-icon {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .xpert-icon-box-wrapper {
        padding: 20px;
    }

    .xpert-icon-box-title {
        font-size: 1.25rem;
    }

    .xpert-icon-box-description {
        font-size: 0.9rem;
    }

    .xpert-icon-box-view-stacked .xpert-icon-box-icon,
    .xpert-icon-box-view-framed .xpert-icon-box-icon {
        width: 80px;
        height: 80px;
    }
}



