        .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images scale well without distortion */
}

.carousel-item {
    height: 87vh; /* Default for larger screens */
}

@media (max-width: 768px) {
    .carousel-item {
        height: 90vh; /* Reduced height for mobile screens */
    }
}

.carousel-caption {
    position: absolute;
    bottom: 10%;
    text-align: center; /* Adjust text placement */
    padding-left: 0;
}
.border-right {
    border-right: 2px solid #ddd; /* Customize the color and thickness */
}

.service-part ul li a
{
    color: black;
}

.service-part ul li a:hover
{
    text-decoration: underline;
}
.link-style {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.link-style:hover {
    text-decoration: underline;
}

/* Apply blur to the modal content, but not the spinner */
.modal-content.loading .modal-body {
    filter: blur(5px);  /* Apply blur to the content inside the modal */
}

/* Ensure the loading spinner sits above the modal content */
.modal-loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Make sure it's above the blurred content */
}

/* Spinner styles */
.loading-spinner {
    display: inline-block;
    font-size: 1.6rem;
    color: #007bff;
}



    @media (max-width: 768px) {
        .contact-map iframe {
            height: 300px; /* Ensuring map is not too tall on small screens */
        }
    }
    
    /* Modal Styles */
    .modal-service {
        border-radius: 8px;
        overflow: hidden;
        color:black;
    }

    .modal-service-header {
        background-color: #004aad;
        color: white;
        padding: 15px;
        border-top-left-radius: 8px;
        border-top-right-radius: 0px; /* Flatten right corners */
    }

    .modal-title {
        font-size: 20px;
        font-weight: bold;
        margin: 0;
        color: white;
    }

    .service-details {
        padding: 20px;
        background-color: #fefefe;
        border-radius: 8px;
        margin-bottom: 20px;
        color:black;
    }

    .service-title {
        font-size: 24px;
        font-weight: bold;
        color: #004aad;
    }

    /* Description Styles */
    .description-title {
        font-size: 18px;
        font-weight: bold;
        color: #004aad;
        margin-bottom: 10px;
    }

    .description-card {
        border: 1px solid #e0e0e0; /* Light border */
        border-radius: 0px; /* Rounded corners */
        padding: 15px; /* Inner padding */
        color: black; /* Text color */
        font-size: 16px; /* Slightly larger font for better readability */
        min-height: 100px; /* Ensure consistent size */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center; /* Center-align text */
    }

    /* Columns for Descriptions */
    .description-column {
        margin-bottom: 20px;
    }

    @media (min-width: 768px) {
        .description-column {
            margin-bottom: 0;
        }
    }

    /* Form Styling */
    .form-group label {
        font-weight: bold;
        color: #333;
    }

    .form-control {
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .btn-primary {
        background-color: #004aad;
        color: white;
        border: none;
        padding: 10px 20px;
    }

    .btn-primary:hover {
        background-color: #003580;
    }

    .modal-body {
        padding: 30px;
    }

    .btn-close {
        color: white;
        opacity: 1;
    }

    .btn-close:hover {
        color: #ccc;
    }
    
    /* Custom Fullscreen Modal Styles */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent page scroll */
    animation: fadeIn 0.3s ease;
}

/* Custom Modal Content */
.custom-modal-content {
    background-color: #fff;
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
    width: 100%;
    max-width: 100%;
    height: 100vh; /* Fullscreen height */
    overflow: hidden; /* Disable scrolling on the modal container */
    border-radius: 0; /* Remove border-radius */
    animation: zoomIn 0.5s ease;
}

/* Modal Header */
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    position: sticky;
    top: 0; /* Fix header on top */
    z-index: 2;
}

/* Modal Close Button */
.custom-close {
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.custom-close:hover,
.custom-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Body */
.custom-modal-body {
    padding: 20px;
    overflow-y: auto; /* Allow scrolling if content overflows */
    max-height: calc(100vh - 70px); /* Adjust height based on header size */
}

/* Scrollbar Styles for modal content */
.custom-modal-body::-webkit-scrollbar {
    width: 8px;
}

.custom-modal-body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}

.custom-modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Animation for Modal Opening */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.7); }
    to { transform: scale(1); }
}