/* Hero Section */
.services-hero {
    height: 500px;
    background-image: url('../images/services/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    margin-bottom: 30px;
}

.hero-content h1::after {
    content: 'OUR SERVICES';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: #fff;
    -webkit-text-stroke: 0px;
    border-right: 3px solid #fff;
    overflow: hidden;
    animation: typing 6s steps(11) infinite;
}

.hero-content p {
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.9;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

/* Services Overview Section */
.services-overview {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-overview {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.8rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .services-overview {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Service Process Section */
.service-process {
    padding: 5rem 0;
    background: #fff;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .service-process {
        padding: 3rem 0;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        position: relative;
    }

    .process-step {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
        text-align: left;
        align-items: center;
        padding: 0 1rem;
        position: relative;
    }

    .step-number {
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        position: relative;
        z-index: 2;
    }

    /* Updated vertical line positioning */
    .process-timeline::after {
        content: '';
        position: absolute;
        left: calc(25px + 1rem);
        top: 25px;
        width: 2px;
        height: calc(100% - 50px);
        background: var(--primary-blue);
        opacity: 0.3;
        z-index: 1;
    }

    .process-step::after {
        display: none; /* Remove individual step lines */
    }

    .process-step .content {
        padding-left: 1rem;
    }

    .process-step h3 {
        margin-bottom: 0.5rem;
    }

    .process-step p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-process {
        padding: 2rem 0;
    }

    .process-step {
        padding: 0 0.8rem;
    }
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    opacity: 0.2;
}

.process-step {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

/* Contact CTA */
.contact-cta {
    padding: 120px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: none;  /* Reset any background */
}

/* Add a background wrapper */
.contact-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                     url('../images/services/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    backdrop-filter: blur(3px);
}

.cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
}

.cta-buttons a {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.cta-buttons .btn-primary {
    background: var(--primary-orange);
    color: white;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-buttons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: white;
    color: var(--primary-orange);
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.cta-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Animations */
@keyframes typing {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
        -webkit-text-stroke: 1px #fff;
    }

    .hero-content h1::after {
        font-size: 3.5rem;
        border-right: 2px solid #fff;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        -webkit-text-stroke: 1px #fff;
    }

    .hero-content h1::after {
        font-size: 2.5rem;
        border-right: 1px solid #fff;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


