

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    --primary-light: rgba(13, 110, 253, 0.1);
    --success-light: rgba(25, 135, 84, 0.1);
    --warning-light: rgba(255, 193, 7, 0.1);
}


body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px;
}


.container {
    max-width: 1200px;
}


.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
}


.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"/></svg>');
    background-size: cover;
}

.mission-box {
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-left: 4px solid var(--primary-color);
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    transition: all 0.3s ease;
    border: none;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}


.service-quick-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    height: 100%;
}

.service-quick-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.1) !important;
}


.news-card {
    border: none;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}


.chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chatbot-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 10px;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.user-message {
    margin-left: auto;
}

.bot-message {
    margin-right: auto;
}

.message-content {
    padding: 10px 15px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 15px;
}

.bot-message .message-content {
    background: white;
    border-radius: 15px 15px 15px 0;
}

.message-time {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 5px;
    text-align: right;
}


.course-card {
    position: relative;
    border: none;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}


.table-hover tbody tr:hover {
    background-color: var(--primary-light);
}


.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}


.icon-wrapper-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}


.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
}

.timeline-year {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}


.report-year {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}


.quick-replies {
    margin-top: 10px;
}

.quick-reply {
    transition: all 0.2s ease;
}

.quick-reply:hover {
    transform: translateY(-2px);
}


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}


.img-fluid {
    max-width: 100%;
    height: auto;
}


.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}



.org-chart {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.org-level {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.org-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    position: relative;
    transition: all 0.3s ease;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.org-card.director {
    border-top: 5px solid var(--primary-color);
}

.org-card.deputy {
    border-top: 5px solid var(--success-color);
}

.org-card.department {
    border-top: 5px solid var(--warning-color);
}

.org-card-header h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.org-card-header p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}


.partner-card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.partner-logo {
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.press-illustration {
    border: 2px solid var(--primary-color);
}


.news-main-card {
    border: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.news-main-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.news-stats {
    color: var(--secondary-color);
    font-size: 0.9rem;
}


.timeline {
    position: relative;
    padding-left: 40px;
    margin-left: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-light);
}


.goal-card {
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.goal-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 10px;
}


.hotline-illustration {
    border: 2px dashed var(--primary-color);
}

.hotline-info h4 {
    font-weight: bold;
}


.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}


.report-year {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}


.stat-number-lg {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}


@media (max-width: 768px) {
    .org-chart {
        max-width: 100%;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .org-card {
        width: 100%;
        max-width: 300px;
    }
    
    .timeline {
        padding-left: 30px;
        margin-left: 10px;
    }
    
    .goal-number {
        font-size: 2rem;
    }
    
    .stat-number-lg {
        font-size: 2rem;
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }