/* ===== CUSTOM PROPERTIES ===== */
:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFC107;
    --light-yellow: #FFEB3B;
    --dark-yellow: #F9A825;
    --accent-yellow: #FFE082;
    --gradient-yellow: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #000 100%) !important;
    border-bottom: 3px solid var(--primary-yellow);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-yellow) !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    transition: color 0.3s ease;
    color: #fff !important;
}

.nav-link:hover {
    color: var(--primary-yellow) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #000 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.diferente-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    animation: fadeInDown 0.8s ease-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-badge {
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    animation: fadeInDown 0.8s ease-out 0.2s backwards;
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    animation: fadeInDown 0.8s ease-out 0.4s backwards;
}

.hero-description {
    animation: fadeInDown 0.8s ease-out 0.6s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    padding: 20px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-yellow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
    color: white;
}

.stat-card:nth-child(1) {
    animation-delay: 0.8s;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card:hover {
    transform: translateY(-10px);
    background: var(--gradient-yellow);
    color: #1a1a2e;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: #f8f9fa;
    border-bottom: 3px solid var(--primary-yellow);
}

.input-group-text {
    border: 2px solid #dee2e6;
}

.form-control {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.btn-warning {
    background: var(--gradient-yellow);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* ===== DIVISION HEADERS ===== */
.division-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-yellow);
    position: relative;
}

.division-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.division-header i {
    font-size: 2.5rem;
}

.division-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.division-line {
    flex-grow: 1;
    height: 3px;
    background: var(--gradient-yellow);
    border-radius: 10px;
}

/* ===== CAREER CARDS ===== */
.career-card {
    height: 100%;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    animation: slideUp 0.6s ease-out backwards;
    background: white;
}

.career-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border: 2px solid var(--primary-yellow);
}

.career-card-img-top {
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
    width: 100%;
}

.career-card:hover .career-card-img-top {
    transform: scale(1.15) rotate(2deg);
}

.card-img-overlay-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 215, 0, 0.98);
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    z-index: 10;
    transition: all 0.3s ease;
}

.career-card:hover .card-img-overlay-badge {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

.card-title {
    color: var(--dark-yellow);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.career-card:hover .card-title {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.card-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
}

.coordinator-section-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-top: 3px solid var(--light-yellow);
    padding: 20px;
    border-radius: 0 0 24px 24px;
    margin: -1px -1px -1px -1px;
}

.coordinator-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.career-card:hover .coordinator-img {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.6);
}

.coordinator-name {
    font-weight: 700;
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.coordinator-title {
    font-size: 0.85rem;
    color: #6c757d;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CAREER DETAIL PAGE ===== */
.career-detail-page {
    min-height: 60vh;
}

.career-header-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.career-title-main {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.career-main-img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.info-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-yellow);
    transition: all 0.3s ease;
}

.info-section:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.info-section-title {
    color: var(--dark-yellow);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-section-title i {
    font-size: 2rem;
}

.info-section-content {
    color: #495057;
    line-height: 1.8;
    font-size: 1.05rem;
}

.coordinator-card-detail {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-yellow);
    margin-bottom: 30px;
}

.coordinator-photo-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-yellow);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.coordinator-info-detail h3 {
    color: var(--dark-yellow);
    font-weight: 700;
    margin-bottom: 15px;
}

.coordinator-info-detail p {
    margin-bottom: 10px;
    color: #495057;
}

.coordinator-info-detail a {
    color: var(--secondary-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.coordinator-info-detail a:hover {
    color: var(--dark-yellow);
    text-decoration: underline;
}

.curriculum-btn {
    background: var(--gradient-yellow);
    border: none;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.curriculum-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    color: #1a1a2e;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #000 100%) !important;
    border-top: 3px solid var(--primary-yellow);
}

.footer a:hover {
    color: var(--primary-yellow) !important;
}

.footer .text-dark {
    color: white !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .stat-card {
        margin-bottom: 15px;
    }

    .coordinator-card-detail {
        text-align: center;
    }

    .coordinator-photo-large {
        margin-bottom: 20px;
    }
}

/* ===== UTILITIES ===== */
.text-warning {
    color: var(--primary-yellow) !important;
}

.bg-warning {
    background: var(--gradient-yellow) !important;
}

.border-warning {
    border-color: var(--primary-yellow) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: #fff;
}

.map-container {
    transition: all 0.5s ease;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3) !important;
}

/* Global download buttons */
.download-btn {
    display: inline-block;
    background: var(--gradient-yellow);
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    margin: 10px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    color: #1a1a2e;
    text-decoration: none;
}

.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
}

.download-btn.secondary:hover {
    background: var(--gradient-yellow);
    color: #1a1a2e;
}