/* Features Section 2 - Responsive Image Layout */
.features-section-2 {
    background-color: #F9F8EF;
    padding: 0;
    overflow: hidden;
}

.features-section-2-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: stretch;
    height: auto;
}

/* Desktop - Left Image */
.features-section-2-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 575px;
}

.features-left-image {
    width: 400px;
    height: 575px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Desktop - Right Image */
.features-section-2-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 575px;
}

.features-right-image {
    width: 400px;
    height: 575px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Center Content Styles */
.features2-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex: 1 0 0;
    padding: 40px 0;
    box-sizing: border-box;
}

.features2-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.features2-logo {
    width: 52px;
    height: 69px;
}

.features2-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    color: #333231;
    margin: 0;
}

.features2-description {
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
    color: #666;
    /* max-width: 500px; */
    margin: 0;
}

.features2-button {
    background-color: #3E7B51;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.features2-button:hover {
    background-color: #2d5a3b;
    transform: translateY(-2px);
}

.features2-button:active {
    transform: translateY(0);
}

/* Tablet Styles (1024px and below) */
@media (max-width: 1024px) {

    .features-section-2-left,
    .features-section-2-right {
        min-height: 450px;
    }

    .features-left-image,
    .features-right-image {
        width: 320px;
        height: 450px;
    }

    .features2-content {
        padding: 30px 0;
        gap: 24px;
    }

    .features2-title {
        font-size: 2rem;
    }

    .features2-description {
        font-size: 1rem;
    }
}

/* Small Tablet Styles (768px and below) */
@media (max-width: 768px) {
    .features-section-2-container {
        flex-direction: column;
    }

    .features-section-2-left,
    .features-section-2-right {
        width: 100%;
        min-height: auto;
        padding: 20px;
        display: flex;
        justify-content: center;
    }

    .features-left-image,
    .features-right-image {
        width: 280px;
        height: 350px;
    }

    .features2-content {
        padding: 20px 0;
        gap: 20px;
    }

    .features2-title {
        font-size: 1.8rem;
    }

    .features2-description {
        font-size: 0.95rem;
        max-width: 400px;
    }

    .features2-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Mobile Styles (480px and below) - Premium UX/UI Design */
@media (max-width: 480px) {
    .features-section-2 {
        background: linear-gradient(135deg, #F9F8EF 0%, #F4F1E8 100%) !important;
        padding: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .features-section-2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        z-index: 10;
    }

    .features-section-2-container {
        flex-direction: column !important;
        padding: 0 !important;
        gap: 0 !important;
        position: relative !important;
    }

    /* TOP IMAGE SECTION - Left Edge */
    .features-section-2-left {
        order: 1 !important;
        width: 100% !important;
        height: 380px !important;
        position: relative !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;

    }

    .features-section-2-left::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to top, rgba(249, 248, 239, 0.9) 0%, transparent 100%);
        pointer-events: none;
        z-index: 2;
    }

    .features-left-image {
        width: 100% !important;
        max-width: 70% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 0 15px 15px 0 !important;
        transform: none !important;
        transition: transform 0.6s ease !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        box-shadow: -2px 8px 25px rgba(0, 0, 0, 0.15) !important;
        position: relative !important;
        left: 0 !important;
        z-index: 10 !important;

    }

    /* PREMIUM CONTENT SECTION */
    .features2-content {
        order: 2 !important;
        padding: 50px 0 60px !important;
        background: #F9F8EF !important;
        text-align: center !important;
        position: relative !important;
        margin-top: -30px !important;
        border-radius: 30px 30px 0 0 !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1) !important;
        z-index: 3 !important;
    }

    .features2-logo-container {
        margin-bottom: 20px !important;
        animation: fadeInUp 0.8s ease-out !important;
    }

    .features2-logo {
        filter: drop-shadow(0 4px 8px rgba(62, 123, 81, 0.2)) !important;
    }

    .features2-title {
        font-size: 2.2rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        margin: 24px 0 !important;
        color: #333231 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        animation: fadeInUp 0.8s ease-out 0.2s both !important;
    }

    .features2-description {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        margin: 28px 0 !important;
        color: #5A6C7D !important;
        font-weight: 400 !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        animation: fadeInUp 0.8s ease-out 0.4s both !important;
    }

    .features2-button {
        padding: 18px 36px !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #3E7B51 0%, #2D5A3B 100%) !important;
        color: white !important;
        border: none !important;
        border-radius: 50px !important;
        margin-top: 32px !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 8px 20px rgba(62, 123, 81, 0.3) !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        position: relative !important;
        overflow: hidden !important;
        animation: fadeInUp 0.8s ease-out 0.6s both !important;
    }

    .features2-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .features2-button:hover {
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 12px 30px rgba(62, 123, 81, 0.4) !important;
        background: linear-gradient(135deg, #4A8B5F 0%, #35654A 100%) !important;
    }

    .features2-button:hover::before {
        left: 100%;
    }

    .features2-button:active {
        transform: translateY(-1px) scale(1.01) !important;
    }

    /* BOTTOM IMAGE SECTION - Right Edge */
    .features-section-2-right {
        order: 3 !important;
        width: 100% !important;
        height: 380px !important;
        position: relative !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .features-section-2-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, rgba(249, 248, 239, 0.9) 0%, transparent 100%);
        pointer-events: none;
        z-index: 2;
    }

    .features-right-image {
        width: 100% !important;
        max-width: 70% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 15px 0 0 15px !important;
        transform: none !important;
        transition: transform 0.6s ease !important;
        margin-right: 0 !important;
        margin-left: auto !important;
        box-shadow: -2px 8px 25px rgba(0, 0, 0, 0.15) !important;
        position: relative !important;
        right: 0 !important;
        z-index: 10 !important;

    }
}

/* Animations for Mobile */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch Interactions */
@media (max-width: 480px) {

    .features-left-image:active,
    .features-right-image:active {
        transform: scale(1.02) !important;
    }
}