body {
    font-family: 'Montserrat', sans-serif; 
    margin: 0;
    padding: 0;
}

.banner {
    background-color: transparent;
    transition: background-color 0.3s ease;
    padding: 10px 0;
    z-index: 10; /* Ensures the banner stays above other content */
}

.banner.scrolled {
    background-color: #DDD; /* Change color when scrolled */
}

.navbar .nav-link {
    color: #015EA1 !important; /* Default link color */
    font-size: 1.3rem; /* Larger size */
    transition: font-size 0.3s, color 0.3s; /* Smooth transitions */
}

.navbar .nav-link:hover {
    color: #AAA !important; /* Hover color */
}

/* When scrolled, change the nav link color */
.scrolled .navbar .nav-link {
    font-size: 1rem; /* Smaller size */
    transition: font-size 0.3s, color 0.3s; /* Smooth transitions */
}


/* Change the default color of the navbar-toggler */
.navbar-dark .navbar-toggler {
    border-color: #015EA1; /* Border color of the hamburger button */
}

/* Change the color of the hamburger lines */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(1, 94, 161, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Change the color of the hamburger on hover */
.navbar-dark .navbar-toggler:hover {
    border-color: #AAA; /* Border color on hover */
}




/* Logo resizing on scroll */
#logo {
    max-height: 90px; /* Default logo size */
    transition: max-height 0.3s ease; /* Smooth transition */
}

.scrolled #logo {
    max-height: 60px; /* Shrink logo on scroll */
}

/* Carousel image settings */
.carousel-inner img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* Welcome section */
#welcome {
    background-color: #f8f9fa; /* Background color */
    padding: 50px 0; /* Padding for spacing */
    border-bottom-left-radius: 0px; /* Rounded bottom-left corner */
    border-bottom-right-radius: 0px; /* Rounded bottom-right corner */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Same shadow as service boxes */
}


#welcome p {
    color: #AAA; /* Text color */
    text-align: center;
}


.banner {
    width: 100%; /* Ensures the banner takes the full width */
}

.navbar {
    width: 100%; /* Ensures the navbar takes the full width */
    padding: 0; /* Optional: remove padding to align it perfectly */
}

.navbar-brand {
    width: auto; /* Optional: specify how you want the logo to behave */
}

.nav-link {
    text-align: center; /* Center the text in the nav links */
}

.service-box {
    /* Existing styles for service boxes */
}


/* Our Services section */
.service-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 300px;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 5px solid #015EA1;
    border-radius: 15px;
    z-index: -1;
}

.service-box i {
    color: #015EA1;
    font-size: 4em;
    margin-bottom: 10px;
}

.service-box p {
    color: #AAA; /* Small description text color */
}


/* Footer Styles */
.footer {
    background-color: #DDD;
    color: white;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer p {
    color: #AAA; /* Footer text color */
    margin: 0;
}

/* Fade-in effect */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in.show {
    opacity: 1;
}

/* Contact section */
#contact {
    padding: 50px 0;
    text-align: center; /* Center align content */
}

#contact .form-group {
    text-align: left; /* Left align label and input */
}

#contact button {
    margin-top: 10px; /* Optional: Adds some space above the button */
}

.form-control {
    background-color: #f8f9fa; /* Background color matching the button */
    color: #AAA; /* Text color for contrast */
    border: 0px solid #013d75; /* Optional: Set a border color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow similar to service boxes */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

/* Optional: Change background color of fields on focus */
.form-control:focus {
    background-color: #015EA1; /* Darker shade on focus */
    color: #AAA; /* Keep text color white */
    border-color: #0056b3; /* Change border color on focus */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Slightly more pronounced shadow on focus */
}

/* Adjust the height of the message textarea to match the height of the service boxes */
#message {
    height: 300px; /* Set this to the same height as your service boxes */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for consistency */
    border-radius: 10px; /* Match the border-radius of service boxes */
}

#contact {
    font-family: 'Montserrat', sans-serif; /* Optional: Ensures font consistency */
	
}

/* Contact Section Styling */
#contact .contact-box {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#contact .contact-box:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#contact .contact-title {
    color: #000;
    font-family: 'Montserrat', sans-serif; /* Ensures same font as Services section */
}

#contact .contact-description {
    color: #AAA;
    font-family: 'Montserrat', sans-serif; /* Consistent with Services section */
}

#contact .btn {
    background-color: #015EA1;
    border-color: #015EA1;
    border-radius: 50px;
    color: #fff;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

#contact .btn:hover {
    background-color: #01497e;
    border-color: #01497e;
}





/* Button styles */
.btn-primary {
    background-color: #015EA1; /* Primary button color */
    border: none; /* Remove border */
    padding: 5px 75px; /* Increase padding */
    min-width: 150px; /* Set minimum width */
}

.btn-primary:hover {
    background-color: #013d75; /* Darker shade on hover */
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: #015EA1; /* Button color */
    color: white; /* Icon color */
    border: none; /* No border */
    border-radius: 50%; /* Rounded corners */
    width: 50px; /* Width of the button */
    height: 50px; /* Height of the button */
    display: none; /* Centering the icon */
    align-items: center; /* Centering vertically */
    justify-content: center; /* Centering horizontally */
    cursor: pointer; /* Pointer on hover */
    transition: background-color 0.3s; /* Transition effect */
    z-index: 1000; /* Make sure it stays above other elements */
}

/* Change button color on hover */
.back-to-top:hover {
    background-color: #013d75; /* Darker shade on hover */
}



/* Base styles */
.carousel-inner img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .carousel-item img {
        height: 60vh; /* Adjust this value as needed */
        object-fit: cover; /* Maintain aspect ratio and cover the container */
    }
}



.carousel-caption {
    position: absolute; /* Ensure captions are positioned absolutely */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Shift by half width and height */
    text-align: center; /* Center text */
    width: 100%; /* Optional: set width to full for better alignment */
}

.carousel-caption h3 {
    font-family: 'Montserrat', sans-serif; /* Ensure the font is applied */
    color: white; /* Change color as needed */
}


