@import url('styles.css');

/* -------------------------
    SERVICES SECTION (services)
------------------------- */
.services {
    padding-top: 5%;
    display: flex;
    flex-direction: row;
}

body.high-contrast .services,
body.white-text-mode .services {
    background-color: #000 !important;
}

.services h2 {
    width: 55%;
    padding-left: 8%;
    padding-top: 8%;
    color: var(--green-aso);
}

body.high-contrast .services h2,
body.white-text-mode .services h2 {
    color: #BDF24B !important;
}

.services img {
    position: static;
    margin-left: auto;
    width: 40%;
    margin-bottom: -5%;
}

/* -------------------------
    SUPPORT SECTION (support)
------------------------- */
.support .container {
    background-color: var(--dark-oranje-aso);
    padding: 5%;
}

body.high-contrast .support .container,
body.white-text-mode .support .container {
    background-color: #333 !important;
    border-bottom: 1px solid #BDF24B !important;
}

.support .features {
    background-color: var(--very-light-orange-aso);
    padding-left: 12%;
    padding-top: 5%;
    padding-bottom: 8%;
    padding-right: 10%;
}

body.high-contrast .support .features,
body.white-text-mode .support .features {
    background-color: #555 !important;
}

.support .features h3 {
    padding-top: 5%;
    text-align: left;
    padding-left: 3.5rem;
    color: var(--dark-oranje-aso);
}

body.high-contrast .support .features h3,
body.white-text-mode .support .features h3 {
    color: #FFB793 !important;
}

.support .features .feature-item p strong {
    color: var(--dark-oranje-aso);
}

body.high-contrast .support .features .feature-item p strong,
body.white-text-mode .support .features .feature-item p strong {
    color: #FFB793 !important;
}

/* -------------------------
    SERVICE LEFT IMAGE SECTION (service-left-image)
------------------------- */
.service-left-image {
    padding: 8%;
    display: flex;
    flex-direction: row;
}

body.high-contrast .service-left-image,
body.white-text-mode .service-left-image {
    background-color: #000 !important;
}

.service-left-image .image {
    width: 30%;
    max-height: 650px;
}

.service-left-image .content {
    padding-left: 5%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-left-image .content h3 {
    color: var(--dark-oranje-aso);
    padding-top: 8%;
    padding-bottom: 1.5rem;
    text-align: left;
}

body.high-contrast .service-left-image .content h3,
body.white-text-mode .service-left-image .content h3 {
    color: #FFB793 !important;
}

.service-left-image .content .feature-item {
    padding-top: 5%;
    text-align: left;
}

body.high-contrast .service-left-image .content .feature-item p,
body.white-text-mode .service-left-image .content .feature-item p {
    color: #FFF !important;
}

.service-left-image button {
    background-color: var(--dark-oranje-aso);
    margin-top: 10%;
    align-self: center;
}

body.high-contrast .service-left-image button,
body.white-text-mode .service-left-image button {
    background-color: #BDF24B !important;
    color: #000 !important;
    border: 1px solid #BDF24B !important;
}

/* -------------------------
    TECHNOLOGY SOLUTION SECTION (technology-solution)
------------------------- */
.technology-solution {
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5% 0%;
    width: 100%;
}

body.high-contrast .technology-solution,
body.white-text-mode .technology-solution {
    background-color: #333 !important;
}

.technology-solution h2 {
    color: var(--green-aso);
    margin-bottom: 2rem;
    text-align: center;
}

body.high-contrast .technology-solution h2,
body.white-text-mode .technology-solution h2 {
    color: #FFF !important;
}

.technology-solution .head {
    padding: 0% 20%;
    padding-top: 8%;
    text-align: center;
}

.technology-solution .head h3 {
    color: var(--dark-oranje-aso);
}

body.high-contrast .technology-solution .head h3,
body.white-text-mode .technology-solution .head h3 {
    color: #FFB793 !important;
}

.technology-solution .head h5 {
    padding-top: 2rem;
    color: var(--green-aso);
    line-height: 150%;
}

body.high-contrast .technology-solution .head h5,
body.white-text-mode .technology-solution .head h5 {
    color: #FFF !important;
}

.technology-solution .solutions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.technology-solution .solutions .item {
    width: 100%;
    border: 1px solid var(--green-aso);
    border-left: none;
    border-right: none;
    padding: 5% 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
}

body.high-contrast .technology-solution .solutions .item,
body.white-text-mode .technology-solution .solutions .item {
    border: 1px solid #BDF24B !important;
    background-color: #000 !important;
}

.technology-solution .solutions .item .image-container {
    width: 120px;
    height: 120px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.technology-solution .solutions .item .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.technology-solution .solutions .item .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
    height: 100%;
}

.technology-solution .solutions .item h3,
.technology-solution .solutions .item h5 {
    margin: 0;
    color: var(--green-aso);
}

body.high-contrast .technology-solution .solutions .item h3,
body.high-contrast .technology-solution .solutions .item h5,
body.white-text-mode .technology-solution .solutions .item h3,
body.white-text-mode .technology-solution .solutions .item h5 {
    color: #FFF !important;
}

.technology-solution .solutions .item .content .download-app-container {
    margin-top: auto;
}

/* -------------------------
    PMR COURSES SECTION (PMR-courses)
------------------------- */
.PMR-courses {
    background-color: var(--very-light-orange-aso);
    padding: 5% 10%;
    align-items: center;
    text-align: center;
}

body.high-contrast .PMR-courses,
body.white-text-mode .PMR-courses {
    background-color: #000 !important;
    border-top: 1px solid #BDF24B !important;
}

.PMR-courses h3 {
    color: var(--dark-oranje-aso);
}

body.high-contrast .PMR-courses h3,
body.white-text-mode .PMR-courses h3 {
    color: #FFB793 !important;
}

.PMR-courses h5 {
    padding: 5% 20%;
}

body.high-contrast .PMR-courses h5,
body.white-text-mode .PMR-courses h5 {
    color: #FFF !important;
}

.PMR-courses button {
    background-color: var(--dark-oranje-aso);
}

body.high-contrast .PMR-courses button,
body.white-text-mode .PMR-courses button {
    background-color: #BDF24B !important;
    color: #000 !important;
    border: 1px solid #BDF24B !important;
}

/* -------------------------
    SERVICE RIGHT IMAGE SECTION (service-right-image)
------------------------- */
.service-right-image {
    padding: 8%;
    display: flex;
    flex-direction: row;
}

body.high-contrast .service-right-image,
body.white-text-mode .service-right-image {
    background-color: #333 !important;
}

.service-right-image .image {
    width: 30%;
}

.service-right-image .content {
    padding-left: 5%;
    padding-right: 3%;
}

.service-right-image .content h3 {
    color: var(--dark-oranje-aso);
    padding-bottom: 1.5rem;
}

body.high-contrast .service-right-image .content h3,
body.white-text-mode .service-right-image .content h3 {
    color: #FFB793 !important;
}

.service-right-image .content .feature-item {
    padding-top: 5%;
}

body.high-contrast .service-right-image .content .feature-item p,
body.white-text-mode .service-right-image .content .feature-item p {
    color: #FFF !important;
}

/* Mediums devices (desktops, 1080px and down) */
@media (max-width: 1080px) {

    /* -------------------------
        SERVICES SECTION (services)
    ------------------------- */
    .services {
        flex-direction: column;
        align-items: center;
    }

    .services h2 {
        padding-left: 0%;
        padding: 0% 10%;
        text-align: center;
        width: 100%;
    }

    .services img {
        margin-right: auto;
        width: 70%;
        margin-top: 10%;
        margin-bottom: 10%;
    }

    /* -------------------------
        SUPPORT SECTION (support)
    ------------------------- */
    .support .features h3 {
        padding-left: 0;
        text-align: center;
        padding-bottom: 1.5rem;
    }

    /* -------------------------
        SERVICE LEFT IMAGE SECTION (service-left-image)
    ------------------------- */
    .service-left-image {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-left-image .image {
        padding-top: 8%;
        width: 70%;
    }

    .service-left-image .content .feature-item {
        padding-top: 5%;
    }

    .service-left-image .content h3 {
        text-align: center;
    }

    .service-left-image .content .feature-item p {
        text-align: left;
    }

    /* -------------------------
        TECHNOLOGY SOLUTION SECTION (technology-solution)
    ------------------------- */
    .technology-solution {
        padding: 5% 0%;
    }

    .technology-solution .solutions {
        padding-top: 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .technology-solution .solutions .item {
        width: 100%;
        padding: 5% 5%;
    }

    /* -------------------------
        PMR COURSES SECTION (PMR-courses)
    ------------------------- */
    .PMR-courses h5 {
        padding: 10% 0%;
    }

    /* -------------------------
        SERVICE RIGHT IMAGE SECTION (service-right-image)
    ------------------------- */
    .service-right-image {
        flex-direction: column;
        align-items: center;
    }

    .service-right-image .image {
        padding-top: 10%;
        width: 70%;
    }

    .service-right-image .content {
        padding: 0%;
    }

    .service-right-image .content h3 {
        text-align: center;
    }
}