/* =========================================================
   UI-ACADEMY — FRONT.CSS (LEVEL 7 — CELESTIAL AURORA)
   FINAL FULL FIXED VERSION
========================================================= */

/* GLOBAL -------------------------------------------------- */

body {
    background: #070708;
    color: #f5f5f5;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }


/* =========================================================
   REMOVE THEME SPACER
========================================================= */

body.page-id-9448 #content.site-content::before,
body.page-id-9448 #content.site-content::after {
    display: none !important;
}

body.page-id-9448 #content.site-content,
body.page-id-9448 #primary.content-area,
body.page-id-9448 #main.site-main,
body.page-id-9448 article#post-9448,
body.page-id-9448 .inside-article,
body.page-id-9448 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-9448 .entry-header {
    height: 0 !important;
    overflow: hidden !important;
}


/* =========================================================
   COSMIC BACKGROUND LAYERS
========================================================= */

#uiacademy-quantum-wave,
#uiacademy-particles-back,
#uiacademy-particles-front,
#uiacademy-constellations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}


/* =========================================================
   HEADER TRANSPARENCY
========================================================= */

body.page-id-9448 header,
body.page-id-9448 .site-header,
body.page-id-9448 #masthead {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================================
   HERO BASE
========================================================= */

.uiacademy-hero {
    position: relative;
    height: 460px;
    padding: 40px 20px;
    text-align: center;
    background: radial-gradient(circle at 40% 10%, #0f2024 0%, #070b0d 60%, #030404 100%);
    overflow: hidden;
}


/* =========================================================
   SILHOUETTE & AURA — ENHANCED & CORRECTED
========================================================= */

.uiacademy-silhouette {
    position: absolute;
    top: 50%;                          /* slightly higher for better centering */
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 650px;                      /* bigger silhouette */
    height: 1250px;                    /* taller / more presence */

    background: url('/wp-content/uploads/2025/12/Radiant-Silhouette-in-Celestial-Darkness.png')
                no-repeat center;
    background-size: contain;

    opacity: 0;                         /* starts hidden → fades in */
    animation: silhouetteFadeIn 2.6s ease forwards;

    border: 2px solid rgba(117,195,199,0.35);
    border-radius: 14px;

    filter: brightness(1.55);           /* stronger glow */
    mix-blend-mode: screen;             /* enhances teal energy effect */

    z-index: 4;
}

@keyframes silhouetteFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -52%) scale(1.12); /* larger entrance */
        filter: brightness(0.6);
    }
    100% {
        opacity: .52;                    /* much more pronounced */
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1.55);
    }
}

/* SOFT AURA GLOW BEHIND THE SILHOUETTE */
.text-aura {
    position: absolute;
    width: 340px;                       /* larger aura */
    height: 340px;
    top: 0px;                           /* slight lift for better composition */
    left: 50%;
    transform: translateX(-50%);
    
    background: radial-gradient(
        circle, 
        rgba(117,195,199,0.35) 0%, 
        rgba(117,195,199,0.20) 35%, 
        transparent 80%
    );

    filter: blur(60px);                 /* softer and wider glow */
    opacity: .85;                       /* more noticeable */
    z-index: 3;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.uiacademy-hero-content {
    position: relative;
    z-index: 10;
    max-width: 760px;
    margin: 60px auto 0;
    animation: fadeInHero 1.6s ease forwards;
}

.hero-line {
    opacity: 0;
    transform: translateY(14px);
    animation: heroFadeUp 1.4s ease forwards;
    text-shadow: 0 0 12px rgba(117,195,199,0.38);
}

.hero-line-1 {
    font-size: 44px;
    font-weight: 600;
    color: #e0ffff;
    animation-delay: .25s;
}

.hero-line-2 {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 300;
    color: #b4f3f6;
    opacity: .95;
    animation-delay: .7s;
}

.hero-rotator {
    margin-top: 26px;
    font-size: 20px;
    font-weight: 300;
    color: #75c3c7;
    opacity: 0;
    animation: heroFadeUp 1.4s ease forwards 1.2s;
}

#hero-word {
    color: #c8f3ff;
    font-weight: 500;
    padding-left: 8px;
}

.hero-cta {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 30px;
    border-radius: 6px;
    background: rgba(117,195,199,0.25);
    border: 1px solid rgba(117,195,199,0.6);
    color: #e0ffff;
    font-size: 18px;
}

.hero-cta:hover {
    background: rgba(117,195,199,0.4);
}


/* =========================================================
   BREATHWORK PANEL — CLEAN RESTORE
========================================================= */

/* FIX 1 — Gap between Hero and Breathwork */
.uiacademy-hero + .hero-controls {
    margin-top: 40px !important;
}

.hero-controls {
    width: 100%;
    max-width: 1200px;
    margin: -10px auto 0;
    padding: 40px 20px;
    background: rgba(27,29,30,0.55);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 20;

    /* FIX 2 — Prevent timeline overflowing */
    overflow: hidden !important;
}

/* Speaker button */
.speaker-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(117,195,199,0.18);
    border: 1px solid rgba(117,195,199,0.35);
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow .4s ease, background .3s ease;
}

.speaker-btn.active {
    background: rgba(117,195,199,0.35);
    box-shadow: 0 0 14px rgba(117,195,199,0.55),
                0 0 28px rgba(117,195,199,0.35);
}

.speaker-icon {
    width: 18px;
    height: 18px;
    opacity: 0;
    position: absolute;
    transition: opacity .25s ease;
}
.speaker-off { opacity: 1; }
.speaker-btn.active .speaker-off { opacity: 0; }
.speaker-btn.active .speaker-on  { opacity: 1; }

/* Title */
.breath-title {
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    color: #b4f3f6;
    text-shadow: 0 0 8px rgba(117,195,199,0.6);
    width: 90%;
}

/* Timeline */
.breath-timeline {
    position: relative;
    height: 6px;
    width: 85%;
    margin: 0 auto;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;

    /* FIX 3 — Keep timeline inside container */
    max-width: 700px !important;
    margin: 0 auto !important;
}

.timeline-track {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
}

.timeline-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 22%;
    border-radius: 4px;
    background: linear-gradient(90deg,#75c3c7,#c8f3ff,#9b6bff,#75c3c7);
    background-size: 300% 100%;

    /* FIX 4 — Prevent overflow on animation sweep */
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Captions */
.timeline-label {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    opacity: .85;
}

#uiacademy-captions {
    font-size: 13px;
    opacity: .85;
    text-align: center;
    margin-top: 10px;
}

/* =========================================================
   LATEST CONTENT — FIXED GRID (UPDATED)
========================================================= */

.uia-content-zone {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.uiacademy-latest-row {
    display: flex;
    flex-direction: row;
    gap: 18px;
}

.latest-column {
    flex: 1 1 33%;
    background: rgba(0,0,0,0.35);
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.section-title {
    margin-bottom: 12px;
    font-size: 16px; /* slightly larger */
    color: #75c3c7;
}

.uiacademy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.uiacademy-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px; /* slightly more spacing */
    align-items: center;
}

/* Thumbnail */
.thumb {
    width: 44px;    /* slightly larger for balance */
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
}

/* Title link */
.title {
    font-size: 14px !important;    /* larger font */
    color: #75c3c7;
    text-decoration: none !important;  /* remove underline */
    opacity: 0.95;
}

.title:hover {
    opacity: 1;
}

/* "See all" link */
.latest-see-all {
    font-size: 13px;
    color: #c8f3ff;
    text-decoration: none !important; /* remove underline */
}


/* =========================================================
   TESTIMONIALS — RESTORED TWO-CARD LAYOUT
========================================================= */

.uiacademy-testimonials-wrapper {
    max-width: 1000px;
    margin: 80px auto;
    padding: 10px 0 40px;
    overflow: hidden;
}

.uiacademy-testimonials-track {
    display: flex;
    transition: transform .6s ease;
    will-change: transform;
}

/* Two visible cards in a row */
.testimonial-card {
    flex: 0 0 50%;
    max-width: 50%;

    padding: 20px 25px;
    background: radial-gradient(circle at 20% 0%, rgba(117,195,199,0.24), rgba(1,4,6,0.95));
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.7);

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
    text-align: left;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.45;
    color: #e0ffff;
    opacity: 0.95;
    margin: 0;
    padding: 0;
}


/* =========================================================
   FOUNDERS — POLISHED FLOAT & BUTTON
========================================================= */

.uia-founders-section {
    margin-top: 60px;
}

.founders-title {
    text-align: center;
    font-size: 36px;
    color: #75c3c7;
    margin-bottom: 26px;
}

.uia-founders {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.founder {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.founder-left {
    flex-direction: row;
}

.founder-right {
    flex-direction: row-reverse;
    text-align: right;
}

.founder-visual {
    width: 170px;
    min-width: 170px;
}

/* Portrait now “floating” slightly off the page */
.uia-founders-section .portrait {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.7),
        0 0 18px rgba(117,195,199,0.25);
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uia-founders-section .portrait:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.8),
        0 0 22px rgba(117,195,199,0.35);
}
.signature {
    width: 150px;
    margin-bottom: 8px;
}

.founder-right .signature {
    margin-left: auto;
}

.bio p {
    font-size: 15px;
    line-height: 1.5;
}

/* “More” as an actual button */
/* More button */
.uia-founders-section .bio-more-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(117, 195, 199, 0.16);
    border: 1px solid rgba(117, 195, 199, 0.65);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e0ffff;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(117,195,199,0.25);
    transition: background .25s ease,
                box-shadow .25s ease,
                transform .2s ease,
                opacity .25s ease;
}

.uia-founders-section .bio-more-btn:hover {
    background: rgba(117,195,199,0.32);
    box-shadow:
        0 0 24px rgba(117,195,199,0.4),
        0 0 40px rgba(117,195,199,0.25);
    transform: translateY(-1px);
}

.uia-founders-section .bio-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(117,195,199,0.3);
}
/* =========================================================
   FOOTER QUOTE
========================================================= */

.uia-footer-quote {
    text-align: center;
    padding: 50px 20px;
    font-size: 50px;
    color: #75c3c7;
    opacity: .7;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInHero {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
