/* 
 * Services Page Styles
 * Custom styles for the services template
 */

/* Hero Section */
.services-hero-section {
    background-color: #002674;
    padding: 80px 0;
    margin-bottom: 60px;
}

.services-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.services-subtitle {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Services Cards Section */
.services-cards-section {
    padding: 40px 0 80px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 38, 116, 0.15);
}

.service-card-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%; /* 2:3 aspect ratio */
}

.service-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    color: #002674;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-card-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-button {
    display: inline-block;
    background-color: #0052cc;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    text-align: center;
    border: none;
}

.service-card-button:hover {
    background-color: #002674;
    color: #ffffff;
}

/* CTA Section */
.services-cta-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.quality-logo {
    max-width: 160px;
    margin-bottom: 20px;
}

.cta-title {
    color: #0052cc;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background-color: #e62e2d;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #c01e1d;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .services-title {
        font-size: 2.8rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .services-hero-section {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .service-card-title {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-top: 20px;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .quality-logo {
        margin: 0 auto 20px;
    }
}
