* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Paleta de colores de farmacia: verde, azul, blanco, amarillo, gris claro */
:root {
    --primary-blue: #0077b6;
    --primary-green: #43b581;
    --primary-yellow: #ffe600;
    --primary-white: #fff;
    --primary-gray: #f4f6fb;
    --primary-dark: #030051;
}
body {
    background: var(--primary-gray);
    color: #333;
    font-family: 'Quicksand', 'Poppins', Arial, sans-serif;
    min-height: 100vh;
}
header {
    background-color: #030051;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Modern header styles */
.main-header {
    background: linear-gradient(90deg, var(--primary-green) 40%, var(--primary-blue) 80%, var(--primary-yellow) 100%);
    box-shadow: 0 2px 8px rgba(3,0,81,0.08);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.pharmacy-icon {
    min-width: 48px;
    min-height: 48px;
}
.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
}
nav ul {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
nav ul li a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-white);
    background: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(67,181,129,0.08);
}
nav ul li a:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(255,230,0,0.15);
}
@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    nav ul {
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .main-header {
        padding: 0.5rem 0.2rem;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0.5rem;
    }
    .logo-area {
        gap: 0.5rem;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    nav ul li a {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
    }
}

#carrusel {
    position: relative;
    max-width: 100%;
    margin: auto;
    text-align: center;
    height: 50vh;
    min-height: 220px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,119,182,0.08);
    background: var(--primary-white);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.carousel-slide img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s;
    border-radius: 18px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 1rem;
    color: var(--primary-white);
    font-weight: bold;
    font-size: 18px;
    border: none;
    background-color: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(67,181,129,0.15);
    transform: translateY(-50%);
    z-index: 10;
}

.prev:hover, .next:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
/* Sangría pronunciada para el contenedor general */
#info {
    background: var(--primary-gray);
    margin-left: 0;
    margin-right: 0;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
 
#info {
    font-family: 'Quicksand', sans-serif; /* Rounded and modern font */
    font-size: 1.2rem; /* Adjust font size as needed */
    text-align: justify; /* Justify text */
   
}



.section-content {
    background: var(--primary-white);
    border: 1px solid var(--primary-green);
    box-shadow: 0 2px 8px rgba(67,181,129,0.08);
    border-radius: 18px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}
.section-content h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}
.section-content p {
    color: #333;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
}
.section-content img {
    border-radius: 12px;
    border: 2px solid var(--primary-green);
    background: var(--primary-gray);
    max-width: 320px;
    width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(67,181,129,0.08);
}
.text-left {
    flex-direction: row-reverse;
}
.text-right {
    flex-direction: row;
}

/* Footer General */
/* Footer General */
footer {
    background-color: var(--primary-blue);
    color: var(--primary-white);
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 16px rgba(0,119,182,0.08);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-section {
    flex: 1 1 200px;
    padding: 1rem;
    min-width: 220px;
}

/* Otros estilos (sin cambios) */
.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-green);
}

.footer-section p, .footer-section ul {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--primary-white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

/* Redes Sociales */
.social-media .social-icons a {
    display: inline-block;
    margin-right: 0.5rem;
}

.social-media .social-icons img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: var(--primary-white);
    transition: transform 0.3s ease, border-color 0.3s;
}

.social-media .social-icons a:hover img {
    transform: scale(1.1);
    border-color: var(--primary-yellow);
}

/* Únete a Nuestro Equipo */
.work-with-us p a {
    color: var(--primary-yellow);
    text-decoration: underline;
    transition: color 0.3s;
}

.work-with-us p a:hover {
    color: var(--primary-green);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
    color: var(--primary-green);
}

/* Responsive */
@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    nav ul {
        gap: 1rem;
    }
    .section-content {
        flex-direction: column;
        padding: 1.2rem;
        gap: 1rem;
    }
    .section-content img {
        max-width: 100%;
    }
    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    .main-header {
        padding: 0.5rem 0.2rem;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0.5rem;
    }
    .logo-area {
        gap: 0.5rem;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    nav ul li a {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
    }
    #info {
        padding: 1rem 0.2rem;
    }
    .section-content {
        padding: 0.7rem;
        gap: 0.5rem;
    }
    .footer-section {
        min-width: 160px;
        padding: 0.5rem;
    }
}
