:root {
    --primary: #2D8E94;
    --primary-soft: #2D8E94;
    --secondary: #fbbf24;
    --bg-dark: #001f3f;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-muted-dark: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1300px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.accent {
    color: var(--primary);
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.background-radial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1e30 0%, #080a12 100%);
    z-index: -1;
}

/* Header & Nav */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 10;
}

.hero-subtitle {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 0.95;
}

.hero h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero p {
    color: var(--text-muted-dark);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.blob-container {
    position: absolute;
    width: 130%;
    height: 130%;
    z-index: 1;
}

.blob-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    filter: blur(50px);
    opacity: 0.3;
}



.hero-portrait {
    max-width: 70%;
    /* Réduit la taille de l'image à 80% de son conteneur */
    height: auto;
    object-fit: contain;
    /* Empêche le recadrage/zoom automatique */
    z-index: 2;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);

    /* Optionnel : pour bien la centrer si elle n'occupe plus 100% */
    display: block;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .hero-img-container {
        max-width: 320px;
        /* Réduit la taille globale du bloc image sur mobile/tablette */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Quote Section */
.quote-section {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 8rem 2rem;
    text-align: center;
}

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

.quote-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-soft);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.section-light .quote-container h2 {
    color: var(--text-dark);
}

.section {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-white);
}

.section-light {
    background: var(--bg-white);
    color: var(--text-dark);
}

.section-light .section-title {
    color: var(--text-dark);
}

.section-light p,
.section-light li {
    color: var(--text-muted);
}

.section-light .timeline-content,
.section-light .skill-category,
.section-light .project-card,
.section-light .cert-item,
.section-light .edu-item,
.section-light .para-card,
.section-light .lang-item {
    background: var(--bg-light);
    border-color: rgba(0, 0, 0, 0.05);
}

.section-light h3,
.section-light h4 {
    color: var(--text-dark);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 5rem;
    text-align: center;
    font-weight: 800;
}

.bg-soft {
    background-color: var(--bg-soft);
}

/* Timeline/Experience */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10%;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    margin-bottom: 4rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.timeline-date {
    width: 20%;
    text-align: right;
    font-weight: 700;
    color: var(--primary);
}

.timeline-content {
    flex: 1;
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.timeline-content ul {
    margin-bottom: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.score {
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    font-size: 0.9rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(0, 255, 204, 0.05);
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

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

.skill-tags span {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Portfolio Alt Styling */
.projects-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.project-card-alt {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.project-img-alt {
    height: 250px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.project-img-alt i {
    z-index: 2;
    transition: 0.5s;
}

.project-card-alt:hover .project-img-alt i {
    transform: scale(1.1) rotate(5deg);
}

.project-content-alt {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content-alt h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.project-content-alt p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tags-alt {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.project-tags-alt span {
    padding: 0.4rem 1rem;
    background: rgba(45, 142, 148, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-links-alt {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.github-btn-alt, .demo-btn-alt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.github-btn-alt {
    background: var(--primary);
    color: white !important;
}

.demo-btn-alt {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.project-card-alt:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.github-btn-alt:hover {
    background: #40b0b8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 142, 148, 0.4);
}

.demo-btn-alt:hover {
    background: rgba(45, 142, 148, 0.1);
}

/* Section Light Adapters for Portfolio Alt */
.section-light .project-card-alt {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-light .project-content-alt h3 {
    color: var(--text-dark);
}

.section-light .project-content-alt p {
    color: var(--text-muted);
}

.section-light .project-img-alt {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.section-light .demo-btn-alt {
    color: var(--primary) !important;
}

.section-light .project-card-alt:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.cert-item i {
    font-size: 2rem;
    color: var(--primary);
}

/* Education */
.education-list {
    max-width: 800px;
    margin: 0 auto;
}

.edu-item {
    background: var(--glass-bg);
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.edu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.edu-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.edu-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.para-card {
    text-align: center;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.para-card i {
    font-size: 3rem;
    background: linear-gradient(var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.para-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.para-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.para-card p {
    color: var(--text-muted);
}

/* Languages */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.lang-item {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.lang-name {
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lang-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.lang-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.lang-level {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact */
.bg-gradient {
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.1) 0%, rgba(0, 255, 204, 0.1) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.contact-details {
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item i {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-form {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.footer-links i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.footer-links i:hover {
    color: var(--primary);
}

/* Animations & Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.slide-up {
    animation: slideUp 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-img-container {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: rgba(10, 11, 20, 0.98);
        padding: 6rem 2rem;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .menu-toggle.active {
        z-index: 1002;
    }

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

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

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

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 5%;
    }

    .timeline-date {
        width: auto;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* New Sections Styles */
.section-title-alt {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    color: white;
    position: relative;
    padding-bottom: 25px;
}

.section-title-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    opacity: 0.6;
}

.toggle-container {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}

.toggle-group {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    gap: 0.5rem;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    background: none;
    color: var(--text-muted-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

/* Experience Card Alt */
.experience-card-alt {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.experience-card-alt:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
}

.card-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    font-size: 2rem;
}

.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--text-muted-dark);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

#formations .card-subtitle {
    color: var(--secondary);
}

.card-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.card-tags span {
    background: rgba(251, 191, 36, 0.1);
    color: var(--secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--secondary);
}

.card-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.6rem;
    background: var(--primary);
    border-radius: 12px;
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(45, 142, 148, 0.3);
    border: none;
}

.doc-link i {
    font-size: 1.1rem;
    color: white;
}

.doc-link:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(45, 142, 148, 0.5);
    background: #40b0b8;
}

.doc-link:active {
    transform: translateY(0) scale(0.98);
}

/* Filter Group */
.filter-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Skills Bars */
.skills-bars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

@media (max-width: 768px) {
    .experience-card-alt {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .card-tags {
        justify-content: center;
    }

    .skills-bars-grid {
        grid-template-columns: 1fr;
    }
}