body {
    font-family: Arial, sans-serif;
    background-color: #384975;
    color: #FFFFFF
    ;
}

/* Header & Navigation */
.profile-initials {
    width: 50px;
    height: 50px;
    background-color: #384975; /* Blue color */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link:hover {
    color: #384975 !important; /* Blue hover for nav links */
}

/* Hero Section */
.hero-section {
    background-color: #4e5b7c; /* Dark gray */
    background-image: url('your_hero_background_image.jpg');
    background-size: cover;
    background-position: center;
}

/* About Section */
.about-section {
    background-color: #384975; /* Light gray */
}

.profile-photo {
    border: 5px solid #384975; /* Blue border around photo */
}

.about-card {
    background-color: #384975;
    border-left: 5px solid #384975;
}

/* Skills & Projects Sections */
.skills-section, .projects-section {
    background-color: #384975; /* Lighter gray */
}

.skill-card, .project-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.skill-card:hover, .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px #000000;
}

.card-year {
    background-color: #384975;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
}

.skill-card h4, .project-card h4 {
    color: #384975;
}


.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #384975 !important;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Base colors for the theme */
:root {
    --primary-blue: #2c426e;
    --light-blue: #4f689e;
    --card-bg: #495e86;
    --card-text: #ffffff;
    --light-gray: #e9ecef;
}

/* General Layout */
.bg-dark {
    background-color: var(--primary-blue) !important;
}

.profile-initials {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link:hover {
    color: var(--light-blue) !important;
}

.btn-outline-light:hover {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
}

/* Accueil Section */
.hero-section {
    background-color: var(--primary-blue);
}

.about-section-accueil {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
}

.profile-photo {
    border: 5px solid white;
}

.about-card {
    background-color: var(--primary-blue);
    border-left: 5px solid var(--light-blue);
    color: var(--card-text);
}

.about-card p {
    color: #f1f3f5;
}

/* À propos Section */
.a-propos-section {
    background-color: var(--primary-blue);
    color: var(--card-text);
}

.profile-photo-small {
    border: 3px solid white;
}

.contact-card {
    background-color: var(--light-blue);
    padding: 1rem;
    border-radius: 10px;
}

.image-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card img {
    border: 1px solid var(--light-blue);
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Compétences Section */
.competences-section {
    background-color: var(--primary-blue);
    color: var(--card-text);
}

.skill-group {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--light-blue);
}

.skill-group ul {
    list-style-type: disc;
    padding-left: 20px;
}

.skill-group ul li {
    margin-bottom: 0.5rem;
}

.progress {
    height: 25px;
    background-color: var(--light-blue);
    border-radius: 10px;
}

.progress-bar {
    background-color: #fff;
    color: var(--primary-blue);
    font-weight: bold;
    border-radius: 10px;
}

/* Projets Section */
.projets-section {
    background-color: var(--primary-blue);
    color: var(--card-text);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 1s ease;
}

.gallery-item:hover img {
  transform: scale(1.1); /* effet zoom */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}
.project-card-full {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--light-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-card-full .card-year {
    background-color: var(--light-blue);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
}

.project-card-full img {
    width: 100%;
    height: auto;
}

/* Contacts Section */
.contacts-section {
    background-color: var(--primary-blue);
    color: var(--card-text);
}

.contact-info-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--light-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info-card i {
    color: white;
}

.contact-form-container {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
}

.form-control {
    background-color: transparent !important;
    border: 1px solid var(--light-blue);
    color: white;
}

.form-control::placeholder {
    color: #aaa;
}

/* Footer */
footer {
    background-color: var(--primary-blue) !important;
}

.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--light-blue) !important;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #0d6efd; /* couleur Bootstrap primary */
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #0b5ed7; /* couleur au survol */
  color: #fff;
}

.fw-bold mb-3{
  color: #ffffff;
    text-decoration: #ffffff;
}
.fw-bold mb-4 text-center{
  color: #ffffff;
    text-decoration: #ffffff;
}