/* ========================================
   HOME PAGE HERO SECTION
   ======================================== */

/* Fix gaps between menu bar, left/right, and hero widget */
.home #content-wrap,
.home #primary,
.home #main,
.home .elementor-section.elementor-top-section {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.home {
    overflow-x: hidden;
    /* Prevents scrollbar issues when breaking out */
}

.safebox2u-home-hero {
    position: relative;

    /* Aggressive breakout to force 100% screen width and remove all gaps */
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;

    min-height: 85vh;
    display: flex;
    align-items: center;
    /* The background image */
    background-image: url('http://safebox2u.com.my/wp-content/uploads/2026/05/office-work-hero-image-1.webp');
    background-size: cover;
    background-position: center;
    /* Changed from overflow: hidden to prevent shadow cut-off on hover */
    overflow: visible;
    padding: 60px 5%;
    box-sizing: border-box;
}

/* Gold Accent Line with Fade */
.safebox2u-home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    /* 50% thinner */
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
    z-index: 10;
}

.safebox2u-home-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 2;
    position: relative;
}

/* Left Content */
.safebox2u-home-hero-content {
    flex: 1 1 500px;
    max-width: 600px;
    color: #ffffff;
}

.safebox2u-home-hero-title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    /* Outer black shadow for readability against image */
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8), 0px 0px 20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    /* New prominent slide-in animation */
    animation: safebox2u-slide-in-left 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.safebox2u-home-hero-desc {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ffffff;
    /* Subtle shadow for description readability */
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: safebox2u-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Buttons */
.safebox2u-home-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: safebox2u-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.safebox2u-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent, #FFD700);
    color: #1a1a1a !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-accent, #FFD700);
}

.safebox2u-btn-primary:hover {
    background: #ffcc00;
    border-color: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.safebox2u-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.safebox2u-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Right Image */
.safebox2u-home-hero-image {
    flex: 1 1 400px;
    display: flex;
    /* Moved slightly to the right on desktop */
    justify-content: flex-end;
    align-items: center;
    position: relative;
    /* Shift 15% to the right on desktop */
    transform: translateX(15%);
    opacity: 0;
    animation: safebox2u-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* Floor shadow to blend safe into background */
.safebox2u-home-hero-image::after {
    content: '';
    position: absolute;
    bottom: 25px;
    /* Moved much higher, closer to image */
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 25px;
    /* Lighter shadow */
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.safebox2u-home-hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* Soft overall drop shadow */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
    outline: 1px solid transparent;
}

.safebox2u-home-hero-image:hover img {
    transform: scale(1.02) translateY(-5px);
}

/* Animate the floor shadow when safe hovers */
.safebox2u-home-hero-image:hover::after {
    transform: translateX(-50%) scale(1.05);
    opacity: 0.7;
}

/* Animations */
@keyframes safebox2u-slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes safebox2u-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ── Brand Header Wrapper ──────────────────────────────────── */
.sb2u-bh {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 40px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 8px;

    /* Dark luxury green base */
    background: linear-gradient(135deg, #1a3828 0%, #2d5a3f 55%, #3F6A54 100%);

    /* Diagonal fine-line texture for depth */
    background-image:
        repeating-linear-gradient(-52deg,
            transparent,
            transparent 18px,
            rgba(255, 255, 255, 0.025) 18px,
            rgba(255, 255, 255, 0.025) 19px),
        linear-gradient(135deg, #1a3828 0%, #2d5a3f 55%, #3F6A54 100%);

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gold top border line */
.sb2u-bh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 30%, #FFD700 70%, transparent 100%);
}

/* Decorative large faded letter — right side */
.sb2u-bh::after {
    content: attr(data-brand-initial);
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 130px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -4px;
    user-select: none;
}

/* ── Left Side ─────────────────────────────────────────────── */
.sb2u-bh-left {
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

/* Logo badge */
.sb2u-bh-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 215, 0, 0.3);
}

.sb2u-bh-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Text block */
.sb2u-bh-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Gold pill label above brand name */
.sb2u-bh-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #FFD700;
    border-radius: 20px;
    padding: 3px 10px;
    width: fit-content;
}

.sb2u-bh-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.5px;
    text-decoration: none !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sb2u-bh-name:hover {
    color: #FFD700 !important;
}

.sb2u-bh-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ── Right Side ────────────────────────────────────────────── */
.sb2u-bh-right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* View All button */
.sb2u-bh-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a !important;
    background: #FFD700;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
    white-space: nowrap;
}

.sb2u-bh-cta:hover {
    background: #ffffff;
    color: #1a3828 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.sb2u-bh-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.sb2u-bh-cta:hover svg {
    transform: translateX(3px);
}

/* ── Promotion Items variant ───────────────────────────────── */
.sb2u-bh.is-promo {
    background-image:
        repeating-linear-gradient(-52deg,
            transparent,
            transparent 18px,
            rgba(255, 255, 255, 0.025) 18px,
            rgba(255, 255, 255, 0.025) 19px),
        linear-gradient(135deg, #3a2800 0%, #7a5500 55%, #b5800a 100%);
}

.sb2u-bh.is-promo::before {
    background: linear-gradient(90deg, transparent 0%, #3F6A54 30%, #3F6A54 70%, transparent 100%);
}

.sb2u-bh.is-promo .sb2u-bh-label {
    background: rgba(255, 255, 255, 0.15);
    color: #FFD700;
}

.sb2u-bh.is-promo .sb2u-bh-cta {
    background: rgba(255, 255, 255, 0.12);
    color: #FFD700 !important;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    box-shadow: none;
}

.sb2u-bh.is-promo .sb2u-bh-cta:hover {
    background: #FFD700;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sb2u-bh {
        padding: 22px 24px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .sb2u-bh::after {
        font-size: 80px;
    }

    .sb2u-bh-name {
        font-size: 22px;
    }

    .sb2u-bh-logo-wrap {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .sb2u-bh-right {
        width: 100%;
    }

    .sb2u-bh-cta {
        width: 100%;
        justify-content: center;
    }
}


/* ── Section Title Header ──────────────────────────────────────
 SAFEBOX2U — STATIC TESTIMONIALS Header Title SECTION
─────────────────────────────────────────────────────────────── */

.sb2u-section-title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px 36px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0;

    /* Same dark luxury green as brand headers */
    background-image:
        repeating-linear-gradient(-52deg,
            transparent,
            transparent 18px,
            rgba(255, 255, 255, 0.025) 18px,
            rgba(255, 255, 255, 0.025) 19px),
        linear-gradient(135deg, #1a3828 0%, #2d5a3f 55%, #3F6A54 100%);

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gold top line — fading */
.sb2u-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 30%, #FFD700 70%, transparent 100%);
}

/* Large faded quote mark — decorative */
.sb2u-section-title::after {
    content: '"';
    position: absolute;
    left: 24px;
    top: -10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 160px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Gold pill label above heading */
.sb2u-section-title-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #FFD700;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

/* Main heading */
.sb2u-section-title-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Subtext */
.sb2u-section-title-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

/* Star + Google rating row */
.sb2u-section-title-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 8px 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.sb2u-section-title-stars {
    color: #FFD700;
    font-size: 18px;
    letter-spacing: 2px;
    -webkit-text-stroke: 0.5px #e6a800;
    line-height: 1;
}

.sb2u-section-title-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.sb2u-section-title-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
}

.sb2u-section-title-google {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sb2u-section-title-google svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sb2u-section-title-google span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .sb2u-section-title {
        padding: 32px 20px 28px;
    }

    .sb2u-section-title-heading {
        font-size: 22px;
    }

    .sb2u-section-title::after {
        font-size: 100px;
    }
}

</style>
/* ============================================================
   SAFEBOX2U — STATIC TESTIMONIALS SECTION
   ============================================================ */

.sb2u-reviews {
    padding: 60px 20px;
    background: linear-gradient(160deg, #f0f5f1 0%, #e8f0ea 100%);
    position: relative;
    /* ADD this */
    font-family: var(--font-body, 'Inter', sans-serif);
}

.sb2u-reviews::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
    pointer-events: none;
}

/* --- Header badge --- */
.sb2u-reviews-header {
    text-align: center;
    margin-bottom: 44px;
}

.sb2u-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(63, 106, 84, 0.15);
    border-radius: 60px;
    padding: 12px 28px 12px 18px;
    box-shadow: 0 4px 20px rgba(63, 106, 84, 0.1);
}

.sb2u-google-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.sb2u-reviews-rating-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.sb2u-reviews-score {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-dark, #1a1a1a);
    line-height: 1;
}

.sb2u-reviews-stars-row {
    color: var(--color-accent, #FFD700);
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
    -webkit-text-stroke: 0.5px #e6a800;
}

.sb2u-reviews-count {
    font-size: 12px;
    color: var(--color-text-muted, #7a8a80);
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* --- Cards grid --- */
.sb2u-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sb2u-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 2px 12px rgba(63, 106, 84, 0.08);
    border: 1px solid rgba(63, 106, 84, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sb2u-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(63, 106, 84, 0.14);
}

/* --- Reviewer row --- */
.sb2u-review-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sb2u-reviewer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary, #3F6A54);
    color: #fff;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sb2u-reviewer-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 3px;
}

.sb2u-reviewer-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text-dark, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb2u-reviewer-date {
    font-size: 12px;
    color: var(--color-text-muted, #7a8a80);
}

.sb2u-review-google-g {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.85;
}

/* --- Stars --- */
.sb2u-review-stars {
    color: var(--color-accent, #FFD700);
    font-size: 20px;
    letter-spacing: 3px;
    -webkit-text-stroke: 0.5px #e6a800;
    line-height: 1;
}

/* --- Review text --- */
.sb2u-review-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-text-body, #3d4f46);
    margin: 0;
    font-style: italic;
}

/* --- Footer CTA --- */
.sb2u-reviews-footer {
    text-align: center;
    margin-top: 36px;
}

.sb2u-reviews-cta {
    display: inline-block;
    background: var(--color-primary, #3F6A54);
    color: #fff !important;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.25s ease, transform 0.25s ease;
    letter-spacing: 0.02em;
}

.sb2u-reviews-cta:hover {
    background: var(--color-primary-dark, #2d5a3f);
    transform: translateY(-2px);
}

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

@media (max-width: 600px) {
    .sb2u-reviews-grid {
        grid-template-columns: 1fr;
    }

    .sb2u-review-card {
        padding: 24px 20px;
    }

    .sb2u-reviews-badge {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
        padding: 16px 20px;
    }

    .sb2u-reviews-rating-summary {
        align-items: center;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .safebox2u-home-hero {
        min-height: auto;
        padding: 80px 5%;
        text-align: center;
    }

    .safebox2u-home-hero-content {
        margin: 0 auto;
    }

    .safebox2u-home-hero-actions {
        justify-content: center;
    }

    .safebox2u-home-hero-image {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .safebox2u-home-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .safebox2u-btn-primary,
    .safebox2u-btn-secondary {
        width: 100%;
    }
}