/* ==========================================================================
   PIXEL-PERFECT SERVICES & HERO BANNER & TRUST ROADMAP STYLING
   Butt Law Associates - Tailored for Light & Dark Mode
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO BANNER FIX: Ensure Lawyer Model Head is NEVER Cut Off
   -------------------------------------------------------------------------- */
/* Ensure header is in natural flow so it does not overlap the hero banner */
.header-area {
    position: relative !important;
    width: 100% !important;
    z-index: 1041 !important;
}

/* Hero container height & padding */
.premium-hero-area.fullwidth-hero-banner {
    position: relative !important;
    width: 100% !important;
    min-height: clamp(520px, 48vw, 680px) !important;
    padding: clamp(45px, 5vw, 70px) 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #07232F !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Background image: Pinned to TOP-RIGHT so the lawyer's head is 100% visible */
.hero-fullwidth-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 88% 0% !important; /* Top-aligned to guarantee zero head cut-off */
    display: block !important;
}

@media only screen and (max-width: 991px) {
    .premium-hero-area.fullwidth-hero-banner {
        padding: 40px 16px 45px !important;
        min-height: auto !important;
    }
    .hero-fullwidth-img {
        object-position: 80% 0% !important;
    }
}

@media only screen and (max-width: 767px) {
    .premium-hero-area.fullwidth-hero-banner {
        padding: 35px 16px 35px !important;
        min-height: 80vh !important;
    }
    .hero-fullwidth-img {
        object-position: center 0% !important;
    }
}

/* --------------------------------------------------------------------------
   2. PIXEL-PERFECT SERVICE CARDS (Light Mode & Dark Mode Blue Combo)
   -------------------------------------------------------------------------- */
.service-area.pixel-services-grid {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    background: #ffffff;
    transition: background-color 0.3s ease;
}

/* UNIFIED DARK MODE BACKGROUND FOR SERVICES AREA (Matches Funfacts & Other Sections) */
.theme-dark .service-area,
body.theme-dark .service-area,
html.theme-dark .service-area,
.theme-dark .service-area.pixel-services-grid,
body.theme-dark .service-area.pixel-services-grid {
    background-color: #060d18 !important;
    background: #060d18 !important;
}

.custom-service-grid-col {
    display: flex;
    margin-bottom: 26px;
    padding-left: 12px;
    padding-right: 12px;
}

.pixel-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 180px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 24px 14px 20px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.025);
    position: relative;
    cursor: pointer;
}

.pixel-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(7, 35, 47, 0.08);
    border-color: #cbd5e1;
}

/* Circular Icon Wrapper - Light Mode (Soft Blush Pastel as in Reference Image 1) */
.service-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fdf2f4;
    border: 1px solid rgba(244, 63, 94, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pixel-service-card:hover .service-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fdf2f4;
    border: 1px solid rgba(244, 63, 94, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-icon-circle img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

/* Service Card Title */
.service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
}

.pixel-service-card:hover .service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
}

/* --------------------------------------------------------------------------
   DARK MODE FOR SERVICE CARDS:
   USER SPECIFIC INSTRUCTION: "dark mode pr blue ka combo dena red ni"
   -------------------------------------------------------------------------- */
.theme-dark .pixel-service-card,
body.theme-dark .pixel-service-card,
html.theme-dark .pixel-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 180px;
    background: #0d1e33 !important;
    border: 1px solid rgba(56, 189, 248, 0.15) !important;
    border-radius: 14px;
    padding: 24px 14px 20px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 16px rgba(0,0,0,0.3);
    position: relative;
    cursor: pointer;
}

.theme-dark .pixel-service-card:hover,
body.theme-dark .pixel-service-card:hover,
html.theme-dark .pixel-service-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-5px);
}

/* Circular Icon Wrapper - Dark Mode (ELECTRIC BLUE COMBO, ZERO RED) */
.theme-dark .service-icon-circle,
body.theme-dark .service-icon-circle,
html.theme-dark .service-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-dark .pixel-service-card:hover .service-icon-circle,
body.theme-dark .pixel-service-card:hover .service-icon-circle,
html.theme-dark .pixel-service-card:hover .service-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.6) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-dark .service-card-title,
body.theme-dark .service-card-title,
html.theme-dark .service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0 !important;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
}

.theme-dark .pixel-service-card:hover .service-card-title,
body.theme-dark .pixel-service-card:hover .service-card-title,
html.theme-dark .pixel-service-card:hover .service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #38bdf8 !important;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
}

/* Mobile Service Cards */
@media (max-width: 575px) {
    .custom-service-grid-col {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }
    .pixel-service-card {
        min-height: 152px;
        padding: 18px 10px 14px;
        border-radius: 12px;
    }
    .service-icon-circle {
        width: 64px;
        height: 64px;
        margin-bottom: 10px;
    }
    .service-icon-circle img {
        width: 38px;
        height: 38px;
    }
    .service-card-title {
        font-size: 13px;
        line-height: 1.3;
    }
}
    .pixel-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 180px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 24px 14px 20px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.025);
    position: relative;
    cursor: pointer;
}
    .service-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fdf2f4;
    border: 1px solid rgba(244, 63, 94, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
    .service-icon-circle img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
    .service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
}
}

/* --------------------------------------------------------------------------
   3. "BUILT ON TRUST AND RESULTS" SECTION - UNIQUE MODERN PROCESS FLOW
   Clean, Creative Milestone Journey Flow (Cards + Connected Beam)
   Light Mode & Dark Mode Blue Combo
   -------------------------------------------------------------------------- */
.trust-results-section {
    position: relative;
    padding: 85px 0 95px;
    background: #f9f9f9;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.theme-dark .trust-results-section,
body.theme-dark .trust-results-section,
html.theme-dark .trust-results-section {
    background: #060d18 !important;
    background-color: #060d18 !important;
}

.trust-sub-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    max-width: 780px;
    margin: 10px auto 0;
}

.theme-dark .trust-sub-desc {
    color: #94a3b8 !important;
}

.trust-process-container {
    position: relative;
    margin-top: 50px;
}

/* Connecting track line on Desktop */
.trust-process-track-line {
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(2, 132, 199, 0.15) 0%, 
        rgba(56, 189, 248, 0.7) 30%, 
        rgba(37, 99, 235, 0.8) 70%, 
        rgba(2, 132, 199, 0.15) 100%
    );
    border-radius: 2px;
    z-index: 1;
}

.theme-dark .trust-process-track-line {
    background: linear-gradient(90deg, 
        rgba(56, 189, 248, 0.1) 0%, 
        rgba(56, 189, 248, 0.6) 30%, 
        rgba(96, 165, 250, 0.7) 70%, 
        rgba(56, 189, 248, 0.1) 100%
    );
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.trust-process-cards-row {
    position: relative;
    z-index: 2;
}

/* Individual Milestone Card */
.trust-process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 20px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.trust-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
    border-color: #38bdf8;
}

/* Featured Step (Step 03) */
.trust-process-card.featured-step {
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
}

/* Card Header */
.trust-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.trust-step-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.2);
    transition: all 0.3s ease;
}

.trust-process-card:hover .trust-step-pill {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.trust-icon-ring {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f9ff;
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.trust-icon-ring i {
    font-size: 24px;
    color: #0284c7;
    transition: transform 0.3s ease;
}

.trust-process-card:hover .trust-icon-ring {
    transform: scale(1.12);
    background: #0284c7;
    border-color: #0284c7;
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
}

.trust-process-card:hover .trust-icon-ring i {
    color: #ffffff;
    transform: scale(1.08);
}

/* Card Typography */
.trust-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #07232F;
    margin-bottom: 10px;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.trust-process-card:hover .trust-card-title {
    color: #0284c7;
}

.trust-card-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Card Footer / Meta tag */
.trust-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.trust-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 6px;
}

.trust-meta-tag.highlight {
    color: #0284c7;
    background: #f0f9ff;
}

/* Dark Mode Overrides for Trust Cards */
.theme-dark .trust-process-card,
body.theme-dark .trust-process-card,
html.theme-dark .trust-process-card {
    background: #0d1e33 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45) !important;
}

.theme-dark .trust-process-card:hover,
body.theme-dark .trust-process-card:hover,
html.theme-dark .trust-process-card:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.25) !important;
}

.theme-dark .trust-step-pill {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}

.theme-dark .trust-process-card:hover .trust-step-pill {
    background: #38bdf8 !important;
    color: #060d18 !important;
}

.theme-dark .trust-icon-ring {
    background: #071826 !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

.theme-dark .trust-icon-ring i {
    color: #38bdf8 !important;
}

.theme-dark .trust-process-card:hover .trust-icon-ring {
    background: #38bdf8 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6) !important;
}

.theme-dark .trust-process-card:hover .trust-icon-ring i {
    color: #060d18 !important;
}

.theme-dark .trust-card-title {
    color: #ffffff !important;
}

.theme-dark .trust-process-card:hover .trust-card-title {
    color: #38bdf8 !important;
}

.theme-dark .trust-card-desc {
    color: #94a3b8 !important;
}

.theme-dark .trust-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-dark .trust-meta-tag {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.15) !important;
}

.theme-dark .trust-meta-tag.highlight {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.15) !important;
}

/* --------------------------------------------------------------------------
   4. MEGAMENU FOOTER BUTTON FIX
   -------------------------------------------------------------------------- */
.mega-btn,
a.mega-btn,
.mega-menu-footer .btn,
.mega-menu-footer a.mega-btn,
.atorn-nav .navbar .navbar-nav .nav-item .dropdown-menu .mega-menu-footer a.mega-btn {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mega-btn:hover,
a.mega-btn:hover,
.mega-menu-footer a.mega-btn:hover,
.atorn-nav .navbar .navbar-nav .nav-item .dropdown-menu .mega-menu-footer a.mega-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important;
}

.theme-dark .mega-btn,
.theme-dark a.mega-btn,
.theme-dark .mega-menu-footer a.mega-btn,
.theme-dark .atorn-nav .navbar .navbar-nav .nav-item .dropdown-menu .mega-menu-footer a.mega-btn {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45) !important;
}

/* --------------------------------------------------------------------------
   5. SERVICE HERO BANNER GRAPHIC (Right Column & Mobile Responsive)
   -------------------------------------------------------------------------- */
.service-hero-graphic-col {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
}

.service-hero-graphic-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 35px rgba(2, 132, 199, 0.25);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.service-hero-graphic-wrap:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 45px rgba(2, 132, 199, 0.4);
}

.service-hero-banner-img {
    width: 100%;
    max-width: 310px;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVENESS (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .trust-results-section {
        padding: 60px 0 70px;
    }
    .trust-process-container {
        margin-top: 35px;
    }
    .trust-process-card {
        padding: 20px 18px 18px;
    }
    .service-hero-graphic-col {
        justify-content: center !important;
        margin-top: 32px;
    }
    .service-hero-banner-img {
        max-width: 270px;
    }
}

@media only screen and (max-width: 576px) {
    .trust-results-section {
        padding: 50px 0 60px;
    }
    .trust-card-title {
        font-size: 15.5px;
    }
    .trust-card-desc {
        font-size: 13px;
    }
    .service-hero-banner-img {
        max-width: 230px;
    }
    .service-hero-graphic-wrap {
        padding: 4px;
        border-radius: 16px;
    }
}
/* ==========================================================================
   SIGNATURE DISPLAY IN LIGHT & DARK MODE
   ========================================================================== */
.text-sign img,
.premium-choose-card .text-sign img,
.choose-card .text-sign img {
    filter: brightness(0) !important; /* Turns white image into crisp dark ink in Light Mode */
    opacity: 0.9 !important;
    display: inline-block !important;
    transition: filter 0.3s ease;
}

.theme-dark .text-sign img,
.theme-dark .premium-choose-card .text-sign img,
.theme-dark .choose-card .text-sign img,
body.theme-dark .text-sign img,
html.theme-dark .text-sign img {
    filter: none !important; /* Retains original white signature in Dark Mode */
    opacity: 1 !important;
}

/* ==========================================================================
   DARK MODE TOP HEADER (ANNOUNCEMENT BAR) - MATCH NAVBAR COLOR
   ========================================================================== */
.theme-dark .top-header,
body.theme-dark .top-header,
html.theme-dark .top-header {
    background-color: #0a1628 !important;
    background: #0a1628 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   MOBILE VIEW TOP-HEADER POLISHED SEQUENCE
   ========================================================================== */
@media only screen and (max-width: 767px) {
    .top-header {
        padding: 9px 0 10px !important;
    }
    .top-header .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .top-header .left-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .top-header .left-info li {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .top-header .left-info li a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 13px !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    .top-header .right-info {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .top-header .right-info li {
        margin: 0 !important;
    }
    .top-header .right-info li a i {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 13px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }
    .top-header .right-info .heder-btn {
        margin-left: 6px !important;
        margin-top: 0 !important;
        padding: 7px 16px !important;
        border-radius: 6px !important;
    }
    .top-header .right-info .heder-btn a {
        font-size: 11.5px !important;
        letter-spacing: 0.5px !important;
    }
}
/* ==========================================================================
   GOOGLE REVIEWS TESTIMONIALS HUB (Matching Google Business Profile)
   ========================================================================== */
.google-reviews-trust-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.theme-dark .google-reviews-trust-box {
    background: #0d1e33 !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
}

.google-trust-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.google-brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-dark .google-brand-icon {
    background: #071826;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-score-num {
    font-size: 34px;
    font-weight: 900;
    color: #07232F;
    line-height: 1;
    margin: 0;
}

.theme-dark .google-score-num {
    color: #ffffff;
}

.google-stars {
    color: #fbbc04;
    font-size: 18px;
    letter-spacing: 2px;
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.google-trust-meta {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.theme-dark .google-trust-meta {
    color: #94a3b8;
}

.google-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.google-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.google-chip.active,
.google-chip:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.theme-dark .google-chip {
    background: #071826;
    color: #94a3b8;
    border-color: rgba(56, 189, 248, 0.2);
}

.theme-dark .google-chip.active,
.theme-dark .google-chip:hover {
    background: #38bdf8;
    color: #071826;
    border-color: #38bdf8;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0284c7;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-google-review:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.theme-dark .btn-google-review {
    background: #38bdf8;
    color: #071826 !important;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.theme-dark .btn-google-review:hover {
    background: #0284c7;
    color: #ffffff !important;
}

/* Review Card Enhancements */
.google-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1a73e8;
    margin-top: 2px;
}

.theme-dark .google-review-badge {
    color: #38bdf8;
}

.review-date-badge {
    font-size: 11.5px;
    color: #94a3b8;
    margin-left: 6px;
}

.review-tag-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    margin-top: 10px;
}

.theme-dark .review-tag-pill {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

@media (max-width: 991px) {
    .google-reviews-trust-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .google-trust-chips {
        width: 100%;
    }
    .btn-google-review {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Attorney Photo Section Responsive ---- */
.attorney-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(7,35,47,0.22);
}
.attorney-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
}
@media (max-width: 991px) {
    .attorney-photo-wrap {
        max-width: 100%;
        margin-top: 32px;
    }
}
@media (max-width: 575px) {
    .attorney-photo-wrap {
        border-radius: 16px;
    }
}

/* ==========================================================================
   PARTNER SLIDER STYLES (Light & Dark Mode)
   Fixes blank boxes in Owl Carousel & fixes dark mode white glare
   ========================================================================== */

/* Light Mode Card Polish - All Logos Full Color & Bigger Size */
.premium-partner-slider-item,
.partner-slider-item {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    padding: 16px 22px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 96px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    margin: 10px 6px !important;
}

.premium-partner-slider-item a,
.partner-slider-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.premium-partner-slider-item img,
.partner-slider-item img {
    max-width: 170px !important;
    max-height: 58px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.premium-partner-slider-item:hover img,
.partner-slider-item:hover img {
    transform: scale(1.08) !important;
}

.premium-partner-slider-item:hover,
.partner-slider-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 30px rgba(7, 35, 47, 0.12) !important;
    border-color: #cbd5e1 !important;
}

/* --------------------------------------------------------------------------
   Dark Mode Partner/Client Slider (Full Color Logos on Crisp Badges)
   -------------------------------------------------------------------------- */
.theme-dark .premium-partner-area,
body.theme-dark .premium-partner-area,
html.theme-dark .premium-partner-area,
.theme-dark .partner-area,
body.theme-dark .partner-area,
html.theme-dark .partner-area {
    background-color: #071527 !important;
    border-top: 1px solid rgba(56, 189, 248, 0.15) !important;
}

.theme-dark .premium-partner-slider-item,
body.theme-dark .premium-partner-slider-item,
html.theme-dark .premium-partner-slider-item,
.theme-dark .partner-slider-item,
body.theme-dark .partner-slider-item,
html.theme-dark .partner-slider-item {
    background: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

.theme-dark .premium-partner-slider-item img,
body.theme-dark .premium-partner-slider-item img,
html.theme-dark .premium-partner-slider-item img,
.theme-dark .partner-slider-item img,
body.theme-dark .partner-slider-item img,
html.theme-dark .partner-slider-item img {
    filter: none !important;
    opacity: 1 !important;
}

.theme-dark .premium-partner-slider-item:hover,
body.theme-dark .premium-partner-slider-item:hover,
html.theme-dark .premium-partner-slider-item:hover,
.theme-dark .partner-slider-item:hover,
body.theme-dark .partner-slider-item:hover,
html.theme-dark .partner-slider-item:hover {
    border-color: #38bdf8 !important;
    background: #ffffff !important;
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.35) !important;
    transform: translateY(-5px) !important;
}

.theme-dark .premium-partner-slider-item:hover img,
body.theme-dark .premium-partner-slider-item:hover img,
html.theme-dark .premium-partner-slider-item:hover img,
.theme-dark .partner-slider-item:hover img,
body.theme-dark .partner-slider-item:hover img,
html.theme-dark .partner-slider-item:hover img {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.08) !important;
}

/* Mobile Responsive Optimization for Client Slider */
@media (max-width: 767px) {
    .premium-partner-area,
    .partner-area {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }
    .premium-partner-slider-item,
    .partner-slider-item {
        min-height: 82px !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
        margin: 6px 3px !important;
    }
    .premium-partner-slider-item img,
    .partner-slider-item img {
        max-width: 135px !important;
        max-height: 52px !important;
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .premium-partner-slider-item,
    .partner-slider-item {
        min-height: 80px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        margin: 5px 3px !important;
    }
    .premium-partner-slider-item img,
    .partner-slider-item img {
        max-width: 130px !important;
        max-height: 48px !important;
    }
}


/* ==========================================================================
   TRUSTINDEX GOOGLE REVIEWS - BULLETPROOF DARK & LIGHT MODE STYLING
   ========================================================================== */

/* Light Mode Polish */
.ti-widget {
    font-family: inherit !important;
}
.ti-widget .ti-widget-header {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.ti-widget .ti-review-item > .ti-inner {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.ti-widget .ti-header-write-btn {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 9px 18px !important;
    font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   DARK MODE ADAPTATION (Deep Navy Blue #0d1e33, Cyan #38bdf8, White Text)
   -------------------------------------------------------------------------- */

/* 1. Header Box */
.theme-dark .trustindex-live-reviews-container .ti-widget .ti-widget-header,
body.theme-dark .trustindex-live-reviews-container .ti-widget .ti-widget-header,
html.theme-dark .trustindex-live-reviews-container .ti-widget .ti-widget-header,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header,
html.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header,
.theme-dark .ti-widget .ti-widget-header,
body.theme-dark .ti-widget .ti-widget-header {
    background-color: #0d1e33 !important;
    background-image: none !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Header Text (Excellent, 5.0, 28 reviews) */
.theme-dark .ti-widget .ti-rating-text,
body.theme-dark .ti-widget .ti-rating-text,
html.theme-dark .ti-widget .ti-rating-text,
.theme-dark .ti-widget .ti-header-rating,
body.theme-dark .ti-widget .ti-header-rating,
html.theme-dark .ti-widget .ti-header-rating,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-rating-text,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-rating-text,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-header-rating,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-header-rating {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.theme-dark .ti-widget .ti-header-rating-reviews,
body.theme-dark .ti-widget .ti-header-rating-reviews,
html.theme-dark .ti-widget .ti-header-rating-reviews,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-header-rating-reviews,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-header-rating-reviews {
    color: #94a3b8 !important;
}

.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-header-rating+.ti-header-rating-reviews:before,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-rating-text .ti-header-rating+.ti-header-rating-reviews:before {
    border-left-color: rgba(255, 255, 255, 0.25) !important;
}

/* Header Write a Review Button */
.theme-dark .ti-widget .ti-header-write-btn,
body.theme-dark .ti-widget .ti-header-write-btn,
html.theme-dark .ti-widget .ti-header-write-btn,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-write-btn,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-write-btn,
html.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-write-btn,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header .ti-header-content .ti-header-write-btn-container .ti-header-write-btn,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header .ti-header-content .ti-header-write-btn-container .ti-header-write-btn,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header .ti-header-content .ti-header-write-btn-container a.ti-header-write-btn,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-widget-header .ti-header-content .ti-header-write-btn-container a.ti-header-write-btn {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45) !important;
    text-shadow: none !important;
}

.theme-dark .ti-widget .ti-header-write-btn:hover,
body.theme-dark .ti-widget .ti-header-write-btn:hover,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-write-btn:hover,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-header-write-btn:hover {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55) !important;
}

/* 2. Review Cards */
.theme-dark .trustindex-live-reviews-container .ti-widget .ti-review-item > .ti-inner,
body.theme-dark .trustindex-live-reviews-container .ti-widget .ti-review-item > .ti-inner,
html.theme-dark .trustindex-live-reviews-container .ti-widget .ti-review-item > .ti-inner,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-item > .ti-inner,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-item > .ti-inner,
html.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-item > .ti-inner,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-inner,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-inner,
.theme-dark .ti-widget .ti-inner,
body.theme-dark .ti-widget .ti-inner {
    background-color: #0d1e33 !important;
    background-image: none !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4) !important;
    color: #e2e8f0 !important;
}

.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-item > .ti-inner:hover,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-item > .ti-inner:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25) !important;
    transform: translateY(-3px) !important;
}

/* Reviewer Name */
.theme-dark .ti-widget .ti-name,
body.theme-dark .ti-widget .ti-name,
html.theme-dark .ti-widget .ti-name,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-name,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-name,
.theme-dark .ti-widget .ti-name a,
body.theme-dark .ti-widget .ti-name a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* Date */
.theme-dark .ti-widget .ti-date,
body.theme-dark .ti-widget .ti-date,
html.theme-dark .ti-widget .ti-date,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-date,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-date {
    color: #94a3b8 !important;
    font-size: 13px !important;
}

/* Review Content */
.theme-dark .ti-widget .ti-review-content,
body.theme-dark .ti-widget .ti-review-content,
html.theme-dark .ti-widget .ti-review-content,
.theme-dark .ti-widget .ti-review-text-container,
body.theme-dark .ti-widget .ti-review-text-container,
.theme-dark .ti-widget .ti-review-text,
body.theme-dark .ti-widget .ti-review-text,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-content,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-content,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-review-text-container {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Read More */
.theme-dark .ti-widget .ti-read-more,
body.theme-dark .ti-widget .ti-read-more,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-read-more,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-read-more {
    color: #38bdf8 !important;
    font-weight: 600 !important;
}

/* Slider Next / Prev Controls */
.theme-dark .ti-widget .ti-controls .ti-next,
.theme-dark .ti-widget .ti-controls .ti-prev,
body.theme-dark .ti-widget .ti-controls .ti-next,
body.theme-dark .ti-widget .ti-controls .ti-prev,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-next,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-prev,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-next,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-prev {
    background-color: #0d1e33 !important;
    outline-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.theme-dark .ti-widget .ti-controls .ti-next:after,
.theme-dark .ti-widget .ti-controls .ti-prev:after,
body.theme-dark .ti-widget .ti-controls .ti-next:after,
body.theme-dark .ti-widget .ti-controls .ti-prev:after,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-next:after,
.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-prev:after,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-next:after,
body.theme-dark .ti-widget[data-layout-id][data-set-id] .ti-controls .ti-prev:after {
    border-color: #38bdf8 !important;
}

/* Lightbox Modal */
.theme-dark .ti-widget-lightbox .ti-card-body,
body.theme-dark .ti-widget-lightbox .ti-card-body,
.theme-dark .ti-widget-lightbox .ti-review-item,
body.theme-dark .ti-widget-lightbox .ti-review-item {
    background-color: #0d1e33 !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.theme-dark .ti-widget-lightbox .ti-name,
body.theme-dark .ti-widget-lightbox .ti-name {
    color: #ffffff !important;
}
.theme-dark .ti-widget-lightbox .ti-date,
body.theme-dark .ti-widget-lightbox .ti-date {
    color: #94a3b8 !important;
}
.theme-dark .ti-widget-lightbox .ti-review-content,
body.theme-dark .ti-widget-lightbox .ti-review-content {
    color: #cbd5e1 !important;
}


/* ==========================================================================
   ADVISOR TEAM CARDS (Right Way Area - Light & Dark Mode)
   ========================================================================== */
.advisor-team-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(7, 35, 47, 0.05);
    padding: 22px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.advisor-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(7, 35, 47, 0.12);
    border-color: #cbd5e1;
}

.advisor-team-card-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.advisor-img-wrap {
    width: 170px;
    height: 225px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 6px 18px rgba(7, 35, 47, 0.08);
    position: relative;
}

.advisor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.advisor-team-card:hover .advisor-img-wrap img {
    transform: scale(1.04);
}

.advisor-info-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advisor-name {
    font-size: 21px;
    font-weight: 800;
    color: #07232F;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.advisor-role {
    font-size: 13.5px;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.advisor-desc {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.advisor-action {
    margin-top: auto;
}

.advisor-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #07232F;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.advisor-contact-btn:hover {
    background: #2563eb;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.advisor-contact-btn i {
    font-size: 16px;
    color: #22c55e;
}

/* --------------------------------------------------------------------------
   DARK MODE FOR ADVISOR TEAM CARDS (Blue combo, zero white glare)
   -------------------------------------------------------------------------- */
.theme-dark .advisor-team-card,
body.theme-dark .advisor-team-card,
html.theme-dark .advisor-team-card {
    background: #0d1e33 !important;
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4) !important;
}

.theme-dark .advisor-team-card:hover,
body.theme-dark .advisor-team-card:hover,
html.theme-dark .advisor-team-card:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 14px 35px rgba(56, 189, 248, 0.2) !important;
}

.theme-dark .advisor-img-wrap,
body.theme-dark .advisor-img-wrap,
html.theme-dark .advisor-img-wrap {
    background: #0a1628 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.theme-dark .advisor-name,
body.theme-dark .advisor-name,
html.theme-dark .advisor-name {
    color: #ffffff !important;
}

.theme-dark .advisor-role,
body.theme-dark .advisor-role,
html.theme-dark .advisor-role {
    color: #38bdf8 !important;
}

.theme-dark .advisor-desc,
body.theme-dark .advisor-desc,
html.theme-dark .advisor-desc {
    color: #cbd5e1 !important;
}

.theme-dark .advisor-contact-btn,
body.theme-dark .advisor-contact-btn,
html.theme-dark .advisor-contact-btn {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.theme-dark .advisor-contact-btn:hover,
body.theme-dark .advisor-contact-btn:hover,
html.theme-dark .advisor-contact-btn:hover {
    background: #1d4ed8 !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6) !important;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .advisor-team-card-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .advisor-img-wrap {
        width: 100% !important;
        max-width: 220px !important;
        height: 260px !important;
        margin: 0 auto !important;
    }
    .advisor-info-wrap {
        align-items: center !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   NUCLEAR OVERRIDE — CLIENT LOGOS FULL COLOR (LIGHT + DARK MODE)
   This block MUST stay at end of file to win specificity wars
   ========================================================================== */

/* --- Light mode: always full color, white card background --- */
.partner-slider .owl-item .premium-partner-slider-item,
.partner-slider .owl-item .partner-slider-item,
.partner-slider .owl-item.active .premium-partner-slider-item,
.partner-slider .owl-item.cloned .premium-partner-slider-item {
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partner-slider .owl-item img,
.partner-slider .owl-item.active img,
.partner-slider .owl-item.cloned img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    max-width: 170px !important;
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* --- Dark mode: white card badge so colored logos stay visible --- */
.theme-dark .partner-slider .owl-item .premium-partner-slider-item,
.theme-dark .partner-slider .owl-item .partner-slider-item,
.theme-dark .partner-slider .owl-item.active .premium-partner-slider-item,
.theme-dark .partner-slider .owl-item.cloned .premium-partner-slider-item,
html.theme-dark .partner-slider .owl-item .premium-partner-slider-item,
html.theme-dark .partner-slider .owl-item .partner-slider-item,
body.theme-dark .partner-slider .owl-item .premium-partner-slider-item,
body.theme-dark .partner-slider .owl-item .partner-slider-item {
    background: #ffffff !important;
    border: 1.5px solid rgba(56,189,248,0.4) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.theme-dark .partner-slider .owl-item img,
.theme-dark .partner-slider .owl-item.active img,
.theme-dark .partner-slider .owl-item.cloned img,
html.theme-dark .partner-slider .owl-item img,
html.theme-dark .partner-slider .owl-item.active img,
html.theme-dark .partner-slider .owl-item.cloned img,
body.theme-dark .partner-slider .owl-item img,
body.theme-dark .partner-slider .owl-item.active img,
body.theme-dark .partner-slider .owl-item.cloned img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* --- Mobile logo sizes & crisp responsive scaling --- */
@media (max-width: 767px) {
    .partner-slider .owl-item img,
    .premium-partner-slider-item img,
    .partner-slider-item img {
        max-width: 140px !important;
        max-height: 56px !important;
    }
    .premium-partner-slider-item,
    .partner-slider-item {
        min-height: 88px !important;
        padding: 12px 14px !important;
    }
}
@media (max-width: 480px) {
    .partner-slider .owl-item img,
    .premium-partner-slider-item img,
    .partner-slider-item img {
        max-width: 135px !important;
        max-height: 52px !important;
    }
    .premium-partner-slider-item,
    .partner-slider-item {
        min-height: 82px !important;
        padding: 10px 12px !important;
    }
}

/* ==========================================================================
   ELFSIGHT GOOGLE REVIEWS - HOST-LEVEL DARK MODE STYLING
   ========================================================================== */
.theme-dark .reviews-widget-wrap,
html.theme-dark .reviews-widget-wrap,
body.theme-dark .reviews-widget-wrap {
    position: relative;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.theme-dark .reviews-widget-wrap [class*="es-header-container"],
.theme-dark .reviews-widget-wrap [class*="HeaderContainer"],
.theme-dark .reviews-widget-wrap [class*="HeaderComponent"] {
    background-color: #0d1e33 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

.theme-dark .reviews-widget-wrap [class*="ReviewBackground__Container"],
.theme-dark .reviews-widget-wrap [class*="ReviewBackground"],
.theme-dark .reviews-widget-wrap [class*="ReviewContainer__Inner"],
.theme-dark .reviews-widget-wrap [class*="ReviewContainer"],
.theme-dark .reviews-widget-wrap [class*="ReviewLayout"],
.theme-dark .reviews-widget-wrap [class*="ReviewCard"],
.theme-dark .reviews-widget-wrap .es-review-container {
    background-color: #0d1e33 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    color: #e2e8f0 !important;
}

.theme-dark .reviews-widget-wrap [class*="ReviewAuthorName"],
.theme-dark .reviews-widget-wrap [class*="AuthorName"],
.theme-dark .reviews-widget-wrap [class*="AuthorBlock"] span,
.theme-dark .reviews-widget-wrap [class*="AuthorBlock"] div,
.theme-dark .reviews-widget-wrap [class*="UserName"],
.theme-dark .reviews-widget-wrap [class*="ReviewerName"] {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.theme-dark .reviews-widget-wrap [class*="ReviewText"],
.theme-dark .reviews-widget-wrap [class*="ReviewSnippet"],
.theme-dark .reviews-widget-wrap [class*="ShortenedText"],
.theme-dark .reviews-widget-wrap [class*="Review__Text"] {
    color: #cbd5e1 !important;
}

.theme-dark .reviews-widget-wrap [class*="ReviewInfo__StyledDateTime"],
.theme-dark .reviews-widget-wrap [class*="StyledDateTime"],
.theme-dark .reviews-widget-wrap [class*="ReviewInfo"],
.theme-dark .reviews-widget-wrap [class*="TimeAgo"],
.theme-dark .reviews-widget-wrap [class*="PostedOn"],
.theme-dark .reviews-widget-wrap time {
    color: #94a3b8 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
