@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root,
html[data-theme="light"] {
    --primary: #592C9E;
    --secondary: #2C919E;
    --accent: #4db3d4;
    --dark: #1a1a2e;
    --text: #1a1a2e;
    --text-light: #555555;
    --border: #e0e7ff;
    --transition: all 0.3s ease;
    --bg: #ffffff;
    --bg-secondary: #f8fafe;
    --shadow-sm: 0 2px 8px rgba(89,44,158,0.07);
    --shadow-md: 0 6px 24px rgba(89,44,158,0.12);
    --shadow-lg: 0 16px 48px rgba(89,44,158,0.16);
    --gradient: linear-gradient(135deg, #592C9E 0%, #2C919E 100%);
}

html[data-theme="dark"] {
    --primary: #7a4fc9;
    --secondary: #4db3d4;
    --accent: #6db5d1;
    --dark: #060e1f;
    --text: #f1f5f9;
    --text-light: #cbd5e1;
    --bg: #0f172a;
    --bg-secondary: #1e293b;
    --border: #334155;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --gradient: linear-gradient(135deg, #7a4fc9 0%, #4db3d4 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: 0.2px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

/* Barra lateral de gradiente */
body::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
    z-index: 9999;
}

/* Navbar */
nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: none;
    transition: background-color 0.3s ease;
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-container .hamburger {
    position: absolute;
    left: 2rem;
}

.nav-container .nav-actions {
    position: absolute;
    right: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

.logo span {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    z-index: 999;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    display: block;
}

.nav-divider {
    width: 1px;
    height: 18px;
    background: var(--border);
    align-self: center;
    margin: 0 0.5rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text);
    transition: var(--transition);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary);
    transform: rotate(20deg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: -100px;
    right: 2rem;
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    bottom: 2rem;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}

/* ===== GRADIENT LEFT BORDER — todas las cards ===== */
.expertise-card::before,
.experience-item::before,
.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px 0 0 4px;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.academic-info {
    margin-top: 2rem;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: none;
    position: relative;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
}

.academic-info::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px 0 0 4px;
}

.academic-info p {
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
}

.section-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


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

.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tag {
    background: var(--bg);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary);
    font-weight: 500;
    box-shadow: none;
    transition: background-color 0.3s ease;
    color: var(--text);
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 2rem;
}

.expertise-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.expertise-card {
    background: var(--bg-secondary);
    padding: 2rem 2rem 2rem 2.5rem;
    border-radius: 12px;
    border-left: none;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeIn 0.6s ease both;
}

.expertise-card:nth-child(1) { animation-delay: 0s; }
.expertise-card:nth-child(2) { animation-delay: 0.15s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }

.expertise-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.expertise-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.expertise-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.filter-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.filter-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: visible;
    box-shadow: var(--shadow-sm);
    border: none;
    transition: var(--transition);
    animation: fadeIn 0.6s ease both;
    color: var(--text);
    position: relative;
}

.project-card:nth-child(1) { animation-delay: 0s; }
.project-card:nth-child(2) { animation-delay: 0.12s; }
.project-card:nth-child(3) { animation-delay: 0.24s; }
.project-card:nth-child(4) { animation-delay: 0.36s; }
.project-card:nth-child(5) { animation-delay: 0.48s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.72s; }
.project-card:nth-child(8) { animation-delay: 0.84s; }
.project-card:nth-child(9) { animation-delay: 0.96s; }
.project-card:nth-child(10) { animation-delay: 1.08s; }

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px 0 0 4px;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 280px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 2rem 2rem 2rem 2.5rem;
}

.project-category {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.project-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.project-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Experience Section */
.experience {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
    transition: background-color 0.3s ease;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.experience-item {
    background: var(--bg);
    padding: 2rem 2rem 2rem 2.5rem;
    border-radius: 12px;
    border-left: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: var(--text);
    position: relative;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 800;
}

.experience-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.experience-company {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.experience-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Education Section */
.education {
    padding: 4rem 2rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--bg-secondary);
    padding: 2rem 2rem 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: none;
    transition: all 0.3s ease;
    color: var(--text);
    position: relative;
}

.education-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.education-degree {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.education-school {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Team/Integrantes Section */
.integrantes {
    padding: 3rem 2rem;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary);
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.team-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 10px;
    width: 150px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact .section-title span {
    color: white;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-cta {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.88rem;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.7;
    border-top: 3px solid var(--primary);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer p:first-child {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Section titles */
    .section-title {
        margin-bottom: 2rem;
    }

    /* Navbar */
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
        position: relative;
        justify-content: space-between;
    }

    .nav-container .hamburger {
        position: static;
    }

    .nav-container .nav-actions {
        position: static;
    }

    .hamburger {
        display: flex;
        order: 2;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-divider {
        display: none;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .theme-toggle {
        font-size: 1.2rem;
        padding: 0.3rem;
    }

    .cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-image {
        height: 250px;
    }

    /* About */
    .about {
        padding: 3rem 1rem;
    }

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

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

    /* Skills */
    .skills {
        gap: 0.7rem;
    }

    .skill-tag {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Portfolio */
    .portfolio {
        padding: 3rem 1rem;
    }

    .expertise-areas {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image {
        height: 200px;
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Experience */
    .experience {
        padding: 3rem 1rem;
    }

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

    .experience-item {
        padding: 1.5rem;
    }

    /* Education */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    /* Contact */
    .contact {
        padding: 3rem 1rem;
    }

    .contact-description {
        font-size: 0.95rem;
    }

    .contact-links {
        gap: 1rem;
    }

    .contact-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Card paddings — reducidos en mobile */
    .expertise-card {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }

    .experience-item {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }

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

    .project-content {
        padding: 1.25rem 1.25rem 1.25rem 1.75rem;
    }

    /* Buttons */
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .nav-container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.3rem;
        font-size: 0.75rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
    }

    .cta-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }

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

    .project-title {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.85rem;
    }

    .project-link {
        font-size: 0.8rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .expertise-card,
    .experience-item,
    .education-card {
        padding: 1.25rem 1rem 1.25rem 1.75rem;
    }

    .project-content {
        padding: 1rem 1rem 1rem 1.5rem;
    }

    .contact-links {
        gap: 0.8rem;
    }

    .contact-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-card h3 {
        font-size: 1.2rem;
    }

    .team-role {
        font-size: 0.85rem;
    }
}

/* Looking for Work Section */
.looking-for-work {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.work-cta-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg);
    padding: 2rem 2rem 2rem 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease both;
}

.work-cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px 0 0 4px;
}

.work-cta-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.work-cta-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.work-cta-card h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-cta-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .looking-for-work {
        padding: 3rem 1rem;
    }

    .work-cta-card {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }

    .work-cta-card h2 {
        font-size: 1.4rem;
    }

    .work-cta-card p {
        font-size: 0.95rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .looking-for-work {
        padding: 2rem 0.75rem;
    }

    .work-cta-card {
        padding: 1.25rem 1rem 1.25rem 1.75rem;
    }

    .work-cta-card h2 {
        font-size: 1.2rem;
    }

    .work-cta-card p {
        font-size: 0.9rem;
    }
}