/* --- Styles for Employee Training Page --- */

/* Hero Section */
/* --- Updated Styles for Employee Training Hero --- */

.hero-training {
    padding: 6rem 2rem;
    background: #101d36;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

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

.hero-training-text {
    text-align: right;
}

.hero-training-text h1 {
    font-size: 3.6em;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-training-text .subtitle {
    font-size: 1.3rem;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* --- New Accordion Design for Training Page --- */

.training-modules-section {
    padding: 6rem 2rem;
background: rgba(255, 255, 255, 0.05);
}

.training-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    text-align: right;
    transition: background-color 0.3s ease;
}

.accordion-item.active .accordion-header,
.accordion-header:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.accordion-header i {
    font-size: 1.9em;
    color: #3b82f6;
    margin-left: 1.5rem; /* For RTL, this is margin-inline-end */
}

.accordion-header h5 {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
    flex-grow: 1; /* Pushes the expand icon to the end */
}

.accordion-header .expand-icon {
    font-size: 1.3em;
    color: #bbb;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-left: 0;
}

.accordion-item.active .expand-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.5s ease;
    padding: 0 2rem;
}

.accordion-content p {
    color: #bbb;
    line-height: 1.7;
    padding: 1rem 0;
    padding-right: 5rem; /* Indent text under the header text */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust if content is taller */
    padding-bottom: 1.5rem;
}

/* Responsive adjustments for the training hero */
@media (max-width: 992px) {
    .hero-training-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-training-text {
        order: 2;
        text-align: center;
    }
    .hero-training-image {
        order: 1;
        margin-bottom: 2rem;
    }
}

/* Why Training Section */
.why-training-section {
    padding: 6rem 2rem;

}

.why-training-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-training-text p {
    color: #bbb;
    font-size: 1.2em;
    line-height: 1.8;
}

.why-training-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-training-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-training-stats .stat-number {
    display: block;
    font-size: 3.1em;
    font-weight: 700;
    color: #3b82f6;
}

.why-training-stats .stat-label {
    color: #bbb;
    font-size: 1.1em;
}


/* Training Modules Section */
.training-modules-section {
    padding: 6rem 2rem;
}
/* This section can reuse the .expertise-card and .expertise-grid styles */

/* Responsive Adjustments */
@media (max-width: 992px) {
    .why-training-grid {
        grid-template-columns: 1fr;
    }
}