/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #7abf84;
}

header {
    background-color: #0f76e6;
    color: #8a0707;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #32CD32; /* Green color on hover */
}

section.hero {
    background: url('plot.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

section.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

section.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

section.hero .btn {
    background-color: #32CD32;
    border: none;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease-in-out;
}

section.hero .btn:hover {
    background-color: #228B22; /* Darker green on hover */
}

section.features {
    padding: 50px 20px;
    text-align: center;
}

section.features .feature {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section.features .feature h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

section.features .feature p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #666;
}

section.content {
    padding: 50px 20px;
    text-align: center;
}

section.content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

section.content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

section.content form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

section.content label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

section.content input,
section.content textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

section.content button {
    background-color: #32CD32;
    border: none;
    color: #fff;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

section.content button:hover {
    background-color: #228B22; /* Darker green on hover */
}

footer {
    background-color: #0f76e6;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.leaflet-container {
    height: 400px;
    width: 100%;
    margin: 20px 0;
}

/* Custom styles for Land Listings */
.land-listing {
    background-color: #0f76e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.land-listing h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.land-listing p {
    margin-bottom: 0;
    font-size: 1rem;
    color: hsl(239, 81%, 41%);
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    section.hero h2 {
        font-size: 2rem;
    }

    section.hero p {
        font-size: 1rem;
    }

    section.hero .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    section.features .feature h3 {
        font-size: 1.25rem;
    }

    section.content h2 {
        font-size: 1.75rem;
    }

    section.content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    section.hero {
        padding: 80px 10px;
    }

    section.hero h2 {
        font-size: 1.75rem;
    }

    section.hero p {
        font-size: 1rem;
    }

    section.hero .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    section.features {
        padding: 30px 10px;
    }

    section.features .feature {
        padding: 15px;
    }

    section.features .feature h3 {
        font-size: 1.2rem;
    }

    section.content {
        padding: 30px 10px;
    }

    section.content h2 {
        font-size: 1.5rem;
    }

    section.content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    section.hero h2 {
        font-size: 1.5rem;
    }

    section.hero p {
        font-size: 0.85rem;
    }

    section.hero .btn {
        padding: 8px 15px;
        font-size: 0.75rem;
    }

    section.features .feature h3 {
        font-size: 1.1rem;
    }

    section.content h2 {
        font-size: 1.25rem;
    }

    section.content p {
        font-size: 0.85rem;
    }
}
