/* Services Page Specific Styles */

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

.services-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Main Services Section */
.services-main {
    background: var(--bg-light);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail:hover .service-image img {
    transform: scale(1.05);
}

.service-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-info h2 i {
    color: var(--accent-color);
    font-size: 32px;
}

.service-description {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

.service-features i {
    color: var(--accent-color);
    font-size: 14px;
    min-width: 20px;
}

/* Additional Services */
.additional-services {
    background: var(--white);
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: var(--white);
}

.service-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Process */
.service-process {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.step-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.services-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.cta-item i {
    font-size: 24px;
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .service-info h2 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .cta-info {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        max-width: 250px;
        margin: 0 auto 40px;
    }
    
    .services-cta h2 {
        font-size: 28px;
    }
    
    .services-cta p {
        font-size: 18px;
    }
}

/* Animation Classes */
.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
