html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #202C39;
    background-color: #FBFBFF;
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Hero Section con imagen de fondo superpuesta */
.hero-bg {
    /* Imagen de familia tranquila generada desde Unsplash para asegurar buena calidad */
    background-image: url('https://images.unsplash.com/photo-1511895426328-dc8714191300?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente oscuro para que el texto sea legible y dar sensación de calma */
    background: linear-gradient(to right, rgba(11, 79, 108, 0.9) 0%, rgba(11, 79, 108, 0.6) 50%, rgba(11, 79, 108, 0.3) 100%);
}

/* Efectos de Hover y Transiciones */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-primary {
    background: linear-gradient(135deg, #01BAEF 0%, #0B4F6C 100%);
    transition: all 0.3s ease;
    background-size: 200% auto;
}

.btn-primary:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(1, 186, 239, 0.3);
}

/* Animaciones al hacer scroll (Revelar elementos) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utilidad para retrasos en animaciones */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Estilo para el header fijo al hacer scroll */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header-scrolled .nav-link {
    color: #0B4F6C;
}

.header-transparent {
    background-color: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-transparent .nav-link {
    color: white;
}

/* Hide Scrollbar for Slider */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Swiper Custom Styles */
.swiper-pagination-bullet-active {
    background: #01BAEF !important;
}
.swiper-pagination-bullet {
    background: #0B4F6C;
}
.isapres-slider {
    padding-bottom: 3rem !important; /* Espacio extra para la paginación */
}
