/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #FAFAFA; /* Very light gray */
    font-family: Raleway, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

h1, h2 {
    text-align: center;
    font-size: 2rem;
    color: #3B82F6; /* Vibrant Blue */
    margin-top: 2rem;
}

p {
    color: #6B7280; /* Muted Gray */
    margin-bottom: 1rem;
}

.service-list {
    list-style-type: none;
    padding: 4rem;
}

.service-list li {
    padding: 0.5rem 0;
}

/* Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #374151; /* Cool Slate Gray */
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FAFAFA; /* Very light gray for contrast */
}

.navbar-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin: 0 1rem;
}

.navbar-menu a {
    color: #FAFAFA; /* Very light gray for visibility */
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.navbar-menu a:hover {
    background-color: transparent;
    color: #60A5FA; /* Soft Sky Blue */
    border-radius: 5px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #FAFAFA; /* Very light gray */
    margin: 4px ;
}




/* Footer */
footer {
    list-style: none;
    background-color: #374151; /* Cool Slate Gray for footer */
    color: #6B7280;
    text-align: center;
    padding: 15px;
    position: relative; /* Allows for better positioning */
    width: 100%; /* Make sure the footer spans the full width */
    margin-top: auto; /* Ensure the footer stays at the bottom */
}

footer p {
    margin: 0.5rem 0; /* Margin for paragraph spacing */
    color: #6B7280;
}


/* Social Media Links */
.social-media {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between social media links */
    margin-top: 10px; /* Added margin to separate from text */
}

.social-media a {
    color: #60A5FA; /* Soft sky blue */
    text-decoration: none;
    font-size: 1.2rem; /* Slightly larger font size for better visibility */
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}


/* Slideshow container */
.slide_show {
    position: relative;
    width: 100%;
    height: 30vh; /* Set the height of the slideshow to 30% of the viewport height */
    overflow: hidden;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Slide */
.mySlides {
    display: none; /* Hide all slides by default */
    width: 100%;
    height: 100%;
    position: relative;
}

/* Image inside slides */
.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container while maintaining aspect ratio */
    display: block;
}

/* Text overlaid on the images */
.text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    z-index: 1;
}

/* Number text */
.numbertext {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 12px;
    padding: 8px;
    z-index: 1;
}

/* Previous and Next buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 3px 0 0;
}

/* Dots style */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}


/* Hidden class for nav-links */
.hidden {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 40%; /* Full width */
        height: 100vh; /* Full height */
        background-color: white;
        z-index: 120; /* Ensure it is below the toggle */
        padding-top: 90px; /* Space for header */
        opacity: 1; /* Always visible when active */
        transform: translateX(-100%); /* Initially off-screen */
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navbar-menu.active {
        display: flex;
        opacity: 1;
        transform: translateX(0);
        color: #374151 !important;
    
    }

    .navbar-menu li {

        margin: 10px 0;
        text-align: center;
    }

    .navbar-menu a {
        color: #6B7280 !important; 
        text-decoration: none;
        padding: 10px 15px;
    }

    
    .navbar-menu a:hover {
        background-color: transparent;
        color: #3B82F6;
    }

    .navbar-menu.active a:hover {
        color: #3B82F6 !important;
    }

    .navbar-toggle {
        display: flex;
    }

   

    /* Resize boxes on smaller screens */
    .box {
        width: 6rem;
        height: 6rem;
    }


    .navbar-toggle {
        display: flex; /* Show hamburger icon */
    }

    .slide_show {
        height: 40vh; /* Adjust height for smaller screens */
    }

    
       
footer {
    padding: 15px 10px;
}

footer p {
    font-size: 0.9rem; /* Slightly smaller text for mobile */
}

.social-media {
    gap: 10px; /* Reduce gap between icons for smaller screens */
}

.social-media a {
    font-size: 1rem; /* Adjust icon size for mobile */
    color: #60A5FA; /* Soft sky blue */
    text-decoration: none;
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}

}

@media (max-width: 600px) {
    .box {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Hamburger icon animation styles */
.navbar-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


@media (max-width: 480px) {
    .slide_show {
        height: 50vh; /* Adjust height for very small screens */
    }

    img {
        object-fit: contain; /* Adjust image display for very small screens */
    }

    footer {
        padding: 8px; /* Further reduce padding on extra small screens */
    }

    .social-media a {
        font-size: 0.9rem; /* Reduce font size for icons */
    }

    footer p {
        font-size: 0.8rem; /* Smaller text for extra small screens */
    }
}
