/* Services Page Specific Styles */
.services-page-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Tab Navigation */
.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid #e0efff;
    background: white;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 101, 189, 0.05);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 101, 189, 0.3);
    transform: translateY(-2px);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInSlide 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 101, 189, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.service-detail-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed #f0f7ff;
    border-radius: 20px;
    pointer-events: none;
}

.service-text {
    flex: 1;
    z-index: 2;
}

.service-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.2;
}

.service-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    /* Soft floating effect */
    animation: floatImage 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.service-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}

.btn-primary-service {
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 101, 189, 0.2);
}

.btn-primary-service:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 101, 189, 0.3);
}

.btn-secondary-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    transition: all 0.3s;
}

.btn-secondary-link:hover {
    color: var(--primary-dark);
}

/* Feature List in Description */
.service-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.feature-item i {
    color: #4caf50;
    /* Green check */
    background: #e8f5e9;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .service-detail-wrapper {
        flex-direction: column-reverse;
        /* Image on top */
        padding: 30px;
        text-align: center;
        gap: 30px;
    }

    .service-text h2 {
        font-size: 2.2rem;
    }

    .service-actions {
        justify-content: center;
        flex-direction: column;
    }

    .service-features-list {
        text-align: left;
    }
}