/* HERO SECTION */
#section-hero {
    margin-top: 6vh;

    width: 100%;
    height: calc(100vw * (9 / 21));
}
#carousel {
    position: absolute;

    width: 100%;
    height: calc(100vw * (9 / 21));
    
    z-index: 501;
}
#carousel .carousel-slide {
    width: 100%;
    height: calc(100vw * (9 / 21));
    
    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#carousel .carousel-slide .hero-header {
    position: absolute;
    margin-left: -50%;
}
#carousel .carousel-slide .hero-header h1 {
    color: var(--accent-col);
    font-size: calc(1vw * 1.618 * 1.618);
    
    padding-left: 2vw;
    border-left: solid 1vw var(--accent-col);
    
    overflow: hidden;
    white-space: nowrap;
    animation: typing 1s steps(500, end) forwards;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
#carousel .carousel-slide .hero-header p {
    color: #fff;
    
    font-size: 1vw;
    
    padding: 3vh 0;
}
#carousel .carousel-slide .hero-header p span {
    color: var(--accent-col);
    
    font-size: 1vw;
    font-weight: bolder;
}
#carousel .carousel-slide img {
    max-height: calc(100vw * (9 / 21));
}
#carousel-indicator {
    position: absolute;

    width: 100%;
    height: calc(100vw * (9 / 21));
    
    z-index: 503;

    display: none;
}
#carousel-control {
    position: absolute;

    width: 100%;
    height: calc(100vw * (9 / 21));

    z-index: 502;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#carousel-control .ccontrol-btn {
    width: 5%;
    height: calc(100vw * (9 / 21));

    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-col);
}
#carousel-control .ccontrol-btn:hover {
    background-color: #22222288;
    color: var(--accent-light);
}


/* Wave animations divider; outer sourced */
@keyframes move_wave {
    0% {
        transform: translateX(0%) translateZ(0) scaleY(1)
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.55)
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1)
    }
}
.waveWrapper {
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
}
.waveWrapperInner {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: calc(100vw * (9 / 21));
    top: 6vh;
}
.bgTop {
    z-index: 15;
    opacity: 0.5;
    filter: invert(93%);
}
.bgMiddle {
    z-index: 10;
    opacity: 0.75;
    filter: invert(80%);
}
.bgBottom {
    z-index: 5;
    filter: invert(80%);
}
.bgTop-white {
    z-index: 15;
    opacity: 0.5;
    filter: invert(7%);
}
.bgMiddle-white {
    z-index: 10;
    opacity: 0.75;
    filter: invert(20%);
}
.bgBottom-white {
    z-index: 5;
    filter: invert(20%);
}
.wave {
    position: absolute;
    left: 0;
    width: 200%;
    height: calc(100vw * (9 / 21));
    background-repeat: repeat no-repeat;
    background-position: 0 bottom;
    transform-origin: center bottom;
}
.waveTop {
    background-size: 50% 5vh;
}
.waveAnimation .waveTop {
  animation: move-wave 3s;
   -webkit-animation: move-wave 3s;
   -webkit-animation-delay: 1s;
   animation-delay: 1s;
}
.waveMiddle {
    background-size: 50% 6vh;
}
.waveAnimation .waveMiddle {
    animation: move_wave 10s linear infinite;
}
.waveBottom {
    background-size: 50% 5vh;
}
.waveAnimation .waveBottom {
    animation: move_wave 15s linear infinite;
}


/* SOLUTIONS SECTION */
#section-solutions {
    width: 80%;
    height: fit-content;
    
    padding: 1vh 11% 1vh 9%;

    background-color: var(--secondary-dark);
}
#section-solutions h1 {
    padding-top: 1vw;

    color: var(--primary-col);

    font-weight: bold;
    font-size: var(--font-f2);

    text-align: center;
}
#section-solutions .container-solutions {
    width: 100%;
    height: fit-content;

    padding: 5vh 0 10vh;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;

    display: grid;
    grid-template-columns: 50% 50%;
    row-gap: 1.5vw;
    column-gap: 1.5vw;
}
#section-solutions .container-solutions .solutions-card {
    position: relative;

    padding: 3vh 10vw 3vh 2vw;

    width: calc(100% - 12vw);
    background-color: var(--secondary-col);
    border-radius: 2vh;

    overflow: hidden;
}
#section-solutions .container-solutions .solutions-card .card-bg {
    display: flex;
    flex-direction: column;

    width: 80%;
}
#section-solutions .container-solutions .solutions-card .card-bg .card-title {
    position: relative;

    text-align: start !important;
    
    font-size: var(--font-f1);
    font-weight: bold;
    color: var(--accent-col);

    display: grid;
    grid-template-columns: 3vw 1fr;
    
    padding: 1vh 0 2vh;

    z-index: 506;
}
#section-solutions .container-solutions .solutions-card .card-bg p {
    position: relative;

    color: var(--primary-col);

    padding-bottom: 5vh;
    padding-left: 3vw;

    font-size: 1vw;

    z-index: 506;
}
.container-solutions .solutions-card .card-bg a {
    position: relative;
    
    background-color: var(--accent-light);
    color: var(--secondary-dark);
    box-shadow: inset 0 0 0 0.25vh var(--accent-col);

    margin: 2vh 3vw;
    padding: 1vh 5%;
    border-radius: 3vh;

    text-decoration: none;
    font-size: 1vw;
    font-weight: bold;

    z-index: 506;
}
.container-solutions .solutions-card .card-bg a:hover {
    background-color: var(--secondary-dark);
    color: var(--accent-col);
}
.container-solutions .solutions-card .card-bg .card-list {
    position: relative;
    
    color: var(--primary-col);
    padding-left: 4vw;

    z-index: 506;
}
#section-solutions .container-solutions .solutions-card .card-fg {
    position: absolute;
    width: 100%;
    height: 60vh;

    z-index: 504;
    bottom: 0;
    right: 0;
}
#section-solutions .container-solutions .solutions-card .card-fg img {
    height: max-content;

    position: absolute;
    bottom: 0;
    right: 0;
}
#section-solutions .container-solutions .solutions-card .card-fg .card-fg-cover {
    position: absolute;
    width: 100%;
    height: 100vh;

    background-image: linear-gradient(90deg, #555, #555, #555, #555, #555, #555555aa, #55555555, #55555500);

    z-index: 505;
    bottom: 0;
    right: 0;
}

/* Blinking the divs animation */
.blink {
    box-shadow: 0 0 0 0 var(--accent-col);
    animation: blink 1s linear 2;
}
@keyframes blink {
    0% { box-shadow: 0 0 0 0 var(--accent-col); }
    50% { box-shadow: 0 0 1vw 0.2vw var(--accent-col); }
    100% { box-shadow: 0 0 0 0 var(--accent-col); }
}

/* Blinking the divs animation */
.blink2 {
    box-shadow: inset 0 0 0 0 var(--accent-col);
    animation: blink2 1s linear 2;
}
@keyframes blink2 {
    0% { box-shadow: inset 0 0 0 0 var(--accent-col); }
    50% { box-shadow: inset 0 0 1vw 0.2vw var(--accent-col); }
    100% { box-shadow: inset 0 0 0 0 var(--accent-col); }
}


/* CLIENTS SECTION */
#section-clients {
    padding: 5vh 9% 3vh;
    background: url('../images/common/wood.jpg');
    filter: grayscale(50%);
}
#section-clients #clients-header {
    grid-column: 1 / span 4;
    background-color: #00000000;
    border: none;
    box-shadow: none;
}
#section-clients #clients-header h1 {
    font-size: var(--font-f3);
    font-weight: bold;

    color: var(--primary-col);
    

    display: flex;
    align-self: center;
    justify-content: center;
}
#section-clients #clients-header p {
    font-size: 1vw;
    font-weight: bold;

    color: var(--secondary-light);
    

    display: flex;
    align-self: center;
    justify-content: center;
}
#section-clients .content-clients {
    padding: 2vw;

    background-color: #555555aa;
    border-radius: 2vh;

    box-shadow: inset 0 0 0 0.2vh #222;

    display: grid;
    grid-template-columns: repeat(8, 1fr);
    row-gap: 0.5vw;
    column-gap: 0.5vw;
}
#section-clients .content-clients div {
    background-color: #fff;
    box-shadow: 0 0 0 0.2vh var(--secondary-dark);
    padding: 0.5vw;
    height: 11vw;

    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1vh;
}
#section-clients .content-clients div img {
    padding: 0.5vh 1vw;
    filter: saturate(125%);

    transition: all 1s ease;
}
#section-clients .content-clients div p {
    padding-top: 1vw;
    text-align: center;

    color: var(--secondary-col);
}
#section-clients .content-clients div:hover img {
    padding: 0 0.5vw;
}
#section-clients .content-clients div:hover p {
    font-weight: bold;

    color: var(--secondary-dark);
}


/* ABOUT US SECTION */
#section-about {
    width: 80%;
    padding: 1vh 10%;

    background-color: var(--secondary-col);

    display: flex;
    align-items: center;

    color: var(--secondary-dark);
}
#section-about .img-about {
    height: 35vw;
    padding: 3vw;
}
#section-about .txt-about {
    padding: 3vw;
    font-size: 1vw;
}
#section-about .txt-about h1 {
    padding: 2vh 3vw 4vh 0;
    color: var(--primary-col);
    font-size: var(--font-f3);
}
#section-about .txt-about p {
    color: var(--primary-col);
    padding-bottom: 2vh;
}

/* CERTIFICATIONS */
#section-certifications {
    width: 90%;
    padding: 5vh 5% 3vh;
    background: url('../images/common/wood.jpg');
    filter: grayscale(50%);

    color: var(--secondary-dark);
}
#section-certifications h1 {
    font-size: var(--font-f3);
    font-weight: bold;
    text-align: end;
    padding: 3vh 0;

    color: var(--primary-light);
}
#section-certifications .content-cert {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0.5vw;
    column-gap: 0.5vw;
}
#section-certifications .content-cert .cert-card {
    height: 15vw;
    background-color: #ffffffcc;

    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    padding: 0.5vw;

    border-radius: 2vh;
    box-shadow: 0 0 0 0.2vh #222;
}
#section-certifications .content-cert .cert-card img {
    max-height: 14vw;
    max-width: calc(100% - 1vw);
    margin-right: 0.5vw;
    justify-self: center;
    box-shadow: 0 0 0.4vh 0 #222;
}
.cert-modal {
    position: fixed;
    top: 9%;
    left: 8%;
    width: 80%;
    height: 80%;
    background-color: #222222ee;
    border-radius: 2vh;
    z-index: 9998;
    padding: 2vw;
    box-shadow: 0 0 1vh 0 #000;
    overflow: auto;

    display: flex;
    justify-content: center;

    transform: scale(0.5);
    transition: all 0.3s ease-in-out;
}
.cert-modal.show {
    transform: scale(1);
}
.cert-modal img {
    max-width: 50vw;
    max-height: 70vw;
    box-shadow: 0 0 1vh 0 #000;
}
.cert-modal button {
    position: absolute;
    top: 1vw;
    right: 1vw;
    font-size: 1vw;
    font-weight: bold;
    background-color: #f88;
    padding: 0.5vw 0.75vw;
    border-radius: 50%;
    color: #fff;
    border: solid 0.2vw #fff;
    box-shadow: 0 0 0.5vh 0 #000;
    cursor: pointer;
    z-index: 9999;
}
.cert-modal.animated {
    animation-duration: 0.75s;
    animation-fill-mode: both;
}
.cert-modal.animated.bounce {
    animation-name: bounce;
    animation-duration: 1s;
    animation-delay: 0.1s;
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* CONTACT US SECTION */
#contacts {
    background-color: var(--secondary-dark);
    padding: 5vh 5%;
}
#contacts h1 {
    font-size: var(--font-f3);
    font-weight: bold;
    color: var(--primary-col);
    padding-bottom: 3vh;
    padding-left: 0vw;
}
#contacts p {
    color: var(--primary-col);
    font-size: 1vw;
    
    padding: 0.5vw 1vw;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
#contacts h2 {
    font-size: var(--font-f1);
    font-weight: bold;
    padding: 1.5vh 0.1vw 2vh;
    color: var(--accent-col);
    
    text-align: center;
}
#contacts i {
    font-size: var(--font-f1);
    font-weight: bold;
    color: var(--primary-light);
}
#contacts .con-contacts {
    width: 100%;
    display: grid;
    grid-template-columns: 45% 30% 1fr;
    column-gap: 3vw;
}
#contacts .con-contacts .half-con-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
#contacts .con-contacts .half-con-contacts .google-map {
    width: 100%;
    padding: 0.2vw;
    padding-bottom: 0vw;

    background-color: #fff;

    border-radius: 1vh;
}
#contacts .con-contacts .half-con-contacts .google-map iframe {
    width: 100%;
    height: 40vh;

    border-radius: 1vh;
}
#contacts .con-contacts .half-con-contacts .hclogo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#contacts .con-contacts .half-con-contacts .hclogo img {
    width: 80%;
    padding: 1vh 10%;
}
#contacts .con-contacts .half-con-contacts .hclogo p {
    background-color: var(--secondary-col);
    margin-top: 1vh;
    text-align: end;

    border-radius: 1vh;
}
#contacts .con-contacts .half-con-contacts .con-social {
    width: 100%;
    margin-top: -4.2vw;
}
#contacts .con-contacts .half-con-contacts .con-social p {
    padding: 2.5vw 0 0;
    margin: 0;
}
#contacts .con-contacts .half-con-contacts .con-social button {
    width: 100%;
    padding: 1vw;

    margin-top: 1vw;
    font-size: var(--font-f0);
    font-weight: bold;

    display: flex;
    justify-content: space-between;
    line-height: 1.3vw;

    border: none;
    border-radius: 1vh;
}
#contacts .con-contacts .half-con-contacts .con-social i {
    font-size: var(--font-f1);
    color: var(--secondary-dark);
}
#contacts .con-contacts .half-con-contacts .con-social #soc-fb {
    box-shadow: 0 0 0 0.2vw #3b5998;
    background-color: #9bf;
    
    transition: all 0.5s ease;
}
#contacts .con-contacts .half-con-contacts .con-social #soc-fb:hover {
    background-color: #3b5998;
}
#contacts .con-contacts .half-con-contacts .con-social #soc-tt {
    box-shadow: -0.2vh -0.2vh 0 0.2vh #69c9d0, 0.2vh 0.2vh 0 0.2vh #ee1d52;
    background-color: #fff;
    color: #222;
    
    transition: all 0.5s ease;
}
#contacts .con-contacts .half-con-contacts .con-social #soc-tt:hover {
    background: linear-gradient(170deg , #69c9d0, #fff, #fff, #ee1d52);
}
#contacts .con-contacts .half-con-contacts .con-social #soc-wa {
    box-shadow: 0 0 0 0.4vh #25D366;
    background-color: #4f8;
    
    transition: all 0.5s ease;
}
#contacts .con-contacts .half-con-contacts .con-social #soc-wa:hover {
    background-color: #25D366;
}
#contacts .con-contacts .half-con-contacts .con-social #soc-em {
    box-shadow: 0 0 0 0.4vh #fd2;
    background-color: #ff8;
    
    transition: all 0.5s ease;
}
#contacts .con-contacts .half-con-contacts .con-social #soc-em:hover {
    background-color: #fd2;
}


/* FOOTER */
#footer {
    background-color: var(--secondary-dark);
    color: var(--primary-col);

    width: 100%;
    padding: 3vh 0;
    text-align: center;
    font-weight: bold;
}