/* Agile Development Section Styles */

.agile-development-section {
    overflow: hidden;
}

/* Card Container with Shadow */
.agile-card-container {
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.agile-card-container:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Image Column Styling */
.agile-image-column {
    overflow: hidden;
}

.agile-image-wrapper {
    padding: 0 !important;
    height: 100%;
}

/* Main Image */
.agile-main-image {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0;
    height: 100%;
}

.agile-main-image img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.agile-card-container:hover .agile-main-image img {
    transform: scale(1.02);
}

/* Badge Styling */
.agile-badge {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4338ca !important;
    display: inline-block;
    margin: 0;
}

/* Feature Icon Gradients */
.agile-feature-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agile-feature-icon:hover {
    transform: translateY(-2px);
}

.agile-icon-indigo,
.agile-icon-blue,
.agile-icon-purple,
.agile-feature-icon {
    background: linear-gradient(135deg, #FC7632 0%, #e5651d 100%);
    box-shadow: 0 4px 14px rgba(252, 118, 50, 0.4);
}

.agile-feature-icon img {
    filter: brightness(0) invert(1);
}

/* Feature Item Hover */
.agile-feature-item {
    transition: transform 0.3s ease;
}

.agile-feature-item:hover {
    transform: translateX(8px);
}

/* CTA Button */
.agile-cta-button .wp-block-button__link {
    background: linear-gradient(135deg, #FC7632 0%, #e5651d 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(252, 118, 50, 0.4);
}

.agile-cta-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(252, 118, 50, 0.5);
}

/* Content Wrapper */
.agile-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .agile-columns {
        flex-direction: column !important;
    }
    
    .agile-image-column,
    .agile-content-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }
    
    .agile-main-image img {
        height: 500px;
    }
    
    .agile-content-wrapper {
        padding: 32px !important;
    }
    
    .wp-block-heading[style*="font-size:48px"] {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {
    .agile-image-wrapper {
        padding: 16px !important;
    }
    
    .agile-content-wrapper {
        padding: 24px !important;
    }
    
    .agile-main-image img {
        height: 400px;
    }
    
    .wp-block-heading[style*="font-size:48px"] {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .agile-development-section {
        padding: 40px 16px !important;
    }
    
    .agile-main-image img {
        height: 300px;
    }
    
    .agile-feature-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .agile-feature-item .wp-block-group[style*="margin-left"] {
        margin-left: 0 !important;
        margin-top: 12px;
    }
}
