/* ====================================================
   STR & STR DETAIL HERO SECTION STYLES
   ==================================================== */

#str-hero-section {
    background-color: #62bec0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.str-hero-banner {
    padding: 55px 0 40px 0;
    position: relative;
    background-color: #62bec0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Generous bottom spacing below subtitle */
.str-hero-banner .hero-left-content {
    padding-bottom: 70px;
}

/* 2-Tone Background: Bottom Pale Cyan Surface Band */
.str-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #9ee6eb;
    z-index: 1;
}

.str-hero-banner .container-fluid {
    position: relative;
    z-index: 2;
    width: 100%;
}

.str-hero-banner .hero-main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.85rem, 2.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff !important;
    letter-spacing: -0.4px;
    -webkit-text-stroke: 6px #82c4c0;
    paint-order: stroke fill;
    text-shadow:
        -2px -2px 0 #82c4c0,
         2px -2px 0 #82c4c0,
        -2px  2px 0 #82c4c0,
         2px  2px 0 #82c4c0;
}

.str-hero-banner .hero-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1e4d4e !important;
    text-shadow: none !important;
}

.str-hero-banner .hero-img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 3;
}

.str-hero-banner .hero-banner-img {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: -35px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

/* ====================================================
   RESPONSIVE MEDIA QUERIES
   ==================================================== */

/* 1. TABLET (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .str-hero-banner {
        padding: 48px 0 25px 0;
        min-height: auto;
    }
    .str-hero-banner .hero-left-content {
        padding-bottom: 58px !important;
        margin-bottom: 0 !important;
    }
    .str-hero-banner::after {
        height: 55px;
    }
    .str-hero-banner .hero-main-heading {
        font-size: clamp(1.1rem, 1.85vw, 1.25rem) !important;
        line-height: 1.35 !important;
        margin-bottom: 0.85rem !important;
        letter-spacing: -0.2px;
        -webkit-text-stroke: 4px #82c4c0 !important;
    }
    .str-hero-banner .hero-subheading {
        font-size: 0.82rem !important;
        line-height: 1.48 !important;
    }
    .str-hero-banner .hero-img-wrapper {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        width: 100%;
    }
    .str-hero-banner .hero-banner-img {
        max-width: 530px !important;
        max-height: none !important;
        width: 100%;
        height: auto;
        margin: 0 0 0 auto !important;
        margin-bottom: -25px !important;
    }
}

/* 2. MOBILE GENERAL (< 768px): Centered, Stacked Layout */
@media (max-width: 767.98px) {
    .str-hero-banner {
        padding: 48px 0 0 0;
        text-align: center;
    }
    .str-hero-banner .row {
        row-gap: 0 !important;
    }
    .str-hero-banner .hero-left-content {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .str-hero-banner::after {
        height: 50px;
    }
    .str-hero-banner .hero-main-heading {
        font-size: 1.45rem;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 0.85rem !important;
        -webkit-text-stroke: 4.5px #82c4c0 !important;
    }
    .str-hero-banner .hero-subheading {
        font-size: 0.92rem;
        line-height: 1.5;
        text-align: center;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0 !important;
    }
    .str-hero-banner .hero-img-wrapper {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin-top: 48px !important; /* Matches top padding (48px) */
    }
    .str-hero-banner .hero-banner-img {
        margin: 0 auto !important;
        max-width: 380px;
        width: 94%;
        margin-bottom: 0 !important;
    }
}

/* 3. SMALL MOBILE (< 576px) */
@media (max-width: 575.98px) {
    .str-hero-banner {
        padding: 42px 0 0 0;
    }
    .str-hero-banner .hero-main-heading {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 0.75rem !important;
        -webkit-text-stroke: 3.8px #82c4c0 !important;
    }
    .str-hero-banner .hero-subheading {
        font-size: 0.86rem;
        line-height: 1.45;
    }
    .str-hero-banner .hero-img-wrapper {
        margin-top: 42px !important; /* Matches top padding (42px) */
    }
    .str-hero-banner .hero-banner-img {
        max-width: 330px;
    }
}
