/* Hero Science Section - BEM Methodology with SFC Design System */
:root {
    --color-bg-beige: #E9E2D3;
    --color-text-teal: #196B81;
    --color-text-body: #000000;
    --color-btn-orange: #EE7D3D;
    --color-btn-orange-hover: #D96C2E;
}

.hero-science-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-science {
    background-color: var(--color-bg-beige);
    padding: 120px 130px;
    display: flex;
    justify-content: center;
}

.hero-science__container {
    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 60px;
}

.hero-science__content {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.hero-science__title {
    margin: 0;
    color: var(--color-text-teal);
    font-size: 62px;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 20px;
    position: relative;
}

.hero-science__title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    width: 80%;
    height: 15px;
    background-image: url('../images/BRUSHES.svg');
    background-size: contain;
    background-repeat: no-repeat;
    left: 0;
}

.hero-science__description {
    color: var(--color-text-body);
    font-size: 18px;
    margin: 0;
    line-height: 140%;
    padding-top: 40px;
    padding-bottom: 30px;
}

.hero-science__cta-wrapper {
    position: relative;
    display: inline-block;
}

.hero-science__button {
    display: inline-block;
    background-color: var(--color-btn-orange);
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-science__button:hover {
    background-color: var(--color-btn-orange-hover);
    transform: translateY(-2px);
    color: #fff;
}

.hero-science__arrow {
    position: absolute;
    bottom: 0%;
    transform: rotate(3deg) translate(-26%, 86%);
    pointer-events: none;
    height: auto;
    z-index: 10;
    height: 108px;
}

.hero-science__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 450px;
}

.hero-science__image-container {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    border: 4px solid var(--color-text-teal);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    box-shadow: 12px 12px 0px 0px #196B81;
    background-color: #E47633;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-science__image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-science__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-science__decor--purple-blobs {
    top: -60px;
    right: -80px;
    transform: rotate(-5deg);
}

.hero-science__decor--orange-squiggles {
    bottom: -80px;
    left: -100px;
    transform: rotate(-12deg);
}

/* Responsive */
@media (max-width: 1250px) {
    .hero-science__title {
        font-size: 48px;
    }

    .hero-science {
        padding-inline: 80px;
    }
}

@media (max-width: 1000px) {
    .hero-science__container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    .hero-science-wrapper .hero-science__description {
        padding-top: 0;
    }
    .hero-science__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .hero-science__title {
        width: max-content;
    }

    .hero-science__title::after {
        transform: translateX(-50%);
        left: 50%;
    }

    .hero-science__arrow {
        transform: rotate(3deg) translate(43%, 120%);
        height: 70px;
    }

    .hero-science__decor--purple-blobs,
    .hero-science__decor--orange-squiggles {
        display: none;
    }

    .hero-science__image-wrapper {
        max-width: 350px;
    }
    .hero-science-wrapper .hero-science{
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-science {
        padding: 60px 20px;
    }

    .hero-science__title {
        width: auto;
        font-size: 40px;
    }

    .hero-science__image-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 500px) {
    .hero-science__title {
        font-size: 34px;
    }

    .hero-science__arrow {
        height: 50px;
    }
}