/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../images/services-bg.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Grid */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    transform: rotateY(180deg);
}

.service-content {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.service-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

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

.service-link:hover i {
    margin-left: 10px;
}

/* Service Details */
.service-details {
    padding: 100px 0;
    background: var(--light-bg);
}

.service-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-details-container:hover .service-image img {
    transform: scale(1.03);
}

.service-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
    transition: var(--transition);
}

.service-details-container:hover .service-image::before {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
}

.service-details-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-details-content h2 span {
    color: var(--accent-color);
}

.service-details-content p {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.8;
}

.features-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--light-text);
}

.features-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(26, 42, 108, 0.9), rgba(26, 42, 108, 0.9)), url('../../images/cta-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .service-details-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .services-hero {
        padding: 150px 0 80px;
    }
    
    .services-hero h1 {
        font-size: 3rem;
    }
    
    .service-details-container {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-details-content {
        text-align: center;
    }
    
    .features-list {
        max-width: 500px;
        margin: 30px auto;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 130px 0 60px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    .service-card {
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-details-content h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
