* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
        
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}
.top-bar {
    background: #67266c;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}
        
.top-bar a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
}
        
.top-bar a:hover {
    opacity: 0.8;
}
        
.social-icons {
    display: flex;
    gap: 0.8rem;
}
        
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
}
        
.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
}
        
/* Header */
header {
    background: #510488;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-link {
    text-decoration: none;
    color: inherit;
}
        
.logo-container img {
    height: 80px;
    width: auto;
}
        
.logo-text {
     color: white;
}
        
.logo-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}
        
.logo-text .subtitle {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 300;
}
        
.logo-text .tagline {
    font-size: 0.75rem;
    margin-top: 0.2rem;
    opacity: 0.9;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

nav {
    display: flex;
    gap: 2rem;
    position: relative;
}
        
nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: opacity 0.3s;
    position: relative;
}
        
nav a:hover {
    opacity: 0.8;
}
        
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s;
}
        
nav a:hover::after {
    width: 100%;
}
.dropbtn {
            color: white;
            padding: 10px 15px;
            font-weight: 600;
            margin-left: 5px;
            transition: background-color 0.3s ease;
            text-decoration: none;
            background-color: transparent; /* Para el botón */
            border: none; /* Para el botón */
            cursor: pointer; /* Para el botón */
            font-family: inherit;
            font-size: inherit;
        }
        /* Contenedor principal del menú desplegable */
.dropdown {
    position: relative; /* Clave: el contenido desplegable se posicionará respecto a este div */
    display: inline-block;
}

/* El botón o enlace que activa el menú (sustituye al enlace simple) */
.dropbtn {
    /* Puedes darle el mismo estilo que a tus otros enlaces de nav */
    padding: 10px 15px; 
}

/* Contenido del submenú */
.dropdown-content {
    /* Posiciona el submenú justo debajo del botón */
    position: absolute;
    top: 100%; /* Empieza justo debajo del botón */
    left: 0;
    background-color: #8227d8; /* Color de fondo del submenú */
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10; /* Asegura que esté por encima de otros elementos */
    /* CLAVE: Por defecto está oculto */
    display: none; 
    border-radius: 0 0 5px 5px;
}

/* Estilo para los enlaces dentro del submenú */
.dropdown-content a {
    color:ffffff; /* Color del texto */
    padding: 12px 16px;
    text-decoration: none;
    display: block; /* Ocupa todo el ancho */
    text-align: left;
}

/* CLAVE: Mostrar el submenú al pasar el ratón sobre el contenedor .dropdown */
.dropdown:hover .dropdown-content {
    display: block;
}
#proceso-admision {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.admision-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.admision-header h1 {
    color: #004080;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.registro-text {
    font-size: 1rem;
    color: #555;
    margin-top: 20px;
}

.cta-visita {
    display: inline-block;
    background-color: #6a1b9a; /* Púrpura */
    color: white;
    padding: 10px 25px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.cta-visita:hover {
    background-color: #4a148c;
    transform: translateY(-2px);
}

.admision-container h2 {
    color: #004080;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.paso-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 4px solid #004080;
    text-align: left;
}

.paso-numero {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #6a1b9a;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.paso-card h3 {
    color: #004080;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.paso-card p {
    color: #444;
    font-size: 0.95rem;
}

.cuentas-bancarias {
    background-color: #f1f7fe; /* Azul muy claro para las cuentas */
    border-left: 3px solid #6a1b9a;
    padding: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Botón final de CTA */
.admision-cta-final {
    text-align: center;
    margin-top: 50px;
}

.cta-button-final {
    display: inline-block;
    background-color: #004080; /* Azul oscuro principal */
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.25rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(0, 64, 128, 0.3);
}

.cta-button-final:hover {
    background-color: #6a1b9a; /* Púrpura al pasar el ratón */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 27, 154, 0.4);
}

/* Media Query para responsividad (tabletas y móviles) */
@media (max-width: 992px) {
    .pasos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tabletas */
    }
}

@media (max-width: 600px) {
    .pasos-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
    .admision-header h1 {
        font-size: 2rem;
    }
    .cta-button-final {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
}
@media (max-width: 768px) {
    /* Top bar responsive */
    .top-bar {
        padding: 0.4rem 3%;
        font-size: 0.75rem;
        gap: 0.8rem;
        top: 0;
    }
    
    .top-bar a {
        font-size: 0.75rem;
    }
    
    /* Header móvil */
    header {
        padding: 0.8rem 3%;
        flex-wrap: wrap;
        top: 38px;
    }
    
    /* Logo más pequeño en móvil */
    .logo-container {
        flex: 1;
        gap: 0.5rem;
    }
    
    .logo-container img {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.65rem;
    }
    
    /* Mostrar botón hamburguesa en móvil */
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    /* Menú de navegación en móvil */
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #510488;
        order: 4;
        padding: 1rem 0;
        margin-top: 0.5rem;
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Dropdowns en móvil */
    .dropdown {
        width: 100%;
    }
    
    .dropbtn {
        width: 100%;
        text-align: left;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #6a1b9a;
        border-radius: 0;
    }
    
    .dropdown-content a {
        padding-left: 2rem;
    }
}