/* Services Styles */
.services {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.services h2 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 50px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-width: 3px;
    border-style: solid;
}

/* Service colors - pastel versions */
.service-item[data-color="gold"] {
    border-color: #FFE082; /* Pastel Gold */
}

.service-item[data-color="purple"] {
    border-color: #D1C4E9; /* Pastel Purple */
}

.service-item[data-color="green"] {
    border-color: #A5D6A7; /* Pastel Green */
}

.service-item[data-color="blue"] {
    border-color: #90CAF9; /* Pastel Blue */
}

.service-item[data-color="red"] {
    border-color: #EF9A9A; /* Pastel Red */
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: rgba(17, 17, 17, 0.9);
    cursor: pointer;
}

.service-number {
    font-size: 1.1rem;
    margin-right: 15px;
    opacity: 0.7;
}

.service-header h3 {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 500;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-item.active .toggle-btn {
    transform: rotate(45deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(17, 17, 17, 0.9); /* Black background */
}

.service-item.active .service-content {
    max-height: 1000px;
}

.service-content p {
    padding: 20px 30px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--light-text); /* White text */
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 30px 30px;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    background-color: rgba(17, 17, 17, 0.9); /* Black background */
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

/* Feature box left borders - pastel colors */
.service-item[data-color="gold"] .feature-box {
    border-left: 3px solid #FFE082; /* Pastel Gold */
}

.service-item[data-color="purple"] .feature-box {
    border-left: 3px solid #D1C4E9; /* Pastel Purple */
}

.service-item[data-color="green"] .feature-box {
    border-left: 3px solid #A5D6A7; /* Pastel Green */
}

.service-item[data-color="blue"] .feature-box {
    border-left: 3px solid #90CAF9; /* Pastel Blue */
}

.service-item[data-color="red"] .feature-box {
    border-left: 3px solid #EF9A9A; /* Pastel Red */
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Feature box header colors - pastel colors */
.service-item[data-color="gold"] .feature-box h4 {
    color: #FFE082; /* Pastel Gold */
}

.service-item[data-color="purple"] .feature-box h4 {
    color: #D1C4E9; /* Pastel Purple */
}

.service-item[data-color="green"] .feature-box h4 {
    color: #A5D6A7; /* Pastel Green */
}

.service-item[data-color="blue"] .feature-box h4 {
    color: #90CAF9; /* Pastel Blue */
}

.service-item[data-color="red"] .feature-box h4 {
    color: #EF9A9A; /* Pastel Red */
}

.feature-box p {
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive styles */
@media (max-width: 768px) {
    .service-features {
        flex-direction: column;
    }
    
    .feature-box {
        min-width: 100%;
    }
}
