/* About Page Styles - Dynamic Theme */
.about-page {
    background: var(--bg-primary);
    min-height: 100vh;
    font-family: 'Source Sans 3', sans-serif;
}

/* Hero Section - Dynamic Theme */
.hero-section {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(15,23,42,0.02)" points="0,1000 1000,0 1000,1000"/></svg>');
}

[data-theme="light"] .hero-section::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(15,23,42,0.02)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-primary);
}

.title-line {
    display: block;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--text-accent) 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.hero-cards {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Hero Visual - Clean Layout */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-container {
    position: relative;
    z-index: 5;
}

.profile-image {
    width: 320px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px var(--shadow);
    transition: all 0.4s ease;
    border: 3px solid var(--border);
}

.profile-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px var(--shadow);
    border-color: var(--text-accent);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 2rem;
}

[data-theme="light"] .profile-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    font-family: 'Source Sans 3', sans-serif;
}

.profile-image:hover .profile-overlay {
    opacity: 1;
}

.profile-image:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
}

.overlay-content p {
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.4;
    font-family: 'Source Sans 3', sans-serif;
}

/* About Content Section - Dynamic */
.about-content {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    margin-top: 0;
    font-family: 'Source Sans 3', sans-serif;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
    font-family: 'Source Sans 3', sans-serif;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    font-family: 'Source Sans 3', sans-serif;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: 'Source Sans 3', sans-serif;
}

.skills-showcase {
    margin: 2.5rem 0;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Source Sans 3', sans-serif;
}

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

.skill-tag {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.3);
    font-family: 'Source Sans 3', sans-serif;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    border-color: rgba(37, 99, 235, 0.6);
}

/* Enhanced Highlight Cards - Attractive Design */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    font-family: 'Source Sans 3', sans-serif;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--text-accent) 0%, #2563eb 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.highlight-card:hover::after {
    transform: scaleY(1);
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: var(--text-accent);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.highlight-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #2563eb;
}

.highlight-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Source Sans 3', sans-serif;
    position: relative;
    z-index: 2;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.highlight-card:hover p {
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-visual {
        height: 350px;
        order: -1;
    }

    .profile-image {
        width: 280px;
        height: 330px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content {
        padding: 2rem 1rem;
    }

    .profile-image {
        width: 240px;
        height: 280px;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .skill-tags {
        gap: 0.6rem;
    }

    .skill-tag {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

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