/* Custom styles */
.masthead {
    background: url('assets/hero-bg.jpg') no-repeat center center;
    background-size: cover;
}
.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}
.nav-link.active {
    font-weight: bold;
    color: #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}
.services-section {
    background-color: #e0f7fa;
}
.service-box {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.services-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-box {
    flex: 1 1 200px; /* Adjust the minimum width as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Responsive h3 styles */
.service-box h3 {
    font-size: 1.5rem; /* Use rem units for scalability */
    margin: 0.5em 0;
    word-wrap: break-word; /* Ensure long words break to fit within the container */
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .service-box h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .service-box h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .service-box h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .service-box h3 {
        font-size: 1.1rem;
    }
}
