/* ============================================================
   rax.ae — New Hero Section (2026-07-27)
   Scoped under .hero-new to avoid conflicts with existing CSS.
   Brand green: #5CB934 | Font: Inter (already loaded site-wide)
   ============================================================ */

/* ============ NEW HERO ============ */
.hero-new {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-start;
    padding: 48px 24px 56px;
    overflow: hidden;
    text-align: left;
    /* Override facelift.css section padding */
    padding-top: 48px !important;
    padding-bottom: 56px !important;
}

.hero-new .hero-new-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-new .hero-new-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-new .hero-new-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 12, 16, 0.92) 0%,
        rgba(10, 12, 16, 0.78) 50%,
        rgba(10, 12, 16, 0.55) 100%
    );
}

.hero-new .hero-new-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* Badge / pill */
.hero-new .hero-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(92, 185, 52, 0.35);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #e0e0e0;
    margin-bottom: 24px;
    background: rgba(92, 185, 52, 0.06);
}

.hero-new .hero-new-badge-icon {
    color: #5CB934;
    flex-shrink: 0;
}

/* Headline */
.hero-new .hero-new-headline {
    font-size: clamp(2.4rem, 8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    /* Reset any bootstrap/site overrides */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    animation: heroNewFadeIn 1s ease-out forwards;
}

.hero-new .text-green {
    color: #5CB934;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #5CB934;
    background-clip: unset;
}

/* Divider */
.hero-new .hero-new-divider {
    width: 48px;
    height: 3px;
    background: #5CB934;
    border-radius: 2px;
    margin-bottom: 18px;
}

/* Body text */
.hero-new .hero-new-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #9ca3af;
    margin-bottom: 32px;
    max-width: 440px;
    /* Reset animation from existing hero-content p */
    opacity: 1;
    animation: heroNewFadeIn 1s ease-out 0.2s forwards;
}

/* CTAs */
.hero-new .hero-new-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    /* Reset animation from existing hero-content .d-flex */
    opacity: 1;
    animation: heroNewFadeIn 1s ease-out 0.4s forwards;
}

.hero-new .btn-hero-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    border: none;
    line-height: 1;
}

.hero-new .btn-hero-new:active { transform: scale(0.97); }

.hero-new .btn-hero-new-primary {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #ffffff;
}
.hero-new .btn-hero-new-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.hero-new .btn-hero-new-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.35);
}
.hero-new .btn-hero-new-outline:hover {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}

.hero-new .btn-hero-new-arrow {
    font-size: 1.1em;
    transition: transform 0.2s ease;
}
.hero-new .btn-hero-new:hover .btn-hero-new-arrow {
    transform: translateX(3px);
}

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

/* ============ 3 FEATURES STRIP ============ */
.features-strip-new {
    background: #ffffff;
    padding: 40px 24px;
    /* Override facelift section padding */
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.features-strip-new .features-inner-new {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 12px;
    text-align: center;
    align-items: start;
}

.features-strip-new .feature-col-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.features-strip-new .feature-icon-new {
    width: 36px;
    height: 36px;
    color: #5CB934;
    margin-bottom: 4px;
}

.features-strip-new .feature-title-new {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 0;
}

.features-strip-new .feature-desc-new {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.features-strip-new .feature-divider-new {
    display: block;
    width: 1px;
    background: #e0e0e0;
    align-self: stretch;
    min-height: 60px;
}

/* ============ TRUST CARD ============ */
.trust-card-new {
    margin: 0 16px;
    padding: 32px 20px;
    background: #1a1d22;
    border-radius: 16px;
    text-align: center;
    /* Override facelift section padding */
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

.trust-card-new .trust-headline-new {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.trust-card-new .trust-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.trust-card-new .trust-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-card-new .trust-icon-new {
    width: 28px;
    height: 28px;
    color: #5CB934;
    margin-bottom: 4px;
}

.trust-card-new .trust-value-new {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.trust-card-new .trust-label-new {
    font-size: 0.7rem;
    color: #9ca3af;
    letter-spacing: 0.04em;
}

/* Dark bg spacer between trust card and next section */
.trust-card-spacer {
    background: #0f1114;
    padding: 16px 0 0;
}

/* ============ RESPONSIVE ============ */

/* Small phones (< 360px) */
@media (max-width: 359px) {
    .hero-new .hero-new-headline { font-size: 2rem; }
    .trust-card-new .trust-grid-new { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-strip-new .feature-title-new { font-size: 0.65rem; }
    .features-strip-new .feature-desc-new { font-size: 0.72rem; }
    .features-strip-new .feature-icon-new { width: 28px; height: 28px; }
}

/* Tablet (600px+) */
@media (min-width: 600px) {
    .hero-new {
        padding: 64px 40px 72px !important;
        min-height: 560px;
    }
    .hero-new .hero-new-headline { font-size: 3.2rem; }
    .hero-new .hero-new-ctas {
        flex-direction: row;
        max-width: none;
    }
    .features-strip-new .features-inner-new { gap: 24px; }
    .trust-card-new {
        margin: 0 32px;
        padding: 40px 32px !important;
    }
}

/* Desktop (900px+) */
@media (min-width: 900px) {
    .hero-new {
        padding: 80px 60px 96px !important;
        min-height: 600px;
        align-items: center;
    }
    .hero-new .hero-new-headline { font-size: 3.8rem; }
    .hero-new .hero-new-body { font-size: 1.05rem; }
    .features-strip-new { padding: 56px 40px !important; }
    .trust-card-new {
        margin: 0 60px;
        padding: 48px 48px !important;
    }
    .trust-card-new .trust-value-new { font-size: 1.1rem; }
}

/* Large desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-new { padding: 100px 80px 120px !important; }
    .features-strip-new { padding: 64px 60px !important; }
    .trust-card-new { margin: 0 80px; }
}
