/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Segoe UI',sans-serif;
background:#f4f7fb;
color:#2c3e50;
}

/* NAVBAR */
.custom-navbar{
background:rgba(0,82,155,0.95);
padding:15px 0;
}

/* LOGO */
.logo-institucional{
width:40px;
height:40px;
object-fit:contain;
margin-right:10px;
}

/* MENU */
.nav-link,.navbar-brand{
color:white !important;
}

.nav-link{
position:relative;
}

/* ANIMACION MENU */
.nav-link::after{
content:"";
position:absolute;
left:0;
bottom:-5px;
width:0%;
height:2px;
background:white;
transition:0.3s;
}

.nav-link:hover::after{
width:100%;
}

/* BOTON INSCRIBIRME */
.btn-inscribirme{
background:white;
color:#00529b;
padding:10px 25px;
border-radius:30px;
font-weight:600;
}

.btn-inscribirme:hover{
background:#57B9FF;
}

/* SLIDER */
.slider-container img{
height:90vh;
object-fit:cover;
}

.slider-overlay{
position:absolute;
top:0;
width:100%;
height:100%;
background-color: rgba(0, 0, 0, 0.09);
}

.carousel-caption{
bottom:30%;
}

/* SECCIONES */
.section-padding{
padding:90px 0;
}

/* CARRERAS */
.career-card{
background:white;
padding:40px 20px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:0.3s;
}

.career-card i{
font-size:40px;
color:#00529b;
margin-bottom:15px;
}

.career-card:hover{
transform:translateY(-8px);
}

.career-desc{
font-size:14px;
color:#6b7280;
margin-top:10px;
}

/* NOTICIAS */
.news-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.news-card img{
width:100%;
height:200px;
object-fit:cover;
}

.news-content{
padding:18px;
}



/* ================= FOOTER ELEGANTE ================= */


/* ICONOS REDES */
.social-icons a{
  display:inline-block;
  color:white;
  font-size:18px;
  margin-right:12px;
  transition:.3s;
}

.social-icons a:hover{
  color:#80b3ff; /* azul claro hover */
  transform:translateY(-2px);
}

/* DIVIDER */
.footer-divider{
  border-top:1px solid rgba(255,255,255,0.2);
  margin:20px 0;
}

/* CAJAS ARRIBA */
.footer-top{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
}

.footer-box{
  margin-bottom:20px;
  flex:1;
  min-width:180px;
}

/* TEXTO FINAL */
footer .text-center p{
  margin:0;
  color:#e0e0e0; /* copyright más suave */
  font-size:14px; /* un poco más grande */
}

/* RESPONSIVE */
@media(max-width:768px){
  .footer-top{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .footer-box{
    margin-bottom:15px;
  }
  .social-icons a{
    margin-right:8px;
    font-size:20px;
  }
}

/* ICONOS REDES */
.social-icons a{
  display:inline-block;
  color:white;
  font-size:18px;
  margin-right:12px;
  transition:.3s;
}

.social-icons a:hover{
  color:#a8c0ff; /* hover azul claro */
  transform:translateY(-2px);
}

/* DIVIDER */
.footer-divider{
  border-top:1px solid rgba(255,255,255,0.3);
  margin:20px 0;
}

/* CAJAS ARRIBA */
.footer-top{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
}

.footer-box{
  margin-bottom:20px;
  flex:1;
  min-width:180px;
}

/* TEXTO FINAL */
footer .text-center p{
  margin:0;
  color:#d0d0d0; /* copyright más suave */
  font-size:13px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .footer-top{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .footer-box{
    margin-bottom:15px;
  }
  .social-icons a{
    margin-right:8px;
    font-size:20px;
  }
}

/* ICONOS REDES */
.social-icons a{
display:inline-block;
color:white;
font-size:18px;
margin-right:12px;
transition:.3s;
}

.social-icons a:hover{
color:#ffd54f;
transform:translateY(-2px);
}

/* DIVIDER */
.footer-divider{
border-top:1px solid rgba(255,255,255,0.3);
margin:20px 0;
}

/* CAJAS ARRIBA */
.footer-top{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
}

.footer-box{
margin-bottom:20px;
flex:1;
min-width:180px;
}

/* TEXTO FINAL */
footer .text-center p{
margin:0;
opacity:.8;
font-size:13px;
}

/* RESPONSIVE */
@media(max-width:768px){
.footer-top{
flex-direction:column;
align-items:center;
text-align:center;
}
.footer-box{
margin-bottom:15px;
}
.social-icons a{
margin-right:8px;
font-size:20px;
}
}


.social-icons a{
font-size:22px;
margin-right:15px;
color:#00529b;
transition:0.3s;
}

.social-icons a:hover{
transform:translateY(-3px);
color:#003f7a;
}

/* RESPONSIVE */
@media(max-width:768px){

.slider-container img{
height:50vh;
}

.footer-box{
border-right:none;
border-bottom:1px solid #c7dbf7;
margin-bottom:20px;
padding-bottom:20px;
}

}

/* CONTENIDO */
.section-padding{
padding:80px 0;
}

/* SIDEBAR */
.sidebar-card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
margin-bottom: 25px;
}

.sidebar-menu{
list-style:none;
padding:0;
}

.sidebar-menu li{
margin:10px 0;
}

.sidebar-menu a{
text-decoration:none;
color:#333;
transition:.3s;
}

.sidebar-menu a:hover{
color:#0d6efd;
padding-left:5px;
}

/* FOOTER */
footer{
background:#eaf4ff;
padding:60px 0 30px;
}

footer-divider{
border-left:1px solid rgba(0,0,0,0.1);
}

social-icons a{
font-size:22px;
margin-right:15px;
color:#333;
transition:.3s;
}

social-icons a:hover{
color:#0d6efd;
}

/* ===== SECCION ===== */
.gestion-section{
padding:80px 0;
background:#f4f8fc;
}

/* TITULOS */
.section-header{
text-align:center;
margin-bottom:50px;
}

.section-header h1,
.section-header h2{
font-weight:700;
color:#003366;
}

/* ================= Estilos para Cards de Noticias ================= */
.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-card img {
    width: 100%;
    height: 200px; /* Altura fija para consistencia */
    object-fit: cover; /* Mantiene proporción y recorta si es necesario */
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card .news-content h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.news-card .news-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-card .news-content a.btn {
    align-self: flex-start;
    font-size: 13px;
    padding: 5px 10px;
}

/* Responsive para las noticias */
@media (max-width: 768px) {
    .news-card img {
        height: 180px;
    }
}


/* PANEL INFORMATIVO FORMULARIO */
.form-info-box{
    background:white;
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    text-align:center;
    height:100%;
}

/* TITULO */
.form-info-box h4{
    color:#003366;
    font-weight:600;
    margin-bottom:10px;
}

/* TEXTO */
.form-description{
    font-size:15px;
    color:#555;
}

/* FAQ */
.form-info-box h5{
    margin-top:20px;
    margin-bottom:15px;
    color:#003366;
}

.form-faq{
    list-style:none;
    padding:0;
    text-align:left;
}

.form-faq li{
    margin-bottom:12px;
    font-size:15px;
}

.form-faq i{
    color:#0d6efd;
    margin-right:8px;
}

/* EFECTO SUAVE EN IMAGEN */
.form-info-box img{
    transition:0.3s;
}

.form-info-box img:hover{
    transform:scale(1.03);
}

/* PANEL INFORMATIVO FORMULARIO */
.form-info-box{
    background:white;
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    text-align:center;
    height:100%;
}

/* ICONO GRANDE */
.form-icon{
    width:100px;
    height:100px;
    margin:0 auto 20px;
    border-radius:50%;
    background:linear-gradient(135deg,#0d6efd,#003366);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:45px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:0.3s;
}

.form-icon:hover{
    transform:scale(1.08);
}

/* TITULO */
.form-info-box h4{
    color:#003366;
    font-weight:600;
}

/* TEXTO */
.form-description{
    font-size:15px;
    color:#555;
}

/* FAQ */
.form-info-box h5{
    margin-top:20px;
    margin-bottom:15px;
    color:#003366;
}

.form-faq{
    list-style:none;
    padding:0;
    text-align:left;
}

.form-faq li{
    margin-bottom:12px;
}

.form-faq i{
    color:#0d6efd;
    margin-right:8px;
}


