/* ===================================
   SERVICES PAGE STYLES
   =================================== */

/* Page Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="60" height="60" fill="rgba(255,255,255,0.03)"/><path d="M0 0L60 60M60 0L0 60" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.header-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span:not(:last-child) {
    opacity: 0.7;
}

/* Services Intro */
.services-intro {
    padding: 5rem 0 3rem;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Main Services Section */
.main-services {
    padding: 3rem 0;
    background: var(--light-color);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content {
    direction: ltr;
}

.service-detail.reverse .service-detail-image {
    direction: ltr;
}

.service-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(249, 115, 22, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
}

.service-detail-content h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-lead {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.6rem 0;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    padding-left: 1.8rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.service-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.service-highlight svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-highlight span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-detail-image {
    position: relative;
}

.service-detail-image .image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-detail-image svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

/* Additional Services */
.additional-services {
    padding: 5rem 0;
    background: white;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.additional-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.additional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: white;
}

.additional-icon {
    width: 60px;
    height: 60px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.additional-icon svg {
    width: 100%;
    height: 100%;
}

.additional-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.additional-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Service Process */
.service-process {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.service-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="60" height="60" fill="rgba(255,255,255,0.03)"/><path d="M0 0L60 60M60 0L0 60" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.service-process .section-header {
    color: white;
}

.service-process .section-label {
    color: var(--secondary-color);
}

.service-process .section-title {
    color: white;
}

.service-process .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--secondary-color);
    color: white;
}

.step-content h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Services CTA */
.services-cta {
    padding: 5rem 0;
    background: var(--light-color);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .service-detail-content h3 {
        font-size: 1.7rem;
    }

    .service-lead {
        font-size: 1rem;
    }

    .service-detail-image .image-placeholder {
        height: 250px;
    }

    .additional-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .page-header {
        height: 40vh;
        min-height: 350px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .services-intro {
        padding: 3rem 0 2rem;
    }

    .intro-content h2 {
        font-size: 1.7rem;
    }

    .main-services {
        padding: 2rem 0;
    }

    .service-detail {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .service-detail-content h3 {
        font-size: 1.5rem;
    }

    .service-number {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .service-features li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    .service-highlight {
        padding: 0.8rem 1rem;
    }

    .service-highlight span {
        font-size: 0.85rem;
    }

    .additional-services {
        padding: 3rem 0;
    }

    .additional-card {
        padding: 1.5rem;
    }

    .additional-icon {
        width: 50px;
        height: 50px;
    }

    .service-process {
        padding: 3rem 0;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .services-cta {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Service Detail Animation on Scroll */
.service-detail {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

.additional-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.additional-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}