.hero-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: -1px;
    overflow: hidden;
}

#heroCarousel {
    width: 100%;
    margin-bottom: 80px;
}

.hero-slide {
    width: 100%;
    height: 72vh;
    min-height: 560px;
    max-height: 760px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .hero-slide {
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 22, 33, 0.78) 0%,
            rgba(7, 22, 33, 0.55) 35%,
            rgba(7, 22, 33, 0.20) 100%
        );
}

.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(44,125,160,0.15);
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 720px;

    padding: 0 30px;

    color: #fff;
    text-align: left;

    animation: heroFade 0.9s ease;
}

    opacity: 0;
    transform: translateY(40px);
}

.hero-content.animate {
    animation: fadeUp 0.9s ease forwards;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1.08;
    font-weight: 700;

    margin-bottom: 18px;

    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;

    max-width: 560px;

    color: rgba(255,255,255,0.88);

    margin-bottom: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 54px;
    padding: 0 28px;

    border-radius: 14px;

    background: #1f8bb4;
    color: #fff !important;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
    border: none;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.hero-btn:hover {
    background: #16779a;

    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(22,119,154,.35);
}

.carousel-indicators {
    bottom: 28px;
    margin-bottom: 0;
    gap: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicators button {
    width: 26px;
    height: 6px;

    border: none;
    border-radius: 999px;

    background: rgba(255,255,255,0.35);

    opacity: 1;

    transition:
        width 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;

    padding: 0;
    margin: 0;
}

.carousel-indicators button:hover {
    background: rgba(255,255,255,0.6);
}

.carousel-indicators .active {
    width: 52px;

    background: #ffffff;

    box-shadow:
        0 0 12px rgba(255,255,255,0.45),
        0 0 24px rgba(255,255,255,0.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background-color: rgba(255,255,255,0.12);
    background-size: 18px;

    backdrop-filter: blur(10px);

    transition: all .25s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255,255,255,0.22);
    transform: scale(1.06);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.2s; }

@media (max-width: 768px) {

    .hero-slide {
        height: 58vh;
        min-height: 420px;
    }

    .hero-content {
        padding: 0 22px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-btn {
        width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 576px) {

    .hero-slide {
        height: min(48vh, 420px);
        min-height: 240px;
    }

    .hero-actions {
        margin-top: 8px;
        margin-bottom: 24px;
    }
}

.hero-actions {
    margin-top: -30px;
    margin-bottom: -70px;
    position: relative;
    z-index: 5;
}

.hero-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.hero-action-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 22px 16px;
    border-radius: 16px;

    text-decoration: none;
    color: #0f172a;

    background: #ffffff;
    border: 1px solid #e6edf2;

    transition: all 0.25s ease;
}

.hero-action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #2c7da0;
}

.hero-action-card:hover::after {
    opacity: 1;
}

.hero-action-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eef3f7;
    color: #2c7da0;

    font-size: 18px;

    margin-bottom: 10px;

    transition: all 0.25s ease;
}

.hero-action-icon i {
    font-size: 18px;
}

.hero-action-card:hover .hero-action-icon {
    transform: scale(1.08);
}

.hero-action-card span {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .hero-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-actions {
        margin-top: 20px;
    }

    .hero-actions-grid {
        grid-template-columns: 1fr;
    }
}