/**
 * Homepage — Animated Background & Glassmorphism Overrides
 * Extracted from index.htm inline <style> block
 *
 * @package 100PlusAcademy
 */

/* ── 1. Animated Gradient Background ── */
body {
    background: linear-gradient(-45deg, #ffffff, #fffafa, #ffeeee, #ffffff);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── 2. Soft Red Glow Orbs ── */
body::before,
body::after {
    content: "";
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 3, 0, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -2;
    animation: orbit 25s infinite alternate ease-in-out;
}

body::before { top: -20%; left: -10%; }
body::after  { bottom: -20%; right: -10%; animation-delay: -5s; }

@keyframes orbit {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(100px, 50px) scale(1.1); }
}

/* ── 3. Floating Educational Bubbles ── */
.edu-background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    bottom: -100px;
    color: rgba(209, 3, 0, 0.07);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    user-select: none;
    animation: bubbleRise 20s infinite linear;
}

.floating-icon:nth-child(1) { left: 5%;  font-size: 3.5rem; animation-duration: 25s; }
.floating-icon:nth-child(1)::before { content: "\f19d"; }

.floating-icon:nth-child(2) { left: 25%; font-size: 2rem;   animation-duration: 18s; animation-delay: 2s; }
.floating-icon:nth-child(2)::before { content: "\f51c"; }

.floating-icon:nth-child(3) { left: 45%; font-size: 4rem;   animation-duration: 30s; animation-delay: 5s; }
.floating-icon:nth-child(3)::before { content: "\f02d"; }

.floating-icon:nth-child(4) { left: 65%; font-size: 2.5rem; animation-duration: 22s; animation-delay: 1s; }
.floating-icon:nth-child(4)::before { content: "\f594"; }

.floating-icon:nth-child(5) { left: 85%; font-size: 3rem;   animation-duration: 28s; animation-delay: 8s; }
.floating-icon:nth-child(5)::before { content: "\f0eb"; }

@keyframes bubbleRise {
    0%   { transform: translateY(0) rotate(0deg);       opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-125vh) rotate(360deg); opacity: 0; }
}

/* ── 4. Transparent Sections ── */
.programs-tab-section,
.learning-paths-section,
.success-stories {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.container-tab-wrapper,
.programs-tab-bar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ── 5. Glassmorphism — Program Tabs ── */
.p-tab-inner {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.p-tab-inner:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-5px);
}

/* ── 6. Glassmorphism — Learning Path Cards ── */
.lp-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(209, 3, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

/* ── 7. Success Stories Glassmorphism ── */
.boxed-layout {
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

/* ── 8. Utility: Inline style replacements ── */
.text-brand { color: #d10300; }
.text-navy  { color: #003060; }
.text-brand-accent { color: #cc0f0f; }
.section-label-sm {
    color: #cc0f0f;
    letter-spacing: 2px;
    font-size: 14px;
}
.heading-lg {
    font-weight: 700;
    color: #1b3139;
}
.heading-lg .text-brand { color: #d10300; }
