/* ====== SERVICES PAGE EXCLUSIVE CSS ====== */

/* ====== HERO SECTION (SERVICE-SPECIFIC) ====== */
.services-hero {
    background: var(--gradient-light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.services-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.services-hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--dark-secondary);
}

.services-hero-image {
    position: relative;
}

.services-hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ====== SERVICE CATEGORY NAVIGATION ====== */
.service-category-nav {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 67px;
    z-index: 999;
}

.service-category-nav .container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.service-category-nav a {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.service-category-nav a:hover,
.service-category-nav a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
}

/* ====== SERVICE DETAILS SECTION (EXCLUSIVE TO SERVICES PAGE) ====== */
.service-details {
    background: var(--light);
}

.service-category {
    margin-bottom: 5rem;
    scroll-margin-top: 150px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.category-content h2 {
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--gray);
    font-size: 1.1rem;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sub-service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    height: 100%;
}

.sub-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.sub-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.sub-service-title h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.price-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

.service-details-list {
    margin: 1.5rem 0;
}

.details-item {
    margin-bottom: 1.25rem;
}

.details-item h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.details-item h4 i {
    color: var(--secondary);
}

.details-item ul {
    list-style-position: inside;
    color: var(--dark-secondary);
}

.details-item li {
    margin-bottom: 0.25rem;
}

.process-timeline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.timeline-icon {
    width: 30px;
    height: 30px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* ====== SERVICE COMPARISON (EXCLUSIVE) ====== */
.service-comparison {
    background: var(--light-bg);
    padding: 5rem 0;
}

.comparison-table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    border-bottom: 1px solid var(--gray-light);
}

.comparison-row:nth-child(even) {
    background: rgba(0, 102, 204, 0.02);
}

.comparison-cell {
    padding: 1.25rem;
    display: flex;
    align-items: center;
}

.comparison-header .comparison-cell {
    padding: 1.5rem 1.25rem;
}

.comparison-cell:first-child {
    font-weight: 600;
}

.price-cell {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ====== RESPONSIVE DESIGN (SERVICES PAGE EXCLUSIVE) ====== */
@media (max-width: 1024px) {
    .services-hero .container {
        gap: 2rem;
    }
    
    .sub-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 2fr repeat(3, 1fr);
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .services-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-category-nav .container {
        justify-content: flex-start;
    }
    
    .sub-services-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-service-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .process-timeline {
        flex-wrap: wrap;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .services-hero {
        padding: 4rem 0 3rem;
    }
    
    .sub-service-card {
        padding: 1.5rem;
    }
}

/* ====== SERVICES PAGE HEADINGS ====== */
h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.text-center {
    text-align: center;
}