/**
 * Scholarships4IS — Modern Bespoke Platform Stylesheet
 * File: public/Website/css/scholarships4is-design.css
 * Core Brand: Oxford Navy, Royal Azure & Electric Cyan
 */

/* ─── Modern Keyframes & Animations ───────────────────────────────────────────── */
@keyframes scholarFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes subtleShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ─── Hero Mesh & Ambient Backgrounds ─────────────────────────────────────────── */
.hero-academic-bg {
    background: radial-gradient(circle at 15% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 50% 90%, rgba(11, 25, 44, 0.03) 0%, transparent 50%),
                #ffffff;
}

.hero-pattern-grid {
    background-size: 32px 32px;
    background-image: linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
}

/* ─── Glassmorphism & Modern Surfaces ─────────────────────────────────────────── */
.brand-glass {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.brand-glass-dark {
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ─── Brand Gradients ─────────────────────────────────────────────────────────── */
.brand-gradient-primary {
    background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 50%, #0284c7 100%);
}

.brand-gradient-accent {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
}

.brand-gradient-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.brand-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.text-gradient-brand {
    background: linear-gradient(135deg, #0b192c 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Card Architecture & Micro-Interactions ──────────────────────────────────── */
.scholar-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #f1f5f9;
}

.scholar-card:hover {
    transform: translateY(-5px);
    border-color: #bae6fd;
    box-shadow: 0 20px 35px -8px rgba(2, 132, 199, 0.16), 0 8px 16px -4px rgba(11, 25, 44, 0.04);
}

/* Image zoom in cards */
.scholar-img-zoom {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scholar-card:hover .scholar-img-zoom {
    transform: scale(1.06);
}

/* ─── Badges & Status Signals ─────────────────────────────────────────────────── */
.badge-fully-funded {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-deadline-urgent {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.28);
    font-weight: 600;
}

.badge-deadline-normal {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.badge-verified {
    background: rgba(2, 132, 199, 0.10);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.20);
}

/* ─── Compass Search Bar ──────────────────────────────────────────────────────── */
.compass-search-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 45px -10px rgba(11, 25, 44, 0.09), 0 8px 16px -4px rgba(11, 25, 44, 0.04);
    border-radius: 20px;
}

.compass-search-container:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 25px 50px -10px rgba(2, 132, 199, 0.20), 0 0 0 4px rgba(2, 132, 199, 0.10);
}

/* ─── Custom Floating Tabs ────────────────────────────────────────────────────── */
.scholar-tab-btn {
    transition: all 0.2s ease;
    border-radius: 9999px;
    font-weight: 600;
}

.scholar-tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.4);
}

/* ─── Modern Scrollbar ────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
