/* DZI Page Styles */

.hero-section {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(-10px) translateY(-10px);
    }

    50% {
        transform: translateX(10px) translateY(-5px);
    }

    75% {
        transform: translateX(-5px) translateY(10px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.hero-stats .stat-item {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
}

.bg-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
}

.modern-title {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.modern-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    border-radius: 2px;
}

.modern-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.modern-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.modern-card-static {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-gold), var(--primary-red));
}

.card-content {
    padding: 2rem;
}

.floating-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    animation: float-icon 3s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(178, 34, 34, 0.3);
}

@keyframes float-icon {

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

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.card-title {
    color: var(--dark-red);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.documents-container {
    max-width: 1000px;
    margin: 0 auto;
}

.document-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.document-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.document-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.document-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 12px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.document-icon i {
    font-size: 1.8rem;
}

.document-details {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-red);
    font-size: 1.1rem;
}

.document-description {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.document-action {
    flex-shrink: 0;
    margin-left: 1rem;
}

.document-action .btn {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.document-action .btn:hover {
    transform: scale(1.05);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(178, 34, 34, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .document-row {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .document-info {
        margin-bottom: 1rem;
    }

    .document-action {
        margin-left: 0;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats .stat-item {
        margin-bottom: 1rem;
    }

    .card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .document-icon {
        width: 50px;
        height: 50px;
    }

    .document-icon i {
        font-size: 1.5rem;
    }

    .document-title {
        font-size: 1rem;
    }

    .document-description {
        font-size: 0.85rem;
    }

    .hero-content .display-4 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }
}