/* GDN Frontend Styles */
.gdn-wrapper {
    padding: 50px 20px;
    margin: 0 auto;
    direction: rtl;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.gdn-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.gdn-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #d4a017;
    border-radius: 2px;
}

.gdn-grid {
    display: grid;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gdn-card {
    padding: 25px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gdn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gdn-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a017, #1a3a5c);
    opacity: 0;
    transition: opacity 0.3s;
}

.gdn-card:hover::before {
    opacity: 1;
}

.gdn-icon {
    margin-bottom: 10px;
}

.gdn-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #1a3a5c;
}

.gdn-stat-value {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.gdn-stat-value::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    left: 0;
    height: 2px;
    background: #ccc;
    border-radius: 1px;
}

.gdn-stat-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
}

.gdn-department {
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .gdn-stat-value {
        font-size: 28px;
    }
    .gdn-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .gdn-wrapper {
        padding: 30px 15px;
    }
    .gdn-stat-value {
        font-size: 24px;
    }
    .gdn-title {
        font-size: 22px;
    }
    .gdn-card {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .gdn-stat-value {
        font-size: 28px;
    }
    .gdn-card {
        padding: 25px 15px;
    }
}

/* Animation */
.gdn-card {
    opacity: 0;
    transform: translateY(20px);
    animation: gdn-card-in 0.5s ease forwards;
}

@keyframes gdn-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation */
.gdn-card:nth-child(1) { animation-delay: 0.05s; }
.gdn-card:nth-child(2) { animation-delay: 0.1s; }
.gdn-card:nth-child(3) { animation-delay: 0.15s; }
.gdn-card:nth-child(4) { animation-delay: 0.2s; }
.gdn-card:nth-child(5) { animation-delay: 0.25s; }
.gdn-card:nth-child(6) { animation-delay: 0.3s; }
.gdn-card:nth-child(7) { animation-delay: 0.35s; }
.gdn-card:nth-child(8) { animation-delay: 0.4s; }
.gdn-card:nth-child(9) { animation-delay: 0.45s; }
.gdn-card:nth-child(10) { animation-delay: 0.5s; }
.gdn-card:nth-child(n+11) { animation-delay: 0.55s; }
