body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar-brand {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    margin-right: 15px;
    transition: all 0.5s ease transform 0.5s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff;   
    transform: scale(1.08);
}

.navbar-nav .nav-link.active {
    font-weight: bold;
    color: #007bff;
}

.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Banner Styles */
.banner h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.banner p {
    font-size: 1.25rem; /* Adjust the font size for the subtitle */
}

@media (max-width: 767px) {
    .banner h1 {
        font-size: 2rem; /* Adjust for mobile responsiveness */
    }

    .banner p {
        font-size: 1rem;
    }
}

/* About Us Section Styles */
.about-us {
    background-color: #f8f9fa; /* Light background for the section */
    padding-top: 50px;
    padding-bottom: 50px;
}

.about-us h2 {
    font-size: 2.5rem; /* Larger heading size */
    color: #343a40; /* Dark color for the heading */
}

.about-us .lead {
    text-align: justify;
    font-size: 1.25rem; /* Slightly larger font size for the introduction paragraph */
    color: #555; /* Light gray color for text */
}

.about-us p {
    text-align: justify;
    font-size: 1rem; /* Standard paragraph text size */
    color: #555; /* Text color */
}

.about-us-video {
    width: 100%;
    height: 400px;
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Slight shadow for the video */
}

/* Optional: Add responsiveness for smaller screens */
@media (max-width: 768px) {
    .about-us h2 {
        font-size: 2rem;
    }

    .about-us .lead,
    .about-us p {
        font-size: 1.1rem;
    }
}

/* Services Section Styles */
.services {
    background-color: #e9ecef !important; /* Light Gray background */
}

.services h2 {
    font-size: 2.5rem;
    color: #343a40; /* Dark text for heading */
}

/* Service Card Styles */
.service-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    transition: all 0.5s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.service-card:hover {
    border-radius: 10px 10px 0px 0px !important;
    transform: translateY(-10px); /* Lift the card slightly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a shadow for depth */
}

/* Title Styles (on top of the image) */
.service-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9); /* Shadow for better readability */
    z-index: 1;
    text-align: center;
}

/* Image Styles */
.service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Ensures the image fits the container */
}

/* Service Description Styles (Hidden by Default) */
.service-description {
    display: none; /* Hidden by default */
    background-color: rgba(0, 0, 0, 0.8); /* Dark background for readability */
    color: white;
    padding: 15px;
    text-align: justify;
    border-radius: 0px 0px 10px 10px;
    margin-top: 5px;
    transition: all 0.5s ease-in-out display 0.5s ease-in;
}

/* Show the description smoothly on hover (Drawer Effect) */
.service-card:hover + .service-description {
    display: block; /* Make it visible when hovered */
    transform: translateY(0); /* Slide the description up */
}

/* Optional: Add a nice shadow effect for description card */
.service-description {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    .service-card {
        padding: 10px;
    }
}

/* Our Clients Section */
.clients h2 {
    font-size: 2.5rem;
    color: #343a40; /* Dark text for heading */
    font-weight: bold;
    margin-bottom: 2rem; /* Spacing below the heading */
}

.client-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center the content inside the card */
    height: 100%;
    min-height: 180px; /* Minimum height for each card */
    transition: transform 0.3s ease;
}

.client-card img {
    object-fit: contain; /* Keep the image's aspect ratio */
    width: 100%; /* Make image stretch to the container's width */
    max-height: 150px; /* Maintain fixed height for images */
    margin: 0 auto; /* Center image horizontally */
    transition: transform 0.3s ease-in-out;
}

.client-card:hover img {
    transform: scale(1.05); /* Enlarge image slightly on hover */
}

/* Make carousel control buttons more visible */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10; /* Make the controls appear on top */
    opacity: 1; /* Make the controls visible */
    transition: opacity 0.3s ease-in-out;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1.2; /* Slight hover effect for control buttons */
}

/* Improve carousel inner appearance */
.carousel-inner {
    padding: 1rem 0; /* Add padding around the carousel */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-card img {
        height: 120px; /* Adjust image height for medium screens */
    }
    .client-card {
        min-height: 160px; /* Adjust minimum height for cards */
    }
}

@media (max-width: 576px) {
    .client-card img {
        height: 100px; /* Adjust image height for smaller screens */
    }
    .client-card {
        min-height: 140px; /* Adjust minimum height for cards */
    }
}

/* Additional Style for Text */
.clients p {
    font-size: 1.1rem;
    color: #6c757d; /* Lighter text color for description */
    line-height: 1.6;
}

/* Contact Us Section */
.contact {
    background-color: #e9ecef !important; /* Light Gray background */
}

.contact h2 {
    font-size: 2.5rem;
    color: #343a40; /* Dark text for heading */
}

/* Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 80px;
    right: 0px;
    z-index: 1000;
    display: none;
    font-size: 1.2rem;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    width: 70px;
    height: 50px;
    opacity: 0.8;
    transition: all 0.2s ease-in-out;
}

#backToTopBtn:hover {
    background-color: #007bff;
    opacity: 1;
}

/* Make sure button is visible on smaller screens */
@media (max-width: 768px) {
    #backToTopBtn {
        font-size: 1rem;
        padding: 6px;
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 0px;
    }
}
