/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Header Styles */
header {
    position: relative;
    padding: 20px;
    text-align: center;
}

header img {
    max-width: 100px;
    height: auto;
    margin-top: 20px;
}

header h1 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #fff;
    font-size: 2em;
    animation: typing 4s steps(20) infinite, blink-caret 0.5s step-end infinite;
    margin-top: 20px;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #fff;
    }
}

header p {
    color: #000; /* Black color for "Seeds for a Greener Tomorrow" */
    font-weight: bold;
    margin-top: 10px;
}

/* Responsive Design Adjustments */
@media only screen and (max-width: 767px) {
    header h1 {
        font-size: 20px;
        margin-left: 0;
    }

    header p {
        left: 0;
        margin-top: 5px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    header h1 {
        font-size: 24px;
        margin-left: 0;
    }

    header p {
        left: 0;
        margin-top: 5px;
    }
}

/* Common Styles */
nav {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
}

/* PC Styles */
@media only screen and (min-width: 768px) {
    nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}

/* Mobile and Tablet Styles */
@media only screen and (max-width: 767px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    width: 200px;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #555;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Media Query Adjustments */
@media only screen and (max-width: 767px) {
    nav {
        display: flex;
        flex-direction: column;
    }

    .dropdown {
        display: block; /* Display block for full-width dropdown in mobile view */
    }

    .dropdown-content {
        position: static; /* Adjust position for mobile view */
        display: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Add styles for tablets if needed */
}

section {
    padding: 20px;
}

.info-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.contact-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.map {
    /* Add styles for the map container if needed */
}

.form-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
}

input, textarea {
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 3px;
}

button:hover {
    background-color: #45a049;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4CAF50;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-section a:hover {
    text-decoration: underline;
}

.social-icon {
    display: block;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #333;
}

.copyright {
    margin-top: 20px;
}

.contact-card {
    background-color: #4CAF50;
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    margin: 5px 0;
}
/* Additional Styles for Home Marquee Carousel */
.home-marquee-carousel__swiper-navigation {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #333;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.current-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: calc(100% - 2 * 24px); /* Adjusted based on button width */
    margin: auto;
    overflow: hidden;
}

.current-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Media Queries for Responsive Design */
@media only screen and (max-width: 767px) {
    /* Add styles for mobile devices if needed */
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* Add styles for tablets if needed */
}
