/* ========== Services Page Styles ========== */

/* Page Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    background: var(--gradient-hero),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* Services Overview */
.services-overview {
    padding: 50px 0 30px;
    background: #f8fafc;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Service Detail Sections */
.service-detail {
    padding: 40px 0;
    background: white;
}

.service-detail.alt {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.service-detail:first-of-type {
    padding-top: 30px;
}

.service-detail:last-of-type {
    padding-bottom: 50px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-detail-text {
    padding: 2rem 0;
}

.service-badge {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-colored);
}

.service-detail-text h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.service-detail-text .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-detail-text h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

.service-detail-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
}

.service-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Approach Steps */
.approach-steps {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.approach-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.approach-step h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.approach-step p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

/* Service Stats */
.service-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-weight: 800;
}

.stat-box p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

/* Technology Highlight */
.technology-highlight {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.technology-highlight i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.technology-highlight h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.technology-highlight p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.additional-service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid transparent;
}

.additional-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.additional-service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.additional-service-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.additional-service-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .service-detail-image img {
        height: 400px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .service-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        min-height: 350px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .service-detail {
        padding: 60px 0;
    }

    .service-detail-text h2 {
        font-size: 2rem;
    }

    .service-detail-image img {
        height: 300px;
    }

    .additional-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    animation-fill-mode: forwards;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

.fade-in-up {
    animation-name: fadeInUp;
}

.slide-in-left {
    animation-name: slideInLeft;
}

.slide-in-right {
    animation-name: slideInRight;
}

.scale-in {
    animation-name: scaleIn;
}

/* Service Badge Animation */
.service-badge {
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.service-badge:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

/* Approach Step Hover Effect */
.approach-step {
    transition: all 0.3s ease;
}

.approach-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.approach-step:hover .step-number {
    animation: pulse 0.6s ease;
}

/* Stat Box Animation */
.stat-box {
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.2);
}

.stat-box:hover .stat-number {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Technology Highlight Effect */
.technology-highlight {
    transition: all 0.3s ease;
}

.technology-highlight:hover {
    box-shadow: 0 10px 40px rgba(5, 150, 105, 0.2);
}

/* Additional Services Card Effect */
.service-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-color);
}

/* CTA Section Animation */
.cta-section .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.cta-section .btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

/* Service Image Hover */
.service-image img {
    transition: transform 0.3s ease;
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af 0%, #0891b2 50%, #059669 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}
