/* ============================================================
   ABOUT.CSS — MIRA Division (Floating Text, No Box)
   ============================================================ */

/* ---------- About Page Container ---------- */
.about-page {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Floating Text Block (No Background) ---------- */
.about-text-block {
    margin-bottom: 50px;
    text-align: center;
}

.about-text-block p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--gray-dim);
    margin-bottom: 1.8em;
    text-align: left;
    position: relative;
    padding-left: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Subtle left border that appears on hover */
.about-text-block p::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--orange), var(--cyan));
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.3s ease, transform 0.4s ease;
    box-shadow: var(--cyan-glow);
}

.about-text-block p:hover {
    color: var(--white);
    transform: translateX(5px);
}

.about-text-block p:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

/* First paragraph special treatment */
.about-text-block p:first-of-type {
    font-size: 1.3rem;
}

.about-text-block p:first-of-type strong {
    color: var(--cyan);
    text-shadow: var(--cyan-glow);
    font-size: 1.1em;
}

/* ---------- Highlighted Keywords ---------- */
.highlight {
    color: var(--orange);
    text-shadow: var(--orange-glow);
    font-weight: 600;
    transition: text-shadow 0.3s;
}

.highlight:hover {
    text-shadow: 0 0 15px var(--orange), 0 0 30px var(--orange);
}

/* ---------- Animated Underline for Emphasis ---------- */
.emphasize {
    display: inline-block;
    position: relative;
    color: var(--white);
    font-weight: 500;
}

.emphasize::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    box-shadow: var(--cyan-glow);
}

.emphasize:hover::after {
    transform: scaleX(1);
}

/* ---------- Section Divider (Subtle Glow Line) ---------- */
.about-divider {
    width: 150px;
    height: 1px;
    margin: 40px auto;
    background: linear-gradient(90deg, transparent, var(--orange), var(--cyan), transparent);
    box-shadow: var(--cyan-glow);
    opacity: 0.6;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
    .about-text-block p {
        font-size: 1.1rem;
        padding-left: 0;
    }
    .about-text-block p::before {
        left: -10px;
    }
    .about-text-block p:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 480px) {
    .about-text-block p {
        font-size: 1rem;
    }
    .about-text-block p:first-of-type {
        font-size: 1.15rem;
    }
    .about-text-block p:hover {
        transform: none;
    }
    .about-text-block p::before {
        display: none;
    }
}