:root{
    --color-1: #fff;
    --text-color: #333333;
    --accent-color: #dddddd;
    --principal-text: #353535;
    --text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}
body {
    background-color: #f7f7f7;
    box-sizing: border-box;
}
.carousel-container {
    width: 710px;
    height: 533px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}
.carousel-container:hover .prev, .carousel-container:hover .next {
    opacity: 1;
    transition: opacity 0.8s ease;
}
.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}
.carousel img {
    min-width: 710px;
    height: 533px;
    object-fit: cover;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 100% 5px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.prev { left: 0; }
.next { right: 0; }

.hidden-form-form {
    padding: 25px 40px;
    background-color: #ebebeb;
    box-shadow: var(--box-shadow);
    display: none;
}

.hidden-form {
    color: var(--color-1);
    background-color: var(--principal-text);
    padding: 15px 30px;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
}

/*///////////////////////////////////////*/

.principal-layout {
    max-width: 1200px;
    margin: 2em auto;
    display: flex;
    gap: 1.5em;
    min-height: 150vh;
    padding: 0 2em;
    padding-bottom: 70px;
    justify-content: center;
}
.first-part {
    border: 1.5px solid #9e9e9e;
    padding: 0 20px 10px 20px;
    box-shadow: var(--box-shadow);
    background-color: #fff;
}
.right-side-content {
    order: 2;
}
.right-side-content h4 {
    font-weight: 600;
    font-size: 18px;
    margin: 15px 0;
}
.section-flex {
    display: flex;
    gap: 20px;
}
.section-flex p {
    font-size: 14px;
    padding-bottom: 7px;
}
.section-flex p:not(.gray-text) {
    font-weight: 600;
}
.section-flex p:first-child {
    text-decoration: underline;
    font-size: 15px;
}
.gray-text {
    color: #7e7e7e;
}
.left-side-content {
    display: flex;
    flex-direction: column;
    align-items: left;
    max-width: 710px;
}

.bottom-content {
    padding: 20px 0;
}

.bottom-content span {
    font-size: 20px;
    font-weight: 600;
    color: #48e;
    padding-right: 5px;
    text-shadow: var(--text-shadow);
}

.bottom-content p {
    font-weight: 300;
    font-size: 16px;
}
.bottom-content .fa-location-dot {
    font-size: 23px;
    color: #48e;
    margin: 10px 0;
    padding-right: 5px;
}
.bottom-content ul {
    padding-left: 20px;
    padding-top: 10px;
}
.bottom-content li {
    list-style: none;
    margin-bottom: 5px;
}

.fa-arrow-right-long {
    color: #48e;
    padding-right: 15px;
}

.divisor {
    max-width: 500px;
    margin: 39px auto;
    height: 2px;
    background-color: #48e;
    border-radius: 50px;
}

iframe {
    max-width: 100%;
}

/*FORM*/

form {
    display: flex;
    flex-direction: column;
    padding: 1em;
    border: 1.5px solid #9e9e9e;
    margin-top: 1em;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 20px;
    background-color: #fff;
}

form h5 {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}
input, textarea, button {
    font-family: 'Poppins';
    padding: 8px 12px;
    margin-bottom: 13px;
}

input:focus, textarea:focus {
    outline: none;
}

textarea {
    resize: none;
    min-height: 150px;
}
#form-button {
    font-size: 16px;
    background-color: var(--principal-text);
    color: var(--color-1);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#form-button:hover {
    background-color: var(--color-1);
    color: var(--principal-text);
    transition: background-color 0.3s ease;
}

/*MEDIA QUERY*/

@media (max-width: 1050px) {
    .principal-layout {
        padding: 0 1.5em;
    }
    .right-side-content {
        display: none;
    }
    .hidden-form-form, .hidden-form {
        display: block;
    }
}

@media (max-width: 750px) {
    .carousel-container {
        width: 500px;
        height: 375px;
    }
    .carousel img {
        min-width: 100%;
        height: 100%;
    }
    .prev, .next {
        opacity: 1;
        transition: opacity 0.8s ease;
    }
}

@media (max-width: 500px) {
    .carousel-container {
        width: 320px;
        height: 240px;
        border-radius: 5px;
    }
    .prev, .next {
        background-color: transparent;
        color: white;
        text-shadow: var(--text-shadow);
    }
    .bottom-content p, .bottom-content li {
        font-size: 14px;
    }
}