:root {
    --primary-dark: #0B1F4D;
    --primary-blue: #0033A0;
    --accent-red: #C8102E;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --success: #198754;
    --warning: #FFC107;
    --danger: #DC3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    box-shadow: 0 4px 20px rgba(11, 31, 77, 0.3);
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emblem {
    width: 60px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-brand-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar-brand-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    display: block;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 1rem 1.2rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.flag-stripe {
    height: 4px;
    display: flex;
}

.flag-white {
    background: var(--white);
    flex: 1;
}

.flag-blue {
    background: var(--primary-blue);
    flex: 1;
}

.flag-red {
    background: var(--accent-red);
    flex: 1;
}

.language-switcher .btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    margin-left: 5px;
    transition: all 0.3s ease;
}

.language-switcher .btn:hover,
.language-switcher .btn.active {
    background: var(--white);
    color: var(--primary-dark);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 85vh;
    background-size: cover;
    background-position: center;
}

.hero-section .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 31, 77, 0.9) 0%, rgba(0, 51, 160, 0.85) 100%);
}

.hero-section .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(200, 16, 46, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom {
    background: var(--accent-red);
    border: 2px solid var(--accent-red);
    color: var(--white);
}

.btn-primary-custom:hover {
    background: #A00D24;
    border-color: #A00D24;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 16, 46, 0.4);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(11, 31, 77, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(11, 31, 77, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red) 0%, var(--primary-blue) 100%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.visa-card {
    padding: 2rem;
    height: 100%;
}

.visa-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.visa-card h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.visa-card .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 5rem 0;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.news-card {
    overflow: hidden;
    border-radius: 12px;
}

.news-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-date {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-category {
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(11, 31, 77, 0.05) 0%, rgba(0, 51, 160, 0.05) 100%);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: none;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid var(--medium-gray);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 160, 0.15);
}

.status-card {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.status-approved {
    background: rgba(25, 135, 84, 0.1);
    border: 2px solid var(--success);
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid var(--warning);
}

.status-rejected {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid var(--danger);
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--medium-gray);
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red) 0%, var(--primary-blue) 100%);
    z-index: 1;
    transition: width 0.5s ease;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 0.75rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.step-item.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step-item.active .step-label {
    color: var(--primary-dark);
}

.contact-info-card {
    padding: 2rem;
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
