/* Custom CSS for National Integrity Party */

/* Mesh Gradients & Hero Accents */
.hero-gradient {
    background: radial-gradient(circle at 20% 20%, rgba(0, 135, 81, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(11, 27, 61, 0.2) 0%, transparent 40%),
                linear-gradient(135deg, #071228 0%, #0B1B3D 50%, #081630 100%);
}

.university-gradient {
    background: radial-gradient(circle at 75% 15%, rgba(217, 119, 6, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(0, 135, 81, 0.12) 0%, transparent 40%),
                linear-gradient(135deg, #020617 0%, #0B132B 50%, #070D1E 100%);
}

.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.card-shine:hover::after {
    transform: rotate(30deg) translate(20%, 20%);
}

/* Certificate Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #printable-certificate, #printable-certificate * {
        visibility: visible;
    }
    #printable-certificate {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none !important;
        border: none !important;
    }
    .no-print {
        display: none !important;
    }
}

/* Certificate Ornamental Frame */
.cert-border {
    border: 12px solid #0B1B3D;
    outline: 3px double #D97706;
    outline-offset: -8px;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Logo Clarity on Dark/Non-White Backgrounds */
.logo-badge-white {
    background-color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.logo-halo-white {
    filter: drop-shadow(0 0 1px #ffffff) drop-shadow(0 0 2px rgba(255, 255, 255, 0.85));
}

