/* Consultation Services Layout Alignment */

/* Hero Section */
.consultation-hero {
    /* background: linear-gradient(135deg, #2E86AB 0%, rgba(46, 134, 171, 0.9) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="consultation-grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23consultation-grid)"/></svg>'); */
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.consultation-hero .hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.consultation-badge {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.consultation-badge:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Center the services grid like accredited training */
.consultation-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Ensure cards accommodate all content */
.consultation-service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 50, 98, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.consultation-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E86AB, #6c757d, #2E86AB);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.consultation-service-card:hover::after {
    transform: scaleX(1);
}

.consultation-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.consultation-service-card .service-header {
    background: linear-gradient(135deg, #2E86AB 0%, #4A90A4 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.service-category {
    background: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Ensure service content fills available space */
.consultation-service-card .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

/* Fix service details positioning */
.consultation-service-card .service-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.consultation-service-card .service-features li::before {
    /* content: '✓'; */
    position: absolute;
    left: 0;
    color: #2E86AB;
    font-weight: bold;
}

/* CTA Section */
.consultation-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E86AB 0%, #6c757d 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.consultation-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><polygon points="25,0 50,25 25,50 0,25" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    opacity: 0.3;
}

.consultation-cta-section .cta-content {
    position: relative;
    z-index: 2;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .consultation-services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .consultation-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .consultation-badge {
        width: 150px;
        height: 150px;
        transform: rotate(0deg);
    }
}