/* ── MODERN PROFESSIONAL HERO ─────────────────────────────────────────────── */
:root {
    /* Additional Hero-Specific Colors */
    --brand-teal: #249286;
    /* Kept for active buttons */
    --brand-teal-light: #249286;
}

.hero-modern-section {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--bg-light-blue-2) 0%, var(--bg-light-blue-3) 50%, var(--bg-white) 100%);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

/* Dynamic background pattern */
.hero-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 0% 0%, rgba(36, 146, 134, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(36, 146, 134, 0.03) 0px, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Background elements for depth */
.hero-modern-section::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(36, 146, 134, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

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

/* Content Area */
.hero-content-col {
    padding-right: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(36, 146, 134, 0.1);
    color: var(--secondary-blue);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-3c);
    margin-bottom: 18px;
    letter-spacing: -1.2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title span {
    font-weight: 900;
    color: var(--secondary-blue);
    display: block;
}

.hero-lead {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Elite Buttons (Preserving Active Colors) */
.btn-modern-primary {
    display: inline-block;
    background: var(--brand-teal);
    color: #fff;
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(11, 68, 70, 0.22);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(11, 68, 70, 0.3);
    color: #fff;
    background: var(--brand-teal-light);
}

.btn-modern-outline {
    display: inline-block;
    border: 2px solid var(--brand-teal);
    color: var(--brand-teal);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: rgba(11, 68, 70, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Image Mask Area */
.hero-image-col {
    position: relative;
    perspective: 1000px;
}

.hero-image-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 32px 70px rgba(36, 146, 134, 0.15);
    animation: imageFloat 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
    transform: rotateY(-3deg) rotateX(1deg);
    height: 500px;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image-wrap:hover img {
    transform: scale(1.05);
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(36, 146, 134, 0.08) 100%);
    pointer-events: none;
}

/* Trust Bar inside Hero */
.hero-trust-bar {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.trust-icons {
    display: flex;
    gap: 22px;
    align-items: center;
    opacity: 0.75;
}

.trust-icons i {
    font-size: 19px;
    color: var(--secondary-blue);
    transition: transform 0.3s ease;
}

.trust-icons i:hover {
    transform: scale(1.2);
    color: var(--brand-teal);
}

/* Animations (Unaltered) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

@keyframes imageFloat {
    from {
        opacity: 0;
        transform: scale(0.9) rotateY(-10deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotateY(-5deg) rotateX(2deg);
    }
}

.hero-badge i {
    animation: pulseVertical 1.5s infinite;
}

@keyframes pulseVertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Responsive (Refined) */
@media (max-width: 991px) {
    .hero-modern-section {
        padding: 50px 0;
        text-align: center;
    }

    .hero-content-col {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-title {
        font-size: 46px;
    }

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

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

    .hero-image-wrap {
        transform: none !important;
        max-width: 480px;
        margin: 0 auto;
        height: 420px;
    }

    .hero-trust-bar {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-modern-primary,
    .btn-modern-outline {
        display: block;
        width: 100%;
        text-align: center;
    }
}