/* ========================================
   ABOUT PAGE
======================================== */

/* About Page Header */
.about-page-header {
    padding: 140px 20px 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(124, 255, 178, 0.12), transparent 60%);
}

.about-page-header .container {
    max-width: 800px;
    margin: 0 auto;
}

/* Biography Section - Enhanced Design */
.about-bio-section {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.about-bio-section .container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Bio Card */
.bio-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.bio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.2), rgba(127, 209, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bio-card:hover {
    border-color: rgba(124, 255, 178, 0.25);
    box-shadow: 0 20px 60px rgba(124, 255, 178, 0.15);
}

/* Bio Image Container */
.bio-image-container {
    position: relative;
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

.bio-image {
    position: relative;
    z-index: 2;
}

.bio-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 380px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

/* Image Glow Effect */
.bio-image::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.5;
    filter: blur(16px);
}

/* Decorative Elements */
.bio-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.bio-decoration-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(124, 255, 178, 0.15), transparent);
    top: -30px;
    right: -30px;
}

.bio-decoration-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(127, 209, 255, 0.15), transparent);
    bottom: -20px;
    left: -20px;
}

/* Bio Content */
.bio-content {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.bio-heading {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.bio-text {
    margin-bottom: 32px;
}

.bio-text p {
    color: #bfbfbf;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* Bio Quick Stats */
.bio-quick-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

.bio-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(124, 255, 178, 0.08);
    border: 1px solid rgba(124, 255, 178, 0.2);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.bio-stat-item:hover {
    background: rgba(124, 255, 178, 0.15);
    border-color: rgba(124, 255, 178, 0.4);
    transform: translateY(-2px);
}

.bio-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-stat-icon i {
    width: 18px;
    height: 18px;
    color: #7CFFB2;
}

.bio-stat-text {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

/* ========================================
   ANIMATIONS - ABOUT PAGE ABOUT SECTION
======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Heading */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    text-align: center;
}

.section-subheading {
    text-align: center;
    color: #bfbfbf;
    font-size: 1.05rem;
    margin-bottom: 60px;
}

/* ========================================
   CORE SKILLS SECTION
======================================== */

.skills-section {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Skill cards Simple Grid */
.skills-grid-simple {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(124, 255, 178, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.skill-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7CFFB2;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(124, 255, 178, 0.12);
    border: 1px solid rgba(124, 255, 178, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(124, 255, 178, 0.2);
    border-color: rgba(124, 255, 178, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   SERVICES SECTION
======================================== */

.services-section {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.15s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.25s; }
.service-card:nth-child(5) { animation-delay: 0.3s; }
.service-card:nth-child(6) { animation-delay: 0.35s; }

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 255, 178, 0.25);
    box-shadow: 0 15px 40px rgba(124, 255, 178, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 255, 178, 0.15), rgba(127, 209, 255, 0.15));
    border-radius: 50%;
    border: 1px solid rgba(124, 255, 178, 0.25);
}

.service-icon i {
    width: 28px;
    height: 28px;
    color: #7CFFB2;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-description {
    color: #bfbfbf;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   EDUCATION SECTION
======================================== */

.education-section {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.education-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.education-timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 40px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(124, 255, 178, 0.3), rgba(127, 209, 255, 0.3));
}

.education-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

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

.education-marker {
    position: absolute;
    left: -29px;
    top: 8px;
    width: 24px;
    height: 24px;
    background: rgba(124, 255, 178, 0.2);
    border: 2px solid rgba(124, 255, 178, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.education-marker.active {
    background: linear-gradient(135deg, #7CFFB2, #7FD1FF);
    border-color: #7CFFB2;
    box-shadow: 0 0 20px rgba(124, 255, 178, 0.4);
}

.education-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.education-content:hover {
    border-color: rgba(124, 255, 178, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.education-year {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(124, 255, 178, 0.15);
    border: 1px solid rgba(124, 255, 178, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7CFFB2;
    margin-bottom: 12px;
}

.education-status {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(127, 209, 255, 0.15);
    border: 1px solid rgba(127, 209, 255, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7FD1FF;
    margin-left: 8px;
    margin-bottom: 12px;
}

.education-degree {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.education-institution {
    font-size: 1rem;
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 8px;
}

.education-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #bfbfbf;
}

.education-location i {
    width: 16px;
    height: 16px;
    color: #7CFFB2;
}

/* ========================================
   BEYOND CODE SECTION
======================================== */

.beyond-code-section {
    padding: 80px 20px 120px;
}

.beyond-code-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Beyond code cards */
.beyond-code-simple {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.beyond-simple-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.beyond-simple-item:hover {
    border-color: rgba(124, 255, 178, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.beyond-simple-item i {
    width: 24px;
    height: 24px;
    color: #7CFFB2;
    flex-shrink: 0;
    margin-top: 2px;
}

.beyond-simple-item strong {
    color: #7CFFB2;
    font-weight: 600;
    margin-right: 8px;
}

.beyond-simple-item span {
    color: #bfbfbf;
    font-size: 0.95rem;
}

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

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .beyond-code-cards {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .about-page-header {
        padding: 120px 20px 50px;
    }

    .about-bio-section,
    .skills-section,
    .services-section,
    .education-section,
    .beyond-code-section {
        padding: 60px 20px;
    }

    .beyond-code-section {
        padding-bottom: 80px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .bio-text p {
        font-size: 1rem;
    }

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

    .education-timeline {
        padding-left: 30px;
    }

    .education-item {
        padding-left: 20px;
    }

    .education-marker {
        left: -24px;
        width: 20px;
        height: 20px;
    }

    .education-degree {
        font-size: 1.2rem;
    }

    .skill-icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 12px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - Biography Section
======================================== */

@media (max-width: 968px) {
    .bio-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .bio-image-container {
        max-width: 380px;
        margin: 0 auto;
    }

    .bio-image img {
        max-height: 380px;
    }

    .bio-heading {
        font-size: 1.8rem;
        text-align: center;
    }

    .bio-text {
        text-align: center;
    }

    .bio-quick-stats {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .about-bio-section {
        padding: 60px 20px;
    }

    .bio-card {
        padding: 30px 20px;
        gap: 30px;
    }

    .bio-image-container {
        max-width: 280px;
    }

    .bio-image img {
        max-height: 280px;
    }

    .bio-heading {
        font-size: 1.6rem;
    }

    .bio-text p {
        font-size: 0.95rem;
    }

    .bio-quick-stats {
        flex-direction: column;
        gap: 12px;
    }

    .bio-stat-item {
        width: 100%;
        justify-content: center;
    }

    .bio-decoration-1,
    .bio-decoration-2 {
        display: none;
    }
}