.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* Container with responsive margins */
.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .bio-container {
        padding: 0 30px;
    }
}

@media (min-width: 992px) {
    .bio-container {
        padding: 0 50px;
    }
}

/* Bio Header Section */
.bio-header-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

[data-theme="dark"] .bio-header-card {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.bio-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.bio-job-title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Social & Contact Cards */
.info-cards-row {
    margin-bottom: 2rem;
}

.social-card,
.contact-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: 100%;
}

[data-theme="dark"] .social-card,
[data-theme="dark"] .contact-card {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Social Links Grid Layout */
.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.social-btn:hover {
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-btn i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Facebook Button */
.facebook-btn {
    background: linear-gradient(135deg, #4267B2, #365899);
    color: white;
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #365899, #2d4373);
    color: white;
    transform: translateY(-2px);
}

/* LinkedIn Button */
.linkedin-btn {
    background: linear-gradient(135deg, #0077B5, #005885);
    color: white;
}

.linkedin-btn:hover {
    background: linear-gradient(135deg, #005885, #004471);
    color: white;
    transform: translateY(-2px);
}

/* GitHub Button */
.github-btn {
    background: linear-gradient(135deg, #333, #24292e);
    color: white;
}

.github-btn:hover {
    background: linear-gradient(135deg, #24292e, #1b1f23);
    color: white;
    transform: translateY(-2px);
}

/* CV Button */
.cv-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.cv-btn:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: white;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    transform: translateY(-2px);
}

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

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Projects Section */
.projects-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .projects-card {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .project-item:hover {
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
}

.project-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.project-tech {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--text-secondary);
    color: var(--bg-color);
    text-decoration: none;
    transform: translateY(-1px);
}

/* About Section */
.about-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .about-card {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.about-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    text-align: justify;
}

/* Work Section */
.work-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .work-card {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.work-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.work-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.work-link:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .work-link:hover {
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
}

.work-link i {
    font-size: 2rem;
}

.work-link span {
    font-weight: 600;
    font-size: 1rem;
}

.work-link small {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.work-link:hover small {
    color: var(--bg-color);
}

/* Footer */
.bio-footer {
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-left {
    flex: 1;
}

.footer-center {
    text-align: center;
    flex: 2;
}

.bio-footer a {
    color: var(--text-color);
    text-decoration: none;
}

.bio-footer a:hover {
    text-decoration: underline;
}

/* Mobile Footer */
@media (max-width: 767px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-left,
    .footer-center {
        text-align: center;
        flex: none;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .main-content {
        padding-top: 70px;
    }

    .bio-container {
        padding: 0;
    }

    .bio-header-card,
    .social-card,
    .contact-card,
    .projects-card,
    .about-card,
    .work-card {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .bio-name {
        font-size: 2rem;
    }

    .bio-job-title {
        font-size: 1.1rem;
    }

    .work-links {
        gap: 1rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .social-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .social-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}