        body {
            font-family: 'Georgia', serif;
            color: #333;
        }
        .navbar-brand {
            font-weight: bold;
            font-size: 1.4rem; /* Ajustado para nombre más largo */
        }
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/herobg.png') no-repeat center center; /* Actualizado placeholder */
            background-size: cover;
            color: white;
            padding: 120px 0;
            text-align: center;
        }
        .hero-section h1 {
            font-size: 3.2rem; /* Ajustado ligeramente */
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        }
        .hero-section p {
            font-size: 1.4rem; /* Ajustado ligeramente */
            margin-bottom: 30px;
        }
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            font-size: 2.5rem;
            font-weight: bold;
            color: #004A7F;
        }
        .card {
            border: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%; /* Para alinear tarjetas de igual altura en una fila */
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .card-img-top-doctor {
            width: 200px;
            height: 200px;
            object-fit: cover;
            border: 5px solid #004A7F; /* Borde para destacar */
        }
        .btn-primary-custom {
            background-color: #74b7e8;
            border-color: #004A7F;
            padding: 12px 30px;
            font-size: 1.1rem;
            border-radius: 50px;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }
        .btn-primary-custom:hover {
            background-color: #003359;
            border-color: #003359;
        }
        .list-group-item {
            border-left: 3px solid #004A7F;
            padding-left: 15px;
            background-color: transparent; /* Para que herede el bg-light si es el caso */
        }
        .form-control:focus {
            border-color: #004A7F;
            box-shadow: 0 0 0 0.25rem rgba(0, 74, 127, 0.25);
        }
        .footer {
            background-color: #f8f9fa;
            padding: 40px 0;
            margin-top: 60px;
            border-top: 1px solid #e7e7e7;
        }
        .footer p {
            margin-bottom: 0;
        }
        .carousel-item img {
            height: 450px; /* Altura aumentada para mejor visualización */
            object-fit: cover;
            border-radius: .25rem;
        }
        .card-body-icon {
            font-size: 3rem;
            color: #004A7F;
            opacity: 0.8;
            margin-bottom: 15px;
        }
        .bg-light-custom {
             background-color: #f8f9fA !important; /* Para asegurar el fondo claro */
        }
   		
		/* --- PRELOADER STYLES --- */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ffffff;
            z-index: 9999;
            display: flex;
            flex-direction: column; /* Cambiado para alinear verticalmente */
            justify-content: center;
            align-items: center;
            opacity: 1;
            transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
            visibility: visible;
        }
        #preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        .preloader-logo {
            width: 150px;
            animation: pulse 1.5s infinite ease-in-out;
            margin-bottom: 20px; /* Espacio entre logo y texto */
        }
        #preloader-text {
            color: #004A7F;
            font-size: 1.2rem;
            font-weight: 500;
            text-align: center;
            transition: opacity 0.5s ease-in-out;
            padding: 0 15px;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* --- ESTILOS GENERALES (Mantenidos de tu código original) --- */
        body {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
            color: #333;
        }
       .navbar-brand {
            font-weight: bold;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
        }
       .navbar-brand img {
            height: 40px;
            margin-right: 10px;
        }
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/herobg.png') no-repeat center center;
            background-size: cover;
            color: white;
            padding: 120px 0;
            text-align: center;
        }
        .hero-section h1 {
            font-size: 3.2rem; 
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        }
        .hero-section p {
            font-size: 1.4rem; 
            margin-bottom: 30px;
        }
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            font-size: 2.5rem;
            font-weight: bold;
            color: #004A7F;
        }
        .card {
            border: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%; 
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .card-img-top-doctor {
            width: 250px;
            height: 250px;
            object-fit: cover;
            border: 5px solid #004A7F; 
        }
        .btn-primary-custom {
            background-color: #004A7F;
            border-color: #004A7F;
            padding: 12px 30px;
            font-size: 1.1rem;
            border-radius: 50px;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }
        .btn-primary-custom:hover {
            background-color: #003359;
            border-color: #003359;
        }
        .list-group-item-custom {
            border-left: 3px solid #004A7F;
            padding-left: 15px;
            background-color: transparent; 
        }
        .form-control:focus {
            border-color: #004A7F;
            box-shadow: 0 0 0 0.25rem rgba(0, 74, 127, 0.25);
        }
        .footer {
            background-color: #f8f9fa;
            padding: 40px 0;
            margin-top: 60px;
            border-top: 1px solid #e7e7e7;
        }
        .footer img {
            height: 60px;
            margin-bottom: 20px;
        }
        .footer p {
            margin-bottom: 0;
        }
        .carousel-item img {
            height: 450px; 
            object-fit: cover;
            border-radius:.25rem;
        }
        .card-body-icon {
            font-size: 3rem;
            color: #004A7F;
            opacity: 0.8;
            margin-bottom: 15px;
        }
        .bg-light-custom {
             background-color: #f8f9fA!important; 
        }
        .areas-card .card-img-top {
            height: 200px;
            object-fit: cover;
        }

/* Ajuste para el botón de Área de Alumnos en la barra de navegación */
		.navbar .btn-sm {
    		padding: 0.4rem 0.8rem;
    		font-size: 0.875rem;
    		margin-top: 0.4rem; /* Alineación vertical en móvil */
		}

		@media (min-width: 992px) { /* Para pantallas grandes (lg y superiores) */
    		.navbar .btn-sm {
        	margin-top: 0; /* Reseteo del margen en escritorio */
    	}
}