/* Service Pages Additional CSS */
/* This file contains only the additional styles needed for service pages */
/* It works alongside the main style.css file */

/* Service Hero Section - Smaller, Centered */
.service-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    background-image: url('https://images.unsplash.com/photo-1615874959474-d609969a20ed?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.service-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 127, 0.85);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.service-hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: var(--fs-h1);
}

.service-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.service-hero-content .btn {
    margin-top: 10px;
}

/* CTA Section with Background Image */
.cta-section.cta-primary {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-section.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 127, 0.92) 0%, rgba(74, 127, 160, 0.92) 100%);
    z-index: 1;
}

.cta-section.cta-primary .container {
    position: relative;
    z-index: 2;
}

/* Fix Service Card Spacing - Remove Extra Bottom Padding */
.services .service-card .service-content {
    padding: 25px 20px;
}

.services .service-card .service-content h3 {
    margin-bottom: 12px;
}

.services .service-card .service-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive Service Hero */
@media (max-width: 992px) {
    .service-hero {
        min-height: 45vh;
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    /* Add padding to body for mobile phone button - SAME AS HOMEPAGE */
    body {
        padding-bottom: 70px;
    }
    
    /* Service Hero Mobile */
    .service-hero {
        padding: 60px 0;
        min-height: auto;
        background-attachment: scroll;
    }
    
    .service-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .service-hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Section Padding - SAME AS HOMEPAGE */
    .services,
    .about,
    .why-choose,
    .features,
    .faq {
        padding: 40px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    /* CTA Background for Mobile */
    .cta-section.cta-primary {
        background-attachment: scroll;
    }
    
    .cta-section .cta-content h2 {
        font-size: var(--fs-h2);
        margin-bottom: 20px;
    }
    
    .cta-section .cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* Form row mobile - SAME AS HOMEPAGE */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Form group mobile margin - SAME AS HOMEPAGE */
    .form-group {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 50px 0;
    }
    
    .service-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .service-hero-content p {
        font-size: 0.95rem;
    }
}
