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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

/* Education Section Header */
.education-section-header {
    margin-bottom: 2rem;
}

.education-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0;
}

/* Education Timeline */
.education-timeline {
    margin-bottom: 3rem;
}

.education-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.education-logo {
    flex-shrink: 0;
}

.education-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.education-info {
    flex: 1;
}

.university-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.degree {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.gpa {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.education-date {
    flex-shrink: 0;
    text-align: right;
}

.education-date span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
}

/* Skills Section */
.skills-section-header {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.skills-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    color: white;
}

.skill-icon svg {
    width: 40px;
    height: 40px;
}

.skill-category {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-list {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Internships Section */
.internships-section-header {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.internships-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0;
}

.internships-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.internship-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.internship-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.internship-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.internship-left {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
}

.internship-logo {
    flex-shrink: 0;
}

.internship-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.internship-title-group {
    flex: 1;
}

.company-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.25rem;
}

.role-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

.internship-right {
    text-align: right;
    flex-shrink: 0;
}

.internship-date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.internship-location {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-style: italic;
}

.internship-location-desktop {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-tertiary);
}

.internship-location-mobile {
    display: none;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.internship-details {
    margin-top: 1.5rem;
}

.internship-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.internship-achievements li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.internship-achievements li:last-child {
    margin-bottom: 0;
}

.internship-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.internship-achievements li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-interests {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-interests h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.interest-tag {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all var(--transition-base);
}

.interest-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }

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

    .about-intro {
        font-size: 1rem;
    }

    /* Education Mobile */
    .education-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .education-info {
        text-align: center;
    }

    .university-name {
        font-size: 1.3rem;
    }

    .education-date {
        text-align: center;
        width: 100%;
    }

    .education-date span {
        display: inline-block;
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }

    /* Skills Mobile */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-card {
        padding: 2rem 1.5rem;
    }

    /* Internship Mobile */
    .internship-card {
        padding: 2rem 1.5rem;
    }

    .internship-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .internship-left {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .internship-right {
        text-align: center;
        width: 100%;
        border-top: 1px solid var(--bg-tertiary);
        padding-top: 1rem;
    }

    .internship-location-desktop {
        display: none;
    }

    .internship-location-mobile {
        display: block;
    }

    .internship-achievements li {
        font-size: 0.95rem;
        padding-left: 2.25rem;
    }

    .interest-tags {
        gap: 0.75rem;
    }

    .interest-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .education-heading,
    .skills-heading,
    .internships-heading {
        font-size: 1.5rem;
        text-align: center;
    }

    .university-name {
        font-size: 1.2rem;
    }

    .company-name {
        font-size: 1.2rem;
    }
}