body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}
.navbar {
    background-color: #0a0a0a;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: #ffffff !important;
}
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff8c00;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: #ff8c00 !important;
}
.hero {
    background: linear-gradient(135deg, #0a0a0a, #3a0000, #cc7000);
    color: #e0e0e0;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.hero .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
}
.section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #ff8c00;
    border-radius: 2px;
}
.subsection-title {
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 30px;
    margin-top: 50px;
    font-size: 1.8rem;
    position: relative;
    display: block;
    width: 100%;
    padding: 0 15px;
}
.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #ff8c00;
    border-radius: 2px;
}
.subsection-title.automation::after {
    background-color: #4b9cd3;
}
.skill-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #ff8c00, transparent);
    margin: 40px 0;
}
.skill-divider.automation {
    background: linear-gradient(to right, transparent, #4b9cd3, transparent);
}
.skill-card {
    border: none;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.skill-card.cyber {
    border: 3px solid #ff8c00;
}
.skill-card.automation {
    border: 3px solid #4b9cd3;
}
.skill-card:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 140, 0, 0.8);
    background-color: #2a2a2a;
}
.skill-card.automation:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(75, 156, 211, 0.8);
}
.skill-card .icon {
    font-size: 4rem;
    color: #ff8c00;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.skill-card.automation .icon {
    color: #4b9cd3;
}
.skill-card:hover .icon {
    color: #cc7000;
}
.skill-card.automation:hover .icon {
    color: #357abd;
}
.skill-card .card-title {
    color: #e0e0e0;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.skill-card .card-text {
    color: #b0b0b0;
    font-size: 0.8rem;
    line-height: 1.4;
}
.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}
.project-desc {
    font-size: 0.95rem;
    color: #b0b0b0;
}
.project-card {
    background-color: #2a2a2a;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4), 0 0 15px rgba(255, 140, 0, 0.5);
}
.project-card .icon {
    font-size: 3.5rem;
    color: #ff8c00;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.project-card:hover .icon {
    color: #cc7000;
}
.project-card iframe {
    width: 100%;
    flex-grow: 1;
    margin-bottom: 1rem;
    border: none;
    overflow: hidden;
}
.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 10px;
}
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: #1e1e1e;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 10px rgba(255, 140, 0, 0.5);
}
.card-title {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1.2rem;
}
.card-text {
    color: #b0b0b0;
    font-size: 0.9rem;
}
.icon {
    font-size: 3rem;
    color: #ff8c00;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}
.card:hover .icon {
    color: #cc7000;
}
footer {
    background: linear-gradient(135deg, #0a0a0a, #3a0000);
    color: #e0e0e0;
    padding: 40px 0;
    text-align: center;
    font-size: 1rem;
    position: relative;
}
footer a {
    color: #ff8c00;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #ffffff;
}
.btn-primary {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #0a0a0a;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #cc7000;
    border-color: #cc7000;
    transform: scale(1.05);
}
.contact-links a {
    font-size: 1.2rem;
    margin: 0 20px;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-links a:hover {
    color: #ff8c00;
}
.contact-links i {
    margin-right: 10px;
}
/* Responsive */
@media (max-width: 992px) {
    .skill-card {
        width: 180px;
        height: 180px;
    }
    .skill-card .icon {
        font-size: 3.5rem;
    }
    .skill-card .card-title {
        font-size: 1rem;
    }
    .skill-card .card-text {
        font-size: 0.75rem;
    }
    .project-card {
        padding: 1.2rem;
    }
    .project-card .icon {
        font-size: 3rem;
    }
    .project-card img {
        height: 150px;
    }
    .badge-wrapper {
        height: 150px;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .subsection-title {
        font-size: 1.5rem;
    }
    .contact-links a {
        display: block;
        margin: 10px 0;
    }
    .skill-card {
        width: 160px;
        height: 160px;
    }
    .skill-card .icon {
        font-size: 3rem;
    }
    .skill-card .card-title {
        font-size: 0.95rem;
    }
    .skill-card .card-text {
        font-size: 0.7rem;
    }
    .project-card {
        padding: 1rem;
    }
    .project-card .icon {
        font-size: 2.5rem;
    }
    .project-card img {
        height: 140px;
    }
    .badge-wrapper {
        height: 140px;
    }
}
/* Styles pour la section Certifications */
#certifications .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 100%;
}

#certifications .cert-badge {
    max-width: 100px;
    margin-bottom: 15px;
}

#certifications .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}
/* New Arrow Design for Experience */
.experience-arrow {
    position: relative;
    max-height: 800px;
    margin: 0 auto;
}
.experience-item {
    position: relative;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    margin-bottom: 50px;
}
.experience-item:last-child {
    margin-bottom: 0;
}
.experience-item::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #ff8c00;
}
.experience-item:first-child::before {
    display: none;
}
.experience-item h5 {
    color: #e0e0e0;
}
.experience-item p {
    margin-bottom: 0;
    color: #b0b0b0;
}
.badge-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
} 


a {
    text-decoration: none;
}