/* Training & Advisory Page Shared Styles */
.services-section {
    padding: 5rem 0;
    background: #121212;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.2), rgba(111, 66, 193, 0.2));
    border-radius: 50px;
    color: #4dabf7;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    border: 1px solid rgba(77, 171, 247, 0.3);
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #b5b5c3;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.soc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.soc-service-card {
    background: rgba(18, 18, 18, 0.85);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.soc-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(77, 171, 247, 0.3);
    border-color: rgba(77, 171, 247, 0.3);
}

.soc-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.soc-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.soc-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(18, 18, 18, 0.8) 100%);
    pointer-events: none;
}

.soc-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.soc-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.2), rgba(111, 66, 193, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #4dabf7;
    box-shadow: inset 0 0 20px rgba(77, 171, 247, 0.2);
    transition: all 0.3s ease;
}

.soc-service-card:hover .soc-icon {
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.35), rgba(111, 66, 193, 0.45));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(77, 171, 247, 0.3);
}

.soc-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.soc-content p {
    color: #b5b5c3;
    line-height: 1.6;
    margin: 0;
}

.soc-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.soc-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    font-size: 0.95rem;
}

.soc-features li i {
    color: #4dabf7;
    font-size: 0.875rem;
}

/* Values Section Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(18, 18, 18, 0.85);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.1), rgba(111, 66, 193, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(77, 171, 247, 0.2);
    border-color: rgba(77, 171, 247, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.2), rgba(111, 66, 193, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4dabf7;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(77, 171, 247, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.35), rgba(111, 66, 193, 0.35));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(77, 171, 247, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #b5b5c3;
    line-height: 1.8;
    font-size: 1.6rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(77, 171, 247, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(111, 66, 193, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.cta-section .container,
.cta-section .row {
    position: relative;
    z-index: 1;
}

.values-section {
    background: #0a0a0a;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }

    .soc-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .soc-content {
        padding: 2rem;
    }

    .soc-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .soc-services-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .soc-content {
        padding: 1.75rem;
    }

    .service-card {
        padding: 2rem;
    }

    .soc-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .soc-icon,
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .soc-content h4,
    .service-card h3 {
        font-size: 1.25rem;
    }
}
