/* Shared styles for carrières/*.php pages
   Extracted from duplicated inline <style> blocks (identical across
   acienceeconom, administration, arts, aviation, education, engineering, medicine).
   Page-specific rules (hero background image, bubble/floating animation timing,
   glass-card radius, etc.) remain inline in each page. */

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.slide-down {
    animation: slideDown 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Active tab styling */
.nav-link.active-tab {
    color: #0d6efd !important; /* Bootstrap primary blue */
    font-weight: 600;
    position: relative;
}

.nav-link.active-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* Enhanced hover effects for non-active nav links */
.nav-link:not(.active-tab):hover {
    color: #0d6efd !important;
}

.nav-link:not(.active-tab)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background-color: #0d6efd;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link:not(.active-tab):hover::after {
    left: 0.75rem;
    right: 0.75rem;
}

/* Language switcher dropdown */
.language-options {
    min-width: 80px;
}

.language-option {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.language-option:hover {
    background-color: #e7f1ff;
}

.language-option.active {
    color: #0d6efd;
    font-weight: 600;
    background-color: #e7f1ff;
}

/* Logo size control */
.logo-container img {
    max-height: 50px;
    width: auto;
}

/* Mobile menu logo */
@media (max-width: 991px) {
    .logo-container img {
        max-height: 40px;
    }
}

/* Blue highlight theme */
.blue-highlight {
    border-color: #0d6efd;
}

.blue-bg-hover:hover {
    background-color: #e7f1ff;
}
