/**
* Template Name: iPortfolio - v2.0.3
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: auto;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  right: 15px;
  bottom: 15px;
  background: #149ddd;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 7px;
  left: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #2eafec;
  transition: background 0.2s ease-in-out;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: auto;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a, #header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }
  #main {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding-top: 30px;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i, .nav-menu .active > a i, .nav-menu li:hover > a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #149ddd;
}

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

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/bg.jpg") top center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

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

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

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

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #149ddd;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

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

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #050d18;
}

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

.skills .progress-bar-wrap {
  background: #dce8f8;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #e4edf9;
  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: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

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

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links, .hobbies-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a + a {
  border-left: 1px solid #37b3ed;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}

.portfolio .portfolio-wrap:hover .icon-hobbies {
  opacity: 1;
  bottom: 60%;
}

.portfolio .portfolio-wrap:hover .text-hobbies {
  opacity: 1;
  bottom: 30%;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #149ddd;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #149ddd;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

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

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.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;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  font-size: 26px;
}

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #fff;
  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 #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.testimonials .owl-dot.active {
  background-color: #149ddd !important;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 130px;
}

.contact .info {
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .info i {
  font-size: 20px;
  color: #149ddd;
  float: left;
  width: 44px;
  height: 44px;
  background: #dff3fc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #050d18;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #173b6c;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #149ddd;
  color: #fff;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #149ddd;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 15px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #149ddd;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #37b3ed;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f9f9f9;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

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

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #149ddd !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.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: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    width: 100%;
  }
  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}


.select_wrap {
  position:absolute;
  right:15px;
  bottom:15px;
  display:inline-block;
  width:300px;
  height:35px;
  background-color:#ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #1f4e79 50%),
    linear-gradient(135deg, #1f4e79 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 15px,
    calc(100% - 12px) 15px;
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  border:1px solid #000000;
}

.select_wrap span {
  display:block;
  line-height:35px;
  padding:0 10px;
  cursor:pointer;
}

.select_wrap ul {
  display:none;
  position:absolute;
  left:-1px;
  right:-1px;
  top:36px;
  list-style-type:none;
  background:#ffffff;
  margin:0;
  padding:10px 0;
  border:1px solid #000000;
  border-top:0;
}

.select_wrap ul li {
  display:block;
  padding:5px 10px;
  cursor:pointer;
}

.select_wrap span img,
.select_wrap ul li img {
  display:inline-block;
  vertical-align:middle;
  width:20px;
  margin-right:5px;
}

.select_wrap ul li:hover {
  color:blue;
}

/* ==============================================================
   CV 2026 - Professional profile additions
   ============================================================== */
.profile-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #5f687b;
}

.profile-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.profile-tech-badge,
.tech-tags span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4fb;
  border: 1px solid #d6e3f2;
  color: #173b6c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.profile-tech-badge-ai {
  background: #edf8ff;
  border-color: #bfe5f8;
  color: #0d6f9d;
}

.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 6px;
  background: #173b6c;
  color: #fff;
  font-weight: 600;
}

.cv-link:hover {
  color: #fff;
  background: #149ddd;
}

.cv-link i {
  font-size: 20px;
}

.skills .progress {
  min-height: 66px;
  height: auto;
}

.skills .progress .skill {
  line-height: 1.45;
}

.skills .progress .skill .val {
  margin-left: 10px;
  text-transform: none;
  color: #5f687b;
}

.resume-item-featured {
  background: #f8fbff;
  padding-top: 16px !important;
  padding-right: 16px !important;
  border-radius: 0 8px 8px 0;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tech-tags span {
  background: #edf7ef;
  border-color: #cfe8d4;
  color: #26633b;
}

.project-portfolio-card {
  min-height: 100%;
  background: #fff;
}

.project-portfolio-card > img {
  width: 100%;
  aspect-ratio: 950 / 630;
  object-fit: cover;
}

.project-card-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(5, 13, 24, 0) 0%, rgba(5, 13, 24, .90) 60%);
  color: #fff;
  pointer-events: none;
}

.project-card-caption strong,
.project-card-caption span {
  display: block;
}

.project-card-caption strong {
  font-size: 17px;
  margin-bottom: 2px;
}

.project-card-caption span {
  font-size: 12px;
  opacity: .9;
}

.project-portfolio-card:hover .project-card-caption {
  opacity: .22;
}

@media (max-width: 767px) {
  .skills .progress .skill .val {
    float: none;
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
}


/* ==============================================================
   Site CV 2026 - Patch V2: experience logos, references, map, chat
   ============================================================== */
.cv-links-wrap{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}.cv-links-wrap .cv-link{margin-top:0}.cv-link-secondary{background:#fff;color:#173b6c;border:1px solid #173b6c}.cv-link-secondary:hover{background:#eef4fb;color:#149ddd;border-color:#149ddd}
.experience-client{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 10px}.experience-client-logos{display:inline-flex;align-items:center;gap:8px}.experience-client-logo{max-width:72px;max-height:38px;width:auto;height:auto;object-fit:contain}.experience-client-logo-mh{max-width:115px;max-height:46px}.experience-client em{color:#555;font-style:italic}
.testimonial-add-item{display:flex!important;align-items:stretch;justify-content:center}.reference-add-card{width:100%;min-height:305px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px 18px;border:2px dashed #b9d7eb;border-radius:14px;background:#fff;color:#173b6c;transition:.25s ease}.reference-add-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(23,59,108,.12);border-color:#149ddd;color:#173b6c}.reference-add-icon{width:76px;height:76px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eef8fd;color:#149ddd;margin-bottom:16px}.reference-add-icon i{font-size:42px}.reference-add-card h3{font-size:18px;margin:0 0 6px}.reference-add-card p{position:static!important;background:transparent!important;box-shadow:none!important;margin:0 0 14px!important;padding:0!important;color:#6c757d!important;font-size:14px!important}.reference-add-cta{font-size:13px;font-weight:700;color:#149ddd}
.travel-count-box{cursor:pointer}.travel-stat-button{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer}.travel-stat-link:hover,.travel-stat-button:hover{color:inherit;text-decoration:none}.travel-stat-link small,.travel-stat-button small{display:inline-flex;align-items:center;gap:4px;color:#149ddd;font-weight:600;margin-top:4px}.travel-map-popup{position:fixed;inset:0;z-index:12000;display:none;align-items:center;justify-content:center;padding:24px}.travel-map-popup.is-open{display:flex}.travel-map-popup-backdrop{position:absolute;inset:0;background:rgba(4,11,20,.72);backdrop-filter:blur(2px)}.travel-map-dialog{position:relative;z-index:1;width:min(1120px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.30)}.travel-map-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 22px;background:#f7fbff;border-bottom:1px solid #e3edf5}.travel-map-header h5{margin:0 0 4px;font-weight:700;color:#173b6c}.travel-map-header p{margin:0;font-size:13px;color:#6c757d}.travel-map-close{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:#eaf2f8;color:#173b6c;font-size:28px;line-height:1;cursor:pointer}.travel-map-close:hover{background:#149ddd;color:#fff}.travel-map-body{padding:20px 22px 24px}.travel-world-map{width:100%;background:#f7fbff;border:1px solid #e2ebf3;border-radius:12px;overflow:hidden}.travel-world-map img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}.travel-map-legend{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0 8px;font-size:13px;color:#556}.travel-map-legend span{width:18px;height:10px;border-radius:2px;display:inline-block}.travel-map-legend .visited{background:#2e9d59}.travel-map-legend .not-visited{background:#d7dce2;margin-left:14px}.travel-country-list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.travel-country-list span{padding:4px 9px;border-radius:999px;background:#edf7ef;border:1px solid #cfe8d4;color:#26633b;font-size:12px}body.travel-map-open{overflow:hidden}
.phone-links a{color:#173b6c}.phone-links a:hover{color:#149ddd}
/* Modern footer: centered under main content instead of fixed in the sidebar */
#footer.site-footer{position:static;width:auto;margin-left:300px;padding:22px 15px;background:#040b14;color:#eaebf0}.site-footer .copyright,.site-footer .credits{text-align:center}.site-footer .credits{padding-top:5px}.site-footer .credits a{color:#149ddd}.site-footer .credits a:hover{color:#fff}
.cv-chatbot{position:fixed;right:24px;bottom:74px;z-index:10050}.cv-chatbot-toggle{position:relative;width:58px;height:58px;border:0;border-radius:50%;background:#173b6c;color:#fff;box-shadow:0 8px 24px rgba(23,59,108,.3);font-size:28px;display:flex;align-items:center;justify-content:center;cursor:pointer}.cv-chatbot-toggle:hover{background:#149ddd}.cv-chatbot-status{position:absolute;right:3px;top:4px;width:12px;height:12px;border-radius:50%;background:#42c56b;border:2px solid #fff}.cv-chatbot-panel{display:none;position:absolute;right:0;bottom:70px;width:360px;max-width:calc(100vw - 30px);height:500px;max-height:72vh;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 18px 55px rgba(0,0,0,.22);border:1px solid #e5edf5}.cv-chatbot-panel.open{display:flex;flex-direction:column}.cv-chatbot-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#173b6c;color:#fff}.cv-chatbot-header strong,.cv-chatbot-header small{display:block}.cv-chatbot-header small{font-size:11px;opacity:.8;margin-top:2px}.cv-chatbot-header button{border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}.cv-chatbot-messages{flex:1;overflow-y:auto;padding:14px;background:#f7f9fc}.cv-chat-message{max-width:86%;padding:9px 11px;border-radius:12px;margin-bottom:9px;font-size:13px;line-height:1.45}.cv-chat-message.bot{background:#fff;border:1px solid #e1e8f0;color:#344}.cv-chat-message.user{margin-left:auto;background:#173b6c;color:#fff}.cv-chat-message a{color:#149ddd}.cv-chatbot-quick{display:flex;gap:6px;overflow-x:auto;padding:9px 10px;border-top:1px solid #edf0f4;background:#fff}.cv-chatbot-quick button{white-space:nowrap;border:1px solid #d7e3ef;background:#f8fbff;color:#173b6c;border-radius:999px;padding:5px 9px;font-size:11px;cursor:pointer}.cv-chatbot-form{display:flex;border-top:1px solid #e6ebf0;background:#fff;padding:9px}.cv-chatbot-form input{flex:1;border:1px solid #d8e1ea;border-radius:20px;padding:9px 12px;font-size:13px;outline:none}.cv-chatbot-form input:focus{border-color:#149ddd}.cv-chatbot-form button{width:38px;height:38px;border:0;border-radius:50%;margin-left:7px;background:#149ddd;color:#fff;font-size:18px}

/* Logos officiels des projets entrepreneuriaux */
.portfolio-logo-card .portfolio-logo-stage{height:260px;display:flex;align-items:center;justify-content:center;padding:26px;overflow:hidden}
.portfolio-logo-card .portfolio-logo-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.portfolio-logo-card.onj-logo-card .portfolio-logo-stage{background:linear-gradient(135deg,#063b29,#0f6b40)}
.portfolio-logo-card.hamilcar-logo-card .portfolio-logo-stage{background:linear-gradient(135deg,#041426,#0b2d54)}
@media(max-width:1199px){#footer.site-footer{margin-left:0}.cv-chatbot{right:16px;bottom:74px}}
@media(max-width:575px){.travel-map-popup{padding:10px}.travel-map-dialog{width:100%;max-height:96vh}.travel-map-header{padding:14px 15px}.travel-map-body{padding:14px 12px 18px}.travel-map-legend{font-size:12px;flex-wrap:wrap}.cv-chatbot-panel{width:calc(100vw - 24px);right:-4px;height:480px}.cv-chatbot{right:14px}.reference-add-card{min-height:260px}.portfolio-logo-card .portfolio-logo-stage{height:220px;padding:20px}}


/* =========================================================
   Site CV 2026 - Patch V4: profil pleine largeur + carte interactive
   ========================================================= */

/* Le contenu qui suit la photo reprend toute la largeur du conteneur. */
.profile-top-row {
  align-items: flex-start;
}
.profile-photo-column {
  margin-bottom: 0;
}
.profile-main-photo {
  width: 100%;
  height: auto;
  display: block;
}
.profile-top-content .profile-malakoff-summary {
  margin-bottom: 0;
}
.profile-after-photo {
  clear: both;
  width: 100%;
  padding-top: 14px;
}
.profile-after-photo > p:first-child {
  margin-top: 0;
}
.profile-after-photo .cv-links-wrap {
  margin-top: 10px;
}

/* Carte interactive */
.travel-world-map {
  position: relative;
  min-height: 360px;
}
.travel-world-map .travel-map-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
}
.travel-world-map .country {
  cursor: pointer;
  transition: fill .16s ease, opacity .16s ease, stroke .16s ease, filter .16s ease;
  outline: none;
}
.travel-world-map .country:hover,
.travel-world-map .country:focus {
  opacity: 1;
  stroke: #173b6c;
  stroke-width: 1.15;
  filter: brightness(.94);
}
.travel-world-map .country.visited:hover,
.travel-world-map .country.visited:focus {
  fill: #23824a;
  filter: brightness(1.04);
}
.travel-world-map .country-marker {
  stroke: #ffffff;
  stroke-width: 1.2;
}
.travel-map-loading,
.travel-map-error {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 0;
  color: #5c6773;
  text-align: center;
}
.travel-map-tooltip {
  position: fixed;
  z-index: 13050;
  left: 0;
  top: 0;
  max-width: 220px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(23, 59, 108, .96);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  font-size: 13px;
  line-height: 1.25;
  transition: opacity .12s ease, transform .12s ease;
}
.travel-map-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.travel-map-tooltip strong {
  display: block;
  color: #fff;
  font-weight: 700;
}
.travel-tooltip-status {
  display: block;
  margin-top: 3px;
  color: #bde8cb;
  font-size: 11px;
  font-weight: 600;
}
.travel-country-list {
  max-height: 132px;
  overflow-y: auto;
  padding: 4px 2px 2px;
}

@media (max-width: 991px) {
  .profile-photo-column {
    margin-bottom: 22px;
  }
  .profile-after-photo {
    padding-top: 8px;
  }
  .travel-world-map {
    min-height: 260px;
  }
  .travel-map-loading,
  .travel-map-error {
    min-height: 260px;
  }
}

/* =========================================================
   V5 - FR / EN language switcher
   ========================================================= */
.site-language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 14px auto 0;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.profile .site-language-switcher {
  display: flex;
  width: max-content;
}

.site-lang-btn {
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c7d2df;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.site-lang-btn:hover,
.site-lang-btn:focus {
  color: #fff;
  outline: none;
}

.site-lang-btn.is-active {
  background: #149ddd;
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 157, 221, .28);
}

@media (max-width: 1199px) {
  .site-language-switcher {
    margin-top: 10px;
  }
}

/* ==============================================================
   V16.2 - Uniform responsive Venobox image frame
   Restore note: this block is intentionally appended to the last
   known-good SiteCV stylesheet. It does not redefine global layout.
   ============================================================== */
.vbox-overlay .vbox-content {
  min-height: calc(100vh - 70px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 48px 4vw 26px !important;
}

.vbox-overlay .vbox-content > img.vbox-figlio,
.vbox-overlay .vbox-container img.vbox-figlio,
.vbox-overlay img.vbox-figlio {
  display: block !important;
  width: min(86vw, 1120px) !important;
  height: min(76vh, 760px) !important;
  max-width: min(86vw, 1120px) !important;
  max-height: min(76vh, 760px) !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
  background: #08131f !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.42) !important;
}

@media (max-width: 767px) {
  .vbox-overlay .vbox-content {
    min-height: calc(100vh - 54px) !important;
    padding: 50px 3vw 18px !important;
  }

  .vbox-overlay .vbox-content > img.vbox-figlio,
  .vbox-overlay .vbox-container img.vbox-figlio,
  .vbox-overlay img.vbox-figlio {
    width: 94vw !important;
    height: 68vh !important;
    max-width: 94vw !important;
    max-height: 68vh !important;
  }
}
