/* About Page Specific Styles */

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0;
}

/* About Image */
.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius-lg);
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-weight: 700;
    border-radius: 50px;
}

.about-badge i {
    font-size: 1.25rem;
}

.about-content .lead {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
}

.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Skills Section */
.bg-tertiary {
    background: var(--bg-tertiary);
}

.skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition-normal);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    font-size: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
}

.skill-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tags span {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

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

.timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    font-size: 1.25rem;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.timeline-icon.bg-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.timeline-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.timeline-info .company {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-info .date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.timeline-body p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-image {
    width: 100%;
    max-width: 300px;
    border-radius: var(--border-radius-md);
    margin-top: 1rem;
}

/* Certificates */
.cert-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
}

.cert-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition-normal);
}

.cert-image:hover {
    transform: scale(1.02);
}

.cert-content {
    padding: 1.25rem;
}

.cert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    font-size: 1.25rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
}

.cert-card h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cert-issuer {
    color: var(--accent-primary);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.cert-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cert-skills span {
    padding: 3px 8px;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 0.7rem;
    border-radius: 50px;
}

.cert-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Education */
.edu-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

.edu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    font-size: 1.75rem;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.edu-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.edu-school {
    color: var(--accent-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.edu-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.edu-desc {
    font-size: 0.95rem;
    margin: 0;
}

.edu-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Events Section */
.events-section {
    background: var(--bg-secondary);
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
}

.event-header {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.event-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.event-role {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem !important;
}

.event-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.event-body {
    padding: 1.5rem;
}

.event-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.event-image {
    border-radius: var(--radius-md);
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: var(--transition-normal);
}

.event-image:hover {
    transform: scale(1.02);
    box-shadow: var(--glow-primary);
}

/* Lightbox/Modal for Images */
.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 2rem;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: var(--bg-primary);
}

.lightbox-caption {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.lightbox-caption h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--accent-primary);
    transform: rotate(90deg);
}

/* Clickable Images */
.clickable-image {
    cursor: pointer;
    transition: var(--transition-normal);
}

.clickable-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Responsive */
@media (max-width: 767.98px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -28px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .edu-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}