/* General body styling for smooth scrolling */
body {
    padding-top: 56px; /* Height of the fixed navbar */
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrollbar from animations */
}

/* Home Section Styling */
#home {
    height: 60vh;
    width: 100%;
    padding: 0;
}

#home .carousel,
#home .carousel-inner,
#home .carousel-item {
    height: 100%;
}

#home .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay for better text readability on the background images */
#home .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

#home .carousel-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 15px;
}

#home .carousel-container h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Service cards styling */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Modal Form Steps */
.form-step {
    display: none;
}

.form-step-active {
    display: block;
}

/* Responsive Map */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

/* Apply Dynamic Colors */
.bg-primary, .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--light-color);
}

.testimonial-card {
    border: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}