/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# 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: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #6a6e70; /* 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: #a8a9b4;  /* 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: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* 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: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #243248; /* Bleu nuit foncé */
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #161b22; /* Gris bleuté sombre */
  --contrast-color: #ffffff;
  --nav-dropdown-background-color: rgba(22, 27, 34, 0.9); /* Fond semi-transparent */
}
.card-img-top {
  width: 100%;
  height: 200px; /* Tu peux aussi mettre 250px ou 300px selon ton goût */
  object-fit: cover;
}


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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Empêche le scroll horizontal */
}




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);
}

.skill-row {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
  justify-content: space-between; /* Distribute items evenly */
  gap: 20px; /* Space between items */
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 12%; /* Adjust width depending on the number of items */
  padding: 10px;
}

.skill-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

h4 {
  font-size: 14px;
  color: var(--default-color);
  font-family: var(--heading-font);
  margin-top: 5px;
}

@media (max-width: 768px) {
  .skill-item {
      width: 20%; /* Make items more compact on smaller screens */
  }
}






/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  position: relative; /* Permet au menu de défiler avec la page */
  height: auto; /* Adapte la hauteur au contenu */
  width: 300px;
  display: flex;
  flex-direction: column;
}
/* 📌 Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 70px; /* Ajusté pour ne pas chevaucher le menu */
  width: 260px; /* Largeur ajustée */
  height: calc(100vh - 70px);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  padding-left: 15px;
  padding-right: 15px;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
}

/* 🖼️ Image de profil */
.profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px; /* Espacement ajusté */
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ✍️ Nom */
.sitename {
  font-size: 18px; /* Réduction de la taille */
  font-weight: 500;
  color: #050d18;
  text-align: center;
  font-family: "Poppins", sans-serif;
  margin-bottom: 15px; /* Réduction de l'espace sous le nom */
  letter-spacing: 0.5px; /* Espacement léger des lettres */
}

/* 🔗 Icônes de réseaux sociaux */
.social-links {
  display: flex;
  gap: 15px; /* Espacement entre les icônes */
  margin-top: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* Taille plus discrète */
  height: 40px;
  border-radius: 50%;
  background: #727475;
  color: white;
  font-size: 18px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  background: #1177bb;
}

/* 📌 Ajustement du contenu principal pour éviter d’être caché par la sidebar */
.main {
  margin-left: 280px; /* Décalage ajusté pour correspondre à la sidebar */
  padding: 20px;
}

/* 📱 Responsivité : Cacher la sidebar sur mobile */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  
  .main {
    margin-left: 0;
  }
}

/* 🔹 Sidebar Bio */
.sidebar-bio {
  font-size: 14px;
  color: #333;
  text-align: center;
  padding: 10px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 🔹 Bouton CV */
.resume-download {
  margin-top: 20px;
  text-align: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  background: #727475;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

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

.btn-download:hover {
  background: #727475;
}

/* 🔹 Disponibilité */
.availability {
  text-align: center;
  font-size: 14px;
  color: #696a6c;
  margin-top: 15px;
}

/* 🔹 Citation */
.sidebar-quote {
  font-size: 12px;
  color: #666;
  text-align: center;
  font-style: italic;
  margin-top: 15px;
}

/* 🔹 Compétences Clés */
.sidebar-skills {
  margin-top: 20px;
  padding: 10px;
  text-align: center;
}

.sidebar-skills h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.sidebar-skills ul {
  list-style: none;
  padding: 0;
}

.sidebar-skills li {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.sidebar-skills i {
  margin-right: 5px;
  color: #149ddd;
}

.contact .form-control {
  margin-bottom: 15px; /* Add space between input fields */
  border-radius: 8px;  /* Round the corners of input fields */
  padding: 10px; /* Add padding for better input spacing */
}

.contact .col-md-6 {
  display: flex;
  flex-direction: column; /* Make inputs vertically aligned */
  align-items: flex-start;
}

.contact .col-md-12 {
  display: flex;
  flex-direction: column;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form label {
  font-weight: bold;
  color: #333;  /* Dark color for better readability */
}

#submit-button {
  padding: 12px 40px;
  font-size: 16px;
  background-color: #007bff;  /* Blue color for the submit button */
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#submit-button:hover {
  background-color: #0056b3;  /* Darker blue when hovering */
}

textarea {
  resize: vertical; /* Allow resizing the text area vertically */
}

@media (max-width: 768px) {
  .contact form {
    padding: 10px;
  }

  #contact-form {
    gap: 15px;  /* Reduce space between fields for smaller screens */
  }
}







.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

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

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

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}
 
/* Style for mobile menu toggle (hamburger icon) */
.header-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

#submit-button {
  background-color: #727475; /* Gray color for the button */
  color: #fff; /* White text */
  border: none; /* No border */
  padding: 10px 20px; /* Padding for the button */
  font-size: 16px; /* Font size */
  cursor: pointer; /* Change cursor to pointer on hover */
  border-radius: 5px; /* Slightly rounded corners */
  transition: background-color 0.3s; /* Smooth color transition */
}

#submit-button:hover {
  background-color: #5a5d5d; /* Darker gray on hover */
}




/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}
/*--------------------------------------------------------------
# Navigation Menu - Optimisé
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Header Navigation - Menu Horizontal Glassmorphism
--------------------------------------------------------------*/

.about {
  margin-top: 50px; /* Ajuste cette valeur selon l'espacement voulu */
}




.navmenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* Pleine largeur */
  height: 70px; /* Hauteur ajustée */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15); /* Transparence */
  backdrop-filter: blur(10px); /* Effet flou */
  border-bottom: 2px solid rgba(255, 255, 255, 0.2); /* Bordure légère */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ombre subtile */
  z-index: 1000; /* Pour être au-dessus du contenu */
  transition: all 0.3s ease-in-out;
}

/* Style des éléments du menu */
.navmenu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.navmenu li {
  display: inline-block;
}

/* Liens du menu */
.navmenu a {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  color: white;
  font-size: 16px;
  font-family: var(--nav-font);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 10px; /* Coins arrondis */
}

/* Icônes */
.navmenu a i {
  font-size: 22px;
  margin-right: 10px;
  transition: color 0.3s;
}

/* Effet au survol */
.navmenu a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  transform: scale(1.05);
}

/* Mode sombre */
.dark-background .navmenu {
  background: rgba(22, 27, 34, 0.3);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.dark-background .navmenu a {
  color: #ffffff;
}

.dark-background .navmenu a:hover {
  background: rgba(255, 255, 255, 0.2);
}



/* Mobile Responsive Design */
@media (max-width: 768px) {
  /* Cacher la navmenu par défaut */
  .navmenu {
    display: none; /* Cache le menu de navigation */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Prend toute la hauteur de l'écran */
    background: rgba(255, 255, 255, 0.95); /* Fond semi-transparent */
    backdrop-filter: blur(10px); /* Flou en arrière-plan */
    z-index: 1000; /* Pour s'assurer qu'il est au-dessus du contenu */
    flex-direction: column; /* Disposition verticale des éléments */
    padding-top: 60px; /* Espacement avec le haut de l'écran */
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1); /* Ombre discrète */
  }

  /* Afficher la navmenu quand elle est activée */
  .navmenu.show {
    display: flex; /* Affiche le menu quand il est activé */
  }

  /* Modifier la liste des éléments du menu */
  .navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Colonnes sur mobile */
    gap: 15px; /* Espacement entre les éléments */
    align-items: center; /* Centrer les éléments du menu */
  }

  /* Modifier le style des liens du menu */
  .navmenu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    font-size: 18px; /* Ajuster la taille de la police sur mobile */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%; /* Utiliser toute la largeur du menu */
    text-align: center; /* Centrer le texte */
    border-radius: 8px; /* Coins arrondis pour les liens */
  }

  /* Effet au survol des éléments du menu */
  .navmenu a:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Adapter la taille des icônes dans le menu */
  .navmenu a i {
    font-size: 20px; /* Taille des icônes */
    margin-right: 10px; /* Espacement entre l'icône et le texte */
  } }

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# 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 {
  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 {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.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;
  bottom: 0;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 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 70%);
  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: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

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

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

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

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

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

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

/*--------------------------------------------------------------
# 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);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

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

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

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

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

.skills {
  padding: 60px 0;
  background: #f8f9fa; /* Light background for better contrast */
}

.skill-set {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.skill-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* Makes the images circular */
  margin: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
  transition: transform 0.3s ease-in-out;
}

.skill-icon:hover {
  transform: scale(1.1); /* Slight enlargement on hover for interactivity */
  cursor: pointer;
}

h3 {
  text-align: center;
  color: #333;
  margin-top: 30px;
}

.skill-category {
  margin-bottom: 40px;
}
.skill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: start; /* Align items to the start of the row */
  padding: 10px;
}

.skill-item {
  flex-basis: 20%; /* Adjust to reduce width to fit more items per row */
  text-align: center;
  padding: 10px;
}

.skill-icon {
  width: 50px; /* Reduced size to fit more icons in one line */
  height: auto;
  margin-bottom: 5px;
}

h4 {
  margin-top: 5px;
  font-size: 14px;
}

.skill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* This will distribute space evenly around items */
}

.skill-item {
  flex: 1 1 10%; /* Adjust this as necessary to fit your design */
  text-align: center;
  padding: 10px;
}

.skill-icon {
  width: 70px; /* Adjust size as necessary */
  height: auto;
  margin-bottom: 5px;
}

h4 {
  margin-top: 5px;
  font-size: 14px;
}

/* To specifically center the items under the Databases category */
.justify-content-center {
  justify-content: center; /* This centers the children within the row */
}
.section-title {
  margin-bottom: 10px; /* Reduce this value to decrease space after the title */
}

/* Adjust the top margin of the first category heading */
.skill-category h3:first-of-type {
  margin-top: 0; /* Remove top margin for the first heading */
}

/* Additional adjustments for tighter layout */
.skill-row {
  margin-top: 0; /* Remove or reduce space above the first row of icons */
}


/* General styling for all headings to reduce space */
h3 {
  margin-top: 20px; /* Reduce top margin on headings if they are still too far apart */
  margin-bottom: 10px; /* Reduce bottom margin to pull icons closer to the heading */
}


/* Profile Section */
.profile {
  padding: 80px 20px;
  background: linear-gradient(to right, #0056b3, #0088cc); /* New color scheme */
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

/* Profile Content */
.profile-content {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Split layout: Image and text */
  align-items: center;
  gap: 20px;
}

/* Profile Image */
.profile-image img {
  width: 200px; /* Enlarged size */
  height: 200px;
  border-radius: 50%; /* Circular shape */
  border: 5px solid #fff; /* White border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Shadow effect */
  transition: transform 0.3s ease-in-out;
}

.profile-image img:hover {
  transform: scale(1.1); /* Zoom effect on hover */
}

/* Profile Information */
.profile-info {
  text-align: left;
}

.name {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.title {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #d6f2ff;
}

.bio {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Contact Information */
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.contact div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact i {
  font-size: 18px;
  color: #ffd700; /* Accent color */
}

.contact a {
  color: #ffd700;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-content {
      grid-template-columns: 1fr; /* Stack layout on small screens */
      text-align: center;
  }

  .profile-image img {
      width: 150px; /* Smaller image for mobile */
      height: 150px;
  }

  .name {
      font-size: 28px;
  }

  .title {
      font-size: 18px;
  }

  .bio {
      font-size: 14px;
  }
}
/* Volunteering Section */
.volunteering {
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}


.section-title p {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

/* Volunteer Cards */
.volunteering-content {
  display: flex;
  flex-wrap: wrap; /* Ensures wrapping on smaller screens */
  gap: 20px;
  justify-content: space-between; /* Spreads cards evenly */
}

.volunteer-card {
  flex: 1 1 calc(33.333% - 20px); /* 3 cards in a row with spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Volunteer Image */
.volunteer-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%; /* Circular image */
  border: 3px solid #ffffff; /* Accent border */
  margin-bottom: 10px;
}

/* Volunteer Info */
.volunteer-info h3 {
  font-size: 22px;
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 10px;
}

.volunteer-info p {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
}

.volunteer-info strong {
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .volunteering-content {
      flex-direction: column; /* Stack cards vertically */
      gap: 15px;
  }

  .volunteer-card {
      flex: 1 1 100%; /* Full width for smaller screens */
  }

  .volunteer-image img {
      width: 80px;
      height: 80px;
  }
}

/* Languages Section */
.languages {
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}



.section-title p {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

/* Language Cards */
.languages-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.language-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.language-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 10px;
}

.language-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .languages-content {
      flex-direction: column;
      gap: 15px;
  }

  .language-card {
      width: 100%;
  }
}
/* About Section */
.about {
  padding: 40px 0; /* Adjusted padding for alignment with other sections */
  background-color: var(--background-color); /* Neutral background */
  color: var(--default-color); /* Text color */
}

.about-wrapper {
  max-width: 1200px; /* Ensure alignment with the website container */
  margin: 0 auto;
}

.about h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--heading-color); /* Color for headings */
  text-align: left; /* Left-aligned heading */
}

.about p.intro {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left; /* Ensure left-alignment */
  color: var(--default-color);
}

.about-content {
  display: flex;
  gap: 50px; /* Space between columns */
  justify-content: flex-start; /* Align columns to the left */
}

.column {
  flex: 1; /* Equal width columns */
}

.highlights h3, .contact-info h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 10px;
  text-align: left; /* Ensure heading is left-aligned */
}

.highlights ul, .contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlights li, .contact-info li {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: var(--default-color);
}

.highlights li i, .contact-info li i {
  font-size: 16px;
  margin-right: 10px;
  color: var(--accent-color); /* Icon color */
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Stack sections vertically */
    gap: 20px; /* Smaller gap for compact view */
  }

  .about h2 {
    font-size: 24px;
  }

  .about p.intro {
    font-size: 14px;
  }

  .highlights h3, .contact-info h3 {
    font-size: 18px;
  }

  .highlights li, .contact-info li {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .databases {
    flex-direction: column; /* Stack icons vertically on smaller screens */
    align-items: center; /* Center align the icons */
  }

  .databases .icon {
    margin-bottom: 10px; /* Add some vertical space between stacked icons */
  }
}
/* Targeting the Databases section specifically */
.databases {
  display: flex; /* Using flexbox to control the icon layout */
  justify-content: center; /* Centers the icons if there is extra space */
  gap: 10px; /* Reduces the space between icons */
}

.databases .icon {
  flex: 1; /* Ensures the icons expand to fill available space */
  text-align: center; /* Centers the text below the icon */
}

.databases .icon img {
  width: 50px; /* Adjust size as necessary */
  height: auto;
}

.databases p {
  margin-top: 4px; /* Minimal space between the icon and text */
}


