/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f8f2;
}

.section {
    padding: 4rem 2rem;
}

h2 {
    font-size: 2.5rem;
    color: #2c7a7b;
    margin-bottom: 2rem;
    text-align: center;
}

/* Header and Navigation */
header {
    background-color: #2c7a7b;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #68d391;
}

/* Hero Section */
.hero {
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #68d391;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2c7a7b;
}

/* Virtual Garden Section */
#garden {
    background-color: white;
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#search-input {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 50px 0 0 50px;
    width: 300px;
}

#search-btn {
    background-color: #68d391;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#search-btn:hover {
    background-color: #2c7a7b;
}

.plant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.plant-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.plant-card:hover {
    transform: translateY(-5px);
}

.plant-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.plant-info {
    padding: 1rem;
}

.plant-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c7a7b;
    margin-bottom: 0.5rem;
}

.plant-scientific-name {
    font-style: italic;
    color: #68d391;
    margin-bottom: 0.5rem;
}

.plant-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.plant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* About AYUSH Section */
#about {
    background-color: #e6f7ff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    text-align: center;
    margin-bottom: 2rem;
}

.ayush-systems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.system {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.system i {
    font-size: 2.5rem;
    color: #68d391;
    margin-bottom: 1rem;
}

.system h3 {
    font-size: 1.2rem;
    color: #2c7a7b;
}

/* Admin Section */
#admin {
    background-color: white;
}

#admin-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

textarea {
    height: 100px;
}

button[type="submit"] {
    background-color: #68d391;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2c7a7b;
}

/* Footer */
footer {
    background-color: #2c7a7b;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

