body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

header {
    background-color: #005f73;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero {
    position: relative;
    background: url('../img/hospital.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

.overlay h2, .overlay p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.overlay p {
    font-size: 18px;
    font-weight: bold;
}

.btn {
    display: inline-block;
    font-size: 18px;
    padding: 12px 25px;
    background-color: #ee6c4d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #ff4500;
    color: black;
    transform: scale(1.1);
    transition: 0.3s;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    background-color: #005f73;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #005f73;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

.about {
    text-align: center;
    padding: 40px;
    max-width: 900px;
    margin: auto;
}

.about h2 {
    font-size: 28px;
    color: #005f73;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.about-img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.language {
  cursor: pointer;
  padding: 5px;
  margin: 0 5px;
  font-weight: bold;
}

.language.active {
  text-decoration: underline;
  color: #007bff;
}

.language-switch {
    text-align: right;
    padding: 10px;
    background-color: #005f73;
}

.language-switch a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.lang-switch a {
    margin: 0 5px;
    text-decoration: none;
    font-size: 20px;
  }
  
  .lang-switch a.active {
    text-decoration: underline;
    color: #fff;
  }
  

.staff-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.staff-member {
    display: flex;
    align-items: center;
    background: #f4d6a0;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.staff-member img {
    width: 120px;
    height: 150px;
    border-radius: 10px;
    margin-right: 20px;
    object-fit: cover;
}

.staff-info {
    flex: 1;
}

.staff-info h3 {
    margin: 0;
    color: #333;
}

.staff-info p {
    margin: 5px 0;
    color: #555;
}

@media (max-width: 600px) {
    .staff-member {
        flex-direction: column;
        text-align: center;
    }

    .staff-member img {
        margin-bottom: 10px;
    }
}

/* Estilos para la página de Agendar Cita */
.form-container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    border-bottom: 2px solid #005f73;
    padding-bottom: 5px;
    color: #005f73;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

button {
    background-color: #005f73;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
}

button:hover {
    background-color: #003d4f;
}
