/* ============================================================
   home.css — StudyUganda Premium Homepage Styles
   ============================================================ */

/* ── Hero Section ────────────────────────────────────────── */
.hero-cinematic {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax-ish effect */
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    color: white;
}


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

/* ── Cinematic Search ────────────────────────────────────── */
.clear-search-box {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-premium);
}

.clear-search-box:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), var(--shadow-premium);
    background: white;
}

.clear-search-box input {
    background: transparent !important;
    border: none !important;
    color: var(--primary-blue) !important;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.clear-search-box input::placeholder {
    color: rgba(26, 75, 140, 0.5);
}

/* ── Hero Capsule (Sidebar card) ─────────────────────────── */
.hero-capsule {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
}

/* ── Floating Stats ──────────────────────────────────────── */
.stats-floating-grid {
    margin-top: -50px;
}

.premium-stat-pill {
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(26, 75, 140, 0.05);
    box-shadow: var(--shadow-md);
    transition: var(--transition-premium);
    text-align: center;
}

.premium-stat-pill:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Strategic Objectives ────────────────────────────────── */
.objective-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-premium);
    display: flex;
    gap: 1.5rem;
}

.objective-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 75, 140, 0.1);
}

.objective-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.1;
    line-height: 1;
}

/* ── Resource Cards ──────────────────────────────────────── */
.arrival-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-premium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.arrival-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 75, 140, 0.1);
}

.arrival-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-premium);
}

.arrival-card:hover .arrival-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* ── Responsive Overrides ────────────────────────────────── */
@media (max-width: 991px) {
    .display-1 { font-size: 3rem !important; }
    .hero-cinematic { border-radius: 0 0 40px 40px; }
    .stats-floating-grid { margin-top: 2rem; }
}
