/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, #6C8BE8 0%, #9798EB 100%);
    padding: 80px 0;
    color: rgb(0, 0, 0);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(108, 139, 232, 0.2);
}

/* Service card link styles */
a.text-decoration-none .service-card {
    cursor: pointer;
}

a.text-decoration-none:hover .service-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(108, 139, 232, 0.2);
}

a.text-decoration-none .service-title {
    color: #2c3e50;
    transition: color 0.3s ease;
}

a.text-decoration-none:hover .service-title {
    color: #6C8BE8;
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Compliance Tech Framework Cards */
.compliance-card {
    height: 150px !important;
}

.compliance-icon {
    text-align: center;
    margin-bottom: 15px;
}

.compliance-icon i {
    font-size: 2.5rem;
    color: #6C8BE8;
    transition: color 0.3s ease;
}

.compliance-card:hover .compliance-icon i {
    color: #5a7bd8;
}

.compliance-card .service-title {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.compliance-check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.compliance-check::before {
    content: '✔';
    width: 25px;
    height: 25px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.compliance-check:hover::before {
    background-color: #218838;
    transform: scale(1.1);
}

.compliance-card {
    position: relative;
    flex-grow: 1;
}

.cta-section {
    background: linear-gradient(135deg, #E2E8FE 0%, #6C8BE8 100%);
    padding: 80px 0;
    text-align: center;
    color: #2c3e50;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.cta-section .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(108, 139, 232, 0.3);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .services-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
}
