/* ============================================
   SHOREX PAGE STYLES
   ============================================ */

/* Intro Section */
.shorex-intro {
    padding: 5rem 0 2.75rem 0;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 3.56rem;
}

.shorex-intro__container {
    max-width: 900px;
    text-align: left;
}

.shorex-intro__text {
    color: #D8C49B;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
}

.shorex-image {
    border-radius: 1.5rem;
    height: 29rem;
    overflow: hidden;
    width: 100%;
}

.shorex-image img, .shorex-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Why Choose Section */
.why-shorex {
    padding: 2.75rem 0 5rem 0;
}

.why-shorex__title {
    color: #FFF;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 2.75rem;
}

.why-shorex__content-title {
    color: #FFF;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.5rem;
    letter-spacing: -0.04rem;
    margin-bottom: 2rem;
}

.why-shorex__content-text {
    color: #D8C49B;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
}

.why-shorex__block {
    display: grid;
    grid-template-columns: 32.625rem 1fr;
    gap: 2.81rem;
    align-items: center;
    margin-bottom: 2.75rem;
}

.why-shorex__block:last-child {
    margin-bottom: 0;
}

.why-shorex__block--reverse {
    direction: rtl;
    grid-template-columns: 35.675rem 1fr;
}

.why-shorex__block--reverse > * {
    direction: ltr;
}

.why-shorex__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-shorex__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.why-shorex__list {
    list-style: disc;
    padding-left: var(--spacing-lg);
}

.why-shorex__list li {
    color: #D8C49B;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

/* Different Section - Full width banner */
.shorex-different {
    padding: 3.5rem 0;
    text-align: center;
}

.shorex-different__title {
    color: #FFF;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 3.5rem;
}

.shorex-different__banner {
    position: relative;
    width: 100vw;
    height: 12.125rem;
    margin-left: calc(-50vw + 50%);
}

.shorex-different__banner picture, .shorex-different__banner img {
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    display: block;
    object-fit: cover;
}

.tailor-made {
    padding: 3.31rem 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    text-align: center;
}

.tailor-made__title {
    color: #FFF;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.5rem;
    letter-spacing: -0.04rem;
    margin-bottom: .75rem;
}

.tailor-made__text {
    color: #D8C49B;
    text-align: center;
    font-feature-settings: 'salt' on;
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 52.75rem;
    margin: 0 auto;
    line-height: 1.75rem;
}

.programs {
    padding: 3.5rem 0 0 0;
}

.programs__title {
    color: #FFF;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: .75rem;
}

.programs__subtitle {
    color: #D8C49B;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    margin-bottom: 3.5rem;
}

.programs__grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.programs__row--second {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: 3.5rem;
}

.program-card {
    perspective: 1000px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    cursor: pointer;
    width: 24.5458rem;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

/* Staggered layout - first row */
.programs__grid .program-card:nth-child(1) {
    margin-top: 3rem;
}

.programs__grid .program-card:nth-child(2) {
    margin-top: 0;
}

.programs__grid .program-card:nth-child(3) {
    margin-top: 3rem;
}

/* Staggered layout - second row */
.programs__row--second .program-card:nth-child(1) {
    margin-top: 7rem;
}

.programs__row--second .program-card:nth-child(2) {
    margin-top: 4rem;
}

.program-card__title {
    color: #FFF;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 2.25rem;
    letter-spacing: -0.035rem;
    margin-bottom: 1rem;
}

.program-card__inner {
    position: relative;
    width: 24.5458rem;
    height: 28.0625rem;
    transition: transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    -moz-transition: -moz-transform 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

.program-card:hover .program-card__inner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}

.program-card__front,
.program-card__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    border-radius: 1.5rem;
    overflow: hidden;
    transform-style: preserve-3d;
}

.program-card__front {
    z-index: 2;
}

.program-card__front-image {
    width: 100%;
    height: 28.0625rem;
}

.program-card__front-image img, .program-card__back-image picture {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.program-card__back {
    transform: rotateY(180deg);
    z-index: 1;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}

.program-card__back-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.program-card__back-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
}

.program-card__back-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 45, 45, 0.8);
    z-index: 2;
}

.program-card__back-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    box-sizing: border-box;
    z-index: 3;
}

.program-card__back-text {
    color: #F7F2E5;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75rem;
}

/* Programs Mobile Section - Hidden by default */
.programs-mobile {
    display: none;
    padding: 2rem 0;
}

.programs-mobile__title {
    color: #FFF;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.5rem;
    letter-spacing: -0.04rem;
    margin-bottom: 0.75rem;
}

.programs-mobile__subtitle {
    color: #D8C49B;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    margin-bottom: 2.75rem;
}

.programs-mobile__grid {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.programs-mobile__card {
    display: flex;
    flex-direction: column;
}

.programs-mobile__card-title {
    color: #FFF;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2rem;
    margin-bottom: 1.5rem;
}

.programs-mobile__card-image {
    border-radius: 1.5rem;
    overflow: hidden;
    height: 22.125rem;
    margin-bottom: 1.5rem;
}

.programs-mobile__card-image img, .programs-mobile__card-image picture {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.programs-mobile__card-text {
    color: #D8C49B;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75rem;
}

.operators {
    padding: 3.5rem 0;
}

.operators__title {
    color: #FFF;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 1rem;
}

.operators__text, .operators__note {
    color: #D8C49B;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
    margin-bottom: 1.5rem;
    max-width: 58rem;
}

.operators__buttons {
    display: flex;
    gap: 1.88rem;
    margin-bottom: 1.5rem;
}

.operators__buttons .btn {
    width: 100%;
    padding: 1.5rem 2.5rem;
    border-radius: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.operators__note {
    margin-bottom: 0;
}

.safety {
    background-color: #F7F2E5;
    border-radius: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 24.5rem;
    overflow: hidden;
    margin: 3.5rem 0
}

.safety__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem;
}

.safety__title {
    color: #0D2D18;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 1.5rem;
}

.safety__text {
    color: #0D2D18;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
}

.safety__image {
    flex: 1;
}

.safety__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.safety__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sample Experiences Section */
.shorex-experiences {
    padding: 3.5rem 0;
}

.shorex-experiences__title {
    color: #FFF;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 2.38rem;
}

.shorex-experiences__table-wrapper {
    display: block;
}

.shorex-experiences__table {
    width: 100%;
    border-collapse: collapse;
}

.shorex-experiences__table thead th {
    color: #FFF;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #FEFEFE;
    text-align: left;
    padding-top: 0;
}

.shorex-experiences__table thead th:first-child {
    padding-left: 0;
}

.shorex-experiences__table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.shorex-experiences__table tbody td {
    padding: 1.5rem 1rem;
    color: #D8C49B;
    font-size: 1.125rem;
    font-weight: 400;
    border-bottom: 1px solid #FEFEFE;
    line-height: 1.75rem;
}

.shorex-experiences__table tbody td:first-child {
    padding-left: 0;
}

.shorex-experiences__note {
    margin-top: 2.25rem;
    color: #D8C49B;
    font-size: 1.125rem;
    max-width: 50.375rem;
    font-weight: 400;
    line-height: 1.75rem;
}

/* Mobile Accordion */
.shorex-experiences__accordion {
    display: none;
}

.shorex-experiences__accordion-item {
    position: relative;
}

/* Full-width border effect */
.shorex-experiences__accordion-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: var(--color-border-subtle);
}

.shorex-experiences__accordion-item:last-child::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: var(--color-border-subtle);
}

.shorex-experiences__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.shorex-experiences__accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFF;
}

.shorex-experiences__accordion-toggle {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shorex-experiences__accordion-icon {
    font-size: 1.5rem;
    color: #FFF;
    flex-shrink: 0;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shorex-experiences__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.shorex-experiences__accordion-item.is-open .shorex-experiences__accordion-content {
    max-height: 600px;
    padding-bottom: 1.5rem;
}

.shorex-experiences__accordion-item.is-open .shorex-experiences__accordion-icon {
    transform: rotate(180deg);
}

.shorex-experiences__accordion-content p {
    font-size: 1.125rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.75rem;
    color: #D8C49B;
}

.shorex-experiences__accordion-content p strong {
    color: #F7F2E5;
}

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


@media (max-width: 1440px) {
    .programs__grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .programs__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .why-shorex__block {
        gap: var(--spacing-3xl);
    }

    .safety {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .shorex-intro {
        padding: 2.75rem 0 2rem 0;
    }

    .shorex-intro__text {
        color: #D8C49B;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.75rem;
    }


    .shorex-image {
        height: 16rem;
    }

    .why-shorex {
        padding: 2rem 0;
    }

    .why-shorex__title {
        color: #FFF;
        font-size: 2rem;
        font-weight: 700;
        line-height: 2.5rem;
        letter-spacing: -0.04rem;
    }

    .why-shorex__block {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.75rem;
    }

    .why-shorex__block:last-child {
        margin-bottom: 0;
    }

    .why-shorex__content-title {
        color: #FFF;
        font-size: 1.75rem;
        font-weight: 700;
        line-height: 2.25rem;
        letter-spacing: -0.035rem;
    }

    .why-shorex__content-text {
        color: #D8C49B;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.75rem;
    }

    .why-shorex__block--reverse {
        direction: ltr;
    }

    .why-shorex__image {
        height: 16rem;
    }

    .shorex-different {
        padding: 2rem 0;
    }

    .shorex-different__title {
        color: #FFF;
        text-align: center;
        font-size: 2rem;
        font-weight: 700;
        line-height: 2.5rem;
        letter-spacing: -0.04rem;
        margin-bottom: 2rem;
    }

    .shorex-different__banner {
        height: 9rem;
    }

    .tailor-made {
        padding: 2rem 0;
    }

    .tailor-made__title {
        color: #FFF;
        text-align: center;
        font-size: 1.75rem;
        font-weight: 700;
        line-height: 2.25rem;
        letter-spacing: -0.035rem;
        margin-bottom: 1rem;
    }

    .tailor-made__text {
        color: #D8C49B;
        text-align: center;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.75rem;
    }

    /* Hide desktop programs, show mobile */
    .programs {
        display: none;
    }

    .programs-mobile {
        display: block;
    }

    .operators {
        padding: 2rem 0;
    }

    .operators__buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .operators__buttons .btn {
        white-space: normal;
        color: var(--primary-800, #0D2D18);
        text-align: center;
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.75rem;
    }

    .operators__text {
        margin-bottom: 2rem;
    }

    .operators__title {
        color: #FFF;
        font-size: 2rem;
        font-weight: 700;
        line-height: 2.5rem;
        letter-spacing: -0.04rem;
        margin-bottom: 1rem;
}

    .safety {
        display: flex;
        flex-direction: column;
        margin: 2rem 0;
    }

    .safety__content {
        padding: 2rem 2rem 1.25rem 2rem;
    }

    .safety__title {
        color: #0D2D18;
        font-size: 2rem;
        font-weight: 700;
        line-height: 2.5rem;
        letter-spacing: -0.04rem;
        margin-bottom: 1rem;
    }

    .safety__image {
        order: 2;
        height: 13.75rem;
    }

    .shorex-experiences {
        padding: 2.75rem 0;
    }

    .shorex-experiences__title {
        color: #FFF;
        font-size: 2rem;
        font-weight: 700;
        line-height: 2.5rem;
        letter-spacing: -0.04rem;
        padding-bottom: 1.5rem;
        margin: 0;
    }

    .shorex-experiences__table-wrapper {
        display: none;
    }

    .shorex-experiences__accordion {
        display: block;
    }

    .shorex-experiences__accordion-title {
        color: #FFF;
        font-size: 1.75rem;
        font-weight: 700;
        line-height: 2.25rem;
        letter-spacing: -0.035rem;
    }

    .shorex-experiences__accordion-content {
        color: #D8C49B;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.75rem;
    }

    .shorex-experiences__note {
        color: #D8C49B;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.75rem;
    }
}

