/* --- Services Split Layout Styles --- */
.services-split-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-split-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* Left Side: Content Area (70%) */
.services-content-area {
    flex: 0 0 70%;
    /* background: var(--bg-white); */
    /* padding: 50px; */
    /* border-radius: 24px; */
    /* box-shadow: none; */
    min-height: 600px;
    position: relative;
    /* overflow: hidden; */
    /* border: 1px solid rgba(0, 0, 0, 0.03); */
}

.service-content-block {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.service-subtitle {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.service-featured-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 35px;
}

.service-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
}

/* Feature Items (Sub-points) */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.feature-item:hover {
    background: #fff;
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #fdfaf0;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    background: var(--accent-color);
    color: white;
    transform: rotate(10deg);
}

.feature-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
    line-height: 1.4;
}

/* Detailed Variant (used in Service Pages) */
.feature-item.detailed {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 12px;
}

.feature-item.detailed .feature-icon {
    margin-bottom: 4px;
}

.feature-item.detailed .feature-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
    margin: 0;
}

.feature-item.detailed .feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Right Side: Navigation Area (30%) */
.services-nav-area {
    flex: 0 0 30%;
}

.services-nav-sticky {
    position: sticky;
    top: 120px;
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.services-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-tab {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    text-decoration: none;
}

.service-tab:hover {
    border-color: var(--accent-color);
    background: #fdfaf0;
}

.service-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.15);
}

.tab-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 15px;
    transition: var(--transition);
}

.service-tab.active .tab-icon {
    color: white;
}

.tab-text {
    font-weight: 600;
    font-size: 15px;
}

.arrow-icon {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.3;
    transition: var(--transition);
}

.service-tab.active .arrow-icon {
    opacity: 1;
    transform: translateX(5px);
}

/* Loader Styles */
.content-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-split-container {
        flex-direction: column;
    }

    .services-content-area, .services-nav-area {
        flex: 0 0 100%;
        width: 100%;
    }

    .services-nav-area {
        order: -1;
        margin-bottom: 30px;
    }

    .services-nav-sticky {
        position: relative;
        top: 0;
    }

    .services-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .services-tabs::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .service-tab {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding: 12px 20px;
    }

    .arrow-icon {
        display: none;
    }

    .nav-title {
        display: none;
    }
}

@media (max-width: 576px) {
    .services-content-area {
        padding: 30px 20px;
    }

    .service-title {
        font-size: 28px;
    }

    .feature-item {
        padding: 15px;
    }
}
