/* Google font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #fdfdfd;
    color: #333;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 700;
}
/* NAVBAR STYLES */

.navbar {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background-color: #1c1c1c !important;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #fff;
}

.nav-custom {
    color: #ddd !important;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-custom:hover,
.nav-custom.active {
    background-color: #0d6efd;
    color: white !important;
    transform: scale(1.05);
}

.navbar-toggler {
    border-color: #fff;
}
/* Dropdown custom */
.dropdown-menu {
    background-color: #1f1f1f;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dropdown-item {
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #0d6efd;
    color: #fff !important;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('/img/background.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    animation: fadeIn 2s ease-in-out;
}

.hero-section h1 {
    font-size: 3rem;
    animation: slideDown 1s ease-in-out;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.8;
}

section {
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel styling */
#competences {
    background-color: #f9f9f9;
}

.competence-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.carousel-item h5 {
    font-weight: 600;
    color: #0d6efd;
    margin-top: 15px;
    font-size: 1.2rem;
}

.carousel-item:hover .competence-img {
    transform: scale(1.05);
}

/* Certification section */
.certification-section {
    background-color: #f8f9fa;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card {
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}


.navbar {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* FOOTER PROPRE ET ÉLÉGANT */
.footer-pro {
    background-color: #1c1c1e;
    color: #ccc;
    font-size: 0.95rem;
    border-top: 2px solid #0d6efd;
}

.social-icons .social-link {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.3rem;
    color: #ccc;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons .social-link:hover {
    color: #0d6efd;
    transform: translateY(-3px);
}

.footer-mention {
    color: #aaa;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-mention:hover {
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0 }
    to { transform: translateY(0); opacity: 1 }
}
