/* ---MAIN STYLES--- */

.main_section .info_box {
    gap: .5vw;
}

.main_section p {
    color: var(--gray);
    font-size: 1.8vw;
    font-weight: 500;
}

@media (max-width: 996px) {
    .main_section .info_box {
        gap: 1vw;
        padding: 10% 10% 0 10%;
    }
    .main_section p {
        font-size: 5vw;
    }
}


/* ---PARAGRAPH STYLES--- */

.paragraph_section {
    padding: 10%;
}

.paragraph_section .paragraph_box {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}

@media (max-width: 996px) {
    .paragraph_section {
        padding: 20% 10%;
    }
    .st_paragraph_section {
        padding: 5% 10% 20% 10%;
    }
    .paragraph_section .paragraph_box {
        display: flex;
        flex-direction: column;
        gap: 2vw;
    }
}


/* ---SERVICES STYLES--- */

.services_section {
    display: flex;
    flex-direction: column;
    gap: 5vw;
    padding: 5% 10%;
    background: #dedede;
}

.services_section .media_box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vw;
    margin-bottom: 10%;
}

.services_section .media_box {
    width: 50%;
    margin: auto;
}

.services_section .media_box img {
    width: 100%;
    border-radius: 1vw;
}

.services_section .media_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw;
} 

.services_section .media_item h2 {
    color: var(--dark-blue);
    font-size: 1.5vw;
}

.services_section .services_box {
    position: relative;
}

.services_section .services_box::before {
    display: none;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30vw;
    background: linear-gradient( to right, #dedede 10%, #dedede00);
    pointer-events: none;
    z-index: 1;
}

.services_section .services_box::after {
    display: none;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30vw;
    background: linear-gradient( to left, #dedede 10%, #dedede00);
    pointer-events: none;
    z-index: 1;
}

.services_section i {
    display: none;
    color: var(--dark-blue);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6vw;
    z-index: 2;
}

.services_section .prev_icon {
    left: 10%;
}

.services_section .next_icon {
    right: 10%;
}

.services_section .title_box h2 {
    color: var(--dark-blue);
    font-size: 3vw;
    text-align: center;
}

.services_section .icon_item {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services_section svg {
    width: 70%;
    transition: .5s;
}

.services_section .icon_item:hover svg {
    transform: scale(.95);
}

.services_section path {
    fill: var(--dark-blue);
    transition: .25s;
}

.services_section .icon_item:hover path {
    fill: var(--blue);
}

.services_section .icon_item h2 {
    color: var(--dark-blue);
    font-size: 1.5vw;
    text-align: center;
    transition: .25s;
}

.services_section .icon_item:hover h2 {
    color: var(--blue);
}

@media (max-width: 996px) {
    .services_section {
        gap: 10vw;
        padding: 20% 0;
        background: #dedede;
    }
    .services_section .media_box {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10vw;
        padding: 0 10%;
        margin-bottom: 20%;
    }
    .services_section .media_item {
        gap: 3vw;
    }
    .services_section .media_item h2 {
        font-size: 5vw;
    }
    .services_section .services_box::before,
    .services_section .services_box::after {
        display: block;
    }
    .services_section .title_box {
        display: flex;
        justify-content: center;
    }
    .services_section .title_box h2 {
        width: 75%;
        font-size: 7vw;
    }
    .services_section .icon_item {
        width: 70%;
        margin: auto;
    }
    .services_section svg {
        width: 50%;
    }
    .services_section .icon_item h2 {
        font-size: 5vw;
    }
}


/* ---GOALS STYLES--- */

.goals_section {
    padding: 10%;
    background: #dedede;
}

.goals_section .goals_box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
}

.goals_section .goals_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: .3vw;
    height: 100%;
    background: var(--dark-blue);
}

.goals_section .info_box {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.goals_section h2 {
    color: var(--dark-blue);
    font-size: 3vw;
}

@media (max-width: 996px) {
    .goals_section {
        padding: 20% 10%;
    }
    .goals_section .goals_box {
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .goals_section .goals_box::before {
        display: none;
    }
    .goals_section .info_box {
        gap: 5vw;
    }
    .goals_section h2 {
        font-size: 8vw;
        text-align: center;
    }
}


/* ---VALUES STYLES--- */

.values_section {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding: 10%;
}

.values_section .media_box {
    display: flex;
    justify-content: center;
    align-items: center;
} 

.values_section .media_box img {
    width: 50%;
    border-radius: 1vw;
}

.values_section .title_box h2 {
    color: var(--dark-blue);
    font-size: 3vw;
    text-align: center;
}

.values_section .values_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vw;
}

.values_section .info_box {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.values_section .card_box {
    height: 13vw;
    padding: 2vw;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    border-radius: 1vw;
    background: var(--dark-blue);
    cursor: pointer;
    transition: .5s;
}

.values_section .card_box:hover {
    transform: scale(1.01);
    background: var(--blue);
}

.values_section .card_box h2 {
    color: white;
    font-size: 1.5vw;
    font-weight: 500;
}

.values_section .card_box p {
    color: #ffffffc0;
}

@media (max-width: 996px) {
    .values_section {
        gap: 10vw;
        padding: 20% 10%;
    }
    .values_section .media_box img {
        width: 100%;
    }
    .values_section .title_box h2 {
        font-size: 8vw;
    }
    .values_section .values_box {
        grid-template-columns: 1fr;
        gap: 2vw;
    }
    .values_section .info_box {
        gap: 2vw;
    }
    .values_section .card_box {
        height: initial;
        padding: 10vw;
        gap: 5vw;
        border-radius: 2vw;
    }
    .values_section .card_box h2 {
        font-size: 5vw;
        text-align: center;
    }
    .values_section .card_box p {
        text-align: center;
    }
}


/* ---APPOINTMENT STYLES--- */

.appointment_section {
    position: relative;
    padding: 15% 10%;
    background: var(--dark-blue);
    overflow: hidden;
}

.appointment_section .bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: soft-light;
    transition: .5s;
}

.active_appointment .bg_img {
    transform: scale(1.1);
}

.appointment_section .appointment_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    position: relative;
    z-index: 1;
}

.appointment_section h2 {
    color: white;
    font-size: 3vw;
    text-align: center;
}

.appointment_section p {
    color: white;
    width: 50%;
    text-align: center;
}

.appointment_section .second_button {
    color: white;
    border: .12vw solid white;
}

.appointment_section .second_button:hover {
    border: .12vw solid var(--blue);
}

@media (max-width: 996px) {
    .appointment_section {
        padding: 20% 10%;
    }
    .appointment_section .appointment_box {
        gap: 5vw;
    }
    .appointment_section h2 {
        font-size: 8vw;
        text-align: center;
    }
    .appointment_section p {
        width: 100%;
        text-align: justify;
        text-align-last: center;
    }
    .appointment_section .second_button {
        border: .5vw solid white;
    }
    .appointment_section .second_button:hover {
        border: .5vw solid var(--blue);
    }
}