/* Variables et Reset */
:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Barre de navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

/* Logo */
.logo img {
    height: 40px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

/* Liens de navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu Hamburger (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links li {
        margin: 1rem 0;
    }
}



/* Section Accueil */
#accueil {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

#accueil .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-out, float 6s infinite ease-in-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    z-index: 2;
    position: relative;
}

.pattern {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: rotate 20s linear infinite;
}

.glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid #2563eb;
    border-radius: 50px;
}

.scroll-indicator span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    animation: scrollAnimation 2s infinite;
}

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

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

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

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

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    #accueil .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
}


/* Section Projets */
#projets {
    padding: 100px 0;
    background-color: #f9fafb;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Filtres */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: #e2e8f0;
    border: none;
    border-radius: 30px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Grille de projets */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.projet-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.projet-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.projet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projet-card:hover .projet-overlay {
    opacity: 1;
}

.projet-links {
    display: flex;
    gap: 20px;
}

.projet-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.projet-link:hover {
    background: #1e293b;
    color: white;
    transform: translateY(-5px);
}

.projet-info {
    padding: 25px;
}

.projet-info h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.projet-info p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 15px;
}

.projet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.projet-tags span {
    background: #e0f2fe;
    color: #075985;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .projets-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .projets-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 40px;
    }
    
    .filters {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    #projets {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .projet-image {
        height: 200px;
    }
}



/* Section Compétences */
#competences {
  padding: 100px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

#competences::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

#competences .container {
  position: relative;
  z-index: 1;
}

.competences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.competence-category {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.competence-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: #e0f2fe;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.category-icon img {
  width: 32px;
  height: 32px;
}

.competence-category h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin: 0;
}

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

.competence-list li {
  margin-bottom: 20px;
}

.competence-name {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.skill-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.skill-percent {
  position: absolute;
  top: -25px;
  right: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
}

/* Autres compétences */
.competence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: #e0f2fe;
  color: #075985;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: #bae6fd;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
}

/* En cours d'apprentissage */
.learning-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
}

.learning-section .category-header h3 {
  color: white;
}

.learning-section .category-icon {
  background: rgba(255, 255, 255, 0.15);
}

.learning-list {
  margin-top: 10px;
}

.learning-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-item:last-child {
  border-bottom: none;
}

.learning-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.learning-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.learning-info h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.learning-info p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.progress-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.learning-section .progress-bar {
  height: 100%;
  background: white;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Animation au défilement */
.skill-bar, .progress-bar {
  transform: scaleX(0);
  transform-origin: left;
}

.animate .skill-bar, .animate .progress-bar {
  transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .competences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .competences-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .competence-category {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  #competences {
    padding: 70px 0;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
  }
  
  .category-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .competence-tags {
    justify-content: center;
  }
  
  .learning-item {
    flex-direction: column;
    text-align: center;
  }
  
  .learning-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}


/* Section À Propos */
#apropos {
  padding: 100px 0;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

#apropos::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-content {
  display: flex;
  gap: 50px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1.5;
}

.image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.overlay-content h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.overlay-content p {
  color: #93c5fd;
  font-size: 1.1rem;
}

.personal-info {
  margin-top: 30px;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-item i {
  width: 50px;
  height: 50px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2563eb;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 5px;
}

.info-item p {
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
  margin: 0;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
}

.about-text p {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #dbeafe;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #2563eb;
  z-index: 1;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 5px;
}

.timeline-content {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(10px);
}

.timeline-content h4 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 1rem;
  margin-bottom: 0;
}

.philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.philosophy-item {
  text-align: center;
  padding: 25px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.philosophy-item i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 15px;
}

.philosophy-item h4 {
  font-size: 1.2rem;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 10px;
}

.philosophy-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0;
}

.signature img {
  width: 120px;
  height: auto;
}

.signature p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  font-style: italic;
}

.about-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .philosophy {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #apropos {
    padding: 70px 0;
  }
  
  .philosophy {
    grid-template-columns: 1fr;
  }
  
  .about-buttons {
    flex-direction: column;
  }
  
  .about-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .timeline {
    padding-left: 15px;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-item i {
    margin-right: 0;
    margin-bottom: 15px;
  }
}



/* Section Contact */
#contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/contact-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    padding-right: 20px;
}

.contact-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.contact-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-top: 25px;
    line-height: 1.6;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: #3b82f6;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.contact-text p {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0;
}

.social-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-5px);
}

/* Formulaire */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 42px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.form-group textarea + i {
    top: 40px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 70px 0;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 25px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 12px 12px 40px;
    }
    
    .form-group i {
        top: 38px;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}



/* Footer */
footer {
    background: #0f172a;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-col {
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 15px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-newsletter h3 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    width: 50px;
    background: #3b82f6;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #2563eb;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 15px;
}

.footer-links a {
    display: flex;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-services li {
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.footer-services li i {
    color: #3b82f6;
    margin-right: 10px;
    font-size: 0.9rem;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: #3b82f6;
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact li span {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #3b82f6;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2563eb;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col {
        margin-bottom: 0;
    }
    
    .footer-links,
    .footer-services,
    .footer-contact {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    footer {
        padding-top: 60px;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-logo img {
        margin-bottom: 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
