/**
 * Section - Why Seed Styles
 * Section with blue gradient top and dark bottom with features list
 *
 * @package SeedDigital
 * @since 1.0.0
 */

/* ============================================
   Section Container
   ============================================ */
.section-why-seed {
    padding: 0;
    background: linear-gradient(180deg, #E0F2FE 0%, #fff 100%);
    box-sizing: border-box;
    position: relative;
    width: 100%;
}

/* ============================================
   Wrapper
   ============================================ */
.why-seed__wrapper {
    max-width: 1384px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    border-radius: 32px;
    overflow: visible;
}

/* ============================================
   Top Section: Blue Gradient
   ============================================ */
.why-seed__top {
    background: linear-gradient(78.74deg, #00EDFF -25.94%, #0BA5EC 33.94%);
    border-radius: 32px 32px 0px 0px;
    padding: 140px 118px 0;
    min-height: 538px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.why-seed__top-content {
    max-width: 1030px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-seed__title {
    font-family: 'Be Vietnam', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    color: #FFFFFF;
    margin: 0;
}

.why-seed__description {
    font-family: 'Be Vietnam', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.why-seed__description p {
    margin: 0 0 16px 0;
}

.why-seed__description p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Bottom Section: Dark with Features
   ============================================ */
.why-seed__bottom {
    background: linear-gradient(90deg, #000000 0%, #000000 5.26%, rgba(0, 0, 0, 0) 75%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0px 0px 32px 32px;
    padding: 131px 118px 140px;
    min-height: 947px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.why-seed__features {
    max-width: 569px;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

/* ============================================
   Feature Item
   ============================================ */
.why-seed__feature {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    min-height: 56px;
}

.why-seed__feature-line {
    width: 0;
    height: 45px;
    border-left: 2px solid #667085;
    background: #98A2B3;
    flex-shrink: 0;
    margin-top: 8px;
    transition: all 0.3s ease-in-out;
}

.why-seed__feature-text {
    font-family: 'Be Vietnam', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
    transition: all 0.3s ease-in-out;
}

.why-seed__feature:hover .why-seed__feature-line {
    border-left: 4px solid #22CCEE;
    background: transparent;
}

.why-seed__feature:hover .why-seed__feature-text {
    background: linear-gradient(101.13deg, #00EDFF 19.88%, #0BA5EC 81.18%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Overlay Images
   ============================================ */
.why-seed__overlay {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.why-seed__overlay img {
    width: auto;
    height: auto;
    max-width: 236px;
    max-height: 288px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Top Right Overlay */
.why-seed__overlay--top-right {
    top: -150px;
    right: 100px;
}

/* Bottom Right Overlay */
.why-seed__overlay--bottom-right {
    bottom: -150px;
    right: 150px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1600px) {
    .why-seed__wrapper {
        max-width: calc(100% - 64px);
        margin: 0 32px;
    }
}

@media (max-width: 1400px) {
    .why-seed__wrapper {
        max-width: calc(100% - 32px);
        margin: 0 16px;
    }

    .why-seed__top {
        padding: 120px 100px 0;
    }

    .why-seed__bottom {
        padding: 120px 100px 120px;
    }
}

@media (max-width: 1200px) {
    .why-seed__top {
        padding: 100px 60px 0;
        min-height: auto;
    }

    .why-seed__top-content {
        gap: 28px;
    }

    .why-seed__title {
        font-size: 22px;
        line-height: 26px;
    }

    .why-seed__description {
        font-size: 32px;
    }

    .why-seed__bottom {
        padding: 100px 60px 80px;
        min-height: auto;
    }

    .why-seed__features {
        gap: 20px;
    }

    .why-seed__feature-text {
        font-size: 22px;
        line-height: 26px;
    }

    .why-seed__overlay--top-right {
        top: -120px;
        right: 80px;
    }

    .why-seed__overlay--bottom-right {
        bottom: -120px;
        right: 120px;
    }
}

@media (max-width: 1024px) {
    .why-seed__overlay--top-right, .why-seed__overlay--bottom-right{
        display: none;
    }
    .why-seed__top {
        padding: 90px 50px 0;
    }

    .why-seed__top-content {
        gap: 24px;
    }

    .why-seed__description {
        font-size: 30px;
    }

    .why-seed__bottom {
        padding: 90px 50px 70px;
    }

    .why-seed__feature {
        gap: 20px;
    }

    .why-seed__feature-text {
        font-size: 21px;
        line-height: 25px;
    }
}

@media (max-width: 900px) {
    .why-seed__top {
        padding: 80px 40px 0;
    }

    .why-seed__top-content {
        max-width: 100%;
        gap: 20px;
    }

    .why-seed__title {
        font-size: 20px;
        line-height: 24px;
    }

    .why-seed__description {
        font-size: 28px;
        line-height: 130%;
        padding-bottom: 30px;
    }

    .why-seed__bottom {
        padding: 80px 40px 60px;
    }

    .why-seed__features {
        max-width: 100%;
        gap: 18px;
    }

    .why-seed__feature {
        gap: 18px;
    }

    .why-seed__feature-text {
        font-size: 20px;
        line-height: 24px;
    }

    .why-seed__overlay--top-right {
        top: -100px;
        right: 40px;
    }

    .why-seed__overlay--bottom-right {
        bottom: -100px;
        right: 60px;
    }

    .why-seed__overlay img {
        max-width: 180px;
        max-height: 220px;
    }
}

@media (max-width: 768px) {
    .why-seed__top {
        padding: 70px 32px 0;
    }

    .why-seed__top-content {
        gap: 18px;
    }

    .why-seed__title {
        font-size: 19px;
        line-height: 23px;
    }

    .why-seed__description {
        font-size: 26px;
    }

    .why-seed__bottom {
        padding: 70px 32px 50px;
    }

    .why-seed__features {
        gap: 16px;
    }

    .why-seed__feature {
        gap: 16px;
    }

    .why-seed__feature-text {
        font-size: 19px;
        line-height: 23px;
    }
}

@media (max-width: 640px) {
    .why-seed__wrapper {
        margin: 0;
        border-radius: 0;
    }

    .why-seed__top {
        padding: 60px 24px 0;
        border-radius: 0;
    }

    .why-seed__top-content {
        gap: 16px;
    }

    .why-seed__title {
        font-size: 18px;
        line-height: 22px;
    }

    .why-seed__description {
        font-size: 24px;
        line-height: 130%;
    }

    .why-seed__bottom {
        padding: 60px 24px 40px;
        border-radius: 0;
    }

    .why-seed__features {
        gap: 16px;
    }

    .why-seed__feature {
        gap: 16px;
        min-height: auto;
    }

    .why-seed__feature-line {
        height: 40px;
        margin-top: 4px;
    }

    .why-seed__feature:hover .why-seed__feature-line {
        height: 60px;
    }

    .why-seed__feature-text {
        font-size: 18px;
        line-height: 22px;
    }

    .why-seed__overlay--top-right {
        top: 20px;
        right: 20px;
    }

    .why-seed__overlay--bottom-right {
        bottom: 20px;
        right: 20px;
    }

    .why-seed__overlay img {
        max-width: 200px;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .why-seed__top {
        padding: 50px 16px 30px;
    }

    .why-seed__top-content {
        gap: 14px;
    }

    .why-seed__title {
        font-size: 16px;
        line-height: 20px;
    }

    .why-seed__description {
        font-size: 22px;
    }

    .why-seed__bottom {
        padding: 50px 16px 32px;
    }

    .why-seed__features {
        gap: 14px;
    }

    .why-seed__feature {
        gap: 14px;
    }

    .why-seed__feature-line {
        height: 36px;
    }

    .why-seed__feature:hover .why-seed__feature-line {
        height: 56px;
    }

    .why-seed__feature-text {
        font-size: 16px;
        line-height: 20px;
    }

    .why-seed__overlay img {
        max-width: 150px;
        max-height: 180px;
    }
}

