/* Modern UI Enhancements for Home-Guard (Laravel) */

:root {
    --primary-red: #e31b23;
    --dark-red: #b3191f;
    --primary-green: #1a6b3b;
    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --primary-yellow: #ffc107;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

html, body {
    overflow-x: clip;
    max-width: 100%;
}
@supports not (overflow: clip) {
    html, body {
        overflow-x: hidden;
    }
}
body {
    font-family: var(--font-main);
    color: #1a1a1a;
}

h1,
h2,
h3,
h4,
.nav-link,
.btn {
    font-family: var(--font-heading);
}

/* NAVBAR ENHANCEMENTS */
.navbar-custom {
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease;
    background: white !important;
    z-index: 9999 !important;
    overflow: visible !important;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-nav .nav-link,
.nav-link {
    font-weight: 500;
    color: #1e293b !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

/* Explicit active/hover state for desktop navbar */
.navbar-custom .navbar-nav .nav-link.active,
.navbar-custom .navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

.navbar-custom .navbar-nav .nav-link.active::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--primary-yellow) !important;
    border-radius: 2px !important;
    z-index: 10 !important;
}

.navbar-logo {
    height: 52px;
    width: auto;
    transition: height 0.3s ease;
    object-fit: contain;
    transform: none;
    max-height: 54px;
}

/* Responsive Logo Sizes & Navbar Alignment */
@media (max-width: 1024px) {
    .navbar-logo {
        height: 50px !important;
        max-height: 50px !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.35rem 0 !important;
    }
    .navbar-logo {
        height: 48px !important;
        max-height: 48px !important;
        max-width: 180px !important;
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .navbar-custom {
        max-width: 100vw !important;
        overflow: hidden !important;
        padding: 0.35rem 0 !important;
    }
    .navbar-custom .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        flex-wrap: nowrap !important;
    }
    .navbar-brand {
        padding: 0 !important;
        margin: 0 auto 0 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .navbar-logo {
        height: 46px !important;
        max-height: 48px !important;
        transform: none !important;
        max-width: 175px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .navbar-toggler-custom {
        margin-right: 6px !important;
    }
    .btn-nav-book {
        padding: 7px 15px !important;
        font-size: 0.82rem !important;
        gap: 5px !important;
        white-space: nowrap !important;
    }
    .btn-call {
        padding: 6px 10px !important;
        gap: 4px !important;
    }
    .btn-call i {
        font-size: 1rem !important;
    }
}

@media (max-width: 380px) {
    .navbar-custom .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .navbar-logo {
        height: 42px !important;
        max-height: 44px !important;
        transform: none !important;
        max-width: 155px !important;
    }
    .btn-nav-book {
        padding: 6px 11px !important;
        font-size: 0.78rem !important;
    }
    .btn-call {
        padding: 5px 8px !important;
    }
}

/* ==========================
   Modern Dropdown & Navbar Styling
   ========================== */
.dropdown-custom {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1.2rem 0;
    margin-top: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(15px);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1050;
}

/* Invisible bridge to prevent hover loss */
.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-custom:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu-custom a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu-custom a:hover {
    color: var(--primary-red);
    background: rgba(227, 27, 35, 0.05);
    border-left: 3px solid var(--primary-red);
    padding-left: 1.8rem;
}

/* MEGA DROPDOWN (2 COLUMNS) */
.dropdown-menu-mega {
    width: 480px;
    max-width: 92vw;
    padding: 14px 14px 10px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    z-index: 9999999 !important;
}

.dropdown-header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 10px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
}

.dropdown-header-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e31b23;
    box-shadow: 0 0 8px rgba(227, 27, 35, 0.5);
    display: inline-block;
}

.dropdown-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
}

.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 10px !important;
    border-radius: 8px;
    color: #334155 !important;
    text-decoration: none;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    border-left: none !important;
    line-height: 1.3;
}

.dropdown-item-link .item-arrow {
    font-size: 0.7rem;
    color: #e31b23;
    opacity: 0.4;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.dropdown-item-link:hover {
    background: rgba(227, 27, 35, 0.06) !important;
    color: #e31b23 !important;
    transform: translateX(3px);
    padding-left: 12px !important;
    border-left: none !important;
}

.dropdown-item-link:hover .item-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* 2-BUTTON ACTION FOOTER */
.dropdown-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 4px 4px;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-action-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 14px !important;
    border-radius: 10px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease !important;
    border-left: none !important;
}

.btn-action-explore {
    background: #ffffff;
    color: #e31b23 !important;
    border: 1.5px solid #e31b23 !important;
}

.btn-action-explore:hover {
    background: rgba(227, 27, 35, 0.08) !important;
    color: #c41119 !important;
    transform: translateY(-1px);
}

.btn-action-book {
    background: #e31b23 !important;
    color: #ffffff !important;
    border: 1.5px solid #e31b23 !important;
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.25);
}

.btn-action-book:hover {
    background: #c41119 !important;
    border-color: #c41119 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(227, 27, 35, 0.35);
}

.dropdown-custom .nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-custom:hover .nav-link i {
    transform: rotate(180deg);
}

.sidebar-link.active {
    color: var(--primary-red) !important;
}

/* NAVBAR BOOK NOW BUTTON */
.btn-nav-book {
    background: var(--primary-red, #e31b23);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.32);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.2px;
}

.btn-nav-book:hover {
    background: #c41119;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(227, 27, 35, 0.45);
}

.btn-call {
    background: white;
    border: 1px solid #eee;
    padding: 8px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-call i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* MOBILE SIDEBAR */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    max-width: 88vw;
    height: 100%;
    background: #ffffff;
    z-index: 10005;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.mobile-sidebar::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.85rem;
}

.mobile-nav-links li a {
    display: block;
    padding: 8px 0;
    color: #1e293b;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-links li.has-submenu {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.submenu-toggle {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.1rem;
    padding: 6px 10px;
    transition: transform 0.3s ease;
}

.has-submenu.active .submenu-toggle {
    transform: rotate(180deg);
    color: var(--primary-red);
}

.sidebar-submenu {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #f8fafc;
    border-radius: 12px;
    border: none !important;
}

.has-submenu.active .sidebar-submenu {
    max-height: 1800px;
    opacity: 1;
    visibility: visible;
    padding: 10px !important;
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.sidebar-submenu-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-submenu-grid li {
    margin-bottom: 0 !important;
}

.sidebar-submenu-grid li a {
    font-size: 0.88rem !important;
    font-weight: 500;
    color: #334155 !important;
    padding: 8px 12px !important;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: normal;
    word-break: break-word;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-submenu-grid li a::after {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.72rem;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sidebar-submenu-grid li a:hover {
    color: var(--primary-red) !important;
    background: rgba(227, 27, 35, 0.08);
}

.sidebar-submenu-grid li a:hover::after {
    color: var(--primary-red);
    transform: translateX(3px);
}

.sidebar-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-btn-explore {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #e31b23 !important;
    background: #ffffff;
    border: 1.5px solid #e31b23;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-btn-explore:hover {
    background: rgba(227, 27, 35, 0.08);
}

.sidebar-btn-book {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #e31b23;
    border: 1.5px solid #e31b23;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(227, 27, 35, 0.25);
    transition: all 0.2s ease;
}

.sidebar-btn-book:hover {
    background: #c41119;
    border-color: #c41119;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    color: var(--primary-red) !important;
}

/* HERO SECTION */
.hero-redesign {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 3rem;
}

.btn-hero-red {
    background: var(--primary-red);
    color: white;
    border: 2px solid var(--primary-red);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(227, 27, 35, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-red::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: white;
    z-index: -1;
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-hero-red:hover {
    color: var(--primary-red);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.btn-hero-red:hover::before {
    height: 100% !important;
}

.btn-hero-glass {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-hero-glass:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* CARDS */
.pricing-cards-container {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

/* 3D CAROUSEL CONTAINER */
.pricing-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1400px;
    perspective-origin: center center;
    margin-top: 1rem;
    overflow: visible;
}

.carousel-card {
    position: absolute;
    width: 260px;
    left: 50%;
    margin-left: -130px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 800ms ease, opacity 800ms ease;
    cursor: pointer;
    user-select: none;
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.card-lead {
    transform: translateY(-50%) translateZ(60px) translateX(0px) rotateY(0deg) scale(1.05);
    z-index: 100;
    opacity: 1;
}

.card-lead .glass-pricing-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.card-left {
    transform: translateY(-50%) translateZ(-40px) translateX(-160px) rotateY(35deg) scale(0.85);
    z-index: 50;
    opacity: 0.6;
}

.card-left .glass-pricing-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-right {
    transform: translateY(-50%) translateZ(-40px) translateX(160px) rotateY(-35deg) scale(0.85);
    z-index: 50;
    opacity: 0.6;
}

.card-right .glass-pricing-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-hidden {
    transform: translateY(-50%) translateZ(-160px) translateX(0px) rotateY(0deg) scale(0.65);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}



.glass-pricing-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    padding: 1.5rem;
    width: 260px;
    height: 440px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.4s ease, transform 0.2s ease-out;
    display: flex;
    flex-direction: column;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
}

.glass-pricing-card p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem !important;
    line-height: 1.2;
}

@media (max-width: 1199px) {
    .pricing-carousel-wrapper {
        height: 460px;
        perspective: 1200px;
    }

    .carousel-card {
        width: 240px;
        margin-left: -120px;
    }

    .glass-pricing-card {
        width: 240px;
        height: 420px;
        padding: 1.25rem;
    }

    .card-lead {
        transform: translateY(-50%) translateZ(50px) translateX(0px) rotateY(0deg) scale(1.05);
    }

    .card-left {
        transform: translateY(-50%) translateZ(-30px) translateX(-130px) rotateY(30deg) scale(0.85);
    }

    .card-right {
        transform: translateY(-50%) translateZ(-30px) translateX(130px) rotateY(-30deg) scale(0.85);
    }

    .card-hidden {
        transform: translateY(-50%) translateZ(-80px) translateX(0px) rotateY(0deg) scale(0.7);
    }
}

@media (max-width: 991px) {
    .pricing-carousel-wrapper {
        height: 420px;
        perspective: 1000px;
        max-width: 600px;
        margin: 2rem auto 0;
    }

    .carousel-card {
        width: 220px;
        margin-left: -110px;
    }

    .glass-pricing-card {
        width: 220px;
        height: 380px;
        padding: 1rem;
    }

    .card-lead {
        transform: translateY(-50%) translateZ(40px) translateX(0px) rotateY(0deg) scale(1.05);
    }

    .card-left {
        transform: translateY(-50%) translateZ(-20px) translateX(-120px) rotateY(25deg) scale(0.82);
    }

    .card-right {
        transform: translateY(-50%) translateZ(-20px) translateX(120px) rotateY(-25deg) scale(0.82);
    }

    .card-hidden {
        transform: translateY(-50%) translateZ(-60px) translateX(0px) rotateY(0deg) scale(0.7);
    }
}

@media (max-width: 575px) {
    .pricing-carousel-wrapper {
        height: 380px;
        perspective: 800px;
    }

    .carousel-card {
        width: 220px;
        margin-left: -110px;
    }

    .glass-pricing-card {
        width: 220px;
        height: 350px;
        padding: 1rem;
        border-radius: 16px;
    }

    .plan-name {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .plan-price {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .plan-features {
        margin-bottom: 0.5rem;
    }

    .plan-features li {
        font-size: 0.72rem;
        margin-bottom: 0.3rem;
        gap: 6px;
        line-height: 1.2;
    }

    .btn-book {
        padding: 8px;
        font-size: 0.85rem;
    }

    .card-lead {
        transform: translateY(-50%) translateZ(30px) translateX(0px) rotateY(0deg) scale(1.05);
    }

    .card-left {
        transform: translateY(-50%) translateZ(-20px) translateX(-100px) rotateY(20deg) scale(0.80);
    }

    .card-right {
        transform: translateY(-50%) translateZ(-20px) translateX(100px) rotateY(-20deg) scale(0.80);
    }

    .card-hidden {
        transform: translateY(-50%) translateZ(-50px) translateX(0px) rotateY(0deg) scale(0.7);
    }
}

@media (max-width: 375px) {
    .pricing-carousel-wrapper {
        height: 410px;
    }

    .carousel-card {
        width: 190px;
        margin-left: -95px;
    }

    .glass-pricing-card {
        width: 190px;
        height: 380px;
        padding: 0.85rem;
    }

    .plan-name {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .plan-price {
        font-size: 1.4rem;
        margin-bottom: 0px !important;
    }

    .glass-pricing-card p {
        font-size: 0.75rem;
        margin-bottom: 0.35rem !important;
    }

    .plan-features {
        margin-bottom: 0.35rem;
    }

    .plan-features li {
        font-size: 0.68rem;
        margin-bottom: 0.25rem;
        gap: 5px;
        line-height: 1.15;
    }

    .btn-book {
        padding: 6px;
        font-size: 0.8rem;
    }

    .card-lead {
        transform: translateY(-50%) translateZ(25px) translateX(0px) rotateY(0deg) scale(1.05);
    }

    .card-left {
        transform: translateY(-50%) translateZ(-15px) translateX(-85px) rotateY(20deg) scale(0.78);
    }

    .card-right {
        transform: translateY(-50%) translateZ(-15px) translateX(85px) rotateY(-20deg) scale(0.78);
    }

    .card-hidden {
        transform: translateY(-50%) translateZ(-40px) translateX(0px) rotateY(0deg) scale(0.7);
    }
}

.glass-pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.popular .glass-pricing-card {
    border-color: rgba(227, 27, 35, 0.3);
}


.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(227, 27, 35, 0.3);
    z-index: 10;
}
@media screen and (max-width: 375px) {
    .popular-badge {
        font-size: 0.45rem;
    }
}

.combo-badge {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 10px rgba(227, 27, 35, 0.3);

}

/* Button Shimmer effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: btnShimmer 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes btnShimmer {
    0% {
        transform: translate(-100%, -100%) rotate(30deg);
        opacity: 0;
    }

    50% {
        transform: translate(100%, 100%) rotate(30deg);
        opacity: 0.6;
    }

    100% {
        transform: translate(100%, 100%) rotate(30deg);
        opacity: 0;
    }
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #e31b23;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #444;
    line-height: 1.3;
}

.plan-features li i {
    color: var(--primary-green);
    font-size: 1.05rem;
}

.btn-book:not(.btn-plan-action) {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-book:not(.btn-plan-action):hover {
    background: var(--dark-red);
    transform: scale(1.05);
    color: white;
}

/* ==========================================================================
   DYNAMIC MULTI-CHANNEL HERO STATS TICKER (GLASSMORPHISM + FIXED HEAD + STREAM)
   ========================================================================== */
.stats-bar-new {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 6px 12px;
    margin-top: 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    z-index: 10;
}

/* Left Fixed Head (Channel Badge) */
.ticker-head-fixed {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 12;
}

.ticker-head-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    border-radius: 40px;
    color: #ffffff;
    background: #e31b23;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.35);
    position: relative;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    cursor: default;
}

.ticker-head-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: tickerPulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes tickerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.ticker-head-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.ticker-head-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ticker-head-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.15;
}

.ticker-head-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.88;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.2px;
    margin-top: 1px;
}

.ticker-head-arrow {
    color: #94a3b8;
    font-size: 0.95rem;
    padding: 0 10px 0 8px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Head Flip Keyframe Transition */
@keyframes headFlipAnim {
    0% {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
    45% {
        transform: scale(0.88) rotateX(90deg);
        opacity: 0.2;
    }
    55% {
        transform: scale(0.88) rotateX(-90deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
}

.head-flipping {
    animation: headFlipAnim 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Right Marquee Body Stream */
.ticker-body-stream {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 15px, black calc(100% - 15px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15px, black calc(100% - 15px), transparent 100%);
}

.ticker-marquee-track {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ticker-channel-stream {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

/* Stream Items */
.ticker-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.25s ease;
    color: #1e293b;
    text-decoration: none;
    flex-shrink: 0;
    cursor: default;
}

.ticker-item-link {
    cursor: pointer !important;
}

.ticker-item-link:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ticker-item-link:hover .ticker-item-text {
    color: var(--primary-red);
}

.ticker-item-img {
    height: 25px;
    width: auto;
    max-width: 85px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ticker-stat-item:hover .ticker-item-img {
    transform: scale(1.08);
}

.ticker-item-icon {
    font-size: 1.15rem;
    color: var(--primary-red);
    line-height: 1;
    flex-shrink: 0;
}

.ticker-item-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ticker-item-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
    letter-spacing: -0.1px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.ticker-item-subtext {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1;
    margin-top: 1px;
    white-space: nowrap;
}

.ticker-stat-sep {
    color: var(--primary-red);
    opacity: 0.35;
    font-size: 1.25rem;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}

/* See All Plans Button */
.btn-see-all {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.btn-see-all:hover {
    color: var(--dark-red);
    border-bottom-color: var(--dark-red);
    transform: translateY(-2px);
}

/* ==========================
   PHASE 1: Expert & Safety
   ========================== */

/* Expert Section Modern */
.expert-section-modern {
    background: transparent !important;
    overflow: hidden;
}

/* Expert Badge Pill New */
.expert-badge-pill-new {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(227, 27, 35, 0.12);
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.04);
}

.expert-badge-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-red);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 10px;
}

.expert-badge-text {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.5px;
}

/* Expert Title and Divider */
.expert-title-modern-new {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
}

.expert-title-modern-new .text-red {
    color: var(--primary-red);
}

.expert-title-divider {
    width: 65px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* Expert Paragraph */
.expert-text-modern-new {
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 1.65;
}

.expert-text-modern-new .text-red-bold {
    color: var(--primary-red);
    font-weight: 700;
}

/* Feature Cards New */
.feature-card-new {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.08);
    border-color: rgba(227, 27, 35, 0.2);
}

.feature-icon-new {
    font-size: 1.4rem;
    color: var(--primary-red);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-divider-new {
    width: 1px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 0 16px;
}

.feature-info-new {
    flex-grow: 1;
}

.feature-info-new h6 {
    margin: 0 0 2px 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1c1c1c;
}

.feature-info-new p {
    margin: 0;
    font-size: 0.82rem;
    color: #777777;
    font-weight: 500;
}

/* Expert Image Redesign (Leaf Curves & Borders) */
.expert-image-container-new {
    position: relative;
    padding: 15px;
    z-index: 1;
    display: block;
    max-width: 100%;
}

.expert-dots-decor {
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 100px;
    height: 120px;
    z-index: 0;
    background-image: radial-gradient(var(--primary-red) 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.12;
    pointer-events: none;
}

/* Smooth Accent Curves */
.expert-border-curve-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 45%;
    border-top: 4px solid var(--primary-red);
    border-left: 4px solid var(--primary-red);
    border-top-left-radius: 55px;
    z-index: 0;
    pointer-events: none;
}

.expert-border-curve-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    height: 45%;
    border-bottom: 4px solid var(--primary-red);
    border-right: 4px solid var(--primary-red);
    border-bottom-right-radius: 55px;
    z-index: 0;
    pointer-events: none;
}

.expert-image-inner-new {
    background: #ffffff;
    padding: 8px;
    border-radius: 40px 200px 40px 200px;
    z-index: 1;
    position: relative;
}

.expert-image-inner-new img {
    border-radius: 32px 192px 32px 192px;
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Experience Badge Card New */
.experience-badge-card-new {
    position: absolute;
    top: 20px;
    right: -15px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    border: 1px solid rgba(227, 27, 35, 0.05);
}

.badge-ribbon-red {
    background: var(--primary-red);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(227, 27, 35, 0.2);
}

.badge-ribbon-red .medal-svg {
    width: 22px;
    height: 22px;
}

.badge-text-new {
    display: flex;
    flex-direction: column;
}

.badge-text-new .number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1.1;
}

.badge-text-new .text {
    font-size: 0.65rem;
    font-weight: 700;
    color: #555555;
    line-height: 1.2;
}

/* ==================================================
   Horizontal Safety Cards Styling
   ================================================== */
.safety-section-modern {
    background: transparent !important;
}

.safety-card-horizontal {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1.5px solid transparent;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

/* Card Dots Decor */
.safety-card-dots {
    position: absolute;
    left: -10px;
    bottom: -10px;
    width: 60px;
    height: 60px;
    z-index: 0;
    background-size: 10px 10px;
    opacity: 0.12;
    pointer-events: none;
}

.safety-card-left,
.safety-card-right {
    position: relative;
    z-index: 1;
}

.safety-card-left {
    flex-shrink: 0;
}

.safety-card-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Icon Circle Wrapper */
.safety-icon-circle-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(255, 255, 255, 0.1) 80%);
    padding: 3px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.safety-icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.02);
}

.safety-icon-circle i{
    font-size: 30px;
}
.safety-icon-circle .fa-paw{
    color: #1a6b3b;
}
.safety-icon-circle .bi-person-heart{
    color: rgb(111, 66, 193);
}
.safety-icon-circle .fa-baby{
    color: #E31B23;
}
    
.safety-svg-icon {
    width: 44px;
    height: 44px;
    display: block;
}

/* Shield Overlap Badge */
.safety-shield-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.safety-shield-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Card Text & Title Underline Styling */
.safety-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.safety-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.safety-title-underline {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.safety-title-underline .line {
    width: 24px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.safety-title-underline .dot {
    width: 3px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.safety-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 12px;
}

/* Circular Arrow Button */
.safety-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.safety-card-horizontal:hover .safety-arrow-btn {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--accent-color);
    color: #ffffff;
}

/* Accents per Card Type */

/* 1. Baby Safe Card */
.baby-safe-card {
    --accent-color: var(--primary-red);
    background: linear-gradient(135deg, #ffffff 60%, #fff2f2 100%);
    box-shadow: 0 12px 35px rgba(227, 27, 35, 0.03);
}

.baby-safe-card:hover {
    border-color: rgba(227, 27, 35, 0.15);
    box-shadow: 0 20px 40px rgba(227, 27, 35, 0.08);
}

.baby-safe-card .safety-card-dots {
    background-image: radial-gradient(var(--primary-red) 1.5px, transparent 1.5px);
}

/* 2. Pregnancy Safe Card */
.pregnancy-safe-card {
    --accent-color: #6f42c1;
    background: linear-gradient(135deg, #ffffff 60%, #f7f1ff 100%);
    box-shadow: 0 12px 35px rgba(111, 66, 193, 0.03);
}

.pregnancy-safe-card:hover {
    border-color: rgba(111, 66, 193, 0.15);
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.08);
}

.pregnancy-safe-card .safety-card-dots {
    background-image: radial-gradient(#6f42c1 1.5px, transparent 1.5px);
}

/* 3. Pet Friendly Card */
.pet-friendly-card {
    --accent-color: #28a745;
    background: linear-gradient(135deg, #ffffff 60%, #f2faf4 100%);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.03);
}

.pet-friendly-card:hover {
    border-color: rgba(40, 167, 69, 0.15);
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.08);
}

.pet-friendly-card .safety-card-dots {
    background-image: radial-gradient(#28a745 1.5px, transparent 1.5px);
}

/* Responsive Scaling Overrides */
@media (max-width: 1200px) {
    .experience-badge-card-new {
        right: -5px;
        top: 15px;
    }
}

@media (max-width: 991px) {
    .expert-title-modern-new {
        font-size: 2.3rem;
        margin-top: 1.5rem;
    }
    .experience-badge-card-new {
        right: 15px;
        top: 20px;
    }
    .expert-border-curve-top-left,
    .expert-border-curve-bottom-right {
        width: 35%;
        height: 35%;
    }
}

@media (max-width: 480px) {
    /* Stack safety cards vertically on mobile */
    .safety-card-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    
    .safety-card-left {
        align-self: center;
    }
    
    .safety-card-right {
        align-items: center;
        text-align: center;
    }
    
    .safety-arrow-btn {
        align-self: center;
    }
    
    .experience-badge-card-new {
        padding: 8px 12px;
        border-radius: 15px;
    }
    
    .badge-ribbon-red {
        width: 32px;
        height: 32px;
    }
    
    .badge-text-new .number {
        font-size: 1.15rem;
    }
    
    .badge-text-new .text {
        font-size: 0.6rem;
    }
}

@media (max-width: 360px) {
    .experience-badge-card-new {
        position: relative;
        right: 0;
        top: 0;
        margin-top: 15px;
        display: inline-flex;
        align-self: center;
    }
}


/* =========================================
   PHASE 2: BUILDING CLEANING SERVICES
   ========================================= */
/* Redesigned Title Block */
.cleaning-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 2.5px;
    display: inline-block;
}

.cleaning-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
}

.cleaning-main-title .text-red {
    color: var(--primary-red);
}

.cleaning-intro-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555555;
    max-width: 780px;
    margin: 0 auto;
}

/* Rows Container & Card Wrapper */
.cleaning-rows-container {
    margin-top: 3.5rem;
    position: relative;
}

.cleaning-row-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.cleaning-row-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(227, 27, 35, 0.06);
    border-color: rgba(227, 27, 35, 0.1);
}

/* Image Wrappers (Leaf Shapes) */
.cleaning-image-wrapper-new {
    position: relative;
    overflow: visible;
    background: #ffffff;
    display: block;
}

.cleaning-image-wrapper-new img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.cleaning-row-card:hover .cleaning-image-wrapper-new img {
    transform: scale(1.02);
}

/* alternating leaf border radii */
.img-leaf-left {
    border-radius: 24px 160px 24px 160px;
    padding: 10px 0 10px 10px;
}

.img-leaf-left img {
    border-radius: 14px 150px 14px 150px;
}

.img-leaf-right {
    border-radius: 160px 24px 160px 24px;
    padding: 10px 10px 10px 0;
}

.img-leaf-right img {
    border-radius: 150px 14px 150px 14px;
}

/* Floating Category Icons on Image Corner */
.cleaning-category-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.35);
    border: 3px solid #ffffff;
    transition: transform 0.4s ease;
}

.cleaning-row-card:hover .cleaning-category-icon {
    transform: scale(1.1) rotate(10deg);
}

.icon-top-left {
    top: -10px;
    left: -10px;
}

.icon-top-right {
    top: -10px;
    right: -10px;
}

/* Content Columns wrapper */
.cleaning-content-wrapper {
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Row Headers & large faint numbers */
.cleaning-row-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cleaning-row-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 800;
    color: rgba(227, 27, 35, 0.3);
    line-height: 1;
}

.cleaning-row-divider {
    width: 2px;
    height: 38px;
    background-color: rgba(227, 27, 35, 0.2);
}

.cleaning-row-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.cleaning-row-title .text-red {
    color: var(--primary-red);
}

.cleaning-row-text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #666666;
    max-width: 460px;
}

/* CTA Discovery Link */
.cleaning-discover-link {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cleaning-discover-link i {
    transition: transform 0.3s ease;
}

.cleaning-discover-link:hover {
    color: var(--dark-red);
}

.cleaning-discover-link:hover i {
    transform: translateX(6px);
}

/* Floating Overlapping Status Badges */
.cleaning-float-badge-right {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 20px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    border: 1px solid rgba(227, 27, 35, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    min-width: 150px;
}

.cleaning-float-badge-left {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 20px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    border: 1px solid rgba(227, 27, 35, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    min-width: 150px;
}

.badge-icon-circle-red {
    width: 38px;
    height: 38px;
    background: rgba(227, 27, 35, 0.08);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-shield-svg {
    width: 22px;
    height: 22px;
    color: var(--primary-red);
    display: block;
}

.badge-text-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text-content .label {
    font-size: 0.65rem;
    color: #888888;
    font-weight: 500;
}

.badge-text-content .value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-red);
}

.badge-text-content .subtext {
    font-size: 0.65rem;
    color: #555555;
    font-weight: 700;
}

/* Center Bottom Explore Button */
.btn-explore-cleaning {
    background: var(--primary-red);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 38px;
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 24px rgba(227, 27, 35, 0.2);
    transition: all 0.4s ease;
}

.btn-explore-cleaning:hover {
    background: #ffffff;
    color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 27, 35, 0.15);
}

/* Responsiveness overrides for Phase 2 */
@media (max-width: 1200px) {
    .cleaning-float-badge-right {
        right: -10px;
    }
    .cleaning-float-badge-left {
        left: -10px;
    }
}

@media (max-width: 991px) {
    .img-leaf-left,
    .img-leaf-right {
        padding: 10px;
        border-radius: 24px;
    }
    
    .img-leaf-left img,
    .img-leaf-right img {
        border-radius: 16px;
    }
    
    .cleaning-image-wrapper-new img {
        height: 280px;
    }
    
    .cleaning-content-wrapper {
        padding: 30px 40px;
    }
    
    .cleaning-float-badge-right {
        right: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
    
    .cleaning-float-badge-left {
        left: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
}

@media (max-width: 576px) {
    .cleaning-content-wrapper {
        padding: 24px 20px;
    }
    
    .cleaning-row-title {
        font-size: 1.35rem;
    }
    
    .cleaning-image-wrapper-new img {
        height: 220px;
    }
    
    /* Clean vertical placement inside flow on mobile devices */
    .cleaning-float-badge-right,
    .cleaning-float-badge-left {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        transform: none;
        margin-top: 15px;
        margin-bottom: 24px;
        margin-left: 20px;
        display: inline-flex;
        align-self: flex-start;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 320px) {
    .cleaning-content-wrapper {
        padding: 20px 15px;
    }
    .cleaning-float-badge-right,
    .cleaning-float-badge-left {
        margin-left: 15px;
    }
}

/* Cleaning Features Modern Matrix */
.cleaning-features-modern {
    padding-top: 40px;
}

.cleaning-title-modern {
    font-size: 2.2rem;
    color: #1a1a1a;
}

.cleaning-item-glass {
    background: #fff;
    border: 1px solid rgba(227, 27, 35, 0.1);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
}

.cleaning-item-glass-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.cleaning-item-glass:hover {
    transform: scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 10px 25px rgba(227, 27, 35, 0.1);
}

.cleaning-icon-red {
    width: 50px;
    height: 50px;
    background: rgba(227, 27, 35, 0.08);
    color: var(--primary-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.cleaning-item-glass:hover .cleaning-icon-red {
    background: var(--primary-red);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 8px 15px rgba(227, 27, 35, 0.2);
}

.cleaning-text-modern {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
}

.cleaning-item-arrow {
    color: var(--primary-red);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cleaning-item-glass:hover .cleaning-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIVE PHASE 1 */
@media (max-width: 992px) {
    .safety-card-flip {
        height: 170px;
        width: 240px;
    }
}

/* RESPONSIVE PHASE 1 */
@media (max-width: 992px) {
    .expert-title-modern {
        font-size: 2.2rem;
    }

    .expert-image-wrapper {
        padding: 0;
        margin-bottom: 50px;
    }

    .experience-badge-glass {
        bottom: 22px;
        right: 23px;
    }
}

@media (max-width: 768px) {
    .expert-title-modern {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .experience-badge-glass .number {
        font-size: 1rem;
        font-weight: 800;
        color: var(--primary-red);
        line-height: 0.5;
    }

    .experience-badge-glass .text {
        font-size: 0.6rem;
        font-weight: 600;
        color: #333;
        text-align: center;
        margin-top: 5px;
    }

    .experience-badge-glass {
        padding: 10px 5px;
        right: 10px;
        bottom: 10px;
    }
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
    .pricing-cards-container {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-redesign {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
    }

    .stats-bar-new {
        margin-top: 35px;
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        display: none !important;
    }

    .stats-bar-new {
        padding: 12px 0;
        margin-top: 25px;
        border-radius: 16px;
    }

    .stats-marquee-track {
        animation-duration: 22s;
    }

    .stats-marquee-group {
        gap: 18px;
        padding-right: 18px;
    }

    .stat-item {
        gap: 8px;
    }

    .stat-item i {
        font-size: 1.15rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }

    .stat-separator {
        font-size: 1.1rem;
        opacity: 0.35;
    }
}

/* ==========================================================================
   Redesigned "Why Homeguard" Section Styles
   ========================================================================== */

/* Main section container style overriding style.css. Ensure background is pure white. */
.why-Homeguard {
    background: #ffffff !important;
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden !important;
    /* Prevent any horizontal layout overflow */
}

/* Left Column content */
.why-hg-subtitle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.why-hg-subtitle-line {
    width: 32px;
    height: 2px;
    background-color: #e31b23;
}

.why-hg-subtitle-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.why-hg-subtitle-text .red-text {
    color: #e31b23;
}

.why-hg-subtitle-text .gray-text {
    color: #c0c0c0;
}

.why-hg-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.why-hg-title span {
    color: #e31b23;
    display: block;
}

.why-hg-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #555555;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Stats 2x2 Grid with intersecting lines and dot endpoints */
.why-hg-stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 35px;
    margin-bottom: 48px;
    padding: 10px 0;
}

/* Grid lines and dots */
.why-hg-grid-line-v {
    position: absolute;
    top: -15px;
    bottom: -15px;
    left: 50%;
    width: 1px;
    background-color: #eaeaea;
    transform: translateX(-50%);
    z-index: 1;
}

.why-hg-grid-line-v::before,
.why-hg-grid-line-v::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: #eaeaea;
    border-radius: 50%;
    transform: translateX(-50%);
}

.why-hg-grid-line-v::before {
    top: 0;
}

.why-hg-grid-line-v::after {
    bottom: 0;
}

.why-hg-grid-line-h {
    position: absolute;
    left: -15px;
    right: -15px;
    top: 50%;
    height: 1px;
    background-color: #eaeaea;
    transform: translateY(-50%);
    z-index: 1;
}

.why-hg-grid-line-h::before,
.why-hg-grid-line-h::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #eaeaea;
    border-radius: 50%;
    transform: translateY(-50%);
}

.why-hg-grid-line-h::before {
    left: 0;
}

.why-hg-grid-line-h::after {
    right: 0;
}

.why-hg-grid-center-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: #e31b23;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #eaeaea;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Stat cells */
.why-hg-stat-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.why-hg-icon-container {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: rgba(227, 27, 35, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-hg-stat-item:hover .why-hg-icon-container {
    transform: scale(1.08);
    background-color: rgba(227, 27, 35, 0.08);
}

.why-hg-icon-svg {
    width: 24px;
    height: 24px;
    color: #e31b23;
}

.why-hg-stat-content {
    flex: 1;
}

.why-hg-stat-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: #e31b23;
    line-height: 1.1;
    margin-bottom: 2px;
}

.why-hg-stat-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.why-hg-stat-text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #6c757d;
}

/* Red Capsule Button */
.why-hg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #e31b23;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(227, 27, 35, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-hg-cta-btn:hover {
    background-color: #c9141b;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.35);
}

.why-hg-cta-btn i {
    transition: transform 0.3s ease;
}

.why-hg-cta-btn:hover i {
    transform: translateX(4px);
}

/* Right Column compositions */
.why-hg-graphics-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    margin-top: 20px;
}

/* BG decorative faint concentric circles & red blob */
.why-hg-bg-circle-1,
.why-hg-bg-circle-2 {
    position: absolute;
    border: 1px solid rgba(227, 27, 35, 0.05);
    border-radius: 50%;
    pointer-events: none;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.why-hg-bg-circle-1 {
    width: 80%;
    aspect-ratio: 1 / 1;
}

.why-hg-bg-circle-2 {
    width: 95%;
    aspect-ratio: 1 / 1;
}

.why-hg-bg-blob {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.035) 0%, rgba(255, 255, 255, 0) 70%);
    top: -40px;
    right: 20px;
    pointer-events: none;
    z-index: 0;
}

/* Circular Images and layout */
.why-hg-circle-img-living {
    position: absolute;
    top: 0;
    right: 5%;
    width: 62%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    z-index: 1;
    transition: transform 0.5s ease;
}

.why-hg-circle-img-tech {
    position: absolute;
    bottom: 80px;
    right: 5%;
    width: 42%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 3;
    transition: transform 0.5s ease;
}

.why-hg-circle-img-living:hover,
.why-hg-circle-img-tech:hover {
    transform: scale(1.02);
}

.why-hg-circle-img-living img,
.why-hg-circle-img-tech img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-hg-logo-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 38%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #ffffff;
    border: 8px solid #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.why-hg-logo-container:hover {
    transform: translateY(-50%) scale(1.03);
}

.why-hg-logo-inner-ring {
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.why-hg-logo-container img {
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
}

/* Floating Shield Badge */
.why-hg-shield-badge {
    position: absolute;
    top: 4%;
    right: 8%;
    width: 66px;
    height: 95px;
    z-index: 5;
    filter: drop-shadow(0 10px 20px rgba(227, 27, 35, 0.35));
    transition: transform 0.3s ease;
}

.why-hg-shield-badge:hover {
    transform: scale(1.1) rotate(3deg);
}

.why-hg-shield-svg-path {
    fill: #e31b23;
}

/* Floating White Card Badge */
.why-hg-floating-card {
    position: absolute;
    top: 36%;
    right: 0%;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    border: 1px solid #f5f5f5;
    z-index: 5;
    max-width: 170px;
    transition: transform 0.3s ease;
}

.why-hg-floating-card:hover {
    transform: translateY(-3px);
}

.why-hg-card-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
    color: #444;
}

.why-hg-card-text strong {
    font-weight: 800;
    color: #1a1a1a;
}

.why-hg-card-line {
    width: 28px;
    height: 2px;
    background-color: #e31b23;
    margin-top: 8px;
}

/* Floating Key Features bottom banner */
.why-hg-features-banner {
    position: absolute;
    bottom: -15px;
    left: 2%;
    right: 2%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f3f3;
    z-index: 10;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.why-hg-feat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-hg-feat-svg {
    width: 30px;
    height: 30px;
    color: #e31b23;
    transition: transform 0.3s ease;
}

.why-hg-feat-item:hover .why-hg-feat-svg {
    transform: translateY(-3px);
}

.why-hg-feat-label {
    display: block;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #333333;
    line-height: 1.25;
    max-width: 90px;
}

.why-hg-feat-divider {
    width: 1px;
    height: 38px;
    background-color: #eaeaea;
    flex-shrink: 0;
}

/* ==========================================================================
   Responsiveness Rules (Down to 300px)
   ========================================================================== */

@media (max-width: 991px) {
    .why-Homeguard {
        padding: 70px 0 !important;
    }

    .why-hg-title {
        margin-bottom: 20px;
    }

    .why-hg-desc {
        margin-bottom: 30px;
    }

    /* Stack right column graphics underneath */
    .why-hg-graphics-wrapper {
        margin-top: 50px;
        height: 480px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Pull logo circle closer to the center to overlap living room image */
    .why-hg-logo-container {
        left: 8%;
    }

    /* Concentric circles are now percentage-based and scale automatically */
}

@media (max-width: 767px) {

    /* Simplify grid line separators */
    .why-hg-grid-line-v,
    .why-hg-grid-line-h,
    .why-hg-grid-center-dot {
        display: none !important;
    }

    .why-hg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    /* Adjust bottom features banner */
    .why-hg-features-banner {
        padding: 16px 10px;
    }

    .why-hg-feat-label {
        font-size: 0.72rem;
        max-width: 75px;
    }
}

@media (max-width: 575px) {

    /* Stack stats grid in 1 column on mobile */
    .why-hg-stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-hg-stat-item {
        gap: 15px;
    }

    .why-hg-icon-container {
        width: 46px;
        height: 46px;
    }

    .why-hg-stat-num {
        font-size: 1.6rem;
    }

    .why-hg-stat-title {
        font-size: 0.95rem;
    }

    /* Scale down graphic circles */
    .why-hg-graphics-wrapper {
        height: 380px;
        margin-top: 40px;
    }

    .why-hg-circle-img-living {
        width: 60%;
        border-width: 5px;
    }

    .why-hg-circle-img-tech {
        width: 42%;
        border-width: 4px;
        bottom: 75px;
    }

    .why-hg-logo-container {
        width: 36%;
        border-width: 5px;
        left: 12%;
        /* Pull closer to overlap living room circle and feel like a team */
    }

    .why-hg-shield-badge {
        width: 46px;
        height: 52px;
        right: 12%;
    }

    .why-hg-floating-card {
        padding: 10px 12px;
        max-width: 125px;
        border-radius: 12px;
    }

    .why-hg-card-text {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    /* Make features banner a 2x2 grid instead of row */
    .why-hg-features-banner {
        bottom: -35px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px;
        border-radius: 16px;
    }

    .why-hg-feat-divider {
        display: none !important;
    }

    .why-hg-feat-item {
        flex: auto;
    }

    .why-hg-feat-label {
        font-size: 0.76rem;
        max-width: 100%;
        margin-top: 6px;
    }
}

@media (max-width: 360px) {
    .why-hg-title {
        font-size: 1.8rem;
    }

    .why-hg-graphics-wrapper {
        height: 330px;
    }

    .why-hg-circle-img-tech {
        bottom: 60px;
    }

    .why-hg-logo-container {
        left: 14%;
        /* Pull even closer on very narrow mobile screens */
    }

    .why-hg-features-banner {
        bottom: -50px;
        padding: 12px;
        gap: 12px;
    }

    .why-hg-feat-label {
        font-size: 0.7rem;
    }

    .why-hg-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* ==========================================================================
   Redesigned Pest Control Services Section
   ========================================================================== */

.pest-services {
    background: #fafafa !important;
    padding: 6rem 0 5rem 0 !important;
    position: relative;
    overflow-x: hidden !important;
}

/* Floating Header Badges */
.pest-services .pest-header-badge {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(227, 27, 35, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    border: 1px solid rgba(227, 27, 35, 0.03);
    transition: all 0.3s ease;
}

.pest-services .pest-header-badge.left-badge {
    top: 12%;
    left: 18%;
}

.pest-services .pest-header-badge.right-badge {
    top: 12%;
    right: 18%;
}

.pest-services .pest-header-badge .badge-svg {
    width: 52px;
    height: 52px;
}

.pest-bg-arcs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pest-bg-arc-left, 
.pest-bg-arc-right {
    position: absolute;
    border: 1.5px dashed rgba(227, 27, 35, 0.06);
    border-radius: 50%;
}

.pest-bg-arc-left {
    width: 600px;
    height: 600px;
    left: -300px;
    top: -150px;
}

.pest-bg-arc-right {
    width: 700px;
    height: 700px;
    right: -350px;
    bottom: -150px;
}

/* Header Subtitle, Divider, and Title */
.pest-subtitle {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.pest-header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 22px;
}

.pest-header-divider .divider-line {
    height: 1px;
    width: 70px;
    background-color: rgba(227, 27, 35, 0.15);
}

.pest-header-divider .shield-badge-container {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(227, 27, 35, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(227, 27, 35, 0.02);
    padding: 7px;
}

.pest-header-divider .shield-badge-svg {
    width: 100%;
    height: 100%;
    color: var(--primary-red);
}

.pest-main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.15;
    font-family: var(--font-heading);
}

.pest-main-title span {
    color: var(--primary-red);
}

.pest-intro-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555555;
    max-width: 680px;
    margin: 0 auto;
}

/* Service Cards redesign styling */
.pest-services .service-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: visible !important; /* allow the circle to overflow */
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease !important;
    display: flex;
    flex-direction: column;
}

.pest-services .service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 45px rgba(227, 27, 35, 0.08) !important;
    border-color: rgba(227, 27, 35, 0.12) !important;
}

.pest-services .card-image-wrapper {
    position: relative;
    overflow: visible;
    height: 180px;
    border-radius: 20px 20px 0 0;
}

.pest-services .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pest-services .service-card:hover .card-image-wrapper img {
    transform: scale(1.03);
}

.pest-services .card-number-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-red);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 7px 18px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 3;
    font-family: var(--font-heading);
}

.pest-services .card-icon-overlap {
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 54px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(227, 27, 35, 0.06);
}

.pest-services .service-card:hover .card-icon-overlap {
    transform: translateX(-50%) scale(1.12);
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.15);
    border-color: rgba(227, 27, 35, 0.15);
}

.pest-services .pest-card-svg {
    width: 26px;
    height: 26px;
    color: var(--primary-red);
}

.pest-services .service-card-content {
    padding: 42px 20px 25px 20px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pest-services .service-card-content h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.pest-services .card-divider-line {
    width: 35px;
    height: 2px;
    background-color: var(--primary-red);
    margin-bottom: 15px;
}

.pest-services .service-card-content p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pest-services .learn-more-link {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.3s ease;
    font-family: var(--font-heading);
    margin-top: auto;
}

.pest-services .learn-more-link:hover {
    color: var(--dark-red);
    gap: 10px;
}

.pest-services .learn-more-link .arrow-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}



/* Responsiveness overrides for the redesigned sections */
@media (max-width: 1200px) {
    .pest-services .pest-header-badge {
        width: 76px;
        height: 76px;
    }
    .pest-services .pest-header-badge .badge-svg {
        width: 42px;
        height: 42px;
    }
    .pest-services .pest-header-badge.left-badge {
        left: 4%;
    }
    .pest-services .pest-header-badge.right-badge {
        right: 4%;
    }
}

@media (max-width: 991px) {
    .pest-services .pest-header-badge {
        display: none !important;
    }
    .pest-services {
        padding: 5rem 0 4rem 0 !important;
    }
    .pest-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .pest-services .service-card {
        border-radius: 16px !important;
    }
    .pest-services .card-image-wrapper {
        height: 160px;
    }
    .pest-services .pest-card-svg {
        width: 22px;
        height: 22px;
    }
}

/* =========================================
   CAROUSEL REDESIGN: BUILDING SERVICES
   ========================================= */
.cleaning-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
    background: #ffffff;
    margin-top: 2rem;
}

.cleaning-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cleaning-carousel-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.slide-banner {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 80px;
}

.slide-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.slide-content-container {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #ffffff;
}

.slide-title .text-red {
    color: var(--primary-red);
}

.slide-line-red {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin-bottom: 22px;
    border-radius: 2px;
}

.slide-description {
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 28px;
}

/* Checkpoints styling */
.slide-checkpoints {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.checkpoint-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkpoint-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary-red);
    flex-shrink: 0;
    background: rgba(227, 27, 35, 0.12);
}

.checkpoint-item span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

/* Slide CTA Button */
.btn-slide-cta {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: #ffffff;
    padding: 13px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.98rem;
    box-shadow: 0 8px 22px rgba(227, 27, 35, 0.3);
}

.btn-slide-cta:hover {
    background: #ffffff;
    color: var(--primary-red);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

/* Stats Bar */
.slide-stats-bar {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    border-top: 1px solid #f0f0f0;
}

.stat-col {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.stat-col:not(:last-child) {
    border-right: 1.5px solid rgba(0, 0, 0, 0.05);
}

.stat-col i {
    font-size: 1.8rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.stat-col .stat-svg-badge {
    width: 28px;
    height: 28px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.stat-details {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.stat-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a1a;
    font-family: var(--font-heading);
}

.stat-lbl {
    font-size: 0.72rem;
    color: #777777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Top Right Badge */
.carousel-indicator-badge {
    position: absolute;
    top: 30px;
    right: 40px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333333;
    z-index: 10;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.carousel-indicator-badge .active-num {
    color: var(--primary-red);
}

.carousel-indicator-badge .total-num {
    color: #666666;
}

/* Left / Right Nav Arrows */
.carousel-nav-btn {
    position: absolute;
    top: 260px; /* Centered relative to the 520px banner */
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--primary-red);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
    box-shadow: 0 6px 20px rgba(227, 27, 35, 0.3);
}

.carousel-nav-btn.prev {
    left: 20px;
}

.carousel-nav-btn.next {
    right: 20px;
}

/* Pagination Dots */
.carousel-dots-container {
    position: absolute;
    top: 460px; /* Centered inside bottom of 520px banner */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.55;
}

.carousel-dot.active {
    background: var(--primary-red);
    width: 24px;
    border-radius: 5px;
    opacity: 1;
}

/* Cinematic entrance animations for slides content */
.cleaning-carousel-slide .slide-subtitle,
.cleaning-carousel-slide .slide-title,
.cleaning-carousel-slide .slide-line-red,
.cleaning-carousel-slide .slide-description,
.cleaning-carousel-slide .slide-checkpoints,
.cleaning-carousel-slide .btn-slide-cta {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.cleaning-carousel-slide.active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.cleaning-carousel-slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.cleaning-carousel-slide.active .slide-line-red {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.cleaning-carousel-slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.cleaning-carousel-slide.active .slide-checkpoints {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.cleaning-carousel-slide.active .btn-slide-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* =========================================
   CAROUSEL RESPONSIVENESS OVERRIDES
   ========================================= */
@media (max-width: 1200px) {
    .slide-banner {
        padding: 50px 60px;
    }
    .carousel-dots-container {
        top: 460px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {
    .btn-slide-cta {
        display: none !important;
    }
    .carousel-nav-btn {
        display: none !important;
    }
    .slide-banner {
        height: 540px;
    }
    .carousel-dots-container {
        top: 480px;
        left: 50%;
        transform: translateX(-50%);
    }
    .slide-overlay {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.4) 100%);
    }
    .slide-content-container {
        max-width: 80%;
    }
    .slide-stats-bar {
        padding: 20px 30px;
        flex-wrap: wrap;
        gap: 15px 0;
    }
    .stat-col {
        flex: 0 0 50%;
        justify-content: flex-start;
        padding-left: 20px;
    }
    .stat-col:nth-child(even) {
        border-right: none;
    }
    .stat-col:nth-child(odd) {
        border-right: 1.5px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 768px) {
    .slide-banner {
        height: 560px;
        padding: 40px 40px;
    }
    .carousel-nav-btn {
        top: 280px;
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    .carousel-dots-container {
        top: 500px;
        left: 50%;
        transform: translateX(-50%);
    }
    .carousel-indicator-badge {
        top: 20px;
        right: 20px;
        font-size: 0.95rem;
        padding: 6px 14px;
    }
}

@media (max-width: 575px) {
    .slide-overlay {
        background: rgba(0, 0, 0, 0.78);
    }
    .slide-banner {
        height: 580px;
        padding: 50px 20px 60px 20px;
    }
    .slide-content-container {
        max-width: 100%;
    }
    .slide-checkpoints {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }
    .carousel-dots-container {
        top: 520px;
        left: 50%;
        transform: translateX(-50%);
    }
    .carousel-nav-btn {
        display: none !important; /* Hide arrows on mobile to prevent overlapping */
    }
    .slide-stats-bar {
        padding: 15px 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px 8px;
    }
    .stat-col {
        flex: auto;
        padding-left: 10px;
        gap: 10px;
    }
    .stat-col:nth-child(odd) {
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }
    .stat-val {
        font-size: 1.15rem;
    }
    .stat-lbl {
        font-size: 0.65rem;
    }
}

@media (max-width: 320px) {
    .slide-banner {
        height: 600px;
        padding: 40px 12px 50px 12px;
    }
    .carousel-dots-container {
        top: 540px;
        left: 50%;
        transform: translateX(-50%);
    }
    .slide-title {
        font-size: 1.8rem;
    }
    .slide-description {
        font-size: 0.92rem;
    }
    .btn-slide-cta {
        padding: 11px 24px;
        font-size: 0.88rem;
    }
    .slide-stats-bar {
        grid-template-columns: 1fr;
        padding: 15px 5px;
    }
    .stat-col {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 8px;
    }
    .stat-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ============================================================
   FIXED FLOATING ACTION WIDGETS (WHATSAPP & CALL US)
   ============================================================ */
.floating-contact-stack {
    position: fixed;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.floating-whatsapp {
    background: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: floating-pulse 2.2s infinite ease-out;
    pointer-events: none;
}

.floating-call {
    background: #e31b23;
    box-shadow: 0 8px 25px rgba(227, 27, 35, 0.45);
}

.floating-call::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(227, 27, 35, 0.55);
    animation: floating-pulse 2.2s infinite ease-out 1.1s;
    pointer-events: none;
}

@keyframes floating-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.floating-tooltip {
    position: absolute;
    left: 64px;
    background: #1e293b;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #1e293b transparent transparent;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile & Tablet Screen Breakpoints */
@media (max-width: 991px) {
    .floating-contact-stack {
        left: auto;
        right: 18px;
        bottom: 22px;
        gap: 12px;
        z-index: 9990;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }

    .floating-tooltip {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .floating-contact-stack {
        right: 12px;
        bottom: 16px;
        gap: 10px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

/* ============================================================
   ULTRA-PREMIUM 7-STEP SOP FLOWCHART & INTERACTIVE SHOWCASE
   ============================================================ */
.sop-showcase-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.sop-ambient-glow-1 {
    position: absolute;
    top: 5%;
    left: -10%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 27, 35, 0.07) 0%, rgba(227, 27, 35, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.sop-ambient-glow-2 {
    position: absolute;
    bottom: 5%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0) 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
}

.sop-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(227, 27, 35, 0.08);
    border: 1px solid rgba(227, 27, 35, 0.2);
    color: var(--primary-red);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 10px rgba(227, 27, 35, 0.8);
    animation: floating-pulse 2s infinite ease-in-out;
}

.sop-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.sop-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px auto 16px;
}

.sop-title-divider .divider-line {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.sop-title-divider .shield-mini-icon {
    color: var(--primary-red);
    font-size: 1.15rem;
}

.sop-subtitle-text {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FLOWCHART STEPPER TRACK */
.sop-stepper-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 22px 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.sop-stepper-scroll-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px;
}

.sop-stepper-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.sop-stepper-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 780px;
    position: relative;
    padding: 0 10px;
}

.sop-connector-line-bg {
    position: absolute;
    top: 22px;
    left: 35px;
    right: 35px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    z-index: 1;
    overflow: hidden;
}

.sop-connector-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-red) 0%, #ff4d5a 100%);
    box-shadow: 0 0 10px rgba(227, 27, 35, 0.6);
    border-radius: 4px;
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.sop-node-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.sop-node-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.sop-node-circle .node-check {
    display: none;
    font-size: 1.1rem;
}

.sop-node-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #64748b;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.sop-node-btn:hover .sop-node-circle {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(227, 27, 35, 0.25);
}

.sop-node-btn.active .sop-node-circle {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    transform: scale(1.18);
    box-shadow: 0 8px 24px rgba(227, 27, 35, 0.45);
}

.sop-node-btn.active .sop-node-label {
    color: var(--primary-red);
    font-weight: 800;
}

.sop-node-btn.completed .sop-node-circle {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
}

.sop-node-btn.completed .node-num {
    display: none;
}

.sop-node-btn.completed .node-check {
    display: inline-block;
}

.sop-node-btn.completed .sop-node-label {
    color: #1e293b;
    font-weight: 700;
}

.sop-node-btn.node-guarantee.active .sop-node-circle {
    background: linear-gradient(135deg, var(--primary-red) 0%, #0f172a 100%) !important;
    border-color: #ff4d5a !important;
    box-shadow: 0 8px 28px rgba(227, 27, 35, 0.6);
}

.sop-node-chevron {
    color: #cbd5e1;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    margin-top: -24px;
    transition: color 0.3s ease;
}

.sop-node-chevron.completed,
.sop-node-chevron.active {
    color: var(--primary-red);
}

/* STAGE CARD VIEWPORT */
.sop-stage-card-viewport {
    background: #ffffff;
    border: 1.5px solid rgba(227, 27, 35, 0.15);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 32px 36px 24px;
    position: relative;
    overflow: hidden;
}

.sop-stage-timer-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.04);
    z-index: 5;
    overflow: hidden;
}

.sop-stage-timer-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-red), #ff4d5a);
    transition: width 0.05s linear;
}

.sop-stage-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sop-stage-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #0f172a;
    text-transform: uppercase;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.sop-play-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sop-play-toggle:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(227, 27, 35, 0.3);
}

/* CARD PANELS */
.sop-card-panel {
    display: none;
    position: relative;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sop-card-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sop-card-watermark {
    position: absolute;
    right: 20px;
    bottom: -20px;
    font-family: 'Outfit', sans-serif;
    font-size: 13rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(15, 23, 42, 0.025);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.sop-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.sop-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(227, 27, 35, 0.08);
    border: 1.5px solid rgba(227, 27, 35, 0.2);
    color: var(--primary-red);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(227, 27, 35, 0.12);
}

.sop-icon-gold {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.3);
    color: #eab308;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.2);
}

.sop-step-tag {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.sop-tag-gold {
    color: #ca8a04;
}

.sop-panel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.sop-panel-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 620px;
}

/* CHECKPOINT LIST */
.sop-checkpoints-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.sop-checkpoint-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.93rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sop-checkpoint-item:hover {
    transform: translateX(4px);
    background: #ffffff;
    border-color: rgba(227, 27, 35, 0.2);
}

.sop-checkpoint-item i {
    color: #10b981;
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* SIDEBAR CARD */
.sop-panel-sidebar {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sop-next-step-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.next-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.next-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.next-desc {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.btn-sop-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #c41119 100%);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 12px 20px;
    border: none;
    box-shadow: 0 8px 25px rgba(227, 27, 35, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sop-primary:hover {
    background: linear-gradient(135deg, #c41119 0%, #a50d14 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(227, 27, 35, 0.4);
}

.btn-sop-gold {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.3);
}

.btn-sop-gold:hover {
    background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.4);
}

.sop-guarantee-badge-box {
    background: #ffffff;
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.sop-gold-medal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.12);
    color: #ca8a04;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.sop-gold-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.sop-gold-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* FOOTER BAR */
.sop-stage-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sop-nav-ctrl-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 9px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sop-nav-ctrl-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-1px);
}

.sop-dots-track {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sop-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sop-dot.active {
    width: 32px;
    border-radius: 10px;
    background: var(--primary-red);
    box-shadow: 0 0 10px rgba(227, 27, 35, 0.5);
}

.sop-dot.dot-final.active {
    background: linear-gradient(90deg, var(--primary-red), #eab308);
}

/* RESPONSIVENESS */
@media (max-width: 991px) {
    .sop-stage-card-viewport {
        padding: 24px 20px;
    }

    .sop-panel-sidebar {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .sop-showcase-section {
        padding: 70px 0;
    }

    .sop-stepper-container {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .sop-stepper-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .sop-step-counter-mobile {
        font-family: 'Outfit', sans-serif;
        font-size: 0.8rem;
        font-weight: 800;
        color: var(--primary-red);
        text-transform: uppercase;
    }

    .sop-step-hint-mobile {
        font-size: 0.75rem;
        font-weight: 600;
        color: #94a3b8;
    }

    .sop-stage-card-viewport {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .sop-panel-title {
        font-size: 1.35rem;
    }

    .sop-checkpoint-item {
        font-size: 0.86rem;
        padding: 10px 12px;
    }

    .sop-nav-ctrl-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 575px) {
    .sop-stage-top-bar {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .sop-stage-badge {
        font-size: 0.74rem;
        padding: 5px 10px;
        letter-spacing: 0.8px;
    }

    .sop-play-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
}

@media (max-width: 380px) {
    .sop-showcase-section {
        padding: 50px 0;
    }

    .sop-panel-title {
        font-size: 1.18rem;
    }

    .sop-panel-desc {
        font-size: 0.88rem;
    }

    .sop-checkpoint-item {
        font-size: 0.82rem;
        gap: 8px;
        padding: 8px 10px;
    }

    .sop-dots-track {
        gap: 5px;
    }

    .sop-dot {
        width: 8px;
        height: 8px;
    }

    .sop-dot.active {
        width: 22px;
    }
}

/* ==========================================================================
   HERO STATS TICKER RESPONSIVE ADJUSTMENTS (DOWN TO 300PX)
   ========================================================================== */
@media (max-width: 991px) {
    .stats-bar-new {
        margin-top: 28px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .stats-bar-new {
        border-radius: 40px;
        padding: 5px 8px;
        margin-top: 22px;
    }

    .ticker-head-badge {
        padding: 4px 10px;
        gap: 5px;
    }

    .ticker-head-icon {
        font-size: 0.85rem;
    }

    .ticker-head-title {
        font-size: 0.70rem;
        letter-spacing: 0.4px;
    }

    .ticker-head-subtitle {
        display: none !important;
    }

    .ticker-head-arrow {
        padding: 0 4px 0 2px;
        font-size: 0.8rem;
    }

    .ticker-item-text {
        font-size: 0.80rem;
    }

    .ticker-item-img {
        height: 20px;
        max-width: 70px;
    }
}

@media (max-width: 575px) {
    .stats-bar-new {
        border-radius: 30px;
        padding: 4px 6px;
        margin-top: 18px;
    }

    .ticker-head-badge {
        padding: 3px 8px;
        font-size: 0.62rem;
        border-radius: 16px;
        gap: 4px;
    }

    .ticker-head-icon {
        font-size: 0.72rem;
    }

    .ticker-head-title {
        font-size: 0.62rem;
        letter-spacing: 0.3px;
    }

    .ticker-head-pulse-dot {
        width: 5px;
        height: 5px;
    }

    .ticker-head-arrow {
        padding: 0 3px 0 1px;
        font-size: 0.70rem;
    }

    .ticker-item-text {
        font-size: 0.75rem;
    }

    .ticker-item-icon {
        font-size: 0.90rem;
    }

    .ticker-stat-sep {
        font-size: 0.95rem;
        padding: 0 5px;
    }
}

@media (max-width: 380px) {
    .stats-bar-new {
        border-radius: 24px;
        padding: 3px 4px;
        margin-top: 15px;
    }

    .ticker-head-badge {
        padding: 2.5px 6px;
        font-size: 0.56rem;
        gap: 3px;
        border-radius: 12px;
    }

    .ticker-head-icon {
        font-size: 0.65rem;
    }

    .ticker-head-title {
        font-size: 0.56rem;
        letter-spacing: 0.2px;
    }

    .ticker-head-pulse-dot {
        width: 4px;
        height: 4px;
    }

    .ticker-head-arrow {
        padding: 0 2px 0 0px;
        font-size: 0.62rem;
    }

    .ticker-item-text {
        font-size: 0.70rem;
    }

    .ticker-item-img {
        height: 16px;
        max-width: 50px;
    }

    .ticker-stat-sep {
        padding: 0 3px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   MODAL Z-INDEX & NAVBAR OVERLAP GUARDIAN
   Ensures modals & backdrops sit safely ABOVE fixed navbar (9999) & floating widgets (9999)
   ========================================================================== */
.modal-backdrop {
    z-index: 100000 !important;
}

.modal {
    z-index: 100005 !important;
}

.service-btn-close,
.inspection-btn-close {
    z-index: 1050 !important;
    cursor: pointer !important;
}

@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0.75rem auto !important;
        max-width: calc(100% - 1.5rem) !important;
    }

    .service-modal-content,
    .inspection-modal-content {
        border-radius: 18px !important;
    }

    .service-modal-header,
    .inspection-modal-header {
        padding: 1.25rem 1rem 0.75rem 1rem !important;
        padding-right: 3.5rem !important;
        position: relative !important;
    }

    .service-modal-title,
    .inspection-modal-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }

    .service-btn-close,
    .inspection-btn-close {
        top: 0.85rem !important;
        right: 0.85rem !important;
        width: 36px !important;
        height: 36px !important;
        background-color: #f1f5f9 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0.95 !important;
        border: 1px solid #e2e8f0 !important;
    }

    .service-modal-body,
    .inspection-modal-body {
        padding: 1rem 1rem 1.5rem 1rem !important;
    }
}