/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Section 1 - Map & Contact */
.section1 {
    min-height: 100vh;
    padding: 4rem 2rem;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    opacity: 1;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
}

.contact-form {
    padding: 2rem;
    background: #4CAF50;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    /* border: 1px solid #080505; */
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    
    /* box-shadow: 0 0 0 3px rgba(0,123,255,0.1); */
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media screen and (max-width :480px){

    .map-container {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        height: 35vh;
    }

    .contact-form {
        padding: 2rem;
        background: #4CAF50;
        border-radius: 10px;
        height: 70vh;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .form-group {
        margin-bottom: 0.3rem;
    }
    .form-group input:focus,
    .form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    /* box-shadow: 0 0 0 3px rgba(0,123,255,0.1); */
    }
}

/* Image Slider */
.section2 {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: left;
    /* padding: 15px 0; */
    background-color: #f0f0f0;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 45vh;
    /* padding: 1%; */
}

/* Slider Container */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    animation: scroll 20s linear infinite;
    gap: 6%; /* Space between each slide */
}

/* Individual Slide */
.slide {
    min-width: 20%;
    margin-top: 3%;
    border: 1px solid black;
    padding: 2%;
    height: 35vh; /* Use a single height definition */
    display: flex;
    justify-content: center; /* Horizontally center the image */
    align-items: center; /* Vertically center the image */
    transition: transform 0.5s ease;
    border-radius: 50%; /* Make the slide circular */
    background-color: white;
    overflow: hidden; /* Hide parts of the image that go beyond the circle */
}

/* Image Styling */
.slide img {
    width: 100%; /* Ensure image fills the container width */
    height: 100%; /* Ensure image fills the container height */
    object-fit: cover; /* Maintain aspect ratio and cover the entire slide */
    /* padding: 2%; */
}



/* Fade-in animation for slider */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Custom styling for images */
.slider img {
    border-radius: 8px;
}
@media screen and (max-width: 480px) {
    .section2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50vh;
        padding: 15px 0;
        background-color: #f0f0f0;
        overflow: hidden; /* Allow content to be visible outside section */
    }

    .slider-container {
        width: 100%; /* Full width for visibility */
        overflow: visible; /* Ensure full visibility of slides */
        position: relative;
        height: 1vh;
        margin-top: 5%;
        
    }

    .slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
        animation: scroll 20s linear infinite;
        gap: 8%; /* Space between each slide */
        align-items: center;
        height: 8%;
        justify-content: center;
        margin-top: 1%;
        margin-bottom: 0%;
    }

    .slide {
        width: 50%;
        height: 20%;
        margin: 0; /* Ensure no margin that might affect centering */
        /* border: 1px solid red; */
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%; /* Make the slide circular */
        background-color: white;
        overflow: hidden;
    }

    .slide img {
        width: 100%; /* Make image cover the width of the slide */
        height: 90%; /* Make image cover the height of the slide */
        object-fit: cover; /* Ensure image fits inside the circle */
        padding: 15%;
    }
}

/* Keyframes for continuous scroll */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-500%);
    }
}


/* Section 3 - FAQs */
.section3 {
    min-height: auto;
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #45a049;

}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Section 4 - Footer */
.section4 {
    background: #333;
    color: white;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
}

/* Common Components */
.btn {
    padding: 0.8rem 1.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .section1 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slide {
        min-width: 250px;
        height: 250px;
    }

    .slide.active {
        width: 90vw;
        height: 70vh;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}




