/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    color: #fff;
    padding: 30px;
    position: static;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    max-height: 100%;
    max-width: auto;
}

#about {
    margin-top: 5%; /* Adjust the percentage as needed */
}

.main-nav {
    left: 20px;
    display: flex;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.social-links {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
}

.social-links img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #1E90FF;
}

/* Slideshow Styles */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: 0;
}

.mySlides {
    display: none;
}

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

.mySlides.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

/* Section Styles */
.section {
    padding: 20px 0; /* Reduce vertical padding */
    text-align: left; /* Align the text to the left */
}
.section-heading {
    padding-left: 60px; /* Increase padding to move text more to the right */
    color: #4b5320; /* Dark green, almost brown color */
}
.section:nth-child(even) .section-content {
    background-color: #dbfefe; /* Keeping the lilac shade for even sections */
}

.section:nth-child(odd) .section-content {
    background-color: #F4F4FD; /* New sky blue shade for odd sections */
}

.section-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; /* Increase padding to add space between items */
}

.section-content img {
    width: auto; /* Adjust if you have a specific width in mind */
    height: 300px; /* Ensures consistent height; adjust as needed */
    object-fit: cover; /* Covers the area of the specified dimensions without distortion */
    border-radius: 15px; /* Rounds the corners */
}
/* Image on the left, text on the right */
.section:nth-child(even) .section-content {
    flex-direction: row;
}

/* Image on the right, text on the left */
.section:nth-child(odd) .section-content {
    flex-direction: row-reverse;
}
.text-block {
    padding: 15px; /* Add padding to create space around the text */
    text-align: left; /* Align text to the left for better readability */
}

.text-block p {
    margin-bottom: 1em; /* Adds space below each paragraph */
}

.text-right {
    padding-left: 40px; /* Add space on the left side of the text */
    padding-right: 20px; /* Add space on the right side of the text */
}

.text-left {
    padding-right: 20px; /* Add space on the right side of the text */
    padding-left: 20px; /* Add space on the left side of the text */
}

/* Contact Icons */
.contact-icon {
    width: 20px; /* Adjust to desired icon width */
    height: 20px; /* Adjust to desired icon height */
    margin-right: 5px; /* Optional: add some space between icon and text */
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section-followus {
    display: none;
}

.footer-section {
    width: 33.333%; /* Each footer section will take up one third of the width */
    padding: 0 15px; /* Add padding for spacing */
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul,
.footer-section p {
    list-style-type: none;
    padding: 0;
    margin-bottom: 0; /* Remove margin from the bottom of the list and paragraphs */
}

.footer-section ul li a,
.footer-section p a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    text-decoration: underline;
}

.social-links-footer {
    display: flex;
    justify-content: flex-end;
}

.social-links-footer img {
    width: 30px; /* Adjust size of social media icons in footer */
    height: auto;
    margin-left: 10px; /* Add space between icons */
}

.footer-section:nth-child(3) {
    text-align: right; /* Align the third footer section to the right */
}

footer p.copy-right {
    width: 100%; /* Make the copyright paragraph full width */
    text-align: center;
    margin-top: 20px; /* Add space above the copyright note */
    font-size: 0.9em;
}

/* Adjustments for Mobile */
@media (max-width: 768px) {
    /* Header adjustments for mobile */
    
    .logo {
        width: auto; /* Make the logo container full width */
        text-align: center; /* Center the logo text */
    }
    
    .logo img {
        max-height: 200px; /* Set a maximum height for the logo */
        max-width: 100%; /* Allow the logo to scale up to 100% of the header width */
        height: auto; /* Maintain the logo's aspect ratio */
    }    
    
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
        
    .social-links {
        display: none;
    }
    
    
    /* Navigation Toggle for Mobile */
    .menu-toggle {
        display: none; /* Hidden by default, shown below in a media query for mobile */
    }
    
    /* Sections */
    .section {
        padding: 20px 0px;
        text-align: justify;
    }
    
    .section-content {
        flex-direction: column;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        
    }
    
    .section-content img {
        max-width: 100%;
        height: 300px;
        object-fit: cover; /* Covers the area of the specified dimensions without distortion */
        border-radius: 15px; /* Rounds the corners */
        margin-bottom: 10px;
    }

    .section:nth-child(even) .section-content {
    background-color: #f4f4f4;
    }

    .section:nth-child(odd) .section-content {
    background-color: #f4f4f4;
    }

    /* Image on the left, text on the right */
    .section:nth-child(even) .section-content {
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    }

    /* Image on the right, text on the left */
    .section:nth-child(odd) .section-content {
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    }
        
    .text-block {
        max-width: 100%;
        margin: 0 1px;
        text-align: justify;
    }

    /* Footer adjustments for mobile */0
    footer {
        padding: 20px 10px; /* Adjust footer padding for mobile */
        flex-direction: column; /* Stack footer content vertically */
        align-items: center; /* Center footer content */
    }

    .footer-section {
        width: 100%; /* Each footer section spans the full width */
        padding: 10px 0; /* Adjust padding for spacing */
    }

    .footer-section-quicklinks {
        display: none;
    }

    .social-links-footer {
        justify-content: center; /* Center social links in the footer */
    }
}