.protected-content {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Logo Animation Section */
.logo-animation {
    padding: 15px 0;
    background-color: #161920;
    pointer-events: none
}

.video-container {
    max-width: 150px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Logo Animation */
.logo-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #161920;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.logo-animation-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-animation-overlay video {
    max-width: 80%;
    max-height: 80%;
}

/* Logo Animation Section */
.logo-animation {
    background-color: #161921;
    padding: 50px 0;
    border-top: 2px solid #53a5ff;
    border-bottom: 2px solid #53a5ff;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container video {
    width: 100%;
    border-radius: 10px;
}

/* Services Section */
.services-section {
    background: #161920;
    padding: 80px 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content {
    display: flex;
    gap: 50px;
}

.services-intro {
    flex: 0 0 33.333333%;
}

.services-title span {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
    text-transform: uppercase;
}

.services-title h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
}

.services-intro p {
    color: #adadad;
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Play', sans-serif;
}

.services-cards {
    flex: 0 0 66.666667%;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 0 0 calc(50% - 15px);
    background: rgba(83, 165, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(83, 165, 255, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #53a5ff;
  background: transparent;
  transition: transform 0.3s ease;
}

.service-icon img {
  width: 50px;
  height: 50px;
  pointer-events: none
}

.service-icon:hover {
transform: rotate(45deg);
}

.service-card h4 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Josefin Sans', sans-serif;
}

.service-card p {
    color: #adadad;
    line-height: 1.6;
    margin: 0;
    font-family: 'Play', sans-serif;
}

/* Grand écran (desktop) */
@media (min-width: 1025px) {
    .photo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }

    .photo-large {
        grid-column: span 2;
    }

    .photo-column {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .photo-full {
        grid-column: span 3;
    }
}

/* Tablettes */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .photo-large {
        grid-column: span 2;
    }

    .photo-full {
        grid-column: span 2;
    }
}

/* Petits écrans (mobiles) */
@media (max-width: 768px) {
    .photo-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .photo-item,
    .photo-column {
        width: 100%;
    }
}


/* buttons */
.primary-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-family: "Play", sans-serif;
    font-weight: 700;
    padding: 14px 32px 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
}

.primary-btn:hover {
    color: #ffffff;
}

.primary-btn:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid #53a5ff;
    border-top: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: left top;
}

.primary-btn:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid #53a5ff;
    border-bottom: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: right bottom;
}

.primary-btn:hover:before,
.primary-btn:hover:after {
    height: 100%;
    width: 100%;
    transform: scale(1.05);
}

.logo-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #161920;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.logo-animation-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-animation-overlay video {
    max-width: 80%;
    max-height: 80%;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    pointer-events: none
}

.photo-item {
    overflow: hidden;
    border-radius: 8px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    pointer-events: none
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-large {
    flex: 0 0 60%;
    height: 400px;
}

.photo-column {
    flex: 0 0 calc(40% - 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-column .photo-item {
    height: 190px;
}

.photo-full {
    flex: 0 0 100%;
    height: 300px;
    margin-top: 20px;
}

/* CV Section */
.cv_portfolionel-section {
    background: #161920;
    padding: 80px 0;
    position: relative;
}

.cv_portfolionel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.container-flex {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.section-header span {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.header-line {
    width: 50px;
    height: 3px;
    background: #53a5ff;
    margin-top: 20px;
}

.cv_portfolionel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.cv_portfolionel-item {
    flex: 1;
    min-width: 250px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.cv_portfolionel-item:nth-child(1) {
    margin-top: 0;
}

.cv_portfolionel-item:nth-child(2) {
    margin-top: 40px;
}

.cv_portfolionel-item:nth-child(3) {
    margin-top: 80px;
}

.cv_portfolionel-item:nth-child(4) {
    margin-top: 120px;
}

.cv_portfolionel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cv_portfolionel-item:hover img {
    transform: scale(1.1);
}

.cv_portfolionel-item-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    transform: translateY(100px);
    transition: transform 0.5s ease;
}

.cv_portfolionel-item:hover .cv_portfolionel-item-content {
    transform: translateY(0);
}

.cv_portfolionel-item-content h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cv_portfolionel-item-content p {
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #53a5ff;
    transform: translateY(-3px);
}

.cv-download {
    text-align: center;
    margin-top: 40px;
}

.portfolionel_icon h4 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}

.img_icon_ {
    position: relative;
    width: 70px;
    height: 70px;
    border: 2px solid #53a5ff;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Ajout du carré bleu autour de l'icône */
.img_icon_::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: #53a5ff;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    z-index: 10;
}

/* Effet de rotation au hover */
.img_icon_:hover::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.img_icon_:hover {
    transform: rotate(45deg);
}


/* CV Section Styles */
.cv-section {
    padding: 80px 0;
    background-color: #161920;
    background-size: cover;
    background-position: center;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.cv-title {
    text-align: left;
    margin-bottom: 50px;
    padding-left: 20px;
}

.cv-title span {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
    text-transform: uppercase;
}

.cv-title h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}

.cv-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-direction: row;
}

.cv-card {
    position: relative;
    flex: 1 1 calc(25% - 20px);
    min-width: 250px;
    height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transform: translateY(var(--card-offset, 0));
}

.cv-card:nth-child(1) { --card-offset: 120px; }
.cv-card:nth-child(2) { --card-offset: 80px; }
.cv-card:nth-child(3) { --card-offset: 40px; }
.cv-card:nth-child(4) { --card-offset: 0px; }

.cv-card-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: rgba(83, 165, 255, 0.9);
    text-align: center;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
    transition: all 0.5s ease;
}

.cv-card:hover .cv-card-text {
    bottom: 0;
}

.cv-card h4 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
}

.cv-card p {
    color: #ffffff;
    margin-bottom: 20px;
}

.cv-card-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cv-card-social a {
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s;
}

.cv-card-social a:hover {
    color: #161920;
}

.cv-download {
    position: absolute;
    bottom: -150px;
    right: 20px;
}

.cv-download-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-family: "Play", sans-serif;
    font-weight: 700;
    padding: 14px 32px 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
}

.cv-download-btn:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid #53a5ff;
    border-top: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: left top;
}

.cv-download-btn:hover:before,
.cv-download-btn:hover:after {
    height: 100%;
    width: 100%;
    transform: scale(1.05);
}

.cv-download-btn:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid #53a5ff;
    border-bottom: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: right bottom;
}


.cv-download-btn:hover {
    color: #53a5ff;
}

/* Ajustement de l'espacement entre les cards */
.cv-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Ajoute de l'espace entre les cards */
    justify-content: center; /* Centre les éléments */
}

/* 🖥️ Écrans larges (4 cards par ligne) */
@media screen and (min-width: 1024px) {
    .cv-card {
        flex: 1 1 calc(25% - 20px);
        max-width: calc(25% - 20px);
    }
}

/* 📱 Tablettes et écrans moyens (2 cards par ligne) */
@media screen and (max-width: 1023px) {
    .cv-card {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    /* Ajustement des décalages */
    .cv-card:nth-child(1) { --card-offset: 60px; }
    .cv-card:nth-child(2) { --card-offset: 30px; }
    .cv-card:nth-child(3) { --card-offset: 60px; }
    .cv-card:nth-child(4) { --card-offset: 30px; }
}

/* 📲 Mobiles (1 card par ligne) */
@media screen and (max-width: 768px) {
    .cv-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Suppression des décalages */
    .cv-card:nth-child(n) { --card-offset: 0px; }
}


/* Contact Widget Section */
.contact-widget {
    padding: 80px 0;
    background: #161920;
}

.contact-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-widget-item {
    flex: 1 1 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    padding: 30px;
    background: rgba(83, 165, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-widget-item:hover {
    transform: translateY(-5px);
}

.contact-widget-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #53a5ff;
    border-radius: 50%;
    margin-right: 20px;
}

.contact-widget-icon i {
    font-size: 30px;
    color: #53a5ff;
}

.contact-widget-text {
    flex: 1;
}

.contact-widget-text h4 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 5px;
    font-family: 'Josefin Sans', sans-serif;
}

.contact-widget-text a {
    color: #adadad;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-widget-text a:hover {
    color: #53a5ff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-widget {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #161920;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.contact-logo {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.contact-logo img {
    max-width: 100%;
    height: auto;
    pointer-events: none
}

.contact-form {
    flex: 1 1 400px;
    padding: 40px;
    background: rgba(83, 165, 255, 0.1);
    border-radius: 10px;
}

.contact-form h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'Play', sans-serif;
    text-transform: uppercase;
}

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

.contact-form label {
    display: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(83, 165, 255, 0.3);
    border-radius: 5px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #53a5ff;
    outline: none;
}

.contact-form button {
    align-self: flex-start;
    padding: 14px 35px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cv-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .cv-card {
        flex: 1 1 100%;
        max-width: 350px;
    }
    
    .cv-download {
        margin-top: 40px;
    }
    
    .contact-widget-item {
        flex: 1 1 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-logo,
    .contact-form {
        flex: 1 1 100%;
    }
}

/* Importing Google font - Josefin Sans*/
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

/* Importing Google font - Play */
@import url("https://fonts.googleapis.com/css2?family=Play:wght@700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Play', sans-serif;
}

body {
  min-height: 100vh;
  background: #161920;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 200px;
  background: #161920;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar .sidebar-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.sidebar .sidebar-header img {
  width: 160px;
  height: auto;
  margin-bottom: 15px;
}

.sidebar-links {
  margin-top: 30px;
  list-style: none;
}

.sidebar-links h4 {
  position: relative;
  margin: 15px 0;
  color: #ffffff;
  text-transform: uppercase;
}

.sidebar-links .menu-separator {
  height: 2px;
  background: #53a5ff;
  margin: 8px 0;
  border-radius: 1px;
}

.sidebar-links li {
  margin: 8px 0;
  position: relative;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.sidebar-links li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #53a5ff;
  transition: height 0.3s ease;
  box-shadow: 0 0 8px #53a5ff;
}

.sidebar-links li a:hover::before {
  height: 80%;
}

.sidebar-links li a:hover {
  background: rgba(83, 165, 255, 0.1);
  color: #53a5ff;
}

.sidebar-links li a.active {
  color: #53a5ff;
  background: rgba(83, 165, 255, 0.1);
}

.sidebar-links li a.active::before {
  height: 80%;
}

.sidebar-links li a.active span {
  color: #53a5ff;
}

.sidebar-links li a span {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        width: 250px;
        height: 100vh;
        background: #161920;
        transition: left 0.3s ease-in-out;
        z-index: 10000 !important; /* priorité maximale */
    }
    .sidebar.active {
        left: 0;
    }
    .hamburger-menu {
        display: block;
    }
}

/* Masquer la croix sur desktop */
.close-sidebar {
    display: none;
}

/* Affichage uniquement en version mobile */
@media screen and (max-width: 768px) {
    .close-sidebar {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: white;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
    }
}


@media (max-width: 992px) {
    body, html {
        width: 100vw;
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* Évite tout décalage horizontal */
    }

    .about-container .about-content{
        display: flex;
        flex-direction: column;
        align-items: left;
        text-align: center;
        width: 100vw; /* Force toute la largeur */
        max-width: 100vw;
    }

    .about-content, .photo-grid, .about-text {
        order: -1; /* Place le texte avant les images */
        width: 90% !important; /* Force toute la largeur */
        max-width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    .photo-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-text {
        order: -1; /* Met le texte avant les images */
        text-align: left;
        padding: 0 5%;
        width: 100%;
        max-width: 100%;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.8;
        padding: 0; /* Garde un peu d’air sur les cotés */
        max-width: 100%;
        width: 100%;
    }

   
}

@media (max-width: 480px) { /* Pour iPhone XR et petits écrans */
    .main-content {
        width: 100vw;
        max-width: 100vw;
        padding: 0 !important;
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centrer */
        text-align: center; /* Centre le texte */
    }

    .about-text {
        width: 100%;
        text-align: left;
        padding: 0 5vw; /* Laisse un peu d'espace à gauche/droite */
    }

    .photo-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        margin: 0 !important;
    }

    .photo-grid img {
        width: 100%;
        height: auto;
        pointer-events: none
    }

    h1, h2, h3 {
        text-align: center;
        width: 100%;
    }
}

/* Media queries portfolio.php */

@media (max-width: 992px) {
    .portfolio__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
    }

    .portfolio__gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .portfolio__item {
        width: 90%; /* Ajuste la largeur pour éviter qu'elles soient trop petites */
        max-width: 400px; /* Empêche qu'elles deviennent trop grandes */
    }

    .portfolio__item__text {
        text-align: center; /* Centre le texte */
    }

    .portfolio__filter {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Media queries solubag.php */

/* 📱 MEDIA QUERIES pour Tablettes & Mobiles */
@media (max-width: 992px) {
    .portfolionel_solubag_section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
    }

    .portfolionel_solubag_gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .portfolionel_solubag_item {
        width: 90%; /* Empêche que les éléments soient trop petits */
        max-width: 400px; /* Assure une taille raisonnable */
        text-align: center; /* Centre le texte */
    }

    .portfolionel_solubag_description {
        text-align: center; /* Centre le texte */
        max-width: 400px; /* Empêche que ça dépasse */
        margin-right: 20px;
        width: 100%;
        text-align: left;
        padding: 0 5vw; /* Laisse un peu d'espace à gauche/droite */
    }

    .portfolionel_solubag_item img,
    .portfolionel_solubag_item video {
        width: 100%;
        height: auto;
        max-width: 100%; /* Évite que les médias dépassent */
    }
}

/* Media queries javascript.php */
@media (max-width: 992px) {
    .portfolionel_javascript_section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
    }

    .portfolionel_javascript_gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .portfolionel_javascript_item {
        width: 90%;
        max-width: 400px;
    }
}

/* Media query pour les écrans plus petits */
@media (max-width: 1024px) {
    .portfolionel_javascript_description {
        max-width: 90%; /* Ajuste la largeur pour s'adapter aux écrans plus petits */
    }
}

@media (max-width: 768px) {
    .portfolionel_javascript_description {
        max-width: 95%; /* Encore plus flexible sur mobile */
    }
}

@media (max-width: 480px) {
    .portfolionel_javascript_description {
        max-width: 100%; /* Utilisation complète de l'espace disponible */
        padding: 15px; /* Réduction du padding pour s’adapter aux petits écrans */
    }
}

/* javascript text - version desktop */


    .portfolionel_javascript_description {
        text-align: left; /* Centre le texte sur desktop */
        max-width: 1200px; /* Largeur maximale pour éviter que le texte soit trop étalé */
        margin: 0 auto; /* Centre l'élément horizontalement */
        padding: 20px;
        color: #adadad;
        font-size: 16px;
        line-height: 1.8;
}

    



/* Social Links */
.social-links {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
}

.social-links a {
  color: #ffffff;
  font-size: 22px;
  transition: all 0.3s ease;
  position: relative;
}

.social-links a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #53a5ff;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px #53a5ff;
}

.social-links a:hover {
  color: #53a5ff;
}

.social-links a:hover::before {
  width: 100%;
}

/* Main Content Styles */
.main-content {
  margin-left: 200px;
  min-height: 100vh;
  padding: 20px;
  background-color: #161920;
  opacity: 1;
}

/* Only hide main content on home page initially */
.logo-animation-overlay + .main-content {
  opacity: 0;
  transition: opacity 1s ease;
}

/* Banner and Breadcrumb Styles */
.banner {
  background-color: #161920;
  padding: 20px;
  margin: 0;
  border-bottom: 1px solid rgba(83, 165, 255, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-title {
  color: #ffffff;
  font-size: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-item {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #53a5ff;
}

.breadcrumb-separator {
  color: #53a5ff;
  margin: 0 10px;
}

.breadcrumb-item.active {
  color: #53a5ff;
}

/* Banner commence */

.banner {
  background: url('banner-image.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 50px 20px;
  position: relative;
}

.breadcrumb-banner {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.breadcrumb-item a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #ddd;
}

.banner-title {
  font-size: 36px;
  margin: 0;
  font-weight: bold;
}

/* About commence */

.container-about {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
    background-color: #161920;
}

/* Photos Grid */
.photos_about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 0;
}

.photos_about img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: sticky;
    pointer-events: none
}

.photos_about img:nth-child(3) {
    grid-column: 1 / -1;
}

/* Content Section */
.content_about {
    flex: 1;
    padding: 20px;
}

.content_about h2 {
    color: #53a5ff;
    font-size: 14px;
    font-family: 'Play', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.content_about h1 {
    color: #ffffff;
    font-size: 36px;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content_about p {
    color: #adadad;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.portfolionel_blue_line {
    width: 50px;
    height: 3px;
    background: #53a5ff;
    margin: 20px 0;
}

/* Services Section */
.mes_services {
    padding: 80px 0;
    background-color: #161920;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container_services {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.container_services h2 {
    color: #53a5ff;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.container_services h1 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.container_services > p {
    color: #adadad;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}



.services_flex {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 50px;
}

.service_item {
    text-align: center;
    padding: 30px;
    background-color: #1e2128;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service_item:hover {
    transform: translateY(-10px);
}

.service_icon {
    margin-bottom: 20px;
}

.service_icon img {
    width: 50px;
    height: 50px;
}

.service_item h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
}

.service_item p {
    color: #adadad;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container_about {
        flex-direction: column;
    }

    .photos_about {
        width: 100%;
    }

    .services_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .photos_about {
        grid-template-columns: 1fr;
    }

    .photos_about img:nth-child(3) {
        grid-column: auto;
    }

    .services_grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Styles */
.portfolio {
    padding: 50px 20px;
    background: #161920;
}

.portfolio__container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio__header {
    margin-bottom: 40px;
}

.portfolio__filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio__filter li {
    font-size: 16px;
    color: #adadad;
    cursor: pointer;
    padding: 6px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.portfolio__filter li.active,
.portfolio__filter li:hover {
    border-color: #53a5ff;
    color: #53a5ff;
}

.portfolio__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.portfolio__item {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    background: #1e2128;
    border-radius: 8px;
    margin: 20px 20px 20px 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio__item:hover {
    transform: translateY(-10px);
}

.portfolio__item__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio__item__video {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

.portfolio__item:hover .portfolio__item__video {
    transform: scale(1.05);
}

.portfolio__item__video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio__item:hover .portfolio__item__video::before {
    opacity: 1;
}

.portfolio__item__text {
    padding: 20px;
    text-align: center;
}

.portfolio__item__text h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    font-family: 'Play', sans-serif;
}

.portfolio__item__text h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #53a5ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio__item:hover .portfolio__item__text h4::after {
    transform: scaleX(1);
}

.portfolio__item__text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.portfolio__item__text ul li {
    color: #adadad;
    font-size: 16px;
    position: relative;
}

.portfolio__item__text ul li:not(:last-child)::after {
    content: '/';
    position: absolute;
    right: -12px;
    color: #53a5ff;
}

.portfolio__item__text span {
    color: #adadad;
    font-size: 16px;
    display: block;
    margin-top: 5px;
}

.portfolionel_solubag_description {
    text-align: justify;
    color: #adadad;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 250px;
    margin-right: 470px;
}

@media (max-width: 992px) {
    .portfolio__item {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .portfolio__filter {
        flex-direction: column;
        align-items: center;
    }
  
    .portfolio__item {
        flex: 0 1 100%;
    }
}



/* Footer Styles */
.footer {
    background: #161920;
    padding-top: 60px;
    margin-left: 300px; /* Sidebar gauche */
    margin-right: 100px; /* Sidebar droite */
    width: calc(100% - 400px); /* Largeur totale moins les deux sidebars */
    position: relative;
}

.container-footer-portfolionel {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (max-width: 991px) {
    .footer {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

/* First line: Logo and Social */
.footer_top_portfolionel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid #53a5ff;
    border-bottom: 2px solid #53a5ff;
    margin-bottom: 40px;
}

.footer_portfolionel_logo img {
    max-height: 60px;
}

.footer_social_portfolionel {
    display: flex;
    gap: 10px;
}

.footer_social_portfolionel a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: rgba(83, 165, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer_social_portfolionel a:hover {
    background: #53a5ff;
    transform: translateY(-3px);
}

/* Second line: Three Columns */
.footer_menu_portfolionel {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 2px solid #53a5ff;
    margin-bottom: 40px;
}

.footer_about_portfolionel {
    flex: 1;
    padding: 0 20px;
    min-width: 250px;
}

.footer_about_portfolionel:not(:last-child) {
    border-right: 1px solid rgba(83, 165, 255, 0.2);
}

.footer_about_portfolionel h5 {
    color: #53a5ff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Play', sans-serif;
    text-transform: uppercase;
}

.footer_about_portfolionel p {
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer_about_portfolionel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_about_portfolionel ul li {
    margin-bottom: 10px;
}

.footer_about_portfolionel ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer_about_portfolionel ul li a:hover {
    color: #53a5ff;
    transform: translateX(10px);
}

/* Third line: Copyright */
.footer_copyright_portfolionel {
    padding: 20px 0;
    background: rgba(83, 165, 255, 0.05);
    text-align: center;
}

.footer__copyright__text {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
}

.footer__copyright__text a {
    color: #53a5ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__copyright__text a:hover {
    color: #ffffff;
}

.footer__copyright__text i {
    color: #53a5ff;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer_top_portfolionel,
    .footer_menu_portfolionel {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer_about_portfolionel {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid rgba(83, 165, 255, 0.2);
        padding: 20px 0;
    }

    .footer_about_portfolionel:last-child {
        border-bottom: none;
    }

    .footer_about_portfolionel ul li a:hover {
        transform: translateX(0) translateY(-3px);
    }
}

/* Common text styles for about, competences, and experiences pages */
.container-about .content,
.container-competences .content,
.container-experiences .content {
    background-color: #1e2128;
    padding: 30px;
    border-radius: 8px;
    height: 100%;
}

.container-about .content h1,
.container-competences .content h1,
.container-experiences .content h1,
.experiences_title h1,
.competences_title h1 {
    color: #ffffff;
    font-size: 36px;
    margin: 10px 0;
    font-family: 'Josefin Sans', sans-serif;
}

.container-about .content h2,
.container-competences .content h2,
.container-experiences .content h2,
.experiences_title h2,
.competences_title h2 {
    color: #53a5ff;
    font-size: 14px;
    margin: 0;
    font-family: 'Play', sans-serif;
}

.container-about .content p,
.container-competences .content p,
.container-experiences .content p,
.experiences_text p,
.competences_text p {
    color: #adadad;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0;
    text-align: justify;
}

/* Experiences specific styles */
.experiences_item h3,
.experiences_item h4 {
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
}

.experiences_item span,
.experiences_item li {
    color: #adadad;
}

/* Competences specific styles */
.competences_item h3,
.competences_item h4 {
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
}

.competences_item span,
.competences_item li {
    color: #adadad;
}

.progress-bar {
    background-color: #53a5ff;
}

.progress {
    background-color: #1e2128;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    background-color: #161920;
}

.hero__content {
    max-width: 800px;
}

.hero__subtitle {
    color: #53a5ff;
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero__title {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__text {
    color: #adadad;
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.typed-text {
    color: #53a5ff;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: #53a5ff;
    animation: blink 1s infinite;
}

.hero__cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.button-primary, .button-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.button-primary {
    background-color: #53a5ff;
    color: #ffffff;
}

.button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #53a5ff;
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(83, 165, 255, 0.3);
}

.button-secondary:hover {
    background-color: #53a5ff;
    transform: translateY(-3px);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.8s ease 1s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #53a5ff;
    border-radius: 13px;
    margin-bottom: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #53a5ff;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.scroll-text {
    color: #adadad;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Skills Section */
.skills {
    padding: 100px 20px;
    background-color: #1e2128;
}

.skills__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skills__item {
    text-align: center;
    padding: 40px;
    background-color: #161920;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.skills__item:hover {
    transform: translateY(-10px);
}

.skills__icon {
    font-size: 40px;
    color: #53a5ff;
    margin-bottom: 20px;
}

.skills__item h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
}

.skills__item p {
    color: #adadad;
    font-size: 16px;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 100px 20px;
    background-color: #161920;
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__header h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
}

.section__line {
    width: 60px;
    height: 3px;
    background-color: #53a5ff;
    margin: 0 auto;
}

.projects__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project__card {
    background-color: #1e2128;
    border-radius: 8px;
    overflow: hidden;
}

.project__image {
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.project__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(83, 165, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project__card:hover .project__image img {
    transform: scale(1.1);
}

.project__card:hover .project__overlay {
    opacity: 1;
}

.project__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project__link:hover {
    background-color: #ffffff;
    color: #53a5ff;
}

.project__info {
    padding: 20px;
    text-align: center;
}

.project__info h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
}

.project__info p {
    color: #adadad;
    font-size: 16px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero__title {
        font-size: 36px;
    }

    .hero__text {
        font-size: 20px;
    }

    .button-primary, .button-secondary {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }

    .skills__container {
        grid-template-columns: 1fr;
    }

    .projects__grid {
        grid-template-columns: 1fr;
    }
}

/* Section Contact Commence */

.contact-widget {
  background: #161920;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__widget__item {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__widget__item__icon {
  height: 70px;
  width: 70px;
  border: 1px solid rgba(225, 225, 225, 0.5);
  line-height: 80px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 20px;
}
.contact__widget__item__icon i {
  font-size: 30px;
  color: #ffffff;
}

.contact__widget__item__text {
  text-align: center;
}
.contact__widget__item__text h4 {
  font-size: 22px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact__widget__item__text p {
  margin-bottom: 0;
}

/*---------------------
  Contact
-----------------------*/
.contact {
  background: #161920;
  padding-top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__map {
  height: 450px;
}
.contact__map iframe {
  width: 100%;
}

.contact__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  background: rgba(83, 165, 255, 0.05);
}

.contact__form h3 {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 35px;
}
.contact__form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact__form form input {
  height: 50px;
  width: 100%;
  border: 1px solid rgba(225, 225, 225, 0.5);
  background: transparent;
  font-size: 16px;
  color: #adadad;
  padding-left: 20px;
  font-weight: 300;
  margin-right: 20px;
  margin-bottom: 20px;
  -webkit-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
}
.contact__form form input:placeholder {
  color: #adadad;
}
.contact__form form input:focus {
  border-color: #e1e1e1;
}
.contact__form form textarea {
  height: 110px;
  width: 100%;
  border: 1px solid rgba(225, 225, 225, 0.5);
  background: transparent;
  font-size: 16px;
  color: #adadad;
  padding-top: 12px;
  padding-left: 20px;
  font-weight: 300;
  margin-bottom: 14px;
  resize: none;
  -webkit-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
}
.contact__form form textarea:placeholder {
  color: #adadad;
}
.contact__form form textarea:focus {
  border-color: #e1e1e1;
}
/* Contact Page Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Team Section */
.cv_portfolionel-section {
    padding: 80px 0;
    background: #161920;
}

.cv_portfolionel-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.cv_portfolionel-section .section-title span {
    color: #53a5ff;
    font-size: 16px;
    font-weight: 500;
}

.cv_portfolionel-section .section-title h2 {
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    margin-top: 10px;
}

.cv_portfolionel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.cv_portfolionel-item {
    flex: 1 1 calc(25% - 30px);
    min-width: 250px;
    height: 300px;
    position: relative;
    overflow: hidden;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
}

.cv_portfolionel-item-content {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    padding: 30px;
    background: rgba(83, 165, 255, 0.9);
    text-align: center;
    transition: all 0.5s ease;
}

.cv_portfolionel-item:hover .cv_portfolionel-item-content {
    bottom: 0;
}

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

.social-links a {
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #161920;
    transform: translateY(-3px);
}

.cv-download {
    text-align: center;
}

/* Contact Widget Section */
.contact-widget {
    background: #161920;
    padding: 80px 0;
}

.widget-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.widget-item {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    padding: 30px;
    background: rgba(83, 165, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s;
}

.widget-item:hover {
    transform: translateY(-5px);
    background: rgba(83, 165, 255, 0.2);
}

.widget-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #53a5ff;
    border-radius: 50%;
    margin-right: 20px;
}

.widget-icon i {
    font-size: 30px;
    color: #53a5ff;
}

.widget-text {
    flex: 1;
}

/* Contact Form Section */
.contact-section {
    background: #161920;
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-map {
    flex: 1 1 400px;
}

.contact-map img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.contact-form {
    flex: 1 1 400px;
    padding: 40px;
    background: rgba(83, 165, 255, 0.1);
    border-radius: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(83, 165, 255, 0.3);
    border-radius: 5px;
    color: #ffffff;
    transition: all 0.3s;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-family: "Play", sans-serif;
    font-weight: 700;
    padding: 14px 32px 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
    border: none;
    background: transparent;
    cursor: pointer;
}

.contact-form button:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid #53a5ff;
    border-top: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: left top;
}

.contact-form button:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid #53a5ff;
    border-bottom: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: right bottom;
}

.contact-form button:hover:before,
.contact-form button:hover:after {
    height: 100%;
    width: 100%;
    transform: scale(1.05);
}

.contact-form button:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv_portfolionel-item {
        flex: 1 1 100%;
    }
    
    .widget-item {
        flex: 1 1 100%;
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-map {
        flex: 1 1 100%;
    }
}

.container-about,
.container-competences,
.container-experiences {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.competences_photos img {
    width: calc(50% - 7.5px);
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.content {
    margin-top: 30px;
}

.content h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.content ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #666;
    line-height: 1.6;
}

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

/* Responsive */
@media (max-width: 768px) {
    .photos {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.container_about {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
    background-color: #161920;
}

.content_about {
    margin-top: 30px;
}

.content_about h2 {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
}

.content_about h1 {
    color: #ffffff;
    font-size: 36px;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content_about p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.portfolionel_blue_line {
    width: 50px;
    height: 3px;
    background: #53a5ff;
    margin: 20px 0;
}

.container_about_2,
.container_about_3 {
    margin-top: 40px;
}

/* Competences Page Styles */
.competences_section,
.container_competences,
.competences_photos,
.competences_photos img,
.content_competences,
.content_competences h2,
.content_competences h1,
.content_competences p {
    /* Removing these styles as we're using about page structure */
}

/* Responsive Design for Competences Page */
@media (max-width: 992px) {
    /* Removing competences-specific media queries */
}

@media (max-width: 576px) {
    /* Removing competences-specific media queries */
}

/* Services Section */
.container_services_portfolionel {
    padding: 80px 0;
    background-color: #161920;
}

.container_services_portfolionel .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
}

.services_title_portfolionel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section_title_portfolionel span {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
}

.section_title_portfolionel h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Josefin Sans', sans-serif;
}

.services_title_portfolionel p {
    color: #adadad;
    line-height: 1.8;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .container_services_portfolionel .container {
        flex-direction: column;
    }

    .col-lg-4, .col-lg-8 {
        flex: 0 0 100%;
    }

    .services_title_portfolionel {
        text-align: center;
        margin-bottom: 40px;
    }

    .primary-btn {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .col-lg-8 .row > div {
        flex: 0 0 100%;
    }

    .section_title_portfolionel h2 {
        font-size: 28px;
    }
}

/* About Section */
.about {
    background: #161920;
    padding: 80px 0 150px;
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about .row {
    display: flex;
    margin: 0 -15px;
}

.about .col-lg-6 {
    flex: 0 0 50%;
    padding: 0 15px;
}

/* Images côté gauche */
.about__pic {
    display: flex;
    gap: 30px;
}

.about__pic .row {
    display: flex;
    width: 100%;
    gap: 30px;
}

.about__pic .col-lg-6 {
    flex: 0 0 calc(50% - 15px);
}

/* Colonne de gauche avec grande image */
.about__pic__item--large {
    height: 490px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    margin-bottom: 0;
}

/* Colonne de droite avec deux petites images */
.about__pic .col-lg-6 .row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__pic__item {
    height: 235px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    margin-bottom: 0;
}

/* Texte côté droit */
.about__text {
    padding-left: 30px;
}

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

.section-title span {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
}

.section-title h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
}

.about__text__desc {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__text__desc p {
    color: #adadad;
    line-height: 1.8;
    margin: 0;
    font-family: 'Play', sans-serif;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about .row {
        flex-direction: column;
    }

    .about .col-lg-6 {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .about__text {
        padding-left: 0;
    }

    .about__pic__item--large {
        height: 400px;
    }

    .about__pic__item {
        height: 200px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0 100px;
    }

    .about__pic .row {
        flex-direction: column;
    }

    .about__pic .col-lg-6 {
        flex: 0 0 100%;
    }

    .about__pic__item--large {
        height: 300px;
        margin-bottom: 20px;
    }

    .about__pic__item {
        height: 200px;
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

/* About Section */
.about-section {
    background: #161920;
    padding: 80px 0;
    min-height: 100vh;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 50px;
}

.about-photos {
    flex: 0 0 50%;
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.photo-grid {
    display: flex;
    gap: 30px;
}

.photo-item {
    border-radius: 5px;
    overflow: hidden;
}

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

.photo-large {
    height: 490px;
}

.photo-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.photo-column .photo-item {
    height: 230px;
}

.about-content {
    flex: 0 0 50%;
}

.about-header {
    margin-bottom: 30px;
}

.about-header h2 {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
    text-transform: uppercase;
}

.about-header h1 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
}

.blue-line {
    width: 50px;
    height: 2px;
    background-color: #53a5ff;
    margin-bottom: 30px;
}

.about-text p {
    color: #adadad;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Play', sans-serif;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container,
    .services-content {
        flex-direction: column;
    }

    .about-photos,
    .about-content,
    .services-intro,
    .services-cards {
        flex: 0 0 100%;
    }

    .services-intro {
        text-align: center;
        margin-bottom: 40px;
    }

    .blue-line {
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        flex-direction: column;
    }

    .photo-large,
    .photo-column .photo-item {
        height: 300px;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        flex: 0 0 100%;
    }

    .services-title h2 {
        font-size: 28px;
    }
}


/* buttons */
.primary-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-family: "Play", sans-serif;
    font-weight: 700;
    padding: 14px 32px 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
}

.primary-btn:hover {
    color: #ffffff;
}

.primary-btn:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    border-left: 2px solid #53a5ff;
    border-top: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: left top;
}

.primary-btn:after {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 30px;
    border-right: 2px solid #53a5ff;
    border-bottom: 2px solid #53a5ff;
    content: "";
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    transform-origin: right bottom;
}

.primary-btn:hover:before,
.primary-btn:hover:after {
    height: 100%;
    width: 100%;
    transform: scale(1.05);
}

.logo-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #161920;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.logo-animation-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-animation-overlay video {
    max-width: 80%;
    max-height: 80%;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.photo-item {
    overflow: hidden;
    border-radius: 8px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-large {
    flex: 0 0 60%;
    height: 400px;
}

.photo-column {
    flex: 0 0 calc(40% - 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-column .photo-item {
    height: 190px;
}

.photo-full {
    flex: 0 0 100%;
    height: 300px;
    margin-top: 20px;
}

/* CV Section */
.cv_portfolionel-section {
    background: #161920;
    padding: 80px 0;
    position: relative;
}

.cv_portfolionel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.container-flex {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.section-header span {
    color: #53a5ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.header-line {
    width: 50px;
    height: 3px;
    background: #53a5ff;
    margin-top: 20px;
}

.cv_portfolionel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.cv_portfolionel-item {
    flex: 1;
    min-width: 250px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.cv_portfolionel-item:nth-child(1) {
    margin-top: 0;
}

.cv_portfolionel-item:nth-child(2) {
    margin-top: 40px;
}

.cv_portfolionel-item:nth-child(3) {
    margin-top: 80px;
}

.cv_portfolionel-item:nth-child(4) {
    margin-top: 120px;
}

.cv_portfolionel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cv_portfolionel-item:hover img {
    transform: scale(1.1);
}

.cv_portfolionel-item-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    transform: translateY(100px);
    transition: transform 0.5s ease;
}

.cv_portfolionel-item:hover .cv_portfolionel-item-content {
    transform: translateY(0);
}

.cv_portfolionel-item-content h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cv_portfolionel-item-content p {
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #53a5ff;
    transform: translateY(-3px);
}

.cv-download {
    text-align: center;
    margin-top: 40px;
}

.cv-title .blue-line {
    width: 50px;
    height: 3px;
    background: #53a5ff;
    margin-top: 20px;
}