.ami-sel-components {
    padding: 80px 0;
    background: #EBF3F4;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.sel-components-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sel-components-header {
    text-align: center;
    margin-bottom: 50px;
}

.ami-sel-components .section-main-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 46px !important;
    color: #000 !important;
    margin: 0 0 16px 0 !important;
}

.ami-sel-components .section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.sel-components-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Image with overlay */
.sel-components-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
}

.sel-components-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.sel-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.9) 64%,
        rgba(0, 0, 0, 1) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    border-radius: 16px;
}

.sel-image-content {
    color: #fff;
}

.sel-image-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #508991 0%, #D1ED45 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.sel-image-icon svg {
    width: 24px;
    height: 24px;
}

.sel-image-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #fff;
    margin: 0 0 8px 0;
}

.sel-image-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Right Cards */
.sel-components-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card Styles */
.sel-card {
    padding: 34px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Light cards (cards 1 & 2) */
.sel-card-light {
    background: #fff;
    border: 1px solid #E2E8F0;
}

.sel-card-light .sel-card-icon {
    background: linear-gradient(135deg, rgba(208, 244, 91, 0.2) 0%, rgba(208, 244, 91, 0.1) 100%);
}

.sel-card-light .sel-card-icon img {
    filter: brightness(0) saturate(100%) invert(56%) sepia(52%) saturate(487%) hue-rotate(131deg) brightness(91%) contrast(87%);
}

/* Green card (card 3) */
.sel-card-green {
    background: #D0F45B;
    position: relative;
}

.sel-card-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    border-radius: 16px;
    pointer-events: none;
}

.sel-card-green .sel-card-icon,
.sel-card-green .sel-card-title,
.sel-card-green .sel-card-text {
    position: relative;
    z-index: 2;
}

.sel-card-green .sel-card-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.sel-card-green .sel-card-icon img {
    filter: brightness(0) saturate(100%) invert(91%) sepia(22%) saturate(1000%) hue-rotate(26deg) brightness(103%) contrast(92%);
}

.sel-card-green .sel-card-title {
    color: #fff;
}

.sel-card-green .sel-card-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Cream/white card (card 4) */
.sel-card-cream {
    background: #fff;
    position: relative;
}

.sel-card-cream::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(208, 244, 91, 0.1) 0%,
        rgba(208, 244, 91, 0.05) 50%,
        rgba(208, 244, 91, 0) 100%
    );
    border-radius: 16px;
    pointer-events: none;
}

.sel-card-cream .sel-card-icon,
.sel-card-cream .sel-card-title,
.sel-card-cream .sel-card-text {
    position: relative;
    z-index: 2;
}

.sel-card-cream .sel-card-icon {
    background: #eff7d8 !important;
}

.sel-card-cream .sel-card-icon img {
    filter: brightness(0) saturate(100%) invert(91%) sepia(22%) saturate(1000%) hue-rotate(26deg) brightness(103%) contrast(92%);
}

/* Icon wrapper base styles */
.sel-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.sel-card-icon svg,
.sel-card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.sel-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: #000;
    margin: 0 0 8px 0;
}

.sel-card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #666;
    margin: 0;
}

/* Bottom Cards */
.sel-components-bottom {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .sel-components-grid {
        grid-template-columns: 1fr;
    }
    
    .sel-components-image {
        min-height: 350px;
    }
    
    .sel-components-bottom {
        grid-template-columns: 1fr;
    }
    
    .ami-sel-components .section-main-heading {
        font-size: 32px !important;
        line-height: 40px !important;
    }
}

@media (max-width: 768px) {
    .ami-sel-components {
        padding: 60px 0;
    }
    
    .ami-sel-components .section-main-heading {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    
    .sel-card {
        padding: 20px;
    }
    
    .sel-card-title {
        font-size: 16px;
        line-height: 24px;
    }
    
    .sel-components-image {
        min-height: 300px;
    }
    
    .sel-image-title {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 480px) {
    .ami-sel-components {
        padding: 40px 0;
    }
    
    .sel-components-container {
        padding: 0 15px;
    }
    
    .ami-sel-components .section-main-heading {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    .ami-sel-components .section-subtitle {
        font-size: 14px;
        line-height: 22px;
    }
    
    .sel-components-grid,
    .sel-components-bottom {
        gap: 16px;
    }
    
    .sel-card {
        padding: 16px;
    }
    
    .sel-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .sel-card-icon svg,
    .sel-card-icon img {
        width: 20px;
        height: 20px;
    }
    
    .sel-image-overlay {
        padding: 20px;
    }
    
    .sel-image-title {
        font-size: 16px;
        line-height: 24px;
    }
    
    .sel-image-text {
        font-size: 13px;
        line-height: 20px;
    }
}
