/* Estilos Generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header */
header {
    background: #4CAF50; /* Verde amigable */
    color: #fff;
    padding-top: 10px;
    min-height: 70px;
    border-bottom: #357a38 3px solid;
}

header h1 {
    float: left;
    margin: 0;
    padding: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #ddd;
    font-weight: bold;
}

/* Main Content */
main {
    padding: 20px 0;
}

/* Hero Section */
#hero {
    min-height: 400px;
    background: #5cb85c; /* Verde más claro */
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    color: #fff;
    background: #357a38; /* Verde oscuro */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #285f2a;
}

/* Features Section */
#features {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-item {
    flex-basis: 30%;
    padding: 20px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-item h4 {
    color: #4CAF50;
    margin-bottom: 10px;
}

/* About Homeopathy Section */
#about-homeopathy {
    padding: 40px 0;
    background: #fff;
}

#about-homeopathy h2, #about-homeopathy h3 {
    color: #4CAF50;
    margin-bottom: 20px;
}

#about-homeopathy ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

#about-homeopathy li {
    margin-bottom: 10px;
}

/* Contact Section */
#contact {
    padding: 40px 0;
    background: #fff;
}

#contact h2 {
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
}

#contact p {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: calc(100% - 22px); /* Ajuste para padding y borde */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive Design */
@media(max-width: 768px) {
    header h1,
    header nav,
    header nav ul li {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul li {
        margin-bottom: 10px;
    }

    .feature-item {
        flex-basis: 90%;
    }

    .container {
        width: 95%;
    }
}