/* Custom Hero Element CSS */
.chemoil-custom-hero-element {
    position: relative;
    min-height: 550px;
    background-size: cover !important;
    background-position: center !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.custom-hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-hero-left {
    flex: 0 0 60%;
    max-width: 60%;
    padding-right: 50px;
    box-sizing: border-box;
}

.custom-hero-right {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
}

.custom-hero-badge {
    display: inline-block;
    color: #f97316; /* Orange color from screenshot */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.custom-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
}

.custom-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

.custom-hero-features-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    margin-top: 30px;
}

.custom-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 15px;
}

.custom-hero-feature-item:last-child {
    border-right: none;
    padding-right: 0;
}

.feature-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Ensure icons are white if they are dark SVGs */
}

.feature-icon span.dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #93c5fd;
}

.feature-text {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.custom-hero-product-img {
    max-width: 130%; /* Allow to overflow slightly */
    height: auto;
    position: relative;
    right: -10%;
    margin-top: -50px;
    margin-bottom: -50px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.4));
    transform-origin: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .custom-hero-left {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 50px;
    }
    .custom-hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
    }
    .custom-hero-product-img {
        max-width: 100%;
        right: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
    .custom-hero-features-row {
        flex-wrap: wrap;
    }
    .custom-hero-feature-item {
        flex: 0 0 calc(50% - 10px);
        border-right: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .custom-hero-title {
        font-size: 36px;
    }
    .custom-hero-feature-item {
        flex: 0 0 100%;
    }
}
