* {
  padding: 10;
  margin: 0;
  border: none;
  outline: 0;
  text-decoration: none;
  color: white;
}

body {
  background-color: rgb(5, 12, 48);
 
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  height: auto;
  padding: 0 5.8%;
  margin : 0;
  border: 1px solid #050505;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Header */
#header, nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 1;
}

.nav-item {
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 60px;
  transition: color 0.12s, transform 0.12s;
}
nav .active {
  color: #3FA2F6;
}

.nav-item:hover {
  color: #3FA2F6;
}

.nav-item:active {
  transform: scale(1.1);
}

/* logo */
.logo {
  font-size: 2rem;
  font-weight: 800;
}

/* Hero-section */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* Left */
.hero-left {
  display: flex;
  align-items: center;
  padding-top: 15%;
  z-index: 1;
}

.hero-left2 {
  display: flex;
  align-items: center;
  padding-top: 8%;
  z-index: 1;
  flex-direction: column;
  margin: 10px;
  min-height: 100vh;
}

.hero-left3 {
  font-family: Arial, sans-serif;
  color: #fff;
  margin: 0;
  padding: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-width: 150vh;
  z-index: 1;
}

.hero-left4 {
  display: flex;
  align-items: center;
  padding-top: 4%;
  z-index: 1;
  flex-direction: column;
   margin: 10px;
   min-height: 100vh;
}

.hero-left5 {
  display: flex;
  flex-direction: column;
  padding-left: 32%;
  min-height: 120vh;
  width: 130%;
  align-items: center;
  padding-top: 12.5%;
  z-index: 1;
  margin-bottom: 0;

}

.hero-left6 {
  font-family: Arial, sans-serif;
  color: #fff;
  margin: 0;
  padding: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-width: 150vh;
  z-index: 1;
  width: 80%;
}



h1{
  font-size: 4rem;
  font-weight: 800;
  padding: 25px 0;
}


h2 {
  color: #34495e;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
  justify-content: center;
  align-items: center;
}

h4 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #3FA2F6;
  padding-bottom: 40px;
}

h5{

  font-size: 2.2em;
  margin-bottom: 20px;
  color: black;
}

h3 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #3FA2F6;
  padding-bottom: 40px;
}

p {
  font-size: 1.2rem;
  color: lightgray;
  line-height: 1.5;
  padding-bottom: 50px;
  text-align: justify;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.box {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #333;
}
.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
.box span {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222;
}
.box p {
  font-size: 1em;
  margin: 0;
  color: #555;
}

/* button */
.cta button {
  color: black;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 5px;
  width: 200px;
  border:none;
  border-radius: 8px;
  margin-right: 50px;
  background-color: #3FA2F6;
  margin-bottom: 180px;
  transition: background-color 0.12s, border 0.12s, color 0.21s, padding 0.12s;
}

.cta .cta-1:hover {
  background-color: transparent;
  color: #3FA2F6;
  border: 2px solid #3FA2F6;
  padding: 13px 0;
}

.cta .cta-2:hover {
  background-color: #3fa1f6;
  color: #000000;
}

.cta .cta-2 {
  background-color: transparent;
  color: #3FA2F6;
  border: 2px solid #3FA2F6;
  padding: 13px 0;
}

/* Icons */
.social-icon {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon{
  padding-bottom: 25px;
}

.social-icon i {
font-size: 1.2rem;
color: #3FA2F6;
border: 1px solid #3FA2F6;
border-radius: 50px;
padding: 5px;
height: 25px;
width: 25px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.12s, box-shadow 0.12s;
cursor: pointer;

}

.social-icon i:hover {
  transform: scale(1.1);
  text-shadow: 0 0 10px #3FA2F6;
}

/* Right section */

.hero-right {
  transition: background-color 3s, box-shadow 3s;
  cursor: pointer;
}

.hero-right:hover {
  background-color: rgba(6, 7, 12, 0.705);
  box-shadow: 
    0 0 20px rgb(6, 7, 12),
    0 0 50px rgb(6, 7, 12),
    0 0 100px rgb(6, 7, 12),
    0 0 200px rgb(6, 7, 12);
}

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

@keyframes fadeInTop {
  from{
    transform: translateY(-100%);
    opacity: 0;
  }
  to{
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes backgroundZoom {
  from{
    background-size: 80%;
  }
  to{
    background-size: 100%;
  }
}




/* Apply Animations */
h1 {
  animation: fadeIn 1.2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

h3 {
  animation: fadeIn 1.4s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

p {
  animation: fadeIn 1.6s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}
button {
  animation: fadeIn 1.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

.social-icon {
  animation: fadeIn 2s ease-out forwards;
  opacity: 0;
  animation-delay: 1s;
}

.nav-item,
.left-section {
  animation: fadeInTop 1s ease-in forwards;
  opacity: 0;
}

body {
  animation: backgroundZoom 3s ease-in forwards;
}


/* Style pour les listes */
ul {
  list-style-type: square;
  padding-left: 20px;
  margin: 10px 0;
}

li {
  margin-bottom: 5px;
}


.video-background {
 
  width: 100vmax;
  height: 150vh;
  top: 0;
  left:0;
  object-fit:cover; /* Adapte la vidéo au conteneur */
  position: fixed;
  z-index: -1; /* Position derrière le contenu */
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

footer {
  text-align: left;
  padding: 10px;
  color: rgb(26, 33, 66);
}

.image-container {
  text-align: center; /* Aligne les éléments en ligne au centre */
}

.image-container img {
  display: inline-block; /* Requis si la méthode utilise text-align */
  
}

/*profile */


.image-content {
  width: 150%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-content img {
  width: auto;
  max-width: 450px;
  height: 470px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.image-content img:hover {
  transform: scale(1.1);
}
