/* Reseteo y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}   

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header y navegación */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-info, .contact-info {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #666;
    margin-left: 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #b01a33;;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 60px;
}

.main-menu ul {
    display: flex;
    gap: 5px;
}

.main-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.0s;
}

.main-menu li.active a, .main-menu li a:hover {
    color: #b01a33;;
}

/* Hero Banner / Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Oscurece un poco la imagen */
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-nav span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    opacity: 0.5;
    cursor: pointer;
}

.slider-nav span.active {
    opacity: 1;
    background: #b01a33;; /* Color del puntito activo */
}


/* Servicios Rápidos */
.quick-services {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.quick-services .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background-color: #b01a33;;
    color: #fcf5f5;
    padding: 25px;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 14px;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #f5edee;
}

.schedule {
    margin-bottom: 15px;
}

.schedule p {
    margin-bottom: 3px;
}

.schedule .hours {
    font-weight: 600;
    margin-bottom: 10px;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.slider-controls button {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: #fff;
    color: #f3f0f0;
}

/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Titles with Red Accent */
.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: #333;
}

.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color:#b01a33;;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-decorator {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #b01a33;;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 15px;
}

/* Especialidades Section */
.especialidades {
    padding: 50px 0;
    background-color: #fff;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.especialidad-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.especialidad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 20px rgba(0,0,0,0.1);
}

.especialidad-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
}

.especialidad-card:hover img {
    transform: rotate(360deg);
    transition: transform 0.8s ease;
}


.especialidad-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .especialidades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pacientes-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .paciente-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .especialidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .especialidades-grid {
        grid-template-columns: 1fr;
    }
}

/* Sección de Citas */
.appointment-section {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.appointment-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-item i {
    color: #a91424;
    margin-right: 10px;
    margin-top: 5px;
}

.info-item p {
    font-size: 14px;
    color: #666;
}

.quote {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #b01a33;;
    font-style: italic;
}

.quote i {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Footer CTA */
.footer-cta {
    background-color: #b01a33;
    color: white;
    padding: 20px 0;
}

.cta-grid {
    display: flex;
    justify-content: space-between;
}

.cta-box {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.cta-box i {
    font-size: 24px;
    margin-right: 15px;
}

.cta-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-box p {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-widget p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
}

.footer-news-item {
    margin-bottom: 15px;
}

.footer-news-title {
    font-size: 14px;
    color: #bbb;
}

.footer-news-date {
    font-size: 12px;
    color: #888;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #b01a33;
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact-text {
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

.social-footer {
    text-align: right;
}

.social-footer a {
    color: #888;
    margin-left: 15px;
    font-size: 14px;
}

/* Testimonial */
.testimonial {
    background-color: #f9f9f9;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.testimonial p {
    font-style: italic;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-signature {
    margin-top: 15px;
    color: #b01a33;
    font-size: 14px;
}

/* Tagline */
.tagline {
    padding: 20px 0;
    text-align: center;
}

.tagline p {
    font-style: italic;
    color: #b01a33;
}

/* Formulario de Citas */
.appointment-form-container {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.form-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.form-header h2 {
    font-size: 18px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.form-header h2 i {
    margin-right: 10px;
}

.form-header p {
    font-size: 14px;
    margin-left: 10px;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.appointment-form {
    padding: 25px;
}

.form-row {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.form-group small {
    display: block;
    color: #777;
    font-size: 12px;
    margin-bottom: 5px;
    font-style: italic;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23444"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.form-actions {
    margin-top: 30px;
    text-align: right;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #5e0115;
}

/* Location Section */
.location-section {
    background-color: #2e2e2e;
    color: white;
    padding: 40px 0;
}

.map-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.map-box i {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.map-box h3 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 5px;
}

.map-box h2 {
    font-size: 24px;
    font-weight: bold;
}

/* Footer CTA */
.footer-cta {
    background-color: #b01a33;
    color: white;
    padding: 20px 0;
}

.cta-grid {
    display: flex;
    justify-content: space-between;
}

.cta-box {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.cta-box i {
    font-size: 24px;
    margin-right: 15px;
}

.cta-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-box p {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-widget p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
}

.footer-news-item {
    margin-bottom: 15px;
}

.footer-news-title {
    font-size: 14px;
    color: #bbb;
}

.footer-news-date {
    font-size: 12px;
    color: #888;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #b01a33;
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact-text {
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

.social-footer {
    text-align: right;
}

.social-footer a {
    color: #888;
    margin-left: 15px;
    font-size: 14px;
}

/* Testimonial */
.testimonial {
    background-color: #f9f9f9;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.testimonial p {
    font-style: italic;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-signature {
    margin-top: 15px;
    color: #b01a33;
    font-size: 14px;
}

/* Tagline */
.tagline {
    padding: 20px 0;
    text-align: center;
}

.tagline p {
    font-style: italic;
    color: #b01a33;
}


/*nosotros*/

:root {
    --primary-color: #990000;
    --secondary-color: #333;
    --light-color: #f8f8f8;
    --gray-color: #666;
    --white: #fff;
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1)
}; 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--secondary-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #f3f8f3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background-color: #f2f2f2;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.logo-container {
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
}

.logo-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-list {
    display: flex;
    list-style-type: none;
    gap: 20px;
}

.nav-list li a {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-list li a:hover, .nav-list li a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 400px;
    background-image: url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background-color:#b01a33;;
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 50px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-vision {
    margin-top: 50px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.member-info p {
    color: var(--gray-color);
    margin-bottom: 15px;
}


/* Contact Section */
.contact-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-box {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-widget h4 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

.bottom-footer {
    background-color: #222;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    height: 400px;
    background-color: #eee;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 30px;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 50px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--secondary-color);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search Form */
.search-form {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.search-form input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background-color: transparent;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    color: var(--primary-color);
}

/* Values List */
.values-list {
    list-style: none;
    margin-top: 20px;
}

.values-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.values-list li i {
    color: var(--primary-color);
    margin-right: 10px;


/*equipo*/

/* Estilos para la sección Conoce al equipo */
.team-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    position: relative;
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    padding-bottom: 10px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #b01a33;;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.doctor-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    height: 50px;
    overflow: hidden;
}

.doctor-image img {
    width: 50%;
    height: 250%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.specialty {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.credentials {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #a91424;
    color: #fff;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background: none;
    border: 2px solid#b01a33;;
    color: #b01a33;;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: #b01a33;;
    color: #fff;
}

.prev-btn:disabled,
.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

/* Responsive styles */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-image {
        height: auto;
    }
}

/* Footer CTA */
.footer-cta {
    background-color: #b01a33;
    color: white;
    padding: 20px 0;
}

.cta-grid {
    display: flex;
    justify-content: space-between;
}

.cta-box {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.cta-box i {
    font-size: 24px;
    margin-right: 15px;
}

.cta-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-box p {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-widget p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
}

.footer-news-item {
    margin-bottom: 15px;
}

.footer-news-title {
    font-size: 14px;
    color: #bbb;
}

.footer-news-date {
    font-size: 12px;
    color: #888;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #b01a33;
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact-text {
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

.social-footer {
    text-align: right;
}

.social-footer a {
    color: #888;
    margin-left: 15px;
    font-size: 14px;
}

/* Testimonial */
.testimonial {
    background-color: #f9f9f9;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.testimonial p {
    font-style: italic;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-signature {
    margin-top: 15px;
    color: #b01a33;
    font-size: 14px;
}

/* Tagline */
.tagline {
    padding: 20px 0;
    text-align: center;
}

.tagline p {
    font-style: italic;
    color: #b01a33;
}

/*servicio*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header styles */
.top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 12px;
    color: #666;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color:#b01a33;

.social-icons a {
    margin-left: 10px;
    color: #666;
}

.social-icons a:hover {
    color:#b01a33;
}

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #b01a33;
}

.main-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #b01a33;
}

.login-btn .btn {
    background-color: #b01a33;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.login-btn .btn:hover {
    background-color: #b01a33;
}

/* Page title and breadcrumbs */
.page-banner {
    background-color: #f5f5f5;
    padding: 15px 0;
}

.page-banner h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.breadcrumbs {
    font-size: 12px;
    color: #666;
}

.breadcrumbs a {
    color: #b01a33;
}

/* Banner image */
.banner-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Content sections */
.content {
    padding: 40px 0;
}

.section-title {
    margin-bottom: 30px;
    position: relative;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.section-title h2 {
    color: #990000;
    font-size: 20px;
    display: inline-block;
}

.icon-heart {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.icon-heart img {
    width: 20px;
    height: 20px;
}

.services-section {
    margin-bottom: 40px;
}

.services-section h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-column {
    flex: 1;
    min-width: 250px;
}

.service-column ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-column ul li i {
    color: #990000;
    position: absolute;
    left: 0;
    top: 4px;
}

.services-details {
    margin-bottom: 40px;
}

.services-details p {
    margin-bottom: 15px;
}

.services-details h4 {
    color: #990000;
    font-size: 16px;
    margin: 20px 0 10px;
}

.services-details ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.services-details ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Insurance section */
.insurance-section {
    margin-bottom: 40px;
}

.insurance-section h3 {
    color: #990000;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.icon-insurance {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.icon-insurance img {
    width: 16px;
    height: 16px;
}

.insurance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.insurance-column {
    flex: 1;
    min-width: 250px;
}

.insurance-column h4 {
    color: #fff;
    background-color: #990000;
    padding: 10px 15px;
    font-size: 16px;
    margin-bottom: 15px;
}

.insurance-column ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.insurance-column ul li i {
    color: #990000;
    position: absolute;
    left: 0;
    top: 4px;
}

/* Footer CTA */
.footer-cta {
    background-color: #b01a33;
    color: white;
    padding: 20px 0;
}

.cta-grid {
    display: flex;
    justify-content: space-between;
}

.cta-box {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.cta-box i {
    font-size: 24px;
    margin-right: 15px;
}

.cta-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-box p {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-widget p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
}

.footer-news-item {
    margin-bottom: 15px;
}

.footer-news-title {
    font-size: 14px;
    color: #bbb;
}

.footer-news-date {
    font-size: 12px;
    color: #888;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: #b01a33;
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact-text {
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

.social-footer {
    text-align: right;
}

.social-footer a {
    color: #888;
    margin-left: 15px;
    font-size: 14px;
}

/* Testimonial */
.testimonial {
    background-color: #f9f9f9;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.testimonial p {
    font-style: italic;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-signature {
    margin-top: 15px;
    color: #b01a33;
    font-size: 14px;
}

/* Tagline */
.tagline {
    padding: 20px 0;
    text-align: center;
}

.tagline p {
    font-style: italic;
    color: #b01a33;
}

/*contacto*/

:root {
    --primary-color: #0b2a91;
    --secondary-color: #4706e0;
    --light-gray: #6913f5;
    --dark-gray: #4b0ff0;
    --text-color: #710bf7;
    --white: #ffffff;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-gray);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Header Styles */
  .top-bar {
    background-color: #f8f8f8;
    padding: 8px 0;
    font-size: 14px;
  }
  
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .contact-info span {
    margin-right: 20px;
    color: var(--dark-gray);
  }
  
  .contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
  }
  
  .social-icons a {
    color: var(--dark-gray);
    margin-left: 15px;
    font-size: 16px;
  }
  
  .main-header {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 70px;
  }
  
  .main-nav ul {
    display: flex;
    list-style: none;
  }
  
  .main-nav li {
    margin-left: 25px;
  }
  
  .main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .main-nav a:hover, 
  .main-nav a.active {
    color: var(--primary-color);
  }
  
  .main-nav a.results-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
  }
  
  /* Page Header */
  .page-header {
    padding: 20px 0;
    background-color: var(--white);
  }
  
  .page-header h1 {
    font-size: 28px;
    color: var(--text-color);
    font-weight: 500;
  }
  
  .breadcrumbs {
    font-size: 14px;
    color: #999;
  }
  
  .breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  /* Content Container */
  .content-container {
    padding: 40px 0;
    background-color: var(--white);
  }
  
  /* Map Container */
  .map-container {
    margin-bottom: 40px;
  }
  
  .map-tabs {
    display: flex;
    margin-bottom: 10px;
  }
  
  .map-tab {
    padding: 8px 20px;
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
    font-size: 14px;
  }
  
  .map-tab.active {
    background-color: #111011;
    color: white;
  }
  
  #google-map {
    height: 450px;
    width: 100%;
    border: 1px solid #ddd;
  }
  
  /* Contact Info Boxes */
  .contact-info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .info-box {
    display: flex;
    align-items: center;
  }
  
  .info-box .icon {
    flex: 0 0 60px;
  }
  
  .info-box .icon img {
    width: 50px;
    height
  }
/*especialidades y servicio*/

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f7f7f7;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 26px;
    color: #333;
    position: relative;
    display: inline-block;
}

.line-decorator {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #e53935;
    margin: 0 auto 10px;
}



/*espe*/

/* CSS básico para recrear el estilo mostrado */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
}

.especialidades {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-seccion {
    text-align: center;
    color: #0a3a5c;
    font-size: 36px;
    margin-bottom: 40px;
}

.contenedor-tarjetas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tarjeta {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-5px);
}

.icono {
    margin-bottom: 15px;
}

.icono img {
    width: 80px;
    height: 80px;
}

.tarjeta h3 {
    color: #0a3a5c;
    font-size: 18px;
}

