/* Hero Section */
.hero-section {
    background: url('../Image/policie.png') center/cover;
}


/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.documents-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.document-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Special hover effect for Independence document */
.document-item.featured:hover {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    border-color: #6c5ce7;
}

.document-item.featured:hover .document-icon {
    background: rgba(255, 255, 255, 0.2);
}

.document-icon {
    width: 24px;
    height: 24px;

    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.document-content {
    flex: 1;
}

.document-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.pdf-icon {
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .documents-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .document-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .document-content {
        width: 100%;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 200px;
    height: 100vh;
    background: rgba(5, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
}

/* Close button for mobile menu */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Mobile menu hamburger animation when active */
.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #a29bfe;
    transform: rotate(90deg);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-section {
    margin-bottom: 25px;
}

.mobile-nav-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-item {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 10px;
    font-weight: 400;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-style: italic;
}

.mobile-nav-item:hover {
    color: #a29bfe;
    padding-left: 10px;
}

.mobile-nav-item.active {
    color: #a29bfe;
    border-left: 3px solid #a29bfe;
    padding-left: 15px;
}

.mobile-language-section {
    margin-top: auto;
    padding-top: 20px;
}

.mobile-language-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-flag {
    width: 20px;
    height: 14px;
    background: linear-gradient(to bottom, #012169 33%, white 33%, white 66%, #C8102E 66%);
    position: relative;
}

.mobile-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 45%, #C8102E 45%, #C8102E 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #C8102E 45%, #C8102E 55%, transparent 55%);
}