/* ==========================================
   ABOUT & PORTFOLIO PAGE SPECIFIC STYLES
   ========================================== */

/* Page Layout */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 0;
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-light);
}

/* 1. Profile Hero Section */
.profile-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(59, 130, 246, 0.03) 100%);
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-image-container img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-surface);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
    transition: transform 0.3s ease;
}

.profile-image-container::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    z-index: -1;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.98); opacity: 0.8; }
    50% { transform: scale(1.02); opacity: 0.5; }
    100% { transform: scale(0.98); opacity: 0.8; }
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.profile-info .title {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.profile-info .bio {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Custom Highlight Pills */
.highlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Info Layout */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.github {
    background: #1f2937;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.2);
}

.social-btn.linkedin {
    background: #0077b5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.2);
}

.social-btn.youtube {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.social-btn.resume {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* 2. Section Headers */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* 3. Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skills-category {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.skills-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--primary-color);
}

/* 4. Experience & Education Timelines */
.timeline {
    position: relative;
    padding-left: 2rem;
}

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

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 4px var(--bg-main);
    z-index: 2;
    transition: background 0.3s;
}

.timeline-item:hover .timeline-marker {
    background: var(--primary-color);
}

.timeline-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.timeline-header h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.timeline-header .duration {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.timeline-content .organization {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.timeline-content .gpa {
    font-size: 0.9rem;
    font-weight: 600;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content .gpa i {
    color: #f59e0b;
}

.timeline-content ul {
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.timeline-content ul li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 5. Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.project-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.project-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
}

.project-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.project-link:hover {
    color: var(--primary-color);
}

.project-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tech-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-main);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* 6. Languages Section */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.language-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

.language-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.language-card p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* 7. Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.contact-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */

@media (max-width: 900px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .profile-image-container img {
        width: 170px;
        height: 170px;
    }

    .contact-info {
        justify-content: center;
    }

    .social-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .glass-panel {
        padding: 1.5rem;
    }

    .profile-section {
        padding: 1.5rem;
    }

    .profile-info h3 {
        font-size: 2rem;
    }

    .profile-info .title {
        font-size: 1rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

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

    .timeline-marker {
        left: -1.5rem;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

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

    .timeline-content {
        padding: 1rem;
    }

    .contact-cta {
        padding: 2rem 1.25rem;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }
}