/* Variables de color de ADESMUR */
:root {
    --adesmur-blue: #003366;
    --adesmur-blue-light: #004c99;
    --adesmur-gold: #ffc107;
    --adesmur-gold-hover: #e0a800;
}

html {
    scroll-behavior: smooth;
}

html, body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    max-width: 100vw;
    overflow-x: hidden;
}

.text-adesmur { color: var(--adesmur-blue); }
.bg-adesmur { background-color: var(--adesmur-blue); }

.btn-adesmur { background-color: var(--adesmur-gold); color: #000; font-weight: bold; transition: all 0.3s ease; }
.btn-adesmur:hover { background-color: var(--adesmur-gold-hover); color: #000; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

.navbar .nav-link { position: relative; transition: color 0.3s; }
.navbar .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; display: block; margin-top: 5px; right: 0; background: var(--adesmur-gold); transition: width 0.3s ease; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 100%; left: 0; background: var(--adesmur-gold); }

.carousel-item { height: 85vh; min-height: 600px; background: no-repeat center center scroll; background-size: cover; }
.carousel-overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 0, 0, 0.6)); }
.carousel-caption-center { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 2; }

.section-title { position: relative; display: inline-block; padding-bottom: 15px; }
.section-title::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--adesmur-gold); border-radius: 2px; }

.card-hover { transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.1); }
.card-hover:hover { transform: translateY(-10px); box-shadow: 0 1.5rem 3rem rgba(0,0,0,.15)!important; border-color: var(--adesmur-gold); }

.partner-logo-box small {
    line-height: 1.2;
}
.partner-logo-box h6 {
    line-height: 1.1;
}

.transition { transition: all 0.3s ease; }

/* ==============================================================
   AJUSTES PARA CURSOS Y COLABORADORES
   ============================================================== */
.course-list-item { 
    transition: all 0.3s ease; 
    border-left: 4px solid transparent; 
}

@media (hover: hover) and (pointer: fine) {
    .course-list-item:hover { 
        background-color: #f8f9fa; 
        border-left-color: var(--adesmur-gold); 
        transform: translateX(5px); 
    }
}

.partner-logo-box { 
    transition: none; 
    opacity: 1; 
    filter: grayscale(0%); 
}