@import url("https://fonts.googleapis.com/css2?family=Science+Gothic:wght@100..900&display=swap");

/* General Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Science Gothic", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.header {
  position: fixed;
  top: 2px;
  left: 2px;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  backdrop-filter: blur(10px);
  padding: 8px 10px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  padding-right: 15px;
  color: #357cff;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #76aee2 0%, #4274ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.menu-icon {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: background 0.3s;
}

.menu-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-icon span {
  width: 20px;
  height: 2px;
  background: #357cff;
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(53, 52, 52, 0.815);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 99;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 48px;
  font-weight: 300;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #357cff;
}

/* Barre de réseaux sociaux fixe à droite */
.social-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
}

.social-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

/* Couleurs spécifiques pour chaque réseau */
.social-link.linkedin:hover {
  background: #0077b5;
}

.social-link.github:hover {
  background: #333;
}

.social-link.twitter:hover {
  background: #1da1f2;
}

.social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-link:hover svg {
  fill: white;
}

/* Responsive : maintenir la position fixe */
@media screen and (max-width: 768px) {
  .social-sidebar {
    right: 10px;
    gap: 15px;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .social-sidebar {
    right: 5px;
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }
}

/* Hero Section */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  gap: 3rem;
}

/* Section Gauche */
.left-section {
  flex: 1;
  max-width: 600px;
  animation: fadeInLeft 0.8s ease-out;
  
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(53, 124, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 30px;
  width: fit-content;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ff6b35;
  border-radius: 50%;
}

.left-section p {
  font-size: 1.25rem;
  color: #0076b57a;
  margin-bottom: 1rem;
}

.name {
  color: #ff6b35;
  font-weight: 600;
  font-size: 1.5rem;
}

.left-section h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #357cff;
}

.left-section h1 strong {
  font-size: 4rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #35d0ff 0%, #0c61d1 100%);
  padding: 16px 32px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(3, 80, 151, 0.822);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px #357cff;
}

.cta-button::after {
  content: "→";
  font-size: 20px;
}

.cta-button1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff6b35 0%, #a50000 100%);
  padding: 16px 32px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px #ff6b35;
}

.cta-button1:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px #ff6b35;
}

.cta-button1::after {
  content: "→";
  font-size: 20px;
}



/* Section Droite */
.right-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out;
}

.profile-content {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.profile-content::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366f1, #5cf6f6);
  border-radius: 100%;
  z-index: -1;
  animation: float 3s ease-in-out infinite;
}

.profile-content img {
  width: 100%;
  height: auto;
  border-radius: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: block;
  z-index: 1;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-text {
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  font-size: 12rem;
  font-weight: 700;
  text-align: center;
  color: rgba(68, 122, 223, 0.295);
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding: 0 20px;
  z-index: -1;
  
}

/* Responsive Design */

/* Tablettes */
@media (max-width: 1024px) {
  .hero {
    padding: 2rem 3%;
    gap: 2rem;
  }

  .left-section h1 {
    font-size: 2.5rem;
  }

  .profile-content {
    max-width: 350px;
  }
}

/* Tablettes et petits écrans */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 5%;
    min-height: auto;
    padding-top: 120px;
  }

  .left-section {
    max-width: 100%;
    order: 2;
  }

  .left-section h1 {
    font-size: 2rem;
  }

  .left-section h1 strong {
    font-size: 2.5rem;
  }

  .left-section p {
    font-size: 1.1rem;
  }

  .name {
    font-size: 1.3rem;
  }

  .right-section {
    order: 1;
    margin-bottom: 2rem;
  }

  .profile-content::before {
    top: -20px;
    right: -20px;
  }

  .profile-content img {
    width: 250px;
  }

  .hero-text {
  display: none;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 5%;
  }

  .left-section h1 {
    font-size: 1.75rem;
  }

  .left-section p {
    font-size: 1rem;
  }

  .name {
    font-size: 1.2rem;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(53, 124, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 30px;
    width: fit-content;
    animation: blink 1.5s ease-in-out infinite;
  }

  .badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #ff6b35;
    border-radius: 50%;
  }

  .cta-button {
    padding: 0.875rem 1rem;
    font-size: 0.7rem;
  }

  .cta-button1 {
    padding: 0.875rem 1rem;
    font-size: 0.7rem;
  }

  .profile-content {
    max-width: 250px;
  }

  .profile-content::before {
    top: -15px;
    right: -15px;
  }

   .hero-text {
  display: none;
  }
}

/* About section*/

.about-section {
  min-height: 100vh;
  position: relative;
  padding: 2rem 0;
  background-color: #000;
  overflow: hidden;
}

/* Grille de fond animée */
.background-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.main-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 3px;
  position: relative;
  color: #357cff;
}

.main-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -50px;
  width: 30px;
  height: 2px;
  background: #fff;
  animation: lineGrow 1.5s ease-out;
}

.main-title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50px;
  width: 30px;
  height: 2px;
  background: #fff;
  animation: lineGrow 1.5s ease-out 0.5s both;
}

@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 30px;
  }
}

.about-container .subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 4rem;
  font-weight: 300;
}

.about-content-wrapper {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.left-column {
  flex: 1;
  position: sticky;
  top: 2rem;
}

.profile-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(240, 239, 239, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.avatar-container {
  width: 400px;
  height: 400px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.avatar {
  width: 350px;
  height: 400px;
  background: linear-gradient(45deg, #000, #333, #000);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.avatar img {
  width: 100%;
}

.avatar::before {
  content: "";
  position: absolute;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
}

.profile-name {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.profile-role {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.right-column {
  flex: 2;
}

.journey-section {
  margin-bottom: 4rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-number {
  font-size: 3rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  color: #357cff;
}

.journey-timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline-line {
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.3), #fff);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 15px 15px 0;
  transition: all 0.3s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 4px solid #0a0a0a;
}

.timeline-item:hover {
  transform: translateX(10px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
}

.timeline-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #357cff;
}

.timeline-description {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(201, 35, 35, 0.815);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.philosophy-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
}

.philosophy-section .philosophy-text {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.8;
  color: #357cff;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .about-content-wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .left-column {
    position: static;
    margin: -15px;
  }

  .main-title {
    font-size: 3rem;
  }

  .main-title::before,
  .main-title::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .timeline-item {
    padding: 1.5rem;
  }

  .philosophy-text {
    font-size: 1.2rem;
  }

  .about-container {
    padding: 0 1rem;
  }

  .avatar-container {
    width: 200px;
    height: 300px;
    margin: 10px;
    position: relative;
    z-index: 2;
  }

  .avatar {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #000, #333, #000);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
  }

  .avatar img {
    width: 100%;
  }
}

/* Animations d'entrée */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-section {
  padding: 120px 0;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #667;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 24px;
  padding: 48px 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #357cff;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: #e0e0e0;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: #357cff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #357cff;
  margin-bottom: 16px;
}

.service-description {
  color: #ff6b6b;
  font-size: 1rem;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1a1a1a;
  font-weight: 600;
}

.cta-section {
  text-align: center;
  padding: 60px 40px;
  background: #fafafa;
  border-radius: 32px;
  border: 1px solid #e0e0e0;
}

.cta-title {
  font-size: 2rem;
  font-weight: 600;
  color: #357cff;
  margin-bottom: 16px;
}

.cta-description {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .section-header {
    margin-bottom: 60px;
  }
}

@media (max-width: 1024px) {
  .services-section {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .section-header {
    margin-bottom: 60px;
  }
}

/*SKILLS*/

.skills-section {
  background-color: #000;
  padding: 100px 20px;
  max-width: 100%;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #888;
  font-weight: 300;
}

.skills-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.skill-card:hover::before {
  transform: translateX(100%);
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.skill-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.skill-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.skill-description {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .skills-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .skill-card {
    padding: 30px 25px;
  }
}

@media (max-width: 1024px) {
  .skills-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .skill-card {
    padding: 30px 25px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.works-section {
  padding: 120px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title3 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #000 0%, #666 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #666;
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto;
}


/* Section Projets - Thème Blanc */

.projects-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
    
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #000000;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:hover {
    border-color: #000;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.project-image {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    overflow: hidden;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: #000000;
}

.project-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.project-link:hover {
    gap: 12px;
}

.arrow {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-section {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-image {
        height: 240px;
    }

    .project-content {
        padding: 24px;
    }
}


.footer {
  background: #111111;
  border-top: 1px solid #333;
  padding: 3rem 0 1rem;
  color: white;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

/* Section À propos */
.about-section p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Services */
.services-list {
  list-style: none;
}

.services-list li {
  color: #ccc;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.services-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #4ecdc4;
  font-size: 1.2rem;
}

.services-list li:hover {
  color: #fff;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Section Contact */
.contact-info {
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #ccc;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: #fff;
  transform: translateX(5px);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: #4ecdc4;
  flex-shrink: 0;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #4ecdc4;
}

/* Section Réseaux sociaux */
.social-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #333;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-color: #555;
}

.social-link svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Couleurs spécifiques pour chaque réseau */
.github:hover {
  background: #333;
  border-color: #333;
}
.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}
.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}
.instagram:hover {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
  border-color: #e1306c;
}
.dribbble:hover {
  background: #ea4c89;
  border-color: #ea4c89;
}
.behance:hover {
  background: #1769ff;
  border-color: #1769ff;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #888;
}

.footer-bottom a {
  color: #4ecdc4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .footer {
    padding: 2rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .services-list li {
    font-size: 0.9rem;
  }
}
