/* Services Page Specific Styles */
/* Global font family overrides */
body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'ITC Eras Std', 'ITC Avant Garde Gothic', 'Arial', sans-serif;
    font-weight: 500;
    color: #fff;
}

@font-face {
    font-family: 'ITC Eras Std';
    src: url('https://fonts.cdnfonts.com/css/itc-eras-std') format('woff2'),
         url('https://fonts.cdnfonts.com/css/itc-eras-std') format('woff');
    font-weight: normal;
    font-style: normal;
}

.hero {
    height: 50vh;
    background: linear-gradient(rgba(26, 58, 108, 0.8), rgba(26, 58, 108, 0.9)), url('../images/services-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Breadcrumb */
.breadcrumb {
    padding: 10px 0;
    background-color: transparent;
    font-size: 0.9rem;
    margin-top: 10px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

/* Services Content */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title p {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Service Detail Sections */
.service-detail-section {
    margin-bottom: 60px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 100px; /* Adjust based on header height for smooth scrolling */
}

.service-detail-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
}

.service-subsection {
    margin-bottom: 30px;
}

.service-subsection h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-subsection h4 {
    color: var(--primary);
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.service-points {
    list-style: none;
    padding-left: 0;
}

.service-points li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #333;
}

.service-points li:before {
    content: "•";
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.service-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.service-description p {
    margin-bottom: 15px;
}

/* 3-Column Grid Layout - for backward compatibility */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    padding: 0;
}

.service-box h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.service-box p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-checklist li {
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    padding-left: 30px;
    margin-bottom: 8px;
}

.service-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #4A90E2;
    font-weight: bold;
    font-size: 1.1em;
    width: 20px;
    height: 20px;
    background-color: #E3F2FD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-box h3 {
        font-size: 1.3rem;
    }
    
    .service-detail-section h2 {
        font-size: 1.8rem;
    }
    
    .service-subsection h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-box h3 {
        font-size: 1.4rem;
    }
    
    .service-detail-section {
        padding: 20px 15px;
        margin-bottom: 40px;
        scroll-margin-top: 80px; /* Adjust for mobile header height */
    }
    
    .service-detail-section h2 {
        font-size: 1.7rem;
    }
    
    .service-subsection h3 {
        font-size: 1.3rem;
    }
    
    .service-subsection h4 {
        font-size: 1.1rem;
    }
    
    .service-points li {
        padding-left: 25px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-detail-section {
        padding: 15px 10px;
    }
    
    .service-detail-section h2 {
        font-size: 1.5rem;
    }
    
    .service-subsection h3 {
        font-size: 1.2rem;
    }
    
    .service-points li {
        padding-left: 20px;
    }
    
    .service-points li:before {
        font-size: 1.2rem;
        top: -3px;
    }
}