/* bootstrap icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    min-height: 100dvh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* ### WHATSAPP BUTTON ### */

.wppbtn {
    position: fixed;
    background-color: #25d366;
    width: 3.47rem;
    height: 3.47rem;
    right: 1.875rem;
    bottom: 1.875rem;
    z-index: 1;
    transition: all 250ms ease;

    &:hover {
        background-color: #14639c;
        transform: scale(1.2);
    }
}

.wppbtn i {
    color: #fff;
    font-size: 2.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* ########################## */

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-none {
    box-shadow: none !important;
}

/*####################    NAVBAR    ####################*/

.menu {
    background-color: none;
    transition: background-color 500ms ease;
}

.navbar-scrolled {
    background-color: rgba(33, 33, 33, 0.95);
    transition: background-color 500ms ease;
}

.logo {
    width: 20rem;
}

/*####################################################################*/

/*####################    SECCIÓN: PORTADA    ####################*/

.intro-section {
    background: #172741;
    background: linear-gradient(0deg, #172741 0%, #14639c 35%);
    padding: 20rem;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.background-image {
    position: absolute;
    opacity: 0.25;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: fit-content;
    overflow: hidden;
    z-index: -100;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intros {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    top: 10px;
}

.intros h1 {
    font-weight: 800;
    font-size: 3.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.frontpage-btns {
    gap: 1rem;
    margin-top: 4rem;
    max-width: 100%;
}

.frontpage-btns button {
    width: 20rem;
}

/*####################################################################*/

/*####################    SECCIÓN: SERVICIOS    ####################*/

.features .feature-icons {
    margin-top: 120px;
}

.features .feature-icons h3 {
    color: #222425;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.features .feature-icons .content .icon-box h4 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #222425;
}

.features .feature-icons .content .icon-box p {
    font-size: 15px;
    color: #848484;
}

/* ### new ### */

/*####################################################################*/

/*####################    SECCIÓN: TRABAJOS REALIZADOS    ####################*/

.gallery {
    margin-top: 40px;
}

.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .gallery-item img {
    transition: 0.3s;
}

.gallery .gallery-links {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
    line-height: 1.2;
    margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
    color: #fff;
}

.gallery .gallery-links .details-link {
    font-size: 30px;
    line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
    opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
    margin-top: 0;
}

.gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.glightbox-clean .gslide-description {
    background: #222425;
}

.glightbox-clean .gslide-title {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/*####################################################################*/

/*####################    SECCIÓN: CONTACTO    ####################*/

.get-started {
    padding: 4rem 0;
    background-color: #e9ecef;
}

.form {
    padding: 0.5rem;
}

.form button {
    border: none;
    color: #fff;
    text-transform: capitalize;
}

.form button a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
}

/*####################################################################*/

/*####################    SECCIÓN: FOOTER    ####################*/

footer {
    background-color: #151414;
}

.footer {
    padding-top: 1rem;
    background-color: #151414;
}

.footer-sm a {
    color: #fff;

    &:hover {
        color: #40bfff;
    }
}

.footer-sm a i {
    font-size: 1.5rem;
    margin: .5rem;
}

.footer-bottom {
    background-color: #151414;
}

.footer-bottom__copyright {
    color: #6c757d;
    font-weight: 400;
}

.footer-bottom__copyright a {
    color: #dee2e6;
    text-decoration: none;
}

.footer-bottom__copyright a:hover {
    color: #14639c;
    text-decoration: underline;
}

.contact-box {
    position: relative;
}

.contact-box__icon {
    width: 2rem;
    stroke: #14639c;
    padding-top: 0.5rem;
}

@media (min-width: 576px) {
    .contact-box__icon {
        width: 4rem;
    }

    .contact-box__info--title {
        font-size: 1.4rem;
    }

    .contact-box__info--subtitle {
        font-size: 1rem;
    }

}

.contact-box__info {
    padding: 0.4rem;
    font-weight: 600;
}

.contact-box__info--title {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.contact-box__info--subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: none;
}

.campany-list {
    display: block;
    list-style-type: none;
    position: relative;
}

.campany-list li {
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.campany-list li a {
    color: #fff;
    text-decoration: none;
}

.campany-list li a:hover {
    color: #14639c;
}

/*####################################################################*/

/*####################    MEDIA QUERIES    ####################*/

@media (min-width: 992px) {
    .display-3--title {
        font-size: 1.8rem;
    }

    .nav-item {
        position: relative;
    }

    .nav-item .nav-link {
        position: relative;
        text-decoration: none;

        &::before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: #ffffff85;
            transition: width 250ms ease, left 250ms ease, background-color 250ms ease;
            transform-origin: bottom center;
        }

        &:hover::before {
            width: 100%;
            background-position: 100% 0;
            left: 0;
        }
    }

    .nav-item .nav-link.hovered::before {
        background-color: #fff;
    }

}

@media (max-width: 991px) {
    .menu {
        background-color: rgba(33, 33, 33, 0.95);
    }

    .navbar-scrolled {
        background-color: rgba(33, 33, 33, 0.95);
    }

}

@media (max-width: 976px) {

    .intros h1 {
        font-size: 2.5rem;
    }

}

@media (max-width: 768px) {
    .features .feature-icons h3 {
        font-size: 28px;
    }
}

@media (max-width: 738px) {

    .intros h1 {
        font-size: 2rem;
    }

}

@media (max-width: 705px) {

    .intros h1 {
        font-size: 1.7rem;
    }

}

@media (max-width: 663px) {
    .intro-section {
        padding: 5rem;
    }
}

@media (max-width: 662px) {
    .intros {
        position: relative;
        top: 20px;
    }

}

@media (max-width: 480px) {

    .frontpage-btns {
        flex-direction: column;
    }
}

@media (max-width: 425px) {
    .logo {
        width: 10rem;
    }
}

@media (max-width: 350px) {
    .intro-section {
        padding: 5rem;
    }

    .intros {
        position: relative;
        top: 20px;
    }

    .intros h1 {
        font-size: 1.5rem;
    }

    .frontpage-btns button {
        width: 15rem;
    }

}