/* Services Page - Modern Design */

/* Hero Section */
.services-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before,
.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.services-hero::before {
    background-image: url('../images/slider1.png');
    animation: servicesSlideshow1 15s infinite;
}

.services-hero::after {
    background-image: url('../images/slider2.png');
    animation: servicesSlideshow2 15s infinite;
    opacity: 0;
}

@keyframes servicesSlideshow1 {
    0%, 30% { opacity: 1; }
    33%, 36% { opacity: 0; }
    64%, 67% { opacity: 0; }
    70%, 100% { opacity: 1; }
}

@keyframes servicesSlideshow2 {
    0%, 30% { opacity: 0; }
    33%, 36% { opacity: 1; }
    64%, 67% { opacity: 1; }
    70%, 100% { opacity: 0; }
}

.services-hero .slider3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/slider3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: servicesSlideshow3 15s infinite;
    z-index: 0;
}

@keyframes servicesSlideshow3 {
    0%, 64% { opacity: 0; }
    67%, 70% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

.services-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.7) 0%, rgba(217, 119, 6, 0.6) 100%);
    z-index: 1;
}

.services-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.services-hero .hero-content.hero-centered {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.services-hero .hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-hero .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: #ffffff;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.services-hero .stat-item {
    text-align: center;
    min-width: 120px;
}

.services-hero .stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.services-hero .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.2;
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Showcase */
.services-showcase {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-header {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(226, 232, 240, 0.8) 100%);
    z-index: 1;
}

.service-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-category {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-summary {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.service-content {
    padding: 2rem;
}

.service-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-features {
    margin-bottom: 2rem;
}

.features-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    background: #f8fafc;
    padding-left: 0.5rem;
    border-radius: 8px;
}

.feature-item i {
    color: #10b981;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.service-pricing {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* No Services */
.no-services {
    text-align: center;
    padding: 4rem 2rem;
}

.no-services-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-services i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-services h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-services p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 2rem;
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 300px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-hero .hero-stats {
        gap: 30px;
    }
    
    .services-hero .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-header,
    .service-content {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        min-width: auto;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .services-hero .hero-title {
        font-size: 2rem;
    }
    
    .services-hero .hero-stats {
        gap: 20px;
    }
    
    .services-hero .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .service-header,
    .service-content {
        padding: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}