body {
    background: url('images/bg-img/bg.jpg'); /* Path to your image */
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the image */
    background-attachment: fixed; /* Make the background fixed */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

* {
    box-sizing: border-box;
}

/* Basic Reset */
body, margin, padding {
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 0rem 1rem;
    background-color: rgb(255, 229, 180);
    position: relative;
    z-index: 1000; /* Ensure navbar is above other elements */
}

.logo {
    padding: 0;
}

.logo img {
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Keeps the aspect ratio intact */
    max-width: 100%; /* Ensures responsiveness */
    padding: 0;
}

.navbar a {
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.navbar a:hover {
    background-color: white;
}

.nav-links {
    display: flex;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 1000; /* Ensure menu appears above other content */
        padding: 1rem 0 0 0;
    }

    .navbar.active .nav-links {
        display: flex;
    }

    .navbar.active .nav-links a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }
}

/* Slider Styles */
.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    z-index: 1; /* Slider is below the navbar */
    box-sizing: border-box; /* Ensure padding and border are included in width/height */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Ensure it does not exceed container width */
}

.slide {
    min-width: 100%; /* Full width of the container */
    box-sizing: border-box; /* Include padding and border in width */
}

.slide img {
    width: 100%;
    display: block;
}

.prev, .next {
    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:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .prev, .next {
        font-size: 14px;
        padding: 10px;
    }
}
/* About Us Section Styles */
.container {
    max-width: 100vw; /* Ensure container does not exceed viewport width */
    overflow-x: hidden; /* Prevent horizontal scrolling within container */
}

.about-section {
    padding: 4rem 2rem 2rem 2rem;
    /* background-color: #f9f9f9; */
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-text {
    flex: 1 1 50%;
    padding-right: 2rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

.about-image {
    flex: 1 1 40%;
    padding-left: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-image p {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
    }

    .about-image {
        padding-left: 0;
        margin-top: 1.5rem;
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image p {
        text-align: center;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 2rem 2rem 4rem 2rem;
    /* background-color: #fff; */
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Gallery Container */
.gallery-container {
    max-height: 90vh; /* Set a maximum height for vertical scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.gallery-grid {
    display: grid; /* Use grid layout for vertical stacking */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid with automatic columns */
    gap: 10px; /* Space between images */
}

.gallery-item {
    width: 100%; /* Full width of the grid cell */
    height: 300px; /* Fixed height for square images */
    object-fit: cover; /* Ensure the image covers the square */
    aspect-ratio: 1 / 1; /* Forces the image to be a square */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain; /* Ensure the image fits within the container */
}

.prev{
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery-grid {
        display: grid; /* Use grid layout for vertical stacking */
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Responsive grid with automatic columns */
        gap: 10px; /* Space between images */
    }
    .gallery-item {
        height: 100px; /* Smaller height on mobile */
    }
}

/* Contact Section */
.contact-section {
    /* background-color: #f8f8f8; */
    padding: 50px 20px;
    text-align: center;
}

.contact-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-section address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-section p {
    margin: 10px 0;
}

.contact-section a {
    text-decoration: none;
    /* color: #333; */
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 600px) {
    .contact-section {
        padding: 30px 10px;
    }

    .contact-section h2 {
        font-size: 1.5em;
    }

    .contact-section h3 {
        font-size: 1.2em;
    }

    .contact-section p, .contact-section address {
        font-size: 1em;
    }
}

/* CSS for Contact Form Section */
.contact-form-section {
    padding: 40px 20px;
    /* background-color: #f4f4f4; */
    text-align: center;
}

.contact-form-section h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #fff;
}

.contact-form-section .container {
    max-width: 600px; /* Adjust width as needed */
    margin: 0 auto; /* Center the container */
    padding: 1rem;
    background-color: #000; /* Background color for the container */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.contact-form label {
    margin: 10px 0 5px;
    font-weight: bold;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-form-section h2 {
        font-size: 24px;
    }

    .contact-form {
        padding: 0 10px;
    }

    .contact-form label {
        font-size: 16px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .contact-form button {
        font-size: 14px;
    }
}

/* General styles for the location section */
.location-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.container {
    max-width: 1200px; /* Ensures the container doesn’t stretch too wide */
    margin: 0 auto; /* Centers the container */
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #eee;
    border-radius: 8px; /* Optional: adds rounded corners to the iframe */
    margin-top: 1rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .map-container {
        padding-bottom: 75%; /* Aspect ratio 4:3 for smaller screens */
    }
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem;
    text-align: center;
    font-size: 1rem; /* Set base font size for consistency */
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-address, .footer-social, .footer-credits {
    margin-bottom: 1rem;
    font-size: 1rem; /* Ensure font size is consistent */
}

.footer-address address {
    font-style: normal;
    line-height: 1.6;
}

.fa-icon {
    font-size: 24px; /* Adjust as needed */
    color: #8000FF; /* Change the icon color */
}

.footer-social a {
    text-decoration: none;
}

.footer-social a:hover .fa-icon {
    color: #fff; /* Color change on hover */
}

.footer-credits {
    font-size: 1rem; /* Ensure font size is consistent */
}

.footer-credits a {
    color: #8000FF;
    text-decoration: underline;
}

.footer-credits a:hover {
    color: #f9f9f9;
}

@media (min-width: 768px) {
    .footer .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-address, .footer-social, .footer-credits {
        margin-bottom: 0;
        margin-right: 2rem;
    }
}
