/* Services Page Specific Styles */

/* Services Hero Section */
.services-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.services-hero .hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Services Navigation */
.services-nav {
    padding: 40px 0;
    background: var(--light);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.services-nav-container h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.nav-links .nav-link {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
}

.nav-links .nav-link:hover,
.nav-links .nav-link:focus {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Service Detail Sections */
.service-detail {
    padding: 80px 0;
    background: white;
}

.service-detail.alt {
    background: var(--gray-light);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    text-align: left;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    font-size: 2rem;
    flex-shrink: 0;
}

.service-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--dark);
    text-align: left;
}

.service-title p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 0;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.service-description h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1rem;
}

.feature span {
    font-weight: 500;
    color: var(--dark);
}

.service-benefits {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 140px;
}

.service-benefits h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.service-benefits ul {
    margin-bottom: 30px;
}

.service-benefits li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--gray);
    line-height: 1.5;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-benefits .btn {
    width: 100%;
    text-align: center;
}

/* Services CTA Section */
.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.services-cta .cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.services-cta .cta-content h2::after {
    background: white;
}

.services-cta .cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.services-cta .cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-content {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 3rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .service-title h2,
    .service-title p {
        text-align: center;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-benefits {
        position: static;
        order: -1;
    }
    
    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 140px 0 80px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-nav {
        position: static;
        padding: 30px 0;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links .nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .service-detail {
        padding: 60px 0;
    }
    
    .service-title h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-cta .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title h2 {
        font-size: 1.6rem;
    }
    
    .service-benefits {
        padding: 25px 20px;
    }
    
    .nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .nav-links .nav-link {
        white-space: nowrap;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays */
.service-detail:nth-child(1) { animation-delay: 0.1s; }
.service-detail:nth-child(2) { animation-delay: 0.2s; }
.service-detail:nth-child(3) { animation-delay: 0.3s; }
.service-detail:nth-child(4) { animation-delay: 0.4s; }
.service-detail:nth-child(5) { animation-delay: 0.5s; }
.service-detail:nth-child(6) { animation-delay: 0.6s; }
.service-detail:nth-child(7) { animation-delay: 0.7s; }
.service-detail:nth-child(8) { animation-delay: 0.8s; }
.service-detail:nth-child(9) { animation-delay: 0.9s; }

/* Active navigation link highlighting */
.nav-links .nav-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}