/* Mobile styles (0px - 600px) */

.navbar {
    flex-direction: column;
    padding: 15px;
}

.banner {
    width: 100%;
    height: auto;
}

.nav-right {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.section h1 {
    font-size: 2em;
}
/* Mobile section styling */
.section {
    width: 100%;
    padding: 60px 0; /* top and bottom padding only */
    text-align: center;
}

.section .content {
    width: 80%;
    margin: 0 auto;        /* center horizontally */
    text-align: center;
}


.service-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.block {
    width: 90%;
    max-width: 500px;
    margin: 10px auto;
}

/* Mobile carousel - show only 1 image at a time */
.carousel-container {
    height: 200px;
}

.carousel {
    justify-content: center;
    position: relative;
}

.carousel-item {
    width: 90%;
    height: 100%;
    opacity: 0;
    transform: scale(0.9);
    position: absolute;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.arrow-left,
.arrow-right {
    display: block;
    top: 45%;
} 

.footer {
    font-size: 0.9em;
}
