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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F1F5F9;
    color: #0F172A;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1254px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1254px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #439cfb 0%, #f187fb 100%);
    transition: width 0.3s ease;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

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

.nav-links a:hover {
    color: #f187fb;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.section-content {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(135deg, #0F172A 0%, #439cfb 50%, #f187fb 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(67, 156, 251, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(241, 135, 251, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(67, 156, 251, 0.2) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    padding-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero .subtitle {
    font-size: 1.3rem;
    padding-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.typing-container {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.typing-container::before {
    content: '💻 🔧 ⚡';
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.typing-text {
    font-size: 1.1rem;
    color: #E2E8F0;
    min-height: 30px;
    font-weight: 500;
}

.cta-button {
    margin-top: 24px;
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
    box-shadow: 0 4px 15px rgba(67, 156, 251, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 135, 251, 0.5);
}

/* Content Sections */
.content-section {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

.content-section.visible {
    transform: translateY(0);
    opacity: 1;
}

.section-title {
    font-size: 2.5rem;
    color: #0F172A;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title .emoji {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #439cfb 0%, #f187fb 100%);
}

/* Cards Grid - Layouts multiples */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Layout "À propos" - 2 colonnes équilibrées */
.cards-grid.grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Card compétences spéciale */
.card-competences {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(67, 156, 251, 0.05) 0%, rgba(241, 135, 251, 0.05) 100%) !important;
    text-align: center;
    padding: 2.5rem;
}

.btn-competences {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(67, 156, 251, 0.3);
}

.btn-competences:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 135, 251, 0.4);
}

/* Layout "Mon Entreprise" - Card principale + 3 sous-cards */
.cards-grid.grid-entreprise {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid.grid-entreprise .card:first-child {
    grid-column: 1 / -1;
    background-color: #ffffff; /* ou la couleur de fond de tes cards */
    background-image:
            linear-gradient(to right, #ffffff 30%, transparent 70%),
            url('myosotis.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 80%;
    color: black;
    border: none;
    text-align: left;
    overflow: hidden;
    padding: 2.5rem;
    padding-right: 30%;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(67, 156, 251, 0.3);
}

.cards-grid.grid-entreprise .card:first-child h3 {
    color: black;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cards-grid.grid-entreprise .card:first-child h3::before {
    content: '🏢 ';
}

.cards-grid.grid-entreprise .card:first-child p {
    color: color: rgba(0, 0, 0, 0.85);
    font-size: 1.1rem;
}

.cards-grid.grid-entreprise .card:first-child strong {
    color: black;
    font-weight: 700;
}
.cards-grid2.grid-entreprise2 {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
}

.cards-grid2.grid-entreprise2 .card:first-child {
    grid-column: 1 / -1;
    background-color: #ffffff; /* ou la couleur de fond de tes cards */
    background-image:
            linear-gradient(to right, #ffffff 30%, transparent 70%),
            url('rex_rotary_logo.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 80%;
    overflow: hidden;
    color: black;
    border: none;
    text-align: left;
    padding-right: 30%;
    padding: 2.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(67, 156, 251, 0.3);
}

.cards-grid2.grid-entreprise2 .card:first-child h3 {
    color: black;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cards-grid2.grid-entreprise2 .card:first-child h3::before {
    content: '🏢 ';
}

.cards-grid2.grid-entreprise2 .card:first-child p {
    color: color: rgba(0, 0, 0, 0.85);
    font-size: 1.1rem;
}

.cards-grid2.grid-entreprise2 .card:first-child strong {
    color: black;
    font-weight: 700;
}
/* Layout "Mes Projets" - Container amélioré */
.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(67, 156, 251, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.project-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #439cfb;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.project-card:hover::after {
    background: linear-gradient(180deg, #439cfb, #f187fb);
}

.project-card:hover {
    border-left: unset;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(67, 156, 251, 0.2);
}

.project-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(67, 156, 251, 0.03) 0%, rgba(241, 135, 251, 0.03) 100%) !important;
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.status-progress {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.status-planned {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

.project-header h3 {
    font-size: 1.5rem;
    color: #0F172A;
    margin: 0;
}

.project-date {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tech-badge {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(67, 156, 251, 0.1) 0%, rgba(241, 135, 251, 0.1) 100%);
    border: 1px solid rgba(67, 156, 251, 0.3);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #439cfb;
}

.project-context {
    color: #64748B;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.project-description {
    color: #475569;
    line-height: 1.7;
    flex-grow: 1;
}

.btn-procedure {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(67, 156, 251, 0.3);
    margin-top: auto;
}

.btn-procedure:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 135, 251, 0.5);
}

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

.btn-secondary {
    background: linear-gradient(135deg, #f187fb 0%, #439cfb 100%);
}

.btn-project-group .btn-procedure {
    flex: 1;
}

/* Styles de base des cards */
.card {
    background: #F1F5F9;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(67, 156, 251, 0.05) 50%);
    pointer-events: none;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #439cfb;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.card:hover::after {
    background: linear-gradient(180deg, #439cfb, #f187fb);
}

.card:hover {
    border-left: unset;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(67, 156, 251, 0.2);
}

.card h3 {
    color: #0F172A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h3::before {
    content: '▸';
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.card p {
    color: #64748B;
    line-height: 1.8;
}

.card strong {
    color: #0F172A;
    font-weight: 600;
}

/* Card highlight pour projet principal */
.card-highlight {
    background: linear-gradient(135deg, #e0f2ff 0%, #fce7ff 100%);
    border-left: 4px solid #f187fb;
}

.card-highlight h3 {
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-highlight h3::before {
    content: '⭐';
    -webkit-text-fill-color: #f187fb;
}

.card-highlight p {
    color: #334155;
}

.card-highlight strong {
    color: #1e293b;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding-top: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #439cfb 0%, #f187fb 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin: 2rem 0;
    align-items: center;
    position: relative;
    padding: 16px 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:last-child {
    padding: 16px 0 0;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: #F1F5F9;
    border-radius: 10px;
    margin: 0 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: linear-gradient(135deg, rgba(67, 156, 251, 0.05) 0%, rgba(241, 135, 251, 0.05) 100%);
    box-shadow: 0 5px 15px rgba(67, 156, 251, 0.15);
    backdrop-filter: blur(10px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
    border-right-color: #F1F5F9;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
    border-left-color: #F1F5F9;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: bold;
    top: -37px;
    z-index: 12;
    box-shadow: 0 4px 10px rgba(67, 156, 251, 0.3);
}

/* RSS Section - Timeline style */
.veille-section {
    background: linear-gradient(135deg, #0F172A 0%, #1a1f3a 100%);
    color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(67, 156, 251, 0.2);
}

.veille-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rss-timeline {
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(67, 156, 251, 0.05);
    border-radius: 10px;
}

.rss-timeline-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid #439cfb;
    transition: all 0.3s ease;
    position: relative;
}

.rss-timeline-item::before {
    content: '📅';
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    font-size: 1.2rem;
}

.rss-timeline-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-left-color: #f187fb;
}

.rss-timeline-item h4 {
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.rss-timeline-item .rss-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #94A3B8;
}

.rss-source {
    font-weight: 600;
    color: #439cfb;
}

.rss-timeline-item p {
    color: #E2E8F0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rss-timeline-item a {
    color: #f187fb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.rss-timeline-item a:hover {
    color: #439cfb;
    text-decoration: underline;
}

/* Articles Sauvegardés */
.saved-articles-section {
    margin: 3rem 0 2rem 0;
}

.saved-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.saved-article-card {
    background: #F1F5F9;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.saved-article-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #f187fb;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.saved-article-card:hover::after {
    background: linear-gradient(180deg, #439cfb, #f187fb);
}

.saved-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(241, 135, 251, 0.15);
}

.saved-article-card h4 {
    color: #0F172A;
    font-size: 1.1rem;
    margin: 0;
}

.saved-article-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, rgba(67, 156, 251, 0.15) 0%, rgba(241, 135, 251, 0.15) 100%);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #439cfb;
    text-transform: uppercase;
}

.saved-article-card p {
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.saved-article-card .date {
    color: #94A3B8;
    font-size: 0.85rem;
}

.saved-article-card a {
    color: #f187fb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.saved-article-card a:hover {
    color: #439cfb;
}


.rss-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.rss-tab {
    padding: 0.5rem 1rem;
    background: rgba(67, 156, 251, 0.2);
    border: 1px solid #439cfb;
    border-radius: 25px;
    color: #439cfb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.rss-tab.active {
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(67, 156, 251, 0.4);
}

.rss-tab:hover {
    background: linear-gradient(135deg, #439cfb 0%, #f187fb 100%);
    color: white;
    border-color: transparent;
}


.loading {
    text-align: center;
    color: #94A3B8;
    padding: 2rem;
}

.error {
    color: #f187fb;
    text-align: center;
    padding: 1rem;
    background: rgba(241, 135, 251, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(241, 135, 251, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.8rem 0;
    }

    .nav-toggle {
        display: block;
    }

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

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Responsive pour les grids */
    .cards-grid,
    .cards-grid.grid-2col,
    .cards-grid.grid-entreprise,
    .projects-container,
    .saved-articles-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-featured {
        grid-column: 1;
    }

    .project-status {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .cards-grid.grid-entreprise .card:first-child {
        grid-column: 1;
    }

    .timeline::before {
        left: 20px;
        top: 0;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 40px;
        padding-bottom: 0;
    }

    .timeline-item:last-child {
        padding: 0 0 0 40px;
    }

    .timeline-content {
        margin: 0;
        margin-top: 1rem;
    }

    .timeline-content::before {
        display: none;
    }

    .timeline-date {
        position: relative;
        left: auto;
        transform: none;
        display: inline-block;
        margin-bottom: 1rem;
        top: auto;
    }

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

    .typing-container, .cta-container {
        padding: 1rem;
    }

    .rss-controls {
        flex-direction: column;
        align-items: center;
    }
}


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

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1 }
    51%, 100% { opacity: 0 }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 2px solid #439cfb;
    border-top: 2px solid #f187fb;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Scrollbar personnalisée */
.rss-timeline::-webkit-scrollbar {
    width: 8px;
}

.rss-timeline::-webkit-scrollbar-track {
    background: rgba(67, 156, 251, 0.1);
    border-radius: 10px;
}

.rss-timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #439cfb 0%, #f187fb 100%);
    border-radius: 10px;
}

.rss-timeline::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f187fb 0%, #439cfb 100%);
}

li {
    list-style: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 1rem;
    background: #F1F5F9;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #439cfb 0%, #f187fb 100%);
    transition: height 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(67, 156, 251, 0.2);
}

.contact-card:hover::after {
    height: 6px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #439cfb;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 0.9rem;
    color: #64748B;
    text-align: center;
    word-break: break-all;
}

#contact.section {
    min-height: unset;
}