body {
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
  }  
  .itim-regular {
    font-family: "Itim", cursive;
    font-weight: 400;
    font-style: normal;
  }
  .hero h1:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 0%;
  }
 
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
   
  }
  .video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  .hero-content h1{
    color: #ffffff;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  }
  span{
    color: #ab9100;
  }
  .cta-button {
    background-color: #022d67;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-bottom: 20px;

  }
  
  .cta-button:hover {
    background-color: #00c8ff;
    box-shadow: #022d67;
  }
  
  section {
    
    max-width: 1000px;
    margin: auto;
  }
  
  .projects .project-gallery {
    display: flex;
    gap: 20px;
    flex-direction: row;
  }
  
  .project-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    width: calc(50% - 10px);
  }
  
  .project-card img {
    width: 100%;
    height: auto;
  }
  
  .project-card p {
    padding: 10px;
    font-size: 0.95rem;
  }
  
.main-header {
    display:flex;
    position: sticky;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
    top: 0;
    z-index: 1000;
    

}  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    align-items: center;
    
  }
  
  .nav-menu a {
    margin-left: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-menu a:hover {
    color: #ab9100;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .main-header {
    animation: fadeIn 0.8s ease-in-out;}
    
      
      .caption {
        margin-top: 10px;
        font-size: 1rem;
        color: #444;
        font-style: italic;
      }
      .contact-wrapper {
        display: flex;
      flex-direction: row;
     justify-content: center;
     align-items: flex-start;
     gap: 40px;
      margin: 40px 20px;
      }
      
      .contact-form,
      .contact-details {
        flex: 1;
        min-width: 300px;
      }
      
      .contact-form h2,
      .contact-details h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: #203a43;
      }
      
      .contact-form form {
        display: flex;
        flex-direction: column;
        gap: 15px;
      }
      .contact-details i {
        color: #203a43; 
        margin-right: 8px;
        font-size: 1.2em;
      }
      .contact-details p {
        margin: 10px 0;
        font-family: 'Arial', sans-serif;
      }
      
      .contact-form input,
      .contact-form textarea {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
      }
      
      .contact-form button {
        background-color: #022d67;
        color: white;
        border: none;
        padding: 12px;
        font-size: 1rem;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s ease;
      }
      
      .contact-form button:hover {
        background-color:#00c8ff;
      }
      
      .contact-details p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
      }
      
      .about-page {
        margin-bottom: 0%;
        max-width: 900px;
        margin: auto;
        padding: 60px 20px;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        font-family: 'Segoe UI', sans-serif;
      }
      
      .about-page h1 {
        font-size: 2.5rem;
        color: #203a43;
        margin-bottom: 20px;
        text-align: center;
      }
      
      .about-page h2 {
        font-size: 1.5rem;
        margin-top: 40px;
        color: #2c5364;
      }
      
      .about-page p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
      }
      
      
      .cta-button {
        display: inline-block;
        margin-top: 40px;
        background-color: #022d67;
        color: white;
        padding: 12px 24px;
        text-decoration: none;
        border-radius: 6px;
        font-weight: bold;
        transition: background 0.3s ease;
      }
      
      .cta-button:hover {
        background-color: #00c8ff;
        
          transform: scale(1.05);
          transition: transform 0.3s ease;
        
      }
      .about{
        margin-left: 20px;
      }
      .projects{
        margin-left: 20px;
      }
      .contact{
        margin-left: 20px;
      }
.about a{
  color: rgb(23, 5, 5);
  text-decoration: none;
  display: inline-block;
}
.projects a{
  color: rgb(23, 5, 5);
  text-decoration: none;
  display:inline-block;
}
.logo a{
  text-decoration: none;
  color: #f4f4f4;
}
.projects a :hover{
  color: #397789;
    transform: scale(1.05);
    transition: transform 0.3s ease;
  
}
.about a :hover{
  color: #397789;
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }

.logo a:hover{
  color: #ab9100;
  -ms-zoom-animation: default;
    transform: scale(1.05);
    transition: transform 0.3s ease;
  
}
.about .plus{
  display: inline-block;
        margin-top: 40px;
        background-color: #022d67;
        color: white;
        padding: 12px 24px;
        text-decoration: none;
        border-radius: 6px;
        font-weight: bold;
        transition: background 0.3s ease;
        text-decoration-color: #fff;
}
.about .plus:hover{
  color: #ffffff;
  background-color: #00c8ff;
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }

.intro-video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 2px;
  max-width: 100%;
}

.intro-video video {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.outro-videos {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

.video-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.video-block video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.video-block p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
  font-style: italic;
}

@media (max-width: 768px) {
  .outro-videos {
    flex-direction:row;
  }
}
/* ...nos realisation code... */
.modern-gallery {
      max-width: 1100px;
      margin: 40px auto 0 auto;
      padding: 0 16px;
    }
    .modern-gallery h2 {
      text-align: center;
      font-size: 2.2em;
      margin-bottom: 32px;
      color: #203a43;
      letter-spacing: 1px;
    }
    .modern-gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 28px;
    }
    .modern-thumbnail {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 16px rgba(44,83,100,0.09);
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.18s, box-shadow 0.18s;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    .modern-thumbnail img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.2s;
    }
    .modern-thumbnail:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 24px rgba(44,83,100,0.16);
    }
    .modern-thumbnail p {
      padding: 18px 14px 14px 14px;
      font-size: 1.08em;
      color: #203a43;
      flex: 1;
    }
    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0; top: 0; width: 100vw; height: 100vh;
      background: rgba(44,83,100,0.18);
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .modal-content {
      background: #fff;
      border-radius: 12px;
      padding: 24px;
      max-width: 90vw;
      max-height: 80vh;
      overflow: auto;
      box-shadow: 0 8px 32px rgba(44,83,100,0.18);
      display: flex;
      flex-direction: column;
      gap: 18px;
      align-items: center;
    }
    .modal-content img, .modal-content video {
      max-width: 80vw;
      max-height: 60vh;
      border-radius: 10px;
      margin-bottom: 8px;
    }
    .close-btn {
      position: absolute;
      top: 24px;
      right: 360px;
      background: #df4545;
      border: none;
      font-size: 2.em;
      color: #203a43;
      cursor: pointer;
      border-radius: 50%;
      width: 33px;
      height: 33px;
      box-shadow: 0 2px 8px rgba(44,83,100,0.08);
      transition: background 0.2s;
    }
    .close-btn:hover {
      background: #f70000;
      color: #fff;
    }




/* Footer responsive */

.footer {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  padding: 24px 10px 10px 10px;
  font-size: 1em;
  margin-top: 10px;
}

.footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}

.footer .footco {
  flex: 1;
  min-width: 220px;
  text-align: right;
}

.footer .social-links {
  flex: 1;
  min-width: 180px;
  text-align: left;
}

.footer .social-links h3 {
  font-size: 1em;
  margin-bottom: 10px;
}

.footer .social-links a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.5em;
  transition: color 0.2s;
}
.footer .social-links a[title="Facebook"]:hover {
  color: #1877f3;
}
.footer .social-links a[title="WhatsApp"]:hover {
  color: #25d366;
}

.footer .social-links a[title="Instagram"]:hover {
  color: #ae0e46;
}

.footer p {
  margin: 6px 0;
}

@media (max-width: 700px) {
  .footer .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer .social-links {
    text-align: center;
    margin-top: 10px;
  }
}
/* pour telephone */
@media (max-width: 600px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
  .logo img {
    height: 10px;
  }
  .logo{
    width: 50%;
  }
  .nav-menu {
    display: inline-block;
    flex-direction: column;
    width: 70%;
  }
  .nav-menu a {
    padding: 6px 0;
    font-size: 0.9em;
  }
  .hero {
    padding: 0;
    min-height: 300px;
    height: auto;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .video-bg {
    width: auto !important;
    height: 50%;
    max-width: 100vw;
    min-width: 0;
    max-height: 100vw;
  }
  .overlay-text h1 {
    font-size: 1.3em;
  }
  .about, .projects, .contact {
    padding: 10px;
  }
  .project-gallery {
    flex-direction: row;
    gap: 16px;
  }
  .project-card img {
    width: 100%;
    height: auto;
  }
  .cta-button, .plus {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: block;
  }
  .about-page {
    padding: 10px;
  }
  .intro-video video
   {
    width: 100% !important;
    height: auto;
    max-width: 100vw;
  }
  .outro-videos video{
    width: 50% !important;
    height: auto;
    max-width: 100vw;
  }
  .outro-videos {
    flex-direction: row;
    display: flex;
    gap: 10px;
  }
  h1 {
    font-size: 1.5em;
  }
  p {
    font-size: 1em;
  }
 
  
  .modal-content img,
  .modal-content video {
    width: 100% !important;
    height: auto;
    max-width: 100vw;
  }
  .footer {
    font-size: 0.95em;
    padding: 16px 5px;
  }
  .footer .social-links a {
    font-size: 1.3em;
  }
}
@media (max-width: 800px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .contact-form,
  .contact-details {
    max-width: 100%;
  }
}