/* ==========================================================================
   BEM Stylesheet for AHA Solutions
   ========================================================================== */

/* --- Hero Section --- */
.hero--full-height {
    height: 100vh;
    min-height: 600px;
}
.hero__carousel {
    height: 100%;
}
.hero__item {
    height: 100%;
    background-size: cover;
    background-position: center;
}
.hero__item--courses { background-image: url('../img/Inicio-2.jpg'); }
.hero__item--nutrix { background-image: url('../img/Inicio-10.jpg'); }

.hero__overlay--green {
    background-color: rgba(155, 187, 79, 0.8); /* Using the brand green color */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__content {
    text-align: center;
    padding: 0 15px;
}
.hero__title {
    font-size: 62px;
    line-height: 74px;
    margin-bottom: 10px;
    color: #ffffff;
}
.hero__text {
    font-size: 17px;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}
.hero__text--transparent {
    color: transparent;
}

/* --- Intro Section --- */
.intro--padded {
    padding: 80px 0;
}
.intro__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}
.intro__row {
    padding: 0 6vw;
}
.intro__text {
    font-size: 16px;
    color: #565656;
    line-height: 1.8;
}

/* --- Features Section --- */
.features--padded {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.features__title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 60px;
    color: #565656;
}
.features__item {
    text-align: center;
    margin-bottom: 30px;
}
.features__icon {
    max-width: 80px;
    margin-bottom: 20px;
}
.features__subtitle {
    font-size: 18px;
    color: #565656;
    font-weight: 500;
}

/* --- Team Section --- */
.team--padded {
    padding: 80px 0;
}
.team__title {
    text-align: center;
    margin-bottom: 50px;
    color: #565656;
    font-weight: bold;
}
.team-member {
    text-align: center;
    margin-bottom: 40px;
}
.team-member__picture {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    cursor: pointer;
}
.team-member__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(155, 187, 79, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 40px;
    font-weight: bold;
    pointer-events: none;
}
.team-member__picture:hover .team-member__overlay {
    opacity: 1;
}
.team-member__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member__name {
    font-size: 18px;
    font-weight: bold;
    color: #565656;
    margin-bottom: 5px;
}
.team-member__role {
    font-size: 14px;
    color: #9bbb4f;
}
.team__action {
    text-align: center;
    margin-top: 20px;
}

/* --- Business Card Modal --- */
.business-card-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.business-card-modal .modal-header {
    background-color: transparent;
    border: none;
}
.business-card-modal .close {
    color: #9bbb4f;
    opacity: 0.8;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
}
.business-card-modal .close:hover {
    opacity: 1;
}
.business-card-modal .business-card-contact a:hover {
    color: #8aa647 !important;
}

@media (max-width: 768px) {
    .business-card-modal .business-card-photo img {
        width: 130px !important;
        height: 130px !important;
    }
    .business-card-modal .business-card-name {
        font-size: 24px !important;
    }
    .business-card-modal .business-card-info {
        font-size: 15px !important;
        max-width: 100% !important;
    }
    .business-card-modal .business-card-contact {
        max-width: 100% !important;
        padding: 15px !important;
    }
}

/* --- Buttons --- */
.btn--outline-dark {
    border: 2px solid #565656;
    color: #565656;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
}
.btn--outline-dark:hover {
    background-color: #565656;
    color: #ffffff;
}

/* --- Tienda/Packages Section --- */
.packages {
    padding: 60px 0;
}
.packages__header {
    text-align: center;
    margin-bottom: 50px;
}
.packages__title {
    font-size: 40px;
    font-weight: bold;
    color: #9bbb4f;
    line-height: 54px;
}
.packages__subtitle {
    font-size: 33px;
    color: #565656;
    line-height: 40px;
    margin-bottom: 20px;
}
.package-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #f4f4f4;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.package-card--dark {
    background-color: #565656;
    color: #ffffff;
}
.package-card__info {
    padding: 40px;
    flex: 1;
    min-width: 300px;
}
.package-card__title {
    font-size: 28px;
    font-weight: bold;
    color: #9bbb4f;
    margin-bottom: 15px;
}
.package-card__lang {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
}
.package-card__details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.package-card__stat {
    text-align: center;
}
.package-card__stat-icon {
    width: 40px;
    margin-bottom: 10px;
}
.package-card__stat-val {
    font-size: 24px;
    font-weight: bold;
}
.package-card__img-container {
    flex: 1;
    min-width: 300px;
}
.package-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.package-card__note {
    font-size: 12px;
    opacity: 0.8;
}
