@import url('styles.css');

/* -------------------------
    COMMON
------------------------- */
.servcie {
    display: flex;
    flex-direction: column;
}

.service .content {
    display: flex;
    flex-direction: row;
}

.service .content .title {
    padding: 12% 0%;
    display: flex;
    flex-direction: column;
    width: 45%;
}

.service .content .title h3 {
    padding: 25px 0px;
}

.service .content img {
    position: static;
    height: 100%;
    margin-bottom: -2%;
    margin-top: auto;
    width: 30%;
    z-index: 1;
}

/* features list */
.service .features {
    padding-left: 12%;
    padding-top: 5%;
    padding-bottom: 8%;
    padding-right: 10%;
}

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

.service .features h3 {
    padding-top: 8%;
    text-align: center;
}

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

/* service right image (type 1 of services) */
.service-right-image .content .title {
    padding-left: 10%;
}

.service-right-image .content .title .paragraph-bold {
    color: var(--dark-oranje-aso);
}

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

.service-right-image .content .title h3 {
    color: var(--dark-oranje-aso);
}

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

.service-right-image .content .title h4 {
    color: var(--green-aso);
}

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

.service-right-image .content img {
    margin-left: auto;
    margin-right: 8%;
    z-index: 1;
}

.service-right-image .features {
    background-color: var(--very-light-orange-aso);
}

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

.service-right-image .features h3 {
    color: var(--dark-oranje-aso);
}

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

/* service left image (type 2 of services) */
.service-left-image .content .title {
    padding-left: auto;
    padding-right: 10%;
}

.service-left-image .content .title .paragraph-bold {
    color: var(--green-aso);
}

body.high-contrast .service-left-image .content .title .paragraph-bold,
body.white-text-mode .service-left-image .content .title .paragraph-bold {
    color: #BDF24B !important;
}

.service-left-image .content .title h3 {
    color: var(--green-aso);
}

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

.service-left-image .content .title h4 {
    color: var(--dark-oranje-aso);
}

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

.service-left-image .content img {
    margin-left: 8%;
    margin-right: 20%;
}

.service-left-image .features {
    background-color: #e9eeee;
}

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

.service-left-image .features h3 {
    color: var(--green-aso);
}

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

/* -------------------------
    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: 10%;
    padding-top: 8%;
    color: var(--green-aso);
    padding-bottom: 5%;
}

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

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

/* -------------------------
    IMPROVE MOBILITY SECTION (improve-mobility)
------------------------- */
.improve-mobility {
    background-color: var(--green-aso);
    padding: 8%;
    padding-bottom: 5%;
}

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

.improve-mobility h4 {
    color: var(--light-green-aso);
    text-align: center;
    letter-spacing: 10px;
    margin: 0 5%;
}

body.high-contrast .improve-mobility h4,
body.white-text-mode .improve-mobility h4 {
    color: #FFF !important; /* Adjusted for high contrast */
}

/* -------------------------
    CONTACT SECTION (contact)
------------------------- */
.contact-section {
    background-color: var(--green-aso);
    align-items: center;
}

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

.contact-section h1 {
    color: var(--light-green-aso);
    padding: 6% 10%;
    text-align: center;
}

body.high-contrast .contact-section h1,
body.white-text-mode .contact-section h1 {
    color: #FFF !important; /* Adjusted for high contrast */
}

.contact-section button {
    margin-left: 50%;
    transform: translate(-50%, 0%);
    margin-bottom: 6%;
}

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

/* Small devices (phones, 768px and down) */
@media (max-width: 768px) {

    /* -------------------------
        COMMON
    ------------------------- */
    .service .content {
        margin-top: 5rem;
        display: flex;
        flex-direction: column;
    }

    .service .content .title {
        padding: 0% 5%;
        margin: 0% 0%;
        margin-bottom: 2rem;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .service .content img {
        width: 70%;
        margin: 0% auto;
        margin-bottom: 2rem;
    }

    .service .features {
        padding: 10% 10%;
    }
    /* -------------------------
        CONTACT SECTION (contact)
    ------------------------- */
    .contact-section h1 {
        padding: 6% 5%;
    }

    /* -------------------------
        IMPROVE MOBILITY SECTION (improve-mobility)
    ------------------------- */
    .improve-mobility {
        margin-top: 15%;
    }
}

/* 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: 5%;
    }

    /* -------------------------
        IMPROVE MOBILITY SECTION (improve-mobility)
    ------------------------- */
    .improve-mobility h4 {
        letter-spacing: 5px;
    }
}