
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

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

/* Header */
header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0; /* Ajustez si nécessaire */
  min-height: 80px; /* Hauteur minimale plus grande */
}

.header-container {
  padding: 15px 0; /* Retour à la valeur originale */
  height: auto; /* Suppression de la hauteur fixe */
}

.logo {
  height: auto; /* Suppression de la hauteur fixe */
  width: auto;
  max-height: 120px; /* Augmentez cette valeur selon vos besoins */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}



nav ul {
  display: flex;
  list-style: none;
  height: 100%; /* Prend toute la hauteur */
  align-items: center; /* Centre verticalement */
}

nav ul li {
  margin-left: 30px;
  height: 100%; /* Prend toute la hauteur */
  display: flex;
  align-items: center; /* Centre le contenu verticalement */
}


nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  padding: 10px 0; /* Padding vertical pour l'espace */
  height: 100%; /* Prend toute la hauteur */
  display: flex;
  align-items: center; /* Centre le texte verticalement */
  position: relative;
}

nav ul li a:hover {
  color: var(--primary);
}


.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==");
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
}

.compliance-flags {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.flag {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
}

.flag img {
  width: 20px;
  margin-right: 8px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background-color: white;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 60px;
  opacity: 0.8;
}

.tech-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.tech-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.tech-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  object-fit: contain;
}

.tech-name {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Features Section */
.section {
  padding: 100px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray);
}

/* Kubernetes Cluster Section */
.kubernetes-section {
  background-color: #f1f5f9;
}

.kubernetes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.kubernetes-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.kubernetes-img img {
  width: 100%;
  height: auto;
  display: block;
}

.kubernetes-features {
  margin-top: 20px;
}

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

.kubernetes-features li i {
  color: var(--primary);
  margin-right: 10px;
  margin-top: 3px;
}

/* Solutions Section */
.solutions {
  background-color: white;
}

.solution-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background-color: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.solution-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.solution-card:hover {
  transform: translateY(-5px);
}

.solution-img {
  height: 200px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.solution-info {
  padding: 30px;
}

.solution-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.solution-info p {
  color: var(--gray);
  margin-bottom: 20px;
}

.solution-features {
  margin-bottom: 20px;
}

.solution-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.solution-features li::before {
  content: "✓";
  color: var(--success);
  margin-right: 10px;
  font-weight: bold;
}

/* Comparison Section */
.comparison {
  text-align: center;
  background-color: #f1f5f9;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.comparison-table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--success);
  font-weight: bold;
}

.cross {
  color: var(--danger);
  font-weight: bold;
}

/* Technologies Section */
.technologies {
  background-color: white;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.tech-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.tech-card:hover {
  transform: translateY(-5px);
}

.tech-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card-icon img {
  max-width: 100%;
  max-height: 100%;
}

.tech-card h3 {
  margin-bottom: 10px;
}

.tech-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* About Section */
.about {
  background-color: var(--dark);
  color: white;
}

.about .section-title h2,
.about .section-title p {
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Section */
.contact {
  background-color: #f1f5f9;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    height: 40px; /* Taille légèrement réduite sur mobile */
  }
  .header-container {
    min-height: 60px; /* Hauteur réduite sur mobile */
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s;
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0 0 15px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

.animate {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Floating animation for hero tech items */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.tech-item {
  animation: float 6s ease-in-out infinite;
}

.tech-item:nth-child(2) {
  animation-delay: 0.5s;
}

.tech-item:nth-child(3) {
  animation-delay: 1s;
}

.tech-item:nth-child(4) {
  animation-delay: 1.5s;
}

.tech-item:nth-child(5) {
  animation-delay: 2s;
}

.tech-item:nth-child(6) {
  animation-delay: 2.5s;
}

/* Language selector */
.language-selector {
  position: relative;
  margin-left: 30px;
  height: 100%;
  display: flex;
  align-items: center;
}


.language-btn {
  background: none;
  border: none;
  color: var(--dark);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px 0;
  height: 100%;
  transition: all 0.3s;
}


.language-btn:hover {
  color: var(--primary);
}

.language-btn img {
  width: 20px;
  margin-right: 8px; /* Augmentation légère de l'espace */
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: none;
  min-width: 120px;
  z-index: 100; /* S'assure qu'il est au-dessus des autres éléments */
}

.language-selector:hover .language-dropdown {
  display: block;
}

.language-dropdown a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s;
}

.language-dropdown a:hover {
  background-color: #f1f5f9;
  color: var(--primary);
}

.language-dropdown a img {
  margin-right: 8px;
}

.modal {
  display: none; /* Caché par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: var(--dark);
}

.close-modal:hover {
  color: var(--danger);
}
