/* ============================================
   SERVICES PAGE
   ============================================ */

/* Hero Section */ 
.services-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(76, 0, 130, 0.166) 0%, rgba(148, 112, 219, 0.303) 100%),
                url('https://media.istockphoto.com/id/2184084441/photo/service-excellence-high-quality-service-concept-continuous-improvement-and-invest-in-training.jpg?s=612x612&w=0&k=20&c=uT8ulvKhgVRcxhf7_eusxy-mIYYec3qqxFt7C9ryX9U=');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 0, 130, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
}

.breadcrumb a {
    color: var(--white);
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.7;
}

/* Services Selection */
.services-selection {
    padding: 50px 0;
    background: var(--background-light);
}

.services-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-button-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
}

.service-button-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(75, 0, 130, 0.2);
}

.service-button-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(75, 0, 130, 0.3);
    transform: translateY(-10px);
}

.service-button-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.05) 0%, rgba(147, 112, 219, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-button-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-button-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.85) 0%, rgba(147, 112, 219, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-button-card:hover .service-button-overlay,
.service-button-card.active .service-button-overlay {
    opacity: 1;
}

.service-button-overlay i {
    font-size: 70px;
    color: var(--white);
    animation: pulse 2s infinite;
}

.service-button-content {
    padding: 35px;
    position: relative;
    z-index: 2;
}

.service-button-content h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-button-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-button-card:hover .service-button-arrow,
.service-button-card.active .service-button-arrow {
    transform: translateX(10px);
}

/* Services Content */
.services-content {
    padding: 40px 0;
}

.service-content {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.service-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Intro */
.service-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 25px;
    margin-bottom: 70px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.service-intro-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.3);
}

.service-intro-text h2 {
    font-size: 38px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-intro-text p {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: justify;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 5px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(75, 0, 130, 0.15);
    border-left-color: var(--primary-color);
}

.service-item-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.1) 0%, rgba(147, 112, 219, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-item:hover .service-item-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.service-item p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

/* Formation Highlight */
.formation-highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 25px;
    border-radius: 25px;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(255, 165, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.formation-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.formation-highlight::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.formation-highlight-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.formation-highlight-content i {
    font-size: 60px;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.formation-highlight-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.formation-highlight-content p {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Formation Features */
.formation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin: 60px 0;
}

.formation-feature {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.formation-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(75, 0, 130, 0.15);
}

.formation-feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.3);
}

.formation-feature h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.formation-feature p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
}

/* Formation Domains */
.formation-domains {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 25px;
    margin: 60px 0;
}

.formation-domains h3 {
    font-size: 32px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.domain-item {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.domain-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.2);
}

.domain-item i {
    font-size: 50px;
    color: var(--primary-color);
}

.domain-item span {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Formation CTA */
.formation-cta {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.formation-cta h3 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.formation-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services CTA */
.services-cta {
    background: var(--gradient-secondary);
    padding: 50px 0;
    margin-top: 40px;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px; 
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 35px;
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    margin-top: 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    font-size: 16px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .services-buttons {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .services-buttons {
        grid-template-columns: 1fr;
    }

    .service-intro {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .service-intro-icon {
        width: 100px;
        height: 100px;
        font-size: 45px;
    }

    .service-intro-text h2 {
        font-size: 30px;
    }

    .service-intro-text p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .formation-highlight {
        padding: 40px 30px;
    }

    .formation-highlight-content i {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .formation-highlight-content h3 {
        font-size: 26px;
    }

    .formation-highlight-content p {
        font-size: 16px;
    }

    .formation-features {
        grid-template-columns: 1fr;
    }

    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formation-domains {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .service-button-content h3 {
        font-size: 22px;
    }

    .service-intro-text h2 {
        font-size: 26px;
    }

    .service-item {
        padding: 30px 25px;
    }

    .formation-domains h3 {
        font-size: 26px;
    }

    .domains-grid {
        grid-template-columns: 1fr;
    }

    .formation-highlight-content h3 {
        font-size: 22px;
    }

    .formation-highlight-content p {
        font-size: 15px;
    }

    .formation-cta h3 {
        font-size: 28px;
    }
}