/* General styling */
body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

/* Slider Section */
.hp-slider-container {
    padding: 0;
}

.slider-gallery {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.upload-form {
    display: block;
    margin-top: 10px;
    text-align: center;
}

/* Gallery styling */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    padding: 6px;
    border: 1px solid #00a2ac;
}

.gallery-item img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-item form {
    margin: 0;
}

.item-buttons {
    position: absolute;
    top: 5px;
    right: 5px;
    left: 5px;
    width: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 5px;
}

.centered-form {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* Carousel */
#hp-main-slider {
    background-color: #cce5e9;
}

#hp-main-slider .carousel-inner {
    max-height: 600px;
    overflow: hidden;
}

#hp-main-slider .carousel-inner img {
    max-height: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.main-info-wrapper {
    position: absolute;
    z-index: 2;
    padding: 20px;
    width: 510px;
    max-height: 100vw;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #00a2ac;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.main-info-wrapper .call {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}

.main-info-wrapper .fa-footer {
    color: #333;
    margin: 0 5px 0 0;
    padding: 0;
}

.free-services {
    position: absolute;
    max-height: 60px;
    bottom: 10px;
    right: 10px;
}

@media (max-width: 767px) {
    .main-info-wrapper {
        width: 350px;
        padding: 0 5px;
    }

    .main-info-wrapper h1 {
        font-size: 20px;
    }

    .main-info-wrapper .lead {
        font-size: 16px;
    }

    .free-services {
        max-height: 30px;
    }
}

