/* Service Areas Page - Blog-Style Cards */

.service-areas-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Region Sections */
.region-section {
    margin-bottom: 80px;
}

.region-section:last-child {
    margin-bottom: 0;
}

.region-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

/* Service Area Cards Grid */
.service-areas-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Individual Service Area Card */
.service-area-card-new {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-area-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-area-card-new:hover .card-image img {
    transform: scale(1.05);
}

/* Card Content */
.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.card-link:hover {
    color: var(--accent-color);
}

.card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-areas-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .region-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .service-areas-section {
        padding: 60px 0;
    }
    
    .section-intro {
        margin-bottom: 40px;
    }
    
    .section-intro h2 {
        font-size: 2rem;
    }
    
    .service-areas-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .region-section {
        margin-bottom: 60px;
    }
    
    .region-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .section-intro h2 {
        font-size: 1.75rem;
    }
    
    .section-intro p {
        font-size: 1rem;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-description {
        font-size: 0.95rem;
    }
}
