:root {
  --bg: #49A130;         /* Main background */
  --card: #e0f3d7;       /* Cards & sections */
  --accent: #101954;     /* Accent / highlight */
  --text: #ffff;       /* Main text */
  --muted: #9aa4b2;      /* Muted text */
  --highlight: #21867a;  /* Hover & button highlight */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #ffff;
  color: var(--text);
}

.offer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-top:20px;
}

.offer-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0.5rem auto;
  min-width: 400px;
}

.offer-button {
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 1rem 0;
}

.offer-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}


.h1-3d-zoom {
    font-size: 40px;
    font-weight: bold;
    color: #00aaff;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    transition: transform 0.3s ease, text-shadow 0.3s ease;

    /* 3D effect using multiple shadows */
    text-shadow:
        1px 1px 0 #000,
        2px 2px 0 #000,
        3px 3px 0 #000,
        4px 4px 0 #000;
}

/* Zoom + extra 3D depth on hover */
.h1-3d-zoom:hover {
    transform: scale(1.2); /* Zoom effect */
    text-shadow:
        2px 2px 0 #000,
        4px 4px 0 #000,
        6px 6px 0 #000,
        8px 8px 0 #000; /* Enhanced depth while zooming */
    cursor: pointer;
}


/* === HEADER === */
header {
  background: var(--bg);
  color: var(--text);
  text-align: center;
  padding: 20px;
  border-bottom: 2px solid var(--accent);
  min-width:468px;
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Align language switcher and nav on the same line */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px; /* space between dropdown and nav */
}

.lang-switcher select {
  padding: 6px 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav button {
  background: transparent;
  border: 2px solid transparent;
  color: var(--text);
  font-weight: bold;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

/* Hover effect */
nav button:hover {
  border-color: var(--accent);
  background-color: rgba(0, 0, 0, 0.05); /* subtle feedback */
}

/* Active (clicked or selected tab) */
nav button.active {
  border-color: var(--accent);
  background-color: var(--accent);
  color: white;
}



section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 40px auto;
  display: none;
  animation: fadeIn 0.4s ease-in-out;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

section.active {
  display: block;
}

h2, h3 {
  color: var(--accent);
}

p, li {
  color: var(--accent);
}

.service, .team-member {
  background: var(--card);
  padding: 20px;
  flex: 1 1 300px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

/* === FOOTER === */
footer {
  background: var(--bg);
  color: var(--text);
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  border-top: 2px solid var(--accent);
  min-width:468px;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 610px; /* adjust height as needed */
  touch-action: pan-y; /* allows horizontal swiping */
}

.carousel-label{
    top: 590px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    position:fixed;
    z-index:999999;
    width:100%;
}

.carousel-label-ceo{
    top: 593.5px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    position:fixed;
    z-index:999999;
    width:100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}

.carousel-item {
  height: 100%;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  flex-direction: column; /* ensures children stack vertically */
}

.carousel-item iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.carousel-item img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Navigation arrows */
.carousel button.prev,
.carousel button.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  user-select: none;
  z-index: 10;
  transition: opacity 0.2s ease;
}

.carousel button.prev:hover,
.carousel button.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Disabled button states */
.carousel button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Positioning */
.carousel button.prev { left: 10px; }
.carousel button.next { right: 10px; }

/* Specific styling per image if needed */
.img-ceo {
  height: 800px;
  transform: scale(0.7);
  margin-top: 0px;
}

.img-cto {
  height: 900px;
  transform: scale(0.6);
  margin-top: 0px;
}

.img-dongle {
  height: 900px;
  transform: scale(0.4);
  margin-top: -30px;
}

.img-iplug {
  height: 1300px;
  transform: scale(0.5);
  margin-top: -30px;
}

/* Responsiveness */
/* Mobile view adjustments */
@media (max-width: 600px) {

  .carousel-item img {
    margin-top: -30px;
  }

  .carousel-label-ceo {
    top: 305px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    position:fixed;
    z-index:999999;
    width:100%;
  }
  
  .carousel-label {
    top: 315px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    position:fixed;
    z-index:999999;
    width:100%;
  }
  
  .carousel button.prev,
  .carousel button.next {
    width: 36px;         /* slightly smaller */
    height: 36px;
    font-size: 15px;     /* smaller icon */
    background-color: rgba(0, 0, 0, 0.4); /* lighter overlay */
  }

  .carousel button.prev { left: 6px; }
  .carousel button.next { right: 6px; }

  /* Make them more thumb-friendly */
  .carousel button.prev:active,
  .carousel button.next:active {
    transform: scale(0.95);
    background-color: rgba(0, 0, 0, 0.6);
  }

  .img-ceo {
    height: 400px;
  }

  .img-cto {
    height: 420px;
    transform: scale(0.7);
    margin-top: 0px;
  }

   /* Header */
  .header-top {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .header-actions {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .lang-switcher select {
    width: 100%;
    font-size: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  /* Sections */
  section {
    padding: 20px 15px;
    margin: 20px 10px;
  }

  .service, .team-member {
    flex: 1 1 100%;
    padding: 15px;
  }

  /* Carousel */
  .carousel {
    height: 345px; /* smaller height for mobile */
  }

  .carousel .prev,
  .carousel .next {
    padding: 8px 12px;
  }

  /* Encart / Contact */
  .encart {
    min-width:468px;
    padding: 20px;
  }

  .contact {
    max-width: 100%;
  }

  .contact input,
  .contact textarea {
    font-size: 1rem;
  }

  .contact button {
    font-size: 1rem;
    padding: 12px;
  }

  /* General container layout */
  .container {
    flex-direction: column;
  }

  .col {
    flex: 1 1 100%;
  }

  /* Reduce gaps for mobile */
  .container, .header-top, .header-actions, .contact {
    gap: 8px;
  }
  
}



/* === ENCADRE CONTACT === */
.encart {
  width: 95%;
  margin: 20px auto;
  background-image: linear-gradient(
    23deg,
    hsl(120, 100%, 75%) 0%, 
    hsl(120, 90%, 60%) 20%, 
    hsl(120, 80%, 50%) 40%, 
    hsl(120, 70%, 40%) 60%, 
    hsl(120, 53%, 48%) 80%, 
    hsl(120, 40%, 38%) 100%
  );
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  padding: 24px;
}

/* === CONTACT SECTION === */
.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-card {
  background: var(--card);
  max-width: 600px;
  margin: auto;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
}

.contact-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent, #0066cc);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.contact-info a {
  color: var(--accent, #0066cc);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* === GENERAL LAYOUT === */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.col { flex: 1 1 calc(30% - 10px); }

.logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: conic-gradient(from 210deg, var(--accent), #72ffd1, var(--accent));
  display: grid;
  place-items: center;
  color: var(--bg);
  font-weight: 800;
}

.label { color: var(--accent); }
.value { color: var(--text); }

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
