
:root {
    --color-blue: #0426a0;
    --dark-blue: #000014;
    --bg-light-blue: #e5efff;
    --main-color: #009bce;
}


* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    overflow: scroll;
    overflow-x: hidden;
}


html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: "Inter Tight", serif;
    font-size: calc(13px + 2*(100vw - 320px)/1600);
    text-rendering: optimizeLegibility;
    -webkit-transition: background-color 1s ease;
    -o-transition: background-color 1s ease;
    transition: background-color 1s ease;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background-color: #fff;
    color: #191f30;
    letter-spacing: normal;
    font-optical-sizing: auto;
    font-feature-settings: "tnum";
}

body {
    min-height: 100vh;
    width: 100%;
}

::-moz-selection {
    background-color: var(--main-color);
    color: #f4f2f2;
    text-shadow: none;
}

::selection {
    background-color: var(--main-color);
    color: #000;
    text-shadow: none;
}

::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 6px;
    cursor: -webkit-grab;
    cursor: grab;
}

::-webkit-scrollbar-track {
    cursor: -webkit-grab;
    cursor: grab;
}


html.lenis, html.lenis body {
    height: auto;
  }
  
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  
  .lenis.lenis-stopped {
    overflow: hidden;
  }
  
  .lenis.lenis-smooth iframe {
    pointer-events: none;
  }


h1,
h2,
h3,
h4,
h5,
h6 {
    font-style: normal;
    font-weight: 700;
    color: #17171b;
}



h1 {
    font-size: calc((3.25 - 1) * 1.2vw + 1rem);
    line-height: 1;
    letter-spacing: -0.15vw;
    padding: 10px 0;
    margin-bottom: 10px;
}

h2 {
    font-size: calc((2.05 - 1) * 1.2vw + 1rem);
    line-height: 1.1;
    letter-spacing: -0.09vw;
    padding: 10px 0;
    margin-bottom: 10px;
}


h3 {
    font-size: calc(18.28571px + .45613vw);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 3vh;
}


h4 {
    font-size: calc((1.255 - 1) * 1.2vw + 1rem);
    line-height: 1.2;
    font-weight: bold;
}

h5 {
    font-size: calc(14px + .23613vw);
    margin-bottom: calc(30px + 3.5vh);
    letter-spacing: -0.042vw;
}

.pre-title {
    display: inline-block;
    position: relative;
    font-size: 85%;
    line-height: 1;
    margin-bottom: 35px;
    padding-left: 35px;
    text-transform: uppercase;
    font-weight: 600;
}

.pre-title::before {
    position: absolute;
    content: "";
    top: 40%;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: blue;
}

p,
blockquote {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    font-weight: 500;
    font-stretch: normal;
    line-height: 1.2;
}

p+p {
    margin-top: 20px;
}

p:not(:last-child) {
    margin-bottom: 28px;
}


ul {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}


.in-view {
    text-indent: 17%;
}


/* Links */


a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: 500;
    color: inherit;
    outline: none;
    text-decoration: none;
    background: transparent;
    vertical-align: baseline;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

a:hover {
    color: var(--main-color);
    text-decoration: none;
    outline: none !important;
}

a,
a>* {
    text-decoration: none;
    outline: none !important;
}


a,
button {
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

button {
    white-space: normal !important;
    word-wrap: break-word !important;
}

strong, b {
    color: rgb(32 97 141);
}


/*================================
BACKGROUND AND TEXT
================================== */

.text-blue {
    color: var(--main-color)
}


/*================================
BUTTONS
================================== */

.btn_outline {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    column-gap: 1rem;
    align-items: center;
    font-size: 110%;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid blue;
    background-size: 200% auto;
    transition: all 400ms linear;
    padding: 0.95rem 2rem;
    color: #00f;
}
.btn_outline span {
    display: inline-block;
    margin-top: 6px;
}

.btn_outline_white {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    column-gap: 1rem;
    align-items: center;
    font-size: 110%;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #fff;
    background-size: 200% auto;
    transition: all 400ms linear;
    padding: 0.95rem 2rem;
    color: #fff;
    backdrop-filter: blur(15px);
}
.btn_outline_white span {
    display: inline-block;
    margin-top: 6px;
}

.btn_outline_white:hover {
    background-color: #fff;
    color: var(--color-blue);
}


/*================================
MARGINS & SPACES
================================== */

.m-10 {
    padding-top: calc(35.14286px + 4.05042vw);
    padding-bottom: calc(35.14286px + 4.05042vw);
}

.mt-10 {
    padding-top: calc(35.14286px + 4.05042vw);
}

.mb-10 {
    padding-bottom: calc(35.14286px + 4.05042vw);
}

.space {
    padding-top: 15.5vw;
    padding-bottom: 15.5vw;
}


.space__top {
    padding-top: 12.5vw;
}

.space__bottom {
    padding-bottom: 12.5vw;
}


.container-90 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(15px + 1vw);
    padding-right: calc(15px + 1vw);
}

.max-300 {
    max-width: 300px;
}

.max-450 {
    max-width: 450px;
}

.max-550 {
    max-width: 550px;
}

.max-650 {
    max-width: 650px;
}

/*================================
IMAGES
================================== */
.rounded-2 {
    border-radius: 16px;
}


/*================================
Owl
================================== */

.owl-stage {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.owl-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}



/*================================
NAV BAR
================================== */
@keyframes fadeInNav {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0;
      top: -25px;
    }
    100% {
      opacity: 1;
      top: 0;
    } 
  }
  
nav {
    position: absolute;
    top: 0;
    z-index: 3;
    width: 100%;
    animation: 2s fadeInNav ease;
}

.nav__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
    margin-left: calc(15px + 1vw);
    margin-right: calc(15px + 1vw);
}



.nav_bar_brand a {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.nav_bar_brand img {
    width: 200px;
}

.nav__icon__wrapper {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    z-index: 2;
}

.nav__icon__text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--main-color);
    text-transform: uppercase;
    margin-top: 3px;
}

.nav__icon__lines {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}


.nav__icon__lines span {
    display: block;
    background-color: var(--main-color);
    height: 2px;
    width: 45px;
    margin-bottom: 5px;
    z-index: 4;
    border-radius: 9px;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}


  
.nav__icon__lines span:nth-child(1) {
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
  
.nav__icon__lines span:nth-child(2) {
    top: 18px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
  
.nav__icon__lines span:nth-child(3) {
    top: 36px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    margin-bottom: 0;
  }
  
.nav__icon__lines.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(20deg);
    top: -3px;
    left: 8px;
  }
  
.nav__icon__lines.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
.nav__icon__lines.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-20deg);
    top: 39px;
  }
  
  .overlay {
    width: 100%;
    height: 100vh;
    background-color: #083cf760;
    backdrop-filter: blur(15px);  
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
    visibility: hidden;
    display: flex;
    align-items: center;
  
  }
  
  .overlay.open {
    opacity: 1;
    visibility: visible;
  }
  
  .overlayContent {
    margin-top: 35px;
  }

  .nav_links_wrapper {
    background: #e2e3e6;
    border-radius: 10px;
    padding: calc(15.71429px + .42857vw) calc(21.42857px + 0.79832vw);
  }

  .nav_links_title {
    padding-bottom: calc(20.14286px + 4.05042vw);
    border-bottom: 1px dashed #0426a0;
  }

  .nav_link_item {
    position: relative;
    font-size: clamp(16px, 24 / 1440* 100vw, 24 / 1440* 100vw);
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 15px; 
    transition: transform 0.2s ease;
    overflow: hidden;
    border-bottom: 1px dashed #0426a0;
  }

  .nav_links_copyright {
    margin-top: calc(20.14286px + 4.05042vw);
    margin-bottom: 0 !important;
  }

/*================================
INDEX PAGE
================================== */

.home__header {
    background: linear-gradient(rgba(0, 1, 14, 0.5), rgba(0, 1, 7, 0.5)), url(/images/Cover-1600x1068.webp) center center / cover no-repeat;
    z-index: 4;
    min-height: 100vh;
}

.header_wrapper-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    bottom: 35px;
    z-index: 2;
    left: calc(15px + 1vw);
    right: calc(15px + 1vw);
    min-height: 100vh;
    
}

.header_wrapper-content h1 {
    color: #fff;
    font-weight: 700; 
}

.header_wrapper-content hr {
    background: hsla(0, 0%, 100%, .25);
}

.header_wrapper-content img {
    border-radius: 10px;
}
.header_wrapper-content span {
    font-size: 75%;
    color: #fff;
    text-transform: uppercase;
}

.header__slider-item {
    width: 100%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: end;

}

.rellax_intro {
    position: relative;
    z-index: 5;
}

.pool_services_bg {
    background: linear-gradient(rgba(0, 1, 14, 0.7), rgba(0, 1, 7, 0.7)), url(/images/pool.webp) center center / cover no-repeat;
}

.pool_services_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.pool_services {
    background-color: #fff;
    border: 1px solid #191f30;
    border-radius: 8px;
    padding: 15px;
}

.pool_services_number {
    display: flex;
    color: #000;
    font-weight: bold;
    margin-bottom: calc(35px + 3.5vw);
}

.pool_services h3 {
    position: relative;
    font-size: 130%;
    color: #009bce;
    padding-top: 15px;
    margin-bottom: 0;
}
.pool_services h3::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 15%;
    height: 3px;
    background-color: #009bce;
}



.center_bg {
    background: linear-gradient(rgba(0, 1, 14, 0.5), rgba(0, 1, 7, 0.5)), url(/images/pool.webp) center center / cover no-repeat;
    min-height: 100vh;
}

.reasons_item {
    border-bottom: 1px dotted #000014;
    padding-bottom: 20px;
}


/* ==========================
FOOTER
=============================*/
footer {
    background-color: #000014;
}
.footer_cta_wrapper {
    background-color: #000014;
}

.footer_cta {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(rgba(0, 1, 14, 0.4), rgba(0, 1, 7, 0.4)), url(/images/pool-bottom.webp) center center / cover no-repeat;
    border-radius: 10px;
    min-height: 650px;
    padding: calc(15px + .65vw);
}

.footer_cta h2 {
    font-size: calc((3.25 - 1)* 1.2vw + 1rem);
    color: #fff;
    line-height: 1;
    letter-spacing: -0.15vw;
    padding: 10px 0;
    margin-bottom: 10px;
}
.footer_cta h2 a {
    font-weight: 700 !important;
    line-height: 1.2;
    color: var(--main-color);
}

.footer_cta p {
    font-size: calc(14px + .25vw);
    color: #fff;
    line-height: 120%;
    max-width: 600px;
}

.footer_cta_link {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: calc(13px + .35vw);
    font-weight: 600;
    line-height: 110%;
    fill: #FFF;
    color: #FFF;
    background-color: #61CE7000;
    backdrop-filter: blur(3px);
    border: 1px solid #fff;
    width: calc(100px + 3.5vw);
    height: calc(100px + 3.5vw);
    border-radius: 100%;
    margin-top: calc(15.14286px + 3.05042vw);
    padding: 1.8vw 1.8vw 1.8vw 1.8vw;
    margin-left: auto;
    margin-right: auto;
}

.footer_cta_link:hover {
    background-color: #00f;
    border: 1px solid #00f;
    color: #fff;

}

.footer_content h4 {
    color: #009bce;
    border-bottom: 1px solid hsla(0, 0%, 100%, .5);
    padding-bottom: 10px;
    margin-bottom: 50px;
}

.footer_contacts {
    display: flex;
    justify-content: start;
    gap: 2rem;
    color: rgb(255, 255, 255, 0.7);
    margin-bottom: 1.5em;
    font-weight: 600;
    font-stretch: normal;
    line-height: 1.2;
}
.footer_icon {
    height: 24px;
    margin-right: 5px;
    filter: invert(1);
}

.footer_content_links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    color: rgb(255, 255, 255, 0.7);
}

.footer__content li {
    display: inline;
}

.footer_address {
    display: flex;
    gap: .25rem;
    color: rgb(255, 255, 255, 0.7);
}

.footer_socials_wrapper {
    display: flex;
    justify-content: flex-start;
   gap: 2rem;
}

.footer__content__line {
    background: hsla(0, 0%, 100%, .55);
 
}

.footer__copyright {
    padding: calc(10px + .5vw) 0;
}
.footer__copyright p {
    color: rgb(255, 255, 255, 0.7);
}


/*================================
Media Queries
================================== */

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    .w-75 {
        width: 100% !important;
    }

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

    body {
        font-size: calc(15px + 2*(100vw - 320px)/1600);
    }

    h1 {
        font-size: calc((5.25 - 1) * 1.2vw + 1rem);
        line-height: 1;
    }
    h2 {
        font-size: calc((3.55 - 1)* 1.2vw + 1rem);
    }

    .h2 {
        font-weight: 400;
        line-height: 1.1;
    }

    .nav_bar_brand img {
        width: 150px;
    }

    .nav__icon__wrapper {
        gap: .35rem;
    }

    .nav__icon__text {
        font-size: 90%;
        font-weight: bold;
        margin-top: 3px;
    }

    .nav__icon__lines span {
        height: 2px;
        width: 30px;
        margin-bottom: 3px;
    }

    .nav__tel {
        display: none;
    }

    .home_services_item h4 {
        font-size: calc(20.28571px + .45613vw);
    }

    footer {
        padding-top: 15px;
    }

    .footer_socials_wrapper {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
    }

    .footer_cta {
        min-height: 450px;
    }

    .footer_cta h2 {
        font-size: calc(28.28571px + .45613vw);
    }
   
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

    .container-90 {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-left: auto;
        margin-right: auto;
        }

    .content-reverse {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .content-reverse-2 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }  

    .menu{
        right: -100vw;
        width: 93vw
    }

    .menu_btn{
        padding-top: 2.5px;
    }

    .header__slider-container-small-img-1 {
        position: absolute;
        left: 80px;
        top: calc(-35px - 4.5vw);
    }
    .header__slider-container-small-img-2 {
        position: absolute;
        left: 20%;
        bottom: -30px;
    }


    .global__header-content {
        padding-top: calc(57px + 5vh);
    }
    
    .negative__header-image {
        margin-bottom: 50px;
    }

   

    
}