/* Modern About Styles */

/* About Section Container */
.about {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background-color: var(--darker-bg);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 255, 255, 0.1));
    filter: blur(10px);
    opacity: 0.5;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -150px;
    animation: float 15s infinite alternate ease-in-out;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: -50px;
    animation: float 12s infinite alternate-reverse ease-in-out;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 15%;
    animation: float 10s infinite alternate ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(10deg);
    }
}

/* Modern Section Header */
.modern-section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.modern-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.modern-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 3px;
}

.modern-section-header .subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Modern About Content */
.modern-about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Modern Profile Image */
.modern-profile-image {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.modern-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.modern-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.modern-image-container img {
    width: 100%;
    display: block;
    transition: filter 0.5s ease;
}

.modern-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.modern-image-container:hover::before {
    opacity: 1;
}

.modern-status-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.modern-status-badge::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: blink 1.5s infinite;
}

/* Modern Bio */
.modern-bio {
    flex: 1.5;
}

.modern-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

/* Modern Timeline */
.modern-timeline {
    margin-top: 3rem;
}

.timeline-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.timeline-tab {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    font-size: 1rem;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-tab.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    font-weight: 500;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    position: relative;
}

.timeline-section {
    display: none;
}

.timeline-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modern Timeline Items */
.modern-timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid rgba(138, 43, 226, 0.3);
}

.modern-timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.modern-timeline-item:last-child {
    border-left: 2px solid transparent;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-subtitle {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-about-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .modern-profile-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .modern-status-badge {
        white-space: normal;
        text-align: center;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .modern-section-header h2 {
        font-size: 2rem;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-tab {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .modern-profile-image {
        max-width: 280px;
    }
    
    .modern-section-header h2 {
        font-size: 1.8rem;
    }
    
    .modern-bio p {
        font-size: 1rem;
    }
}