/* Estilos generales */
:root {
    --primary-color: #d85e22;
    --secondary-color: #53a5b7;
    --dark-color: #15243c;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 23, 31, 0.9);
    padding: 8px 0;
    /* Reducido para acomodar el nuevo logo */
    transition: all 0.3s ease;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

/* --- Estilos para el nuevo logo --- */
.logo-container {
    background-color: #ffffff;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
    /* La transición ahora está en el contenedor */
    transition: none;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-brand:hover .logo-container {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-btn {
    margin-left: 15px;
    border-radius: 20px;
    padding: 0.375rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url("../images/slider/pacs-bg.d7935ad7f563.png") no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 23, 31, 0.7);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(216, 94, 34, 0.3);
}

.hero-section .btn-primary:hover {
    background-color: #b84d1a;
    /* Naranja más oscuro */
    border-color: #b84d1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 94, 34, 0.4);
}

/* Secciones */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

/* Servicios Section */
.services-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(216, 94, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-card .icon-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Beneficios Section */
.benefits-section {
    padding: 80px 0;
    background-color: white;
}

.benefit-item {
    margin-bottom: 30px;
}

.benefit-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(216, 94, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.benefit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefit-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(216, 94, 34, 0.3);
}

.cta-section .btn-primary:hover {
    background-color: #b84d1a;
    border-color: #b84d1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 94, 34, 0.4);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px;
}

.footer-brand-section .logo-container {
    /* Hacemos el logo del footer un poco más pequeño y ajustamos el padding */
    width: 50px;
    height: 50px;
    padding: 3px;
}

.footer-brand-section .logo-container img {
    width: 100%;
    height: 100%;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

hr {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 23, 31, 0.95);
        padding: 20px;
        border-radius: 5px;
        margin-top: 15px;
    }

    .login-btn {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}