body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #69B56A;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: auto;
}

section {
    padding: 20px;
    text-align: center;
}

        #services {
            padding: 20px;
            text-align: center;
            background-color: #f8f8f8;
        }

        #services h2 {
            margin-bottom: 20px;
            color: #333;
        }

        .service-list {
            display: flex;
            justify-content: center; /* Center the items */
            flex-wrap: wrap;
            gap: 20px; /* Consistent gap between items */
            padding: 20px;
        }

        .service-item {
            flex: 1 1 calc(33.33% - 40px); /* Adjust width for 3 items per row on larger screens */
            max-width: calc(33.33% - 40px); /* Set max-width to prevent overflow */
            margin: 0; /* Remove default margins, use gap on parent */
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
        }
        .service-item:hover{
            transform: translateY(-5px); /* Reduced hover lift */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
        }


        .service-item h3 {
            color: #333;
            margin-bottom: 10px;
        }

        .service-item p {
            color: #555;
            margin-bottom: 10px;
            line-height: 1.6; /* Improved readability */
        }

        .service-item ul {
            list-style-type: none; /* Remove bullet points */
            padding: 0;
            margin: 0;
        }

        .service-item li {
            margin-bottom: 5px;
            position: relative;
            padding-left: 25px; /* Space for the checkmark */
        }

        .service-item li::before {
            content: "✔️"; /* Use a checkmark character */
            position: absolute;
            left: 0;
            color: #007bff; /* Blue checkmark */
        }

        /* Responsive Adjustments for Mobile */
        @media (max-width: 768px) { /* Adjust breakpoint as needed */
            .service-item {
                flex: 1 1 calc(50% - 40px); /* 2 items per row on tablets */
                max-width: calc(50% - 40px);
            }
        }

        @media (max-width: 480px) {
            .service-item {
                flex: 1 1 100%; /* 1 item per row on mobile */
                max-width: 100%;
            }
        }

/* Gallery Section Styles */
#gallery {
    padding: 20px;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between sliders */
    padding: 20px;
}

/* Comparison Slider Styles */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height for mobile */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Space between sliders */
}

.comparison-slider .before,
.comparison-slider .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-slider .before img,
.comparison-slider .after img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the area without distortion */
    display: block;
}

.comparison-slider .before {
    width: 50%; /* Initial width for the "before" image */
    z-index: 2;
}

.comparison-slider .after {
    width: 100%; /* Full width for the "after" image */
    z-index: 1;
}

.comparison-slider .before span,
.comparison-slider .after span {
    position: absolute;
    bottom: 10px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
}

.comparison-slider .before span {
    left: 10px;
}

.comparison-slider .after span {
    right: 10px;
}

/* Slider Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    z-index: 3;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle::before {
    content: "↔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px;
    border-radius: 50%;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .comparison-slider {
        height: 250px; /* Adjust height for smaller screens */
    }

    .slider-handle {
        width: 4px; /* Make the handle thicker for easier touch interaction */
    }

    .slider-handle::before {
        font-size: 16px; /* Smaller handle icon for mobile */
    }
}

        #team {
            padding: 20px;
            text-align: center;
            background-color: #f8f8f8; /* Softer background color */
        }

        #team h2 {
            margin-bottom: 20px;
            color: #333; /* Darker heading color */
        }

        .team-members {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            padding: 20px;
        }

        .member {
            flex: 1 1 calc(50% - 20px); /* 2 members per row on tablets */
            max-width: calc(50% - 20px); /* Maximum width for each member */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
            background: #fff;
            transition: transform 0.3s ease;
            text-align: center;
            margin: 0;
            padding: 15px; /* Add some padding inside the member box */
        }

        .member:hover {
            transform: translateY(-5px); /* Reduced hover lift */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
        }

        .member img {
            width: 150px; /* Fixed width for images */
            height: 150px; /* Fixed height for images */
            border-radius: 50%; /* Make images circular */
            object-fit: cover; /* Maintain aspect ratio and cover the circle */
            margin-bottom: 10px;
        }

        .member h3 {
            margin: 10px 0 5px;
            font-size: 1.2em; /* Slightly smaller heading */
            color: #333;
        }

        .member p {
            margin: 0 0 10px;
            color: #555; /* Slightly darker paragraph color */
            font-size: 0.9em; /* Slightly smaller font size */
        }

        /* Responsive Adjustments for Mobile */
        @media (max-width: 480px) {
            .member {
                flex: 1 1 100%;
                max-width: 100%;
            }
            .member img {
                width: 120px; /* Slightly smaller image on mobile */
                height: 120px;
            }
            .member h3 {
                font-size: 1.1em;
            }
            .member p {
                font-size: 0.85em;
            }
        }
.map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}