:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --background: #ffffff;
  --section-bg: #e0e7ff;
  --gradient-start: #3b82f6;
  --gradient-end: #1d4ed8;
  --accent: #ff006e;
  --light: #f8f9fa;
  --dark: #212529;
  --gradient: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
}

.hero {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/Body/IMG_4092.jpeg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.845);
  backdrop-filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 1s ease-out forwards;
  color: white;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 900px;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle strong {
  color: #93c5fd;
  font-weight: 600;
  position: relative;
}

.hero-subtitle strong::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 0.8s ease-out 1.5s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

.cta-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.2);
  }
}

@keyframes underline {
  to {
    transform: scaleX(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 1rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.content-section,
.content-section1 {
  padding: 4rem 1rem;
}

.content-container {
  max-width: 80rem;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.content-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s;
}

.content-image-wrapper:hover {
  transform: scale(1.02);
}

.content-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.content-text {
  width: 100%;
}

.content-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.content-description {
  color: var(--light-text);
  font-size: 1.125rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .heroo-title {
    font-size: 1.5rem;
  }

  .heroo-subtitle {
    font-size: 0.5rem;
  }

  .content-wrapper {
    flex-direction: row;
  }

  .content-image-wrapper,
  .content-text {
    width: 50%;
  }

  .content-section:nth-child(even) .content-wrapper {
    flex-direction: row-reverse;
  }
}
/* Scrolling Logo Banner */
.banner-wrapper {
  width: 100%;
  padding: 30px 20px 40px;
  background: white;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.scrolling-banner {
  overflow: hidden;
  white-space: normal;
}

.logo-track {
  display: flex;
  width: fit-content;
  animation: scroll-left 30s linear infinite;
}

.logo-set {
  display: flex;
}

.logo-set img {
  height: 80px;
  margin: 0 60px;
  opacity: 0.8;
  transition: all 0.4s ease-in-out;
}

.logo-set img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.page-title-section {
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.section-titl {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.3rem;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: #3b82f6;
  margin: 0 auto;
  border-radius: 2px;
}

/* Section équipe */
.team-container {
  max-width: 1400px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 70px 20px 30px;
  text-align: center;
}

.dev-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2d3748;
}

.dev-role {
  color: #ff006e;
  font-weight: 600;
  margin-bottom: 15px;
  display: inline-block;
  padding: 3px 12px;
  background: rgba(255, 0, 110, 0.1);
  border-radius: 20px;
  font-size: 0.9rem;
}

.dev-bio {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 20px;
}

.tag {
  background: #f0f2f5;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: #495057;
}

.dev-stats {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 1rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  border-radius: 50%;
  color: #38638f;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #764ba2;
  color: white;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-title-section h1 {
    font-size: 2rem;
  }

  .dev-name {
    font-size: 1.2rem;
  }
}
/*Footer***********************************************************************************************/

.footer {
  background: linear-gradient(to bottom right, #111827, #1f2937);
  color: white;
  position: relative;
}

.decorative-border {
  height: 4px;
  background: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  position: relative;
}

/* Separator lines */
.footer-separator {
  display: none;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-separator {
    display: none;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-separator {
    display: block;
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.1) 80%,
      transparent
    );
  }

  .footer-separator:nth-of-type(1) {
    left: 25%;
  }
  .footer-separator:nth-of-type(2) {
    left: 50%;
  }
  .footer-separator:nth-of-type(3) {
    left: 75%;
  }
}

/* Logo section */
.logo1 {
  font-size: 1.875rem;
  font-weight: bold;
  background: linear-gradient(to right, #60a5fa, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  margin-right: 2rem;
}

.tagline {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Section titles */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  position: relative;
  color: white;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.nav-title::after {
  background: #3b82f6;
}
.contact-title::after {
  background: #8b5cf6;
}
.social-title::after,
.about-title::after {
  background: #ec4899;
}

/* Navigation links */
.nav-footer {
  list-style: none;
}

.nav-footer li {
  margin-top: 1rem;
}

.nav-footer a,
.contact-info a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s, color 0.3s;
}

.nav-footer a:hover,
.contact-info a:hover {
  transform: translateX(0.5rem);
  color: #93c5fd;
}
.nav-footer a {
  display: block; /* Assure que chaque lien prend une ligne entière */
  margin-top: 1rem; /* Ajoute de l'espacement entre les liens */
}

/* Contact section */
.contact-info {
  list-style: none;
  margin-bottom: 1.5rem;
}

.contact-info li {
  margin-bottom: 1rem;
}

.contact-info .address {
  display: flex;
  gap: 0.75rem;
  color: #d1d5db;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #374151;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.map-container iframe:hover {
  filter: grayscale(0%);
}

.about-text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.7;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
}

.footer-bottom p {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}
/* Styles pour la section partenaires */
.partners-section {
  width: 100%;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.partners-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partners-logos img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Media query pour les petits écrans */
@media (max-width: 768px) {
  .partners-logos {
    gap: 15px;
  }

  .partners-logos img {
    max-height: 40px;
    max-width: 80px;
  }
}
