/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #4e4e4e; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0a090f; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0078ff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0078ff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #0078ff;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #3393ff;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}



/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, .section {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  section, .section {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}



/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/


.section-title {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

@media (max-width: 768px) {
  .section-title {
    padding-bottom: 15px;
  }
}


.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}


.hero {
  width: 100%;
  min-height: calc(100vh - 92px);
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 36px;
  font-weight: 600;
}

.hero p span {
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .container {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.about .skills-content h5 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 15px 0;
}

.about .progress {
  height: 36px;
  display: block;
  background: none;
  border-radius: 0;
  margin-top: 15px;
}

.about .progress .skill {
  color: var(--default-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.about .progress .skill .val {
  float: right;
  font-style: normal;
}

.about .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.about .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

.about .about-me h4 {
  font-size: 28px;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 30px;
  font-weight: 700;
}

.about .about-me h4:after {
  content: "";
  position: absolute;
  display: block;
  width: 64px;
  height: 3px;
  background: var(--accent-color);
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.about .about-me p {
  font-size: 18px;
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}


.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid var(--surface-color);
  height: 100%;
  position: relative; 
  overflow: hidden; 
}



.services .service-item .icon {
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
}









.contact .container {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact .contact-info {
  text-align: center;
  margin-bottom: 30px;
}

.contact .contact-info h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.contact .contact-info h4::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 8px auto 0;
}

.contact .contact-info p {
  font-size: 16px;
  margin-bottom: 20px;
}

.contact .contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.contact .contact-links .contact-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--default-color);
  font-size: 16px;
}

.contact .contact-links .contact-link i {
  font-size: 20px;
  margin-right: 10px;
}

.contact .contact-extra-info {
  margin-top: 30px;
  text-align: center;
}

.contact .contact-extra-info h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact .contact-extra-info p {
  font-size: 16px;
}

.contact #map iframe {
  border: 0;
  width: 100%;
  height: 400px;
}

------------------------------------------------------ tableaux langues

.language-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.language-table th, .language-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.language-table th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
}

.language-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.language-table tr:hover {
  background-color: #f1f1f1;
}

-------------------------------------------------------- References
.references-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.references-list li {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.references-list li a {
  color: #007bff;
  text-decoration: none;
}

.references-list li a:hover {
  text-decoration: underline;
}



# Starter Section Section
--------------------------------------------------------------*/
.starter-section {

}

-----------------------------------------------------

.tech-badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badges .badge {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.tech-badges {
  justify-content: center;
}

.tech-badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px; 
  justify-content: start; 
}


.about img {
  border-radius: 20px;
  width: 100%;
  max-width: 350px;
}


.about .about-me p {
  text-align: justify;
}

.profile-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.profile-links a {
  font-size: 24px;
  color: var(--default-color);
  transition: 0.3s;
}

.profile-links a:hover {
  color: var(--accent-color);
}



@media (max-width: 767px) {
  .tech-badges {
    justify-content: center;
  }

 
  .about img {
    max-width: 280px; 
  }
}



.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tech-badges .badge {
  background-color: #3393ff; 
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Modern Project Cards */
.service-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

.service-item p {
  font-size: 0.95rem;
  color: #444;
}

.service-item a {
  text-decoration: none;
  color: inherit;
}

.container.section-title p {
  color: #666;
}



.project-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #0d6efd;
}

.project-card p {
  font-size: 0.95rem;
  color: #555;
}

.project-links {
  margin-top: 15px;
}

.project-links .btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0d6efd;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.project-links .btn:hover {
  background-color: #0b5ed7;
}




.contact-links .btn {
  background-color: #2563eb; 
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-links .btn:hover {
  background-color: #1d4ed8; 
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-links .btn i {
  margin-right: 8px;
}

#contact {
  padding-top: 30px;
  padding-bottom: 40px;
  min-height: auto;
}






.language-switcher {
  display: flex;
  align-items: center;
  gap: 12px; 
}

.language-switcher a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.language-switcher a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.language-switcher img {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .about .img-fluid {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}



@media (max-width: 991px) {
  .language-switcher {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin-top: 10px;
    padding-left: 15px;
  }

  .language-switcher a {
    margin: 5px 0;
  }
}

.tech-badges .badge {
  padding: 6px 12px;
  font-size: 0.9rem;
}

.tech-stack p {
  font-size: 0.9rem;
  color: #6c757d; 
  margin-top: 1rem;
}

.profile-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.profile-links a i {
  font-size: 1.2rem;
}

.resume .resume-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}


.resume .resume-item {
  background-color: #f9f9f9;
  padding: 1.2rem;
  border-left: 4px solid #0d6efd;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


.resume .resume-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}


.resume .resume-item h5 {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.8rem;
}


.resume .resume-item p em {
  font-style: italic;
  color: #555;
}


.resume .resume-item ul {
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.resume .resume-item ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: #444;
}


.resume .resume-item .small.text-muted {
  font-size: 0.85rem;
  color: #777;
  border-top: 1px dashed #ccc;
  padding-top: 0.5rem;
  margin-top: 1rem;
}


@media (max-width: 768px) {
  .resume .resume-item {
    padding: 1rem;
  }
}



#projects {
  padding: 60px 0;
}

#projects .section-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

#projects .section-title p {
  font-size: 0.95rem;
  color: #6c757d;
}

.project-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

#contact {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

#contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

#contact p {
  font-size: 1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.contact-links .btn {
  border: none;
  padding: 12px 20px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.contact-links .btn i {
  margin-right: 8px;
}

.contact-links .btn:hover {
  background-color: #000;
  color: #fff;
}

#contact .small.text-muted {
  font-size: 0.85rem;
  color: #aaa;
}














.project-card .project-links {
  display: flex;
  flex-wrap: wrap;
}

.project-card .project-links .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #007bff;
  background-color: #ffffff;
  color: #007bff;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.project-card .project-links .btn:hover {
  background-color: #007bff;
  color: #ffffff;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}



html {
  scroll-padding-top: 100px; 
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px; 
  }
}

section,
.section {
  padding-top: 15px;
  padding-bottom: 15px;
}

@media (max-width: 768px) {
  section,
  .section {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}



#resume + #projects {
  margin-top: -45px; 
}

#projects .section-title {
  padding-bottom: 10px; 
}

@media (max-width: 768px) {
  #resume + #projects {
    margin-top: -30px;
  }

  #projects .section-title {
    padding-bottom: 8px;
  }
}

#resume + #projects {
  margin-top: -40px; 
}

#projects .section-title {
  padding-bottom: 8px; 
}

@media (max-width: 768px) {
  #resume + #projects {
    margin-top: -30px; 
  }

  #projects .section-title {
    padding-bottom: 6px;
  }
}
#about .section-title h2 {
  margin-bottom: 10px; 
  padding-bottom: 10px; 
}

#about .section-title {
  padding-bottom: 4px;
}

@media (max-width: 768px) {
  #about .section-title h2 {
    margin-bottom: 4px;
    padding-bottom: 8px;
  }

  #about .section-title {
    padding-bottom: 8px;
  }
}

.sitename {
  all: unset;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--contrast-color); /* Texte blanc sur fond bleu */
  background-color: #0a192f;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

@media (max-width: 767px) {
  .sitename {
    font-size: 14px;
  }
}



/*******************************/
@media (min-width: 992px) {
  .about .row.gy-4 {
    display: flex;
    align-items: center;
  }
}


/*******************************/

.about .row.gy-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.about .col-md-5, 
.about .col-md-7 {
  flex: 1 1 300px; /* largeur minimale 300px, ils prennent l'espace sinon */
  max-width: 600px; /* limite la largeur excessive */
}

.about .about-me {
  text-align: center;
}

.profile-links {
  justify-content: center;
}




.about img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 400px; /* Limite la hauteur, évite l’effet « trop grand » */
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Ajustement spécial pour les écrans larges (ordinateur) */
@media (min-width: 992px) {
  .about img {
    max-width: 300px;
    height: auto;
  }
}

.more-projects a {
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  transition: color 0.3s ease;
}

.more-projects a:hover {
  color: #0d6efd; 

}

.project-card .project-description {
  text-align: justify !important;
}


/* Conteneur pour le bouton + tooltip */
.live-demo-btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Le “tooltip” via pseudo-élément */
.live-demo-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;                /* juste sous le bouton */
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.8);
  transform-origin: top center;
  background-color: #f8f9fa;
  color: #212529;
  padding: 6px 10px;
  font-size: 13px;
  border-left: 4px solid #0d6efd;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

/* Affichage au survol */
.live-demo-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(8px) scale(1);
}
