#page {
    padding-top: 0px;
}

/* HERO */

.page-hero {
    position: relative;
    padding: 17rem 0 3.5rem;
    background-size: cover;
    background-position: top;
    background-color: var(--tertiaryColor);
}

.page-hero:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: rgba(0,0,0,0.55);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-hero h1 {
    font-size: 5rem;
    color: white;
}

.page-hero a:hover {
    background: var(--secondaryColor);
    border-color: var(--secondaryColor);
    filter: brightness(1.1);
}

/* CONTENT */

section {
    padding: 5rem 0;
}

section.page-section {
    padding: 3rem 0;
}

#page-content .content h3, #page-content .content h4 {
    padding-bottom: 1.5rem;
}

#page-content .content ol, #page-content .content ul {
    list-style-position: outside;
    padding-left: 2rem;
}

.content p {
    padding-bottom: 1.5rem;
}
.content p:last-of-type {
    padding-bottom: 0;
}
.content p a {
    text-decoration: underline;
}

.content h3 {
    padding-bottom: 1rem;
}

/* SERVICES */

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
}

.service-row:nth-of-type(even) > div {
    order: 2;
}

.service-row h3 {
    margin-top: 1rem;
    font-size: 3rem;
    line-height: 3.375rem;
    color: var(--primaryColor);
    margin-bottom: 2rem;
}

.service-row span {
    font-weight: 500;
    font-size: 1.15rem;
    display: block;
    margin: 2rem 0 0;
}

.service-row ul {
    list-style: none;
    padding-left: 0;
}

.service-row li {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    align-items: center;
}

.service-row a {
    font-size: 0.9rem;
    margin-top: 2rem;
}

.service-row img {
    width: 100%;
}

/* ABOUT */
.about-top {
    background: var(--tertiaryColor);
}

.about-top h2 {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 140%;
}

.vision-bg {
    display: flex;
    padding: 3.125rem 3.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--primaryColor);
    background: #FFF;
}

/* CTA */

.cta-section {
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--tertiaryColor);
}

.cta-section .container {
    position: relative;
    max-width: 60rem;
}

.cta-section h2 {
    color: white;
}

.cta-section a {
    margin: 1rem auto 0;
}

.cta-section a:hover {
    background: var(--secondaryColor);
    border-color: var(--secondaryColor);
    filter: brightness(1.1);
}

img.icon {
    height: 40px;
    width: 40px;
    display: block;
}

/* ACCORDIONS */

.why-content {
    flex: 0 0 40%;
}

.accordions {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2rem;
    min-width: 60%;
}

.accordion {
	display: flex;
    flex-direction: column;
    border-bottom: 1px solid #071f40;
    padding: 0 0 2rem;
    gap: 1.25rem;
    cursor: pointer;
}
.accordion:last-of-type {
    border-bottom: none;
}
.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.2s all;
    gap: 20px;
}
.accordion-title h3 {
    font-size: 2rem;
    font-weight: 400;
    text-transform: none;
    display: flex;
    gap: 24px;
}
.accordion-title span {
    height: 10px;
    transform: rotate(180deg);
    transition: 0.15s all;
}
.accordion.active .accordion-title span {
    transform: rotate(0deg);
}
.accordion-title:hover, .accordion.active .accordion-title {
    color: var(--secondaryColor);
}
.accordion-content {
    display: none;
}
.accordion-content p {
    font-size: 1.25rem;
    line-height: 170%;
	letter-spacing: 0.2px;
}
.accordion-content p a {
    text-decoration: underline;
}
.accordion-content ul li {
    font-size: 1.25rem;
    line-height: 170%;
	letter-spacing: 0.2px;
}

/* CAROUSEL */

.slick-arrow {
    background: var(--primaryColor);
    opacity: 0.7;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
    transition: 0.2s all;
}

.slick-arrow:hover {
    opacity: 1;
}

.slick-arrow i {
    margin-top: 3px;
    color: var(--secondaryColor);
}

.slick-prev {
    left: -75px;
}

.slick-next {
    right: -75px;
}

.stars i {
    color: orange;
}

/* GALLERY */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
    gap: 1.25rem;
    justify-content: center;
}

.gallery-item {
    flex: 23.7% 1 1;
    aspect-ratio: 7 / 6;
    cursor: pointer;
    position: relative;
    min-width: 200px;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3131319e;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s all;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--primaryColor);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: #313131cf;
}

.modal-content {
    position: relative;
    margin: auto;
    width: 80%;
    max-width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#modal-image {
    max-height: 90vh;
    width: auto;
    object-fit: cover;
    margin: 0 auto;
}

/* Modal Navigation buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: calc(50% - 15px);
    user-select: none;
    -webkit-user-select: none;
    background: var(--primaryColor);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: 0.2s all;
}
.prev:hover, .next:hover {
    filter:brightness(1.2);
}
.prev img, .next img {
    height: 30px;
}
.prev { left: 15px; }
.next { right: 15px; }

.close {
    position: absolute;
    top: 55px;
    right: 25px;
    color: #212121;
    font-weight: 300;
    cursor: pointer;
    background: #EFEDED;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 48px;
    text-align: center;
    transition: 0.2s all;
}
.close img {
    height: 17px;
    width: auto;
    max-width: 100%;
    border-radius: 0;
}
.close:hover {
    background: var(--secondaryColor);
}

/* NEWSLETTER */

form.newsletter {
    display: flex;
    gap: 5px;
}

form.newsletter input {
    padding: 0.75rem;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 1.1rem;
    width: 350px;
    outline: none;
}

small.newsletter-disclaimer {
    font-size: 0.7rem;
    max-width: 30rem;
    text-align: center;
}
