/* ====== Services Hero ====== */
.services-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 160, 233, 0.03) 100%);
    padding-top: 40px;
}

.services-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 4.2rem;
    margin-bottom: 30px;
}

.services-hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--gray-color);
}

.services-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

/* ====== Service Categories Navigation ====== */
.service-categories-nav {
    position: sticky;
    top: 124px;
    z-index: 1000;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    padding: 20px 0;
    transition: var(--transition);
}

.service-categories-nav.scrolled {
    top: 80px;
}

.service-categories-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.service-category-link {
    background: rgba(0, 102, 204, 0.05);
    color: var(--dark-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-category-link:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-category-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
}

.service-category-link:hover:before {
    width: 100%;
}

.service-category-link.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2);
}

.service-category-link.active:before {
    width: 100%;
}

.service-category-link i {
    font-size: 1.2rem;
}

/* ====== Service Category Sections ====== */
.service-category-section {
    padding: 100px 0;
    position: relative;
}

.service-category-section:nth-child(even) {
    background: white;
}

.service-category-section:nth-child(odd) {
    background: var(--light-bg);
}

.service-category-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.service-category-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-category-header p {
    font-size: 1.25rem;
    color: var(--gray-color);
}

/* ====== Service Subcategory Cards ====== */
.service-subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.service-subcategory-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.service-subcategory-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-subcategory-card:hover:before {
    transform: scaleX(1);
}

.service-subcategory-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-subcategory-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.service-subcategory-card:hover .service-subcategory-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.service-subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-subcategory-title {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 0;
}

.service-subcategory-price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 800;
    background: rgba(0, 160, 233, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
}

.service-subcategory-description {
    font-size: 1.05rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ====== Service Details ====== */
.service-details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-detail-card {
    background: rgba(0, 102, 204, 0.03);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    border: 1px solid rgba(0, 102, 204, 0.05);
    transition: var(--transition);
}

.service-detail-card:hover {
    background: rgba(0, 102, 204, 0.06);
    border-color: rgba(0, 102, 204, 0.1);
}

.service-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.service-detail-header i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.service-detail-header h4 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.service-detail-list {
    list-style: none;
}

.service-detail-list li {
    margin-bottom: 12px;
    padding-right: 25px;
    position: relative;
    color: var(--gray-color);
    line-height: 1.7;
}

.service-detail-list li:before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.service-detail-time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    color: var(--dark-color);
    font-weight: 600;
}

.service-detail-time i {
    color: var(--success-color);
    font-size: 1.3rem;
}

/* ====== Service Comparison Table ====== */
.service-comparison {
    margin-top: 80px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-comparison h3 {
    text-align: center;
    padding: 30px;
    background: rgba(0, 102, 204, 0.03);
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.service-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.service-comparison th {
    background: rgba(0, 102, 204, 0.05);
    color: var(--dark-color);
    padding: 20px;
    text-align: right;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.service-comparison td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.05);
    text-align: right;
    color: var(--gray-color);
}

.service-comparison tr:last-child td {
    border-bottom: none;
}

.service-comparison tr:hover {
    background: rgba(0, 102, 204, 0.02);
}

.service-comparison .highlight {
    background: rgba(0, 160, 233, 0.05);
    font-weight: 600;
    color: var(--secondary-color);
}

/* ====== CTA Section ====== */
.services-cta {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.services-cta h2 {
    color: white;
}

.services-cta h2:after {
    background: white;
}

.services-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.3rem;
}

.services-cta .btn {
    background: white;
    color: var(--primary-color);
    margin: 0 10px 20px;
}

.services-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.services-cta .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.services-cta .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ====== Responsive Design for Services Page ====== */
@media (max-width: 1200px) {
    .services-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .service-categories-nav {
        top: 114px;
    }
    
    .service-categories-nav.scrolled {
        top: 70px;
    }
    
    .service-category-section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.8rem;
    }
    
    .services-hero p {
        font-size: 1.2rem;
    }
    
    .service-subcategories {
        grid-template-columns: 1fr;
    }
    
    .service-categories-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .service-category-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .service-details-container {
        grid-template-columns: 1fr;
    }
    
    .service-comparison {
        overflow-x: auto;
    }
    
    .service-comparison table {
        min-width: 700px;
    }
}