/* Services Section Styles */

.services-section {
    padding: 80px 2rem;
    background: #ffffff;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.services-header p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

/* Services Content */
.services-content {
    margin-top: 50px;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.service-tab {
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.service-tab:hover {
    color: #666;
}

.service-tab.active {
    color: #0052cc;
    font-weight: 600;
}

.service-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: #0052cc;
    border-radius: 2px 2px 0 0;
}

/* Service Details Wrapper */
.service-details-wrapper {
    position: relative;
    min-height: auto;
}

.service-detail {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 100%;
    top: 0;
    left: 0;
}

.service-detail.active {
    position: static;
    opacity: 1;
    visibility: visible;
}

.service-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, #d4e8ff 0%, #e6f0ff 100%);
    border-radius: 16px;
    padding: 3rem;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-image-box {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
}

.service-detail-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
}

.service-detail-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.service-detail-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-detail-features li {
    font-size: 0.95rem;
    color: #333;
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

.service-detail-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0052cc;
    font-weight: bold;
    font-size: 1.1rem;
}

.get-started-btn {
    background: linear-gradient(135deg, #0052cc 0%, #004ab1 100%);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.get-started-btn:hover {
    background: linear-gradient(135deg, #004ab1 0%, #003680 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.25);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .services-section {
        padding: 60px 1.5rem;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .service-tabs {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .service-tab {
        font-size: 0.95rem;
    }

    .service-detail-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem;
    }

    .service-image-box {
        min-height: 250px;
        order: -1;
    }

    .service-detail-content h3 {
        font-size: 1.75rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .services-section {
        padding: 50px 1rem;
    }

    .services-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .services-header p {
        font-size: 1rem;
    }

    .service-tabs {
        flex-direction: column;
        gap: 0;
        margin-bottom: 2rem;
        border-bottom: none;
        padding-bottom: 0;
    }

    .service-tab {
        text-align: left;
        padding: 1rem;
        border-bottom: 2px solid #e0e0e0;
    }

    .service-tab.active::after {
        display: none;
    }

    .service-tab.active {
        border-left: 3px solid #0052cc;
        padding-left: calc(1rem - 3px);
    }

    .service-detail-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .service-image-box {
        min-height: 200px;
    }

    .service-detail-content h3 {
        font-size: 1.5rem;
    }

    .service-detail-description {
        font-size: 0.95rem;
    }

    .service-detail-features li {
        font-size: 0.9rem;
    }

    .get-started-btn {
        width: 100%;
        align-self: stretch;
    }
}
