body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling */


}


.hero {
    position: relative;
    height: 75vh;
    background: url('/images/hero-image.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between; /* This ensures items are spaced on the left and right */
    padding-left: 10%; /* Ensure enough space on the left */
    padding-right: 10%; /* Ensure enough space on the right */
}

.hero::before {
    content: ""; /* Required for a pseudo-element */
    position: absolute; /* Positions relative to the .hero container */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Black overlay with 50% opacity */
    z-index: 1; /* Ensures the overlay is above the background image but below the content */
}

/* Ensure that content on top of the .hero section is not affected by the overlay */
.hero > * {
    position: relative; /* Makes direct children stack above the pseudo-element */
    z-index: 2;
}

.hero-text {
    max-width: 80%;
    /* Limit the width of the text block to mimic the provided image */
    color: white;
    /* Assuming white text for visibility */

}

.hero h2 {
    margin-bottom: 10px;
    /* Space below the heading */
    font-size: 2.5em;
    /* Larger font size for the heading */
}

.hero p {
    margin-bottom: 10px;
    /* Space above the button */
    font-size: 1.2em;
}

.contact-btn {
    padding: 10px 20px;
    background-color: #007bff;
    /* Button background color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    /* Smooth color transition on hover */
}

.contact-btn:hover {
    background-color: #2980b9;
    /* Darker blue on hover */
}

.formBox {
    max-width: 500px;
    width: 30%;
    margin: 30px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
}

.formBox h3 {
    text-align: center;
    color: #333;
}

.formBox form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formBox form input[type="text"],
.formBox form input[type="email"],
.formBox form input[type="date"],
.formBox form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.formBox form select {
    cursor: pointer;
}

.formBox form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.formBox form button:hover {
    background-color: #0056b3;
}


/* --------------------- Service Section Start ----------------------------------- */
.service-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f6f8;
    color: #333;
    padding: 70px;
    gap: 2em
}

.service-section-text h4 {
    color: #157ae0;
}

.service-section-text p {
    margin-top: 10px;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    color: #757575;
    line-height: 1.75;
}

.service-section-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-cards {
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    padding-bottom: 40px;
}

.service-section-cards h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.service-section-cards p {
    font-weight: 300;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-top: 10px;
}

.learn-more {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 10px;
    display: inline-block;
}

.service-cards img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blue-line {
    height: 2px;
    /* Thickness of the line */
    background-color: #007bff;
    /* Color of the line */
    width: 10%;
    /* Full width */
    margin: auto;
    /* Margin for spacing */

}

.mobile-submit-button{
    display: none;
}

.package-container {
    padding: 50px;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-text {
        max-width: 90%;
    }

    .hero h2 {
        font-size: 3em;
    }

    .hero p {
        font-size: 1em;
    }

    .formBox {
        max-width: 300px;
    }

    .service-section {

        padding: 30px;

    }
    

    .service-section-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-section-text p {
        width: 80%;
    }

    .formBox {
        display: none;
    }

    .contact-btn{
        display: none;
    }

    .hero {
        flex-direction: column;
        justify-content: unset;
        justify-content: center;
        gap: 30px;;
    }
    
    .mobile-submit-button{
        display: block;
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        width: 60%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .formBox {
        padding: 15px;
    }

    .service-section-cards {
        grid-template-columns: 1fr;
    }

    .service-section-text p {
        width: 90%;
    }
}