

/* About Page Styles */
.about-page {
    position: absolute;
    top: 100px;
    left: 200px;
    width: 120vh;
    background: #111111;
    height: 80vh;
    border-radius: 10px;
    overflow: scroll;
    box-shadow: 0 0 7px black;
    color: #d9d9d9;
    display: none;
}

.about-hero-page {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 2rem;
}

.about-image {
    position: sticky;
    top: 60px;
    height: fit-content;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.about-content {
    padding: 20px 0;
}

.about-intro {
    margin-bottom: 50px;
}

.about-name {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left;
    margin: 1rem 0 2rem 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.about-name::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4776e6, #8e54e9);
    border-radius: 2px;
}

.title-wrapper {
    margin-bottom: 30px;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a0a0a0;
    margin: 5px 0;
    letter-spacing: 2px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d9d9d9;
    margin-bottom: 30px;
}

.detail-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #1e1e1e;
    border-radius: 8px;
    transition: transform 0.2s;
}

.detail-section:hover {
    transform: translateY(-2px);
}

.detail-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.detail-section h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 15px 0 8px 0;
}

.detail-section p {
    color: #a0a0a0;
    line-height: 1.4;
    margin: 10px 0;
    font-size: 0.9rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-category {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.skill-category:hover {
    transform: translateY(-2px);
}

.skill-category h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.skill-category p {
    font-size: 0.8rem;
    color: #a0a0a0;
}

.experience-item,
.education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.company,
.institution {
    color: #4776e6;
    font-weight: 600;
    margin: 5px 0 10px 0;
    font-size: 0.9rem;
}

.contact-info p {
    margin: 15px 0;
    font-size: 1rem;
    color: #d9d9d9;
}

.contact-info strong {
    color: #fff;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #4776e6, #8e54e9);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-dot {
    position: absolute;
    left: -49px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #2a2a2a;
    border: 3px solid #4776e6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-dot.active {
    background: #4776e6;
    box-shadow: 0 0 20px rgba(71, 118, 230, 0.5);
    animation: pulse 2s infinite;
}

.timeline-dot.future {
    border-color: #8e54e9;
    background: #8e54e9;
    box-shadow: 0 0 15px rgba(142, 84, 233, 0.4);
}

.timeline-content {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4776e6;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
}

.timeline-content h4 {
    color: #4776e6;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.timeline-content p {
    margin: 8px 0;
    color: #d9d9d9;
    font-size: 0.9rem;
}

.timeline-item.future .timeline-content {
    border-left-color: #8e54e9;
}

.timeline-item.future .timeline-content h4 {
    color: #8e54e9;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 2rem;
    width: 300px;
    display: none;
    position: absolute;
    bottom: 60px;
    right: 11.75%;
    z-index: 100000000000;
}

.about-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2) transparent transparent transparent;
}

.about-card h1 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
}

.about-card .description {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.about-card .connect-text {
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    font-style: italic;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .about-page {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
    }

    .about-hero-page {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 1rem;
    }

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

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