@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");

/* ─── About Page: Vertical Flow + Glassmorphism ─── */

.about.main {
    background: transparent;
    padding: 60px 40px 80px;
}

/* Glass card base */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ─── Hero Intro ─── */
.about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 40px 0;
}

.about-hero-content {
    max-width: 600px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
}

.about-greeting {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.about-name {
    font-family: "Kaushan Script", cursive;
    font-size: 4rem;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #a640f5 0%, #64a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-role {
    font-size: 15px;
    color: rgba(166, 64, 245, 0.8);
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 24px;
}

.about-bio {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ─── Section Titles ─── */
.about-section {
    max-width: 900px;
    margin: 0 auto 60px;
    width: 100%;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(166, 64, 245, 0.3);
    display: inline-block;
}

/* ─── Skills Grid ─── */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skill-card {
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 64, 245, 0.3);
}

.skill-icon {
    font-size: 28px;
    color: #a640f5;
    display: block;
    margin-bottom: 12px;
}

.skill-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #a640f5, #64a0ff);
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* ─── Experience Timeline ─── */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #a640f5, rgba(100, 160, 255, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding: 24px 28px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 28px;
    width: 10px;
    height: 10px;
    background: #a640f5;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(166, 64, 245, 0.5);
}

.timeline-icon {
    position: absolute;
    left: -48px;
    top: 22px;
    width: 28px;
    height: 28px;
    background: rgba(166, 64, 245, 0.15);
    border: 1px solid rgba(166, 64, 245, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #a640f5;
}

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: #a640f5;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: white;
}

.timeline-company {
    font-size: 13px;
    color: rgba(100, 160, 255, 0.7);
    margin-bottom: 10px;
    display: block;
}

.timeline-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ─── Shared Nav (used by portfolio section too) ─── */
.about_nav {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about_nav ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about_nav ul li {
    display: inline-block;
    list-style: none;
    margin: 0 10px;
}

.about_nav ul li a {
    font-size: 25px;
    padding: 15px 30px;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    transition: .3s cubic-bezier(0.6, 0.04, 0.98, 0.335);
}

.about_nav ul li a:hover {
    color: dodgerblue;
}

.about_nav ul li a.active {
    color: dodgerblue;
    box-shadow: inset 5px 5px 10px black, inset -3px -3px 5px #ffffff25;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .about.main {
        padding: 40px 20px 60px;
    }

    .about-name {
        font-size: 3rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .about-bio {
        font-size: 0.95rem;
    }

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

@media (max-width: 480px) {
    .about-hero-content {
        padding: 25px 15px;
    }

    .about-name {
        font-size: 2rem;
    }

    .about-greeting {
        font-size: 0.9rem;
    }

    .about-role {
        font-size: 0.85rem;
    }

    .about-bio {
        font-size: 0.85rem;
    }

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

    .skill-card {
        padding: 12px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-icon {
        left: -38px;
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

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