/* ===============================
   HERO SECTION
   =============================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    /* height: 100%; */
    height: 900px;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5);
}

/* Container */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

/* Content */
.hero-content {
    max-width: 850px;
}

/* Title */
.hero-title {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: var(--font-weight-hero, 800);
    line-height: 1.1;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

/* Description */
.hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.7;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

/* CTA Wrapper */
.hero-actions {
    display: flex;
    gap: 20px;
}

/* Primary Button */
.hero-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: var(--color-accent, #1FA7A0);
    border-radius: var(--radius-button, 10px);
    text-decoration: none;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(31, 167, 160, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-actions .btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(31, 167, 160, 0.45);
    background: var(--color-accent-hover, #178F89);
}

.hero-actions .btn-primary svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-actions .btn-primary:hover svg {
    transform: translateX(5px);
}

.hero-actions .btn-primary span {
    position: relative;
    z-index: 1;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 991px) {
    .hero-container {
        padding: 60px 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 38px;
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: 17px;
        margin-bottom: 35px;
    }
    
    .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 75vh;
    }
    
    .hero-container {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-actions .btn-primary {
        padding: 16px 35px;
        font-size: 16px;
    }
}

/* hero-section-end */

/* ===============================
   SERVICE DETAIL HERO
   Full-bleed image + overlay content
   =============================== */
.service-hero {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 62vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-navy, #0D2D45);
}

.service-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transform: scale(1.02);
    animation: serviceHeroZoom 18s ease-out forwards;
}

@keyframes serviceHeroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

.service-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(13, 45, 69, 0.55) 0%, rgba(13, 45, 69, 0.72) 45%, rgba(13, 45, 69, 0.82) 100%);
    pointer-events: none;
}

.service-hero--fallback .service-hero__shade {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(31, 167, 160, 0.35), transparent 55%),
        linear-gradient(135deg, #0D2D45 0%, #143A55 55%, #178F89 140%);
}

.service-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.service-hero__content {
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    animation: serviceHeroRise 0.7s ease-out both;
}

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

.service-hero__title {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    font-weight: var(--font-weight-hero, 800);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin: 0 auto 1.15rem;
    text-align: center !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.service-hero__text,
.service-hero__text p,
.service-hero__text * {
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-left: auto;
    margin-right: auto;
    max-width: 920px;
    text-align: center !important;
}

.service-hero__text {
    margin-bottom: 1.75rem;
}

.service-hero__text p {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.service-hero__text strong,
.service-hero__text b {
    color: #fff;
    font-weight: 700;
}

.service-hero .hero-actions {
    margin-top: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

@media (max-width: 767px) {
    .service-hero {
        min-height: 70vh;
        align-items: center;
    }

    .service-hero__shade {
        background:
            linear-gradient(180deg, rgba(13, 45, 69, 0.45) 0%, rgba(13, 45, 69, 0.78) 50%, rgba(13, 45, 69, 0.9) 100%);
    }

    .service-hero__inner {
        padding-top: 3rem;
        padding-bottom: 2.75rem;
    }

    .service-hero__content {
        max-width: 100%;
    }

    .service-hero .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
