.ami-expanded-services {
    padding: 80px 0;
    background: #EBF3F4;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    box-sizing: border-box;
}

.expanded-services-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.expanded-services-header {
    text-align: center;
    margin-bottom: 40px;
}

.expanded-services-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 46px !important;
    color: #000 !important;
    margin: 0 auto 16px auto !important;
    max-width: 700px;
    text-align: center !important;
}

.expanded-services-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    color: #666 !important;
    margin: 0 auto !important;
    max-width: 600px;
    text-align: center !important;
}

/* Tabs */
.expanded-services-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.service-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-tab:hover {
    border-color: #D0F45B;
}

.service-tab.active {
    background: #D0F45B;
    border-color: #D0F45B;
}

.tab-icon {
    width: 24px;
    height: 24px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(90%);
    transition: filter 0.3s ease;
}

.service-tab.active .tab-icon-img,
.service-tab:hover .tab-icon-img {
    filter: brightness(0) saturate(100%);
}

.service-tab.active .tab-icon {
    color: #000;
}

.tab-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    color: #666;
}

.service-tab.active .tab-label {
    color: #000;
}

/* Panels */
.service-panel {
    display: none;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-panel.active {
    display: block;
}

.panel-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.panel-icon {
    width: 48px;
    height: 48px;
    background: rgba(172, 212, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ACD435;
}

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

.panel-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* Filter to convert to #ACD435 color */
    filter: brightness(0) saturate(100%) invert(79%) sepia(47%) saturate(497%) hue-rotate(31deg) brightness(97%) contrast(87%);
}

.panel-intro {
    flex: 1;
}

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

.panel-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #666;
    margin: 0;
}

/* Accordions */
.panel-accordions {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid #E2E8F0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #000;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: #666;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #666;
    margin: 0;
    padding-bottom: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .expanded-services-tabs {
        flex-wrap: wrap;
    }
    
    .service-tab {
        flex: 0 0 calc(50% - 6px);
        padding: 14px 20px;
    }
}

@media (max-width: 768px) {
    .ami-expanded-services {
        padding: 60px 0;
    }
    
    .expanded-services-heading {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    
    .service-tab {
        flex: 0 0 calc(50% - 6px);
        padding: 12px 16px;
    }
    
    .tab-label {
        font-size: 12px;
    }
    
    .service-panel {
        padding: 24px;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .panel-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ami-expanded-services {
        padding: 40px 0;
    }
    
    .expanded-services-container {
        padding: 0 15px;
    }
    
    .expanded-services-heading {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    .expanded-services-subtitle {
        font-size: 14px !important;
        line-height: 22px !important;
    }
    
    .expanded-services-tabs {
        gap: 8px;
    }
    
    .service-tab {
        flex: 0 0 calc(50% - 4px);
        padding: 10px 12px;
    }
    
    .tab-icon {
        width: 20px;
        height: 20px;
    }
    
    .tab-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .tab-label {
        font-size: 11px;
    }
    
    .service-panel {
        padding: 20px;
    }
    
    .panel-icon {
        width: 40px;
        height: 40px;
    }
    
    .panel-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .accordion-title {
        font-size: 14px;
    }
}

