/* ===== PODSTAWOWE STYLE ===== */
:root {
    --primary-color: #3a5f81;
    --secondary-color: #d98c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ===== TYPOGRAFIA ===== */
h1 {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h5 {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.6;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
    color: var(--white);
}

.top-contact span,
.top-info span {
    display: inline-block;
    margin-right: 15px;
}

.top-contact i,
.top-info i {
    color: var(--secondary-color);
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo-img {
    max-height: 120px;
    width: auto;
    min-width: 300px;
}

.header-features {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.feature-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-text span {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== NAVIGATION ===== */
.main-navigation {
    background-color: var(--primary-color);
    min-height: 60px;
    padding: 0;
}

.main-navigation .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 20px 15px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link:focus {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.main-navigation .navbar-toggler {
    border: none;
    color: var(--white);
}

.main-navigation .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== MEGA MENU ===== */
.mega-dropdown {
    position: static;
}

.mega-dropdown .mega-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1140px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    margin-top: 0;
    z-index: 1000;
}

.mega-menu .dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.mega-menu .dropdown-item {
    padding: 8px 15px;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 2px;
}

.mega-menu .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

.mega-menu .dropdown-item i {
    color: var(--secondary-color);
    width: 16px;
}

/* ===== BUTTONS ===== */
.btn-apply {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #c17a2a;
    border-color: #c17a2a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 140, 60, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2d4a66;
    border-color: #2d4a66;
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ===== PULSE ANIMATION ===== */
.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 140, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(217, 140, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 140, 60, 0);
    }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs-section {
    background-color: var(--light-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-content h1,
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    color: var(--white);
}

.hero-content .lead,
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    color: var(--white);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 40px 0;
    min-height: 60vh;
}

.content-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
    border-bottom: none;
}

/* ===== STATS SECTION ===== */
.stat-item {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 10px;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-stats .stat-label {
    color: var(--white);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.content-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.content-section h3 {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 20px;
}

.content-section h4 {
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-section .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 400;
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section.section-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.section.section-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ===== TILES/CARDS ===== */
.tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tile {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tile-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.tile h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tile p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== CARDS ===== */
.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: none;
}

.card-body {
    padding: 20px;
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.sidebar h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.sidebar .list-group-item {
    border: none;
    background-color: transparent;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar .list-group-item:last-child {
    border-bottom: none;
}

.sidebar .list-group-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.sidebar .list-group-item a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar .list-group-item a i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 16px;
}

/* ===== CONTENT IMPROVEMENTS ===== */
.content-wrapper {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.highlight-box {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box {
    background-color: rgba(58, 95, 129, 0.1);
    border: 1px solid rgba(58, 95, 129, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.info-box .info-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.warning-box {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.warning-box .warning-icon {
    color: #dc3545;
    font-size: 1.5rem;
    margin-right: 15px;
}

.success-box {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.success-box .success-icon {
    color: #28a745;
    font-size: 1.5rem;
    margin-right: 15px;
}

/* ===== SPECIFIC PAGE ELEMENTS ===== */

/* Quick Answer Box */
.quick-answer-box {
    background: rgba(58, 95, 129, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.quick-answer-box h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.mandatory-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.mandatory-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid rgba(58, 95, 129, 0.1);
    font-size: 1.05rem;
    line-height: 1.6;
}

.mandatory-list li:last-child {
    border-bottom: none;
}

.mandatory-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.important-notice {
    background-color: rgba(217, 140, 60, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin-top: 25px;
    border-radius: 0 8px 8px 0;
}

.important-notice h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.quick-links {
    list-style: none;
    padding-left: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-links a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Nationality Cards */
.nationality-categories {
    margin: 40px 0;
}

.nationality-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.nationality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.nationality-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirement-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.requirement-status.required {
    background-color: #dc3545;
    color: var(--white);
}

.requirement-status.optional {
    background-color: #ffc107;
    color: var(--text-dark);
}

.requirement-status.exempt {
    background-color: #28a745;
    color: var(--white);
}

.nationality-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 12px;
}

.nationality-card ul {
    margin-bottom: 20px;
}

.nationality-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.nationality-card .note {
    background-color: rgba(58, 95, 129, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 5px 5px 0;
    font-size: 0.95rem;
}

/* Common Nationalities */
.common-nationalities {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.common-nationalities h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
}

.common-nationalities h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.nationality-list {
    list-style: none;
    padding-left: 0;
}

.nationality-list li {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

.nationality-list li:last-child {
    border-bottom: none;
}

.nationality-list .required {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nationality-list .optional {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nationality-list .exempt {
    color: #28a745;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* ===== ADDITIONAL PAGE ELEMENTS ===== */

/* Important Alert Box */
.important-alert {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 35px;
    margin: 30px 0;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.15);
}

.important-alert h2 {
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.important-alert .lead {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.key-points {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.key-points h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.key-points ul {
    margin-bottom: 0;
}

.key-points li {
    margin-bottom: 8px;
    font-weight: 500;
}

.recommendation-box {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    padding: 20px;
    margin-top: 25px;
    border-radius: 0 8px 8px 0;
}

.recommendation-box h4 {
    color: #28a745;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Diplomatic Categories */
.diplomatic-categories {
    margin: 40px 0;
}

.exemption-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.exemption-card.not-exempt {
    border: 2px solid #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.exemption-card.exempt {
    border: 2px solid #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.exemption-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.exemption-card.not-exempt h3 {
    color: #dc3545;
}

.exemption-card.exempt h3 {
    color: #28a745;
}

.exemption-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 15px;
}

.exemption-card ul {
    margin-bottom: 20px;
}

.exemption-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    margin: 40px 0;
}

.step-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-card h4 {
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Verification Box */
.verification-box {
    background: rgba(58, 95, 129, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.verification-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.verification-box .contact-info {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.verification-box .contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Overview Stats */
.overview-stats {
    margin: 40px 0;
}

.stat-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Document Cards */
.document-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.document-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.document-card .document-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.document-card ul {
    margin-bottom: 20px;
}

.document-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.document-card .note {
    background-color: rgba(58, 95, 129, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    margin-top: 15px;
    border-radius: 0 5px 5px 0;
    font-size: 0.95rem;
}

/* Checklist Items */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.05rem;
    line-height: 1.6;
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 15px;
    color: #28a745;
    font-weight: bold;
    font-size: 1.3rem;
    width: 25px;
    height: 25px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tips and Warnings */
.tip-box {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid #17a2b8;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.tip-box h4 {
    color: #17a2b8;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tip-box .tip-icon {
    font-size: 1.3rem;
}

.warning-box {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box h4 {
    color: #856404;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box .warning-icon {
    font-size: 1.3rem;
}

/* ===== STEPLINE PROCESS STYLES ===== */

/* Application Process Stepline Container */
.stepline-container {
    position: relative;
    padding: 40px 0;
    margin: 50px 0;
}

.stepline-process {
    position: relative;
    padding-left: 0;
    list-style: none;
}

/* Vertical Line */
.stepline-process::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 1;
}

/* Step Item */
.stepline-item {
    position: relative;
    padding: 30px 0 30px 80px;
    margin-bottom: 20px;
}

.stepline-item:last-child {
    margin-bottom: 0;
}

/* Step Number Circle */
.stepline-number {
    position: absolute;
    left: 0;
    top: 35px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(58, 95, 129, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.stepline-number:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(58, 95, 129, 0.4);
}

/* Step Content */
.stepline-content {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.stepline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

/* Arrow pointing to content */
.stepline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--border-color);
    transition: border-right-color 0.3s ease;
}

.stepline-content:hover::before {
    border-right-color: var(--primary-color);
}

.stepline-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepline-title .step-icon {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.stepline-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.stepline-details {
    background-color: rgba(58, 95, 129, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.stepline-details h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.stepline-details ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.stepline-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Step Action Buttons */
.stepline-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stepline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stepline-btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.stepline-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 95, 129, 0.3);
    color: var(--white);
}

.stepline-btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.stepline-btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.stepline-btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.stepline-btn-secondary:hover {
    background-color: #c17a2f;
    transform: translateY(-2px);
    color: var(--white);
}

/* Application CTA Buttons */
.application-cta {
    background: rgba(58, 95, 129, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.application-cta h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.application-cta p {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.application-cta .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .application-cta .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .application-cta .btn-group .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive Design for Stepline */
@media (max-width: 768px) {
    .stepline-process::before {
        left: 20px;
    }
    
    .stepline-item {
        padding-left: 60px;
    }
    
    .stepline-number {
        left: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stepline-content::before {
        left: -8px;
        border-right-width: 8px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }
    
    .stepline-actions {
        flex-direction: column;
    }
    
    .stepline-btn {
        justify-content: center;
        text-align: center;
    }
}

/* ===== ACCORDION ===== */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-weight: 500;
    padding: 15px 20px;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px;
    background-color: var(--white);
}

/* ===== LISTS ===== */
.list-numbered {
    counter-reset: item;
    padding-left: 0;
}

.list-numbered li {
    display: block;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
    list-style: none;
}

.list-numbered li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

ul.list-styled {
    list-style: none;
    padding-left: 0;
}

ul.list-styled li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

ul.list-styled li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* ===== TABLES ===== */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 15px;
}

.table td {
    padding: 12px 15px;
    border-color: var(--border-color);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--light-bg);
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p,
.footer-legal p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-contact a:hover,
.footer-legal a:hover {
    color: var(--secondary-color);
}

.phone-numbers div {
    margin-bottom: 4px;
    font-size: 13px;
}

.footer-cookies {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-content h1,
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        height: 350px;
    }
    
    .content-wrapper {
        padding: 25px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .content-section {
        padding: 25px 0;
    }
    
    .header-features {
        justify-content: center;
        margin-top: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .mega-dropdown .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid var(--border-color) !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        opacity: 0;
    }
    
    .mega-dropdown .mega-menu.show {
        max-height: 1000px;
        opacity: 1;
    }
    
    .mega-dropdown .dropdown-toggle {
        cursor: pointer;
        user-select: none;
    }
    
    .mega-dropdown .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .mega-dropdown .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Mobile mega menu styling */
    .mega-dropdown .mega-menu .container {
        padding: 0;
    }
    
    .mega-dropdown .mega-menu .row {
        margin: 0;
    }
    
    .mega-dropdown .mega-menu .col-lg-3 {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .mega-dropdown .mega-menu .dropdown-header {
        background-color: var(--light-bg);
        padding: 10px 15px;
        margin-bottom: 0;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mega-dropdown .mega-menu .dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-size: 0.9rem;
    }
    
    .mega-dropdown .mega-menu .dropdown-item:hover {
        background-color: var(--light-bg);
        transform: none;
    }
    
    /* Regular dropdown menu mobile styles */
    .nav-item.dropdown .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: var(--white) !important;
        border: none !important;
        border-top: 1px solid var(--border-color) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        opacity: 0;
    }
    
    .nav-item.dropdown .dropdown-menu.show {
        max-height: 500px;
        opacity: 1;
    }
    
    /* Force mobile menu behavior */
    .navbar-collapse .nav-item.dropdown .dropdown-toggle::after {
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }
    
    .navbar-collapse .nav-item.dropdown .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    /* Ensure dropdowns work in collapsed navbar */
    .navbar-collapse.show .nav-item.dropdown .dropdown-menu,
    .navbar-collapse.show .mega-dropdown .mega-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        border: none !important;
        border-top: 1px solid var(--border-color) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
    }
    
    .nav-item.dropdown .dropdown-item {
        padding: 12px 20px;
        color: var(--text-dark);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-item.dropdown .dropdown-item:hover {
        background-color: var(--light-bg);
        color: var(--primary-color);
    }
    
    .tiles-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .sidebar {
        margin-top: 30px;
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        display: none;
    }
    
    .hero-content h1,
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .hero-content .lead,
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-section {
        height: 400px;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 15px 10px;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .main-content {
        padding: 15px 0;
    }
    
    .content-section {
        padding: 20px 0;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .sidebar {
        padding: 15px;
        margin-top: 20px;
    }
    
    .top-contact,
    .top-info {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-contact span,
    .top-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .tiles-container {
        grid-template-columns: 1fr;
    }
    
    .list-numbered li {
        padding-left: 50px;
    }
    
    .list-numbered li::before {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* MOBILE DROPDOWN MENU - COMPLETE RESET */
    .dropdown-menu,
    .mega-menu {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #f8f9fa !important;
        border: none !important;
        border-top: 2px solid #3a5f81 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 1000 !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .dropdown-menu.mobile-open,
    .mega-menu.mobile-open {
        visibility: visible !important;
        height: auto !important;
        max-height: 400px !important;
        min-height: 200px !important;
        padding: 15px 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .dropdown-item {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px !important;
        color: #333 !important;
        text-decoration: none !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: 1px solid #ddd !important;
    }
    
    .dropdown-item:hover {
        background-color: #e9ecef !important;
        color: #3a5f81 !important;
    }
    
    .dropdown-header {
        display: block !important;
        padding: 10px 20px !important;
        margin-bottom: 0 !important;
        font-size: 0.9rem !important;
        color: #3a5f81 !important;
        font-weight: 600 !important;
        background-color: #e9ecef !important;
        border-bottom: 1px solid #ddd !important;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 40px 0;
    }
    
    .hero-section {
        height: 450px;
        min-height: 450px;
    }
    
    .hero-content h1,
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .hero-content .lead,
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.4;
    }
    
    .hero-content {
        padding: 10px 8px;
    }
    
    .hero-buttons {
        margin-top: 15px;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        max-width: 260px;
    }
    
    .logo-img {
        min-width: 250px;
        max-height: 100px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* ===== LOADING OPTIMIZATION ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STYLES ===== */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .top-bar,
    .main-navigation,
    .breadcrumbs-section,
    .main-footer,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: var(--text-dark) !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}