/* Base Styles */
/* Smooth scroll for in-page links */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    /* Light background for better contrast */
}

/* Navbar Styles */
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ddd;
}

.bg-dark-color {
    background-color: #343a40;
    /* Dark background for header and footer */
}

/* Accent Color for Buttons */
.accent-color {
    color: #cf0;
    /* Lime Yellow for CTA buttons and accents */
}

/* CTA Button Styles */
.cta-btn {
    background-color: #cf0;
    /* Lime Yellow background for CTA buttons */
    border-color: #cf0;
    color: #343a40;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #b2d200;
    /* Slightly darker lime yellow on hover */
    border-color: #b2d200;
    color: #343a40;
}

a.cta-btn {
    text-decoration: none !important;
  }

/* Service Icons */
.service-icon {
    font-size: 50px;
    color: #99cccc;
    /* Updated accent color for icons */
}

/* Footer Text */
.footer-text {
    font-size: 14px;
    color: #ddd;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Image Hover Effects */
.image-container {
    width: 100%;
    overflow: hidden;
    /* Ensures the image doesn't overflow outside the container */
    height: 300px;
    /* Fixed height for the container */
}


.image-container-400 {
    width: 100%;
    overflow: hidden;
    /* Ensures the image doesn't overflow outside the container */
    height: 444px;
    /* Fixed height for the container */
}

.img-fluid-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the container */
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transition for both zoom and brightness */
}

.img-fluid-hover:hover {
    transform: scale(1.1);
    /* Zoom in effect */
    filter: brightness(1.2);
    /* Increase brightness */
}

/* Add padding to the <a> element */
.featurette .btn {
    padding-top: 15px;
    /* Adjust this value as needed */
    padding-bottom: 15px;
    /* Adjust this value as needed */
    margin-bottom: 20px;
    /* Space below the button to separate it from the next section */
}

/* Add media query for mobile view to adjust the padding further */
@media (max-width: 768px) {
    .featurette .btn {
        padding-top: 20px;
        /* Increased padding for mobile view */
        padding-bottom: 20px;
        /* Increased padding for mobile view */
        margin-bottom: 25px;
        /* More space below the button for mobile view */
    }
}

/* Flexbox ensures equal heights for columns */
.d-flex {
    display: flex;
    flex-direction: column;
}

.flex-grow-1 {
    flex-grow: 1;
}

.mt-auto {
    margin-top: auto;
}

/* Icon Styling with Circular Background */
.icon-container {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    background: #e0e0e0;
    /* Light grey background */
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 48px;
    color: #99cccc;
    /* Updated accent color for icons */
}

/* Image Hover Effects */
.image-container {
    overflow: hidden;
    /* Ensures the image doesn't overflow outside the container */
}

.img-fluid-hover {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transition for both zoom and brightness */
}

.img-fluid-hover:hover {
    transform: scale(1.1);
    /* Zoom in effect */
    filter: brightness(1.2);
    /* Increase brightness */
}

/* Initial state for the <h2> element */
h2.text-center {
    background-color: transparent;
    /* Start with a transparent or default background */
    transition: background-color 0.5s ease;
    /* Smooth transition over 0.5 seconds */
    padding: 10px;
    /* Optional: Add some padding to the h2 to make the effect more noticeable */
}

/* Hover state for the <h2> element */
h2.text-center:hover {
    background-color: #99cccc;
    /* Updated accent color on hover */
    color: white;
    /* Optional: Change text color to white for better readability */
}

/* Transition for the card header */
.card-header {
    transition: background-color 0.5s ease;
    /* Smooth transition for background color */
}

/* Change background color of the header when hovering over the card */
.card:hover .card-header {
    background-color: #99cccc;
    /* Updated accent color on hover */
    color: white;
    /* Change text color to white for better readability */
}

/* Ensure smooth transitions for background and color */
.icon-container {
    background-color: #e0e0e0;
    /* Initial light grey background */
    transition: background-color 0.5s ease, color 0.5s ease;
}

.icon-container i {
    color: #99cccc;
    /* Updated accent color for icons */
    transition: color 0.5s ease;
}

/* Hover effect: swap background and icon colors */
.icon-container:hover {
    background-color: #99cccc;
    /* Updated accent color on hover */
}

.icon-container:hover i {
    color: #e0e0e0;
    /* Change icon color to light grey on hover */
}

/* Specific target for carousel buttons */
.btn.btn-primary {
    background-color: #cf0 !important;
    /* Lime Yellow background */
    border-color: #cf0 !important;
    color: #343a40 !important;
    /* Dark color for text */
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Hover state for the buttons */
.btn.btn-primary.btn-lg.mt-3:hover,
.btn.btn-primary:hover {
    background-color: #b2d200 !important;
    /* Slightly darker lime yellow on hover */
    border-color: #b2d200 !important;
    color: #343a40 !important;
    /* Ensure text remains readable */
}

.carousel-inner {
    height: 500px;
    /* Set the carousel height to 600px */
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-item {
    height: 100%;
    /* Ensure each carousel item takes up the full height */
}

.carousel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 10%;
    /* Adjust this value to position the text lower */
    left: 15%;
    right: 15%;
    z-index: 2;
    color: white;
    text-align: left;
}

.carousel-caption h1,
.carousel-caption p {
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.carousel-caption p+p {
    margin-top: 1rem;
    /* Adjust the value as needed for desired spacing */
}


.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.2rem;
}

.carousel-caption .btn {
    text-shadow: none;
    /* Remove text shadow from buttons */
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 400px;
        /* Adjust height for smaller screens */
    }

    .carousel-caption {
        bottom: 5%;
        /* Adjust this value to position the text lower on mobile */
        left: 10%;
        right: 10%;
        text-align: center;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
        word-wrap: break-word;
    }
}

/* Zoom effect for images */
.image-container {
    width: 100%;
    /* Make sure the container spans the full width of its parent */
    overflow: hidden;
    /* Hide any overflow caused by the scaling image */
    max-width: 400px;
    /* Ensure the image container stays within a fixed width */
    margin: 0 auto;
    /* Center the image container */
}

.image-container {
    overflow: hidden;
    /* Ensure the image stays within its container */
    position: relative;
}

.image-container img {
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transition for zoom and brightness */
    display: block;
    width: 100%;
    height: auto;
}

.image-container:hover img {
    transform: scale(1.1);
    /* Zoom in on hover */
    filter: brightness(1.2);
    /* Increase brightness on hover */
}

.image-container-500 {
    overflow: hidden;
    /* Ensure the image stays within its container */
    position: relative;
    max-width: 500px;
}

.image-container-500 img {
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Smooth transition for zoom and brightness */
    display: block;
    width: 100%;
    height: auto;
}

.image-container-500:hover img {
    transform: scale(1.1);
    /* Zoom in on hover */
    filter: brightness(1.2);
    /* Increase brightness on hover */
}


.featurette-image {
    transition: transform 0.3s ease, filter 0.3s ease;
    width: 100%;
    /* Ensure the image fills the container */
    height: auto;
    display: block;
}

.featurette-image:hover {
    transform: scale(1.05);
    /* Slightly zoom in the image on hover */
    filter: brightness(1.1);
    /* Optional: Increase brightness on hover */
}

/* Icon Section Flexbox */
.icon-section {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.icon-circle {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    background: #e0e0e0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

      .dropdown-checkboxes {
            position: relative;
            display: inline-block;
        }

        .dropdown-checkboxes-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 200px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            padding: 10px;
        }

        .dropdown-checkboxes:hover .dropdown-checkboxes-content {
            display: block;
        }

        .dropdown-checkboxes-content label {
            display: block;
            cursor: pointer;
        }

        .dropdown-checkboxes-content label input {
            margin-right: 8px;
        }

        /* Styles for the overlay */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        #email-popup {
            display: none; /* hidden on load */
        }

        /* Styles for the popup */
        .popup {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            position: relative;
            width: 90%;
            max-width: 400px;
            padding-top: 3em;
        }

        /* Styles for the close button */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 1em;
            background-color: transparent; /* No background */
            border: none; /* No border */
            font-size: 25px;
            cursor: pointer;
            color: black; /* Black color for the 'X' */
            padding: 0; /* Remove padding */
            /* opacity: 0; */
        }

        /* Disable scroll */
        body.modal-open {
            overflow: hidden;
        }

        /* .py-5 {
            background-color: aliceblue;
        }     */

        a {
            color: #cf0;
        }

        a:hover {
            color: #b2d200;
        }

        /* reviews carousel */
        #carouselt-testimonials {
            margin-bottom: 2em;
        }

        .carouselt-testimonial-box {
            padding: 2rem;
            background: #fff;
            /* border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
            margin-bottom: 2rem;
            position: relative;
        }

        .carouselt-testimonial-text {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #333;
            text-align: left;
            margin-bottom: 1rem;
        }

        #carouselt-testimonials .carouselt-client-info {
            text-align: left;
            font-size: 1rem;
            margin-top: 1rem;
            color: #007bff;
        }

        #carouselt-testimonials .carousel-indicators li {
            background-color: #007bff;
        }

        #carouselt-testimonials .carousel-indicators .active {
            background-color: #0056b3;
        }

        .fa-comment-alt {
            color: #17a2b8;
        }

        #carouselt-testimonials .carousel-item::after {
            background: none !important;
        }

        #carouselt-testimonials .carousel-inner {
            height: auto !important;
        }

        #carouselt-testimonials .carousel-control-prev-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23007bff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
            background-color: transparent;
            /* Remove the black background */
        }

        #carouselt-testimonials .carousel-control-next-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23007bff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l4 4-4 4L1.25 6.5 3.75 4 1.25 1.5 2.75 0z'/%3e%3c/svg%3e");
            background-color: transparent;
            /* Remove the black background */
        }