/* ========================================
   MODERN ABOUT PAGE REDESIGN
   ======================================== */

.about-container {
    max-width: 1400px;
    width: 100%;
    padding: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.about-container > h2 {
    color: orange;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-container > h2::before {
    content: "";
    width: 5px;
    height: 50px;
    background: linear-gradient(180deg, orange, transparent);
    border-radius: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.info-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
    transition: left 0.6s;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 165, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.info-item strong {
    color: orange;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Section - Bento Style */
.section {
    margin-top: 3rem;
}

.section h2 {
    color: orange;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section h2::before {
    content: "";
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, orange, transparent);
    border-radius: 10px;
}

.skill-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.tab-btn {
    padding: 0.7rem 1.8rem;
    background: transparent;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: orange;
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    width: 200%;
    height: 300%;
}

.tab-btn.active,
.tab-btn:hover {
    color: #000;
    border-color: orange;
    font-weight: 600;
}

.skill-group {
    display: none;
}

.skill-group.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-box::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.skill-box:hover::after {
    opacity: 1;
}

.skill-box:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skill-header i {
    font-size: 2rem;
    color: orange;
    transition: transform 0.4s;
}

.skill-box:hover .skill-header i {
    transform: scale(1.2) rotate(5deg);
}

.skill-header span {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    position: relative;
}

.progress::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, orange, #ff8c00);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Timeline Section - Modern Cards */
.timeline-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.timeline-box {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s;
}

.timeline-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.3);
}

.timeline-box h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(180deg, orange, transparent);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    border-left-color: orange;
    transform: translateX(10px);
    background: rgba(255, 165, 0, 0.05);
    box-shadow: -5px 0 20px rgba(255, 165, 0, 0.2);
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: orange;
    border: 3px solid #111;
    border-radius: 50%;
    left: -37px;
    top: 1.5rem;
    transition: all 0.4s;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.4);
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(255, 165, 0, 0.1);
}

.timeline-item h4 {
    color: orange;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.timeline-item p {
    color: #eee;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.timeline-item strong {
    color: #fff;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Languages & Hobbies - Card Grid */
.lang-hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.lang-box,
.hobbies-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lang-box::before,
.hobbies-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.lang-box:hover::before,
.hobbies-box:hover::before {
    opacity: 1;
}

.lang-box:hover,
.hobbies-box:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.15);
}

.lang-box h3,
.hobbies-box h3 {
    color: orange;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.lang-box ul,
.hobbies-box ul {
    padding-left: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.lang-box li,
.hobbies-box li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #ddd;
    transition: all 0.3s;
}

.lang-box li::before,
.hobbies-box li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: orange;
    font-weight: bold;
    transition: transform 0.3s;
}

.lang-box li:hover,
.hobbies-box li:hover {
    color: #fff;
    transform: translateX(5px);
}

.lang-box li:hover::before,
.hobbies-box li:hover::before {
    transform: translateX(5px);
}

/* Buttons */
.download-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, orange, #ff8c00);
    color: #111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.download-cv-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.download-cv-btn:hover::before {
    left: 100%;
}

.download-cv-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 165, 0, 0.4);
    border-color: #fff;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: orange;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 165, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    margin-right: 1rem;
}

.back-btn:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: orange;
    transform: translateX(-5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body.sidebar-open .about-container {
        transform: translateX(240px);
    }

    .about-container {
        margin-left: 0;
        padding: 1.5rem;
        transform: translateX(0);
        transition: transform 0.3s ease;
    }

    .profile-hero {
        padding: 2rem;
    }

    .profile-hero h2 {
        font-size: 2rem;
    }

    .info-grid,
    .skills-grid,
    .timeline-section,
    .lang-hobbies-grid {
        grid-template-columns: 1fr;
    }

    .skill-tabs {
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .tab-btn {
        flex: 1 1 auto;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .timeline-section {
        gap: 1.5rem;
    }

    .timeline-box {
        min-width: auto;
    }

    .download-cv-btn,
    .back-btn {
        width: 100%;
        justify-content: center;
        margin: 1rem 0;
    }
}