/* Enhanced about.css with Improved Content Structure - NO FLOATING ANIMATION */
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
    perspective: 1000px;
    position: relative;
    z-index: 1;
}

.bio-container {
    width: 100%;
    max-width: 900px;
    transform-style: preserve-3d;
}

.bio-card {
    background: linear-gradient(145deg, #2c3e50, #3498db);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.bio-card:hover {
    transform: translateZ(20px);
}

/* Enhanced Typography for Bio Title */
.bio-card h2 {
    color: #ecf0f1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transform: translateZ(30px);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    opacity: 0;
    animation: fadeInDown 0.8s ease 0.2s forwards;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(255, 255, 255, 0.1);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px) translateZ(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateZ(30px);
    }
}

/* Enhanced Bio Text Typography */
.bio-text {
    color: #ecf0f1;
    font-size: 1.1rem;
    line-height: 1.7;
    transform: translateZ(20px);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* New Content Structure Styles */
.hero-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.hero-intro .tagline {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2ecc71;
    letter-spacing: 0.5px;
}

.journey-section {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2ecc71;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.highlight-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 5px solid #f39c12;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.5s forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box em {
    color: #2ecc71;
    font-weight: 500;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.skill-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.personal-touch {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(155, 89, 182, 0.1));
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.7s forwards;
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 2rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.8s forwards;
}

.contact-link {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #f39c12;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link:hover {
    background: #f39c12;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Footnote Typography */
.footnote {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 1rem;
    font-weight: 300;
    letter-spacing: 0.2px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.9s forwards;
}

/* Desktop Enhancements */
@media screen and (min-width: 1200px) {
    .bio-card {
        padding: 3rem;
        max-width: 1000px;
    }

    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .hero-intro .tagline {
        font-size: 1.5rem;
    }

    .bio-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 900px) and (max-width: 1199px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .bio-card {
        padding: 2.5rem;
    }
}

/* Responsive design with enhanced typography */
@media screen and (max-width: 768px) {
    .about-content {
        padding: 1rem;
    }

    .bio-card {
        padding: 2rem;
    }

    .bio-card h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }

    .bio-text {
        font-size: 1rem;
        line-height: 1.6;
        letter-spacing: 0.2px;
    }

    .hero-intro .tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .highlight-box,
    .personal-touch,
    .cta-section {
        padding: 1rem;
        margin: 1rem 0;
    }
}

@media screen and (max-width: 480px) {
    .about-content {
        padding: 1rem;
    }

    .bio-card {
        padding: 1.5rem;
    }

    .bio-card h2 {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }

    .bio-text {
        font-size: 0.95rem;
        line-height: 1.5;
        letter-spacing: 0.1px;
    }

    .hero-intro .tagline {
        font-size: 1rem;
    }

    .footnote {
        font-size: 0.8rem;
    }
}