@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.home-container {
    position: relative;
    background-color: #024EA2;
    width: 100%;
    height: 80vh;
    background-image: url('../img/index_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
    clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
}

.products-container {
    position: relative;
    background-color: #024EA2;
    height: 600px;
    background-image: url('../img/products_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
    clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);
}

.home-container::after,
.products-container::after {
    content: '';
    width: 100%;
    height: 40vh;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background-image: linear-gradient(to bottom, rgba(0, 37, 97, 1) 15%, rgba(0, 37, 97, 0));
}


/* SCROLL DOWN ANIMATION */

.mouse {
    width: 25px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    display: flex;
    position: absolute;
    z-index: 3;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.mouse-wheel {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    margin: auto;
    animation: move-wheel 1s infinite;
}

@keyframes move-wheel {
    0% {
        opacity: 0;
        transform: translateY(-1rem);
    }
    100% {
        opacity: 1;
        transform: translateY(1rem);
    }
}


/* cards style */

.products-title {
    background-color: #009DD9;
    color: #fff;
    border-top-right-radius: 5px;
}

.products-text {
    background-color: #024EA2;
    color: #fff;
}

.products-img {
    border-radius: 5px 0 0 5px;
}

.carousel-item img {
    height: 300px;
}


/* Scroll to top*/

#scroll-to-top {
    position: fixed;
    display: none;
    font-size: 2rem;
    padding: 9px 20px;
    bottom: 25px;
    right: 25px;
    border-radius: 50%;
    background-color: red;
    color: white;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    cursor: pointer;
}

.google-map {
    width: 100%;
    height: 400px;
}

@media only screen and (max-width: 1100px) {
    .home-container,
    .products-container {
        clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
    }
    .products-container {
        max-height: 200px;
    }
    .home-container::after {
        height: 65vh;
        background-image: linear-gradient(to bottom, rgba(0, 37, 97, 1) 25%, rgba(0, 37, 97, 0));
    }
    .products-container::after {
        height: 25vh;
        background-image: linear-gradient(to bottom, rgba(0, 37, 97, 1) 25%, rgba(0, 37, 97, 0));
    }
    .google-map {
        height: 200px;
    }
    #scroll-to-top {
        font-size: 1.3rem;
        padding: 9px 16px;
        bottom: 25px;
        right: 25px;
    }
    .products-title {
        border-top-right-radius: 0;
    }
    .products-img {
        width: 100%;
        max-height: 250px;
        object-fit: cover;
        border-radius: 5px 5px 0 0;
    }
}