/* Comparaison harmonisée avec bleu légèrement plus foncé et intégration fluide + Animation SVG Zipblock */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to bottom right, #0d1b2a, #1e3c72, #2a5298,#1f5fbe);
  background-attachment: fixed;
  background-size: cover;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow-x: hidden;
  transition: margin-top 0.3s ease;
}


body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to top right, #5faee3, #a3d9f8);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 1s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 6, 108, 0.5);
  transition: none;
  transform: none;
  backdrop-filter: blur(10px);
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0.8rem;
  min-height: 38px;
}

.logo-img {
  height: 48px;
  width: auto;
}

.search-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 320px;
}

.search-bar {
  width: 100%;
  padding: 0.3rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  font-size: 0.9rem;
  outline: none;
  background: #f9f9f9;
  transition: border-color 0.3s ease;
  color: #000;
}

.search-bar:focus {
  border-color: #00b4d8;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
}

.nav-center {
  display: flex;
  justify-content: center;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 0.5rem 0;
  position: fixed;
  top: 60px; /* Ajusté pour descendre sous la barre */
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  z-index: 999;
}

.nav-center.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-center ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #0d1b2a;
  font-weight: 600;
  position: relative;
  padding: 0.2rem 0;
  display: inline-block;
  text-align: center;
  font-size: 1.0rem;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00b4d8;
  left: 0;
  bottom: -2px;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
  @media (max-width: 768px) {
  .nav-center {
    display: none !important;
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .nav-center.show {
    display: flex !important;
    flex-direction: column;
    background: #f1f1f1;
    padding: 1rem;
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .header-bar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.3rem 0.8rem;
  }

  .search-container {
    max-width: 100%;
  }

  .nav-center ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0.6rem;
  }
}

.hero {
  background: transparent;
  text-align: center;
  padding: 15rem 1rem 8rem;
  position: relative;
  overflow: hidden;
  color: #0d1b2a;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 119, 182, 0.9), rgba(0, 180, 216, 0.6),transparent);
  clip-path: polygon(0 0, 100% 100%, 0% 100%);
  z-index: 1;
  transition: opacity 1s ease;
  opacity: 0.7;
}

.hero h2 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 6px rgb(0, 0, 0);
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.40rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #0084ff;
  position: relative;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.btn {
  background: linear-gradient(to right, #00b4d8, #0077b6);
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
  position: relative;
  z-index: 2;
}

.btn:hover {
  background: linear-gradient(to right, #0077b6, #023e8a);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.5);
}

.section2 {
  padding: 5rem 2rem;
  margin: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0, 180, 216, 0),rgba(0, 180, 216, 0.6), rgba(0, 119, 182, 0.9), transparent);
  animation: fadeInUp 1s ease forwards;
  background-clip: padding-box;
}

.section2::before,
.section2::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4rem;
  z-index: 1;
}

.section2::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 119, 182, 0.5), rgba(0, 119, 182, 0));
}

.section2::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 119, 182, 0.5), rgba(0, 119, 182, 0));
}

.section2 h3,
.section2 p,
.section2 a,
.section2 li {
  color: #ffffff;
}

.section2 .btn {
  background-color: #0077b6;
  border: none;
}

.section2 .btn:hover {
  background-color: #0095d9;
  transform: scale(1.05);
}

.section2.visible {
  opacity: 1;
  transform: translateY(0);
}


.transformation-benefits {
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: #004cb5;
}

.transformation-benefits h4 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #00384e;
  text-shadow: 0 1px 2px rgb(255, 255, 255);
}
.problem-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}
.problem-item {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}
.problem-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.problem-consequence {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.05rem;
  background: rgba(0,0,0,0.3);
  padding: 1.5rem;
  border-radius: 16px;
}
.benefit-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.service-box {
  background: linear-gradient(145deg, #0077b6, #00b4d8);
  padding: 2rem;
  border-radius: 16px;
  flex: 1 1 250px;
  max-width: 320px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.service-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}
.service-box p {
  font-size: 0.95rem;
  line-height: 1.5;
}
.benefit-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  background: linear-gradient(to right, rgba(0, 108, 165, 0.689));
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 140, 255, 0.15);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.08);
  transition: background 0.3s ease;
}

.benefit-list .icon {
  font-size: 1.4rem;
  margin-right: 0.8rem;
  color: #00b4d8;
}

.tech-cta-box {
  margin-top: 3rem;
  background: linear-gradient(to right, #0a5e8c, #013077);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(121, 175, 255, 01);
}

.tech-cta-box p {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-js-enabled] .section:not(.visible) {
  opacity: 0;
  transform: translateY(60px);
}

html[data-js-enabled] .section.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, rgba(120, 185, 232, 0.6), rgba(94, 158, 202, 0.4));
  border-radius: 40px;
  clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.image-transformer-container {
  display: flex;
  flex-direction: column;
  overflow: hidden; /* sécurise l’ensemble */
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: linear-gradient(145deg, #e0f7ff, #90caf9, #06367e);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 115, 255, 0.3);
}

.image-transformer img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  transition: opacity 0.5s ease;
}

.section-title {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.section-intro,
.transform-label,
.transform-description {
  flex: 1 1 45%;
  color: #f1f9ff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
/*style2 retouche*/
.zipblock-evolution-section {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom right, #32aaff, #135890, #06367e,transparent);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.656);
}

.evolution-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1300px;
  margin: auto;
  flex-wrap: nowrap; /* <- for desktop & tablet */
}

.evolution-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-clip-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 28px;
  overflow: hidden; /* ✅ coupe tout ce qui dépasse */
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* optionnel */
}

.transform-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.transform-image.active {
  opacity: 1;
}



.evolution-text-wrapper {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  transition: padding 0.4s ease, font-size 0.4s ease;
}


.evolution-title {
  font-size: clamp(2rem, 4vw, 3rem); /* ⇦ responsive automatiquement */
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.evolution-step-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.evolution-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.evolution-benefits li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #f1f9ff;
}


.zipblock-evolution-section {
  padding: 4rem 2rem;
  overflow: hidden;
}

.evolution-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.evolution-image-wrapper {
  flex: 1 1 45%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.evolution-text-wrapper {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: #ffffff;
  padding: 0;
}

.image-clip-container {
  width: 100%;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 400px;
}

.evolution-image-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #e0f7ff;
  text-align: center;
  font-style: italic;
}

.transform-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.transform-image.active {
  opacity: 1;
  z-index: 1;
}

.zipblock-label-transition {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, #00c3ff, #005bea);
  color: white;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.zipblock-label-transition.visible {
  opacity: 1;
}

.evolution-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
}

.highlight {
  font-weight: 550;
  background: linear-gradient(90deg, #00e1ff, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.evolution-step-text {
  position: relative;
  min-height: 7rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.step-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.step-content.active {
  opacity: 1;
  position: relative;
}

.subline {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: #c9ebff;
}

.evolution-impact {
  background: rgba(0, 195, 255, 0.1);
  padding: 1.2rem 1.4rem;
  border-left: 5px solid #00c3ff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.impact-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  color: #00eaff;
}

.impact-title {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.btn-transition {
  background: linear-gradient(to right, #00c3ff, #005bea);
  color: white;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  margin-top: 1rem;
}

.btn-transition:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 195, 255, 0.4);
}

@media screen and (max-width: 768px) {
  .evolution-columns {
    flex-direction: column;
    gap: 2rem;
  }
  .evolution-image-wrapper,
  .evolution-text-wrapper {
    width: 100%;
  }
  .image-clip-container {
    max-height: 300px;
  }
  .transform-image {
    position: absolute;
  }
}
/*fin du style 2 retouche*/

.transform-label {
  font-weight: bold;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .image-transformer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .image-transformer,
  .section-intro,
  .transform-label,
  .transform-description {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


@keyframes floatImage {
  0% {
    transform: scale(0.85) translateY(-5%);
  }
  100% {
    transform: scale(0.85) translateY(-8%);
  }
}

/* 📱 Très petits smartphones (≤ 360px) */
@media screen and (max-width: 360px) {
  .image-transformer {
    max-width: 160px;
  }
}

/* 📱 Petits smartphones */
@media screen and (min-width: 361px) and (max-width: 479px) {
  .image-transformer {
    max-width: 200px;
  }
}

/* 📱 Smartphones moyens */
@media screen and (min-width: 480px) and (max-width: 584px) {
  .image-transformer {
    max-width: 220px;
  }
}

/* 📱 Téléphones larges ou petites tablettes */
@media screen and (min-width: 585px) and (max-width: 767px) {
  .image-transformer {
    max-width: 240px;
  }
}

/* 📱 Tablettes classiques */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .image-transformer {
    max-width: 280px;
  }
}

/* 💻 Petits laptops */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .image-transformer {
    max-width: 320px;
  }
}

/* 💻 Laptops larges */
@media screen and (min-width: 1200px) and (max-width: 1439px) {
  .image-transformer {
    max-width: 340px;
  }
}

/* 🖥️ Écrans desktop larges */
@media screen and (min-width: 1440px) and (max-width: 1799px) {
  .image-transformer {
    max-width: 380px;
  }
}

/* 🖥️ Très grands écrans */
@media screen and (min-width: 1800px) {
  .image-transformer {
    max-width: 420px;
  }
}

.comparison-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 0;
}

.comparison-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  z-index: 0;
}

.comparison-card {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(120, 185, 232, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  z-index: 2;
  position: relative;
  overflow: hidden;
}

.comparison-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.comparison-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: linear-gradient(to bottom left, rgba(255,255,255,0.05), rgba(0,119,182,0.08));
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: -8px 8px 16px rgba(0, 0, 0, 0.04);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
  position: relative;
  z-index: 2;
}

.comparison-card h4 {
  font-size: 1.5rem;
  color: #0077b6;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 2;
}

.comparison-card p {
  font-size: 1rem;
  color: #e3f2fd;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.tech-description {
  margin-top: 3rem;
  background: linear-gradient(to right, #a3d9f8, #6fb8e9);
  padding: 2rem;
  border-left: 4px solid #00b4d8;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #0d1b2a;
  box-shadow: 0 4px 20px rgba(132, 198, 244, 0.2);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease-in-out;
}

.tech-description:hover {
  background: linear-gradient(to right, #6fb8e9, #58a4d8);
  border-left-color: #0096c7;
}


.section h3 {
  font-size: clamp(2.0rem, 2vw, 2.2rem);
  margin-bottom: 1rem;
  color: #48aafb;
  text-shadow: 0 2px 6px rgb(0, 0, 0);
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 1rem auto 3rem;
  font-size: 1.1rem;
  color: #555;
}

/* Parallax backgrounds for sections */
  .parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  /* Scroll animation with delay */
  .fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Pulsing SVG icon */
  .pulse-icon {
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

.fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .section, .hero, .image-transformer-container, .grid, form {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 1s ease, transform 1s ease;
    }

    .section.visible, .hero.visible, .image-transformer-container.visible, .grid.visible, form.visible {
      opacity: 1;
      transform: translateY(0);
    }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.grid li {
  background: #00629e;
  border-left: 4px solid #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.grid li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.comparison-container,
.transformation-grid,
.comparison-grid,
.comparison-grid-with-arrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.comparison-card,
.before-after {
  background: linear-gradient(to top, #ffffff, #248bcf2f, #ffffffbc);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.comparison-card:hover,
.before-after:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.comparison-card img,
.before-after img,
.sac-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: none;
  padding: 0;
}
.comparison-card h4,
.before-after h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #0055cc;
}

.comparison-card p,
.before-after p {
  font-size: 0.95rem;
  color: #333;
}

.tech-description {
  margin-top: 3rem;
  background: #eef4ff;
  padding: 1.5rem;
  border-left: 4px solid #0055cc;
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
}

.floating-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.arrow-image {
  width: 100px;
  height: auto;
  display: block;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

input, textarea {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #0055cc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 85, 204, 0.1);
}

button[type="submit"] {
  background: #0055cc;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 204, 0.15);
}

button[type="submit"]:hover {
  background: #003f99;
  transform: translateY(-1px);
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 0.95rem;
}

@media screen and (max-width: 1024px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
 
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-center {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 1rem;
  gap: 1rem;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .nav-center.show {
    display: flex;
  }

  .image-transformer {
        width: 100%;
        max-width: 100%;
        min-height: 240px;
      }
      .transform-label {
        font-size: 1.3rem;
      }
      .transform-description {
        font-size: 1rem;
      }
    nav {
    display: none;
    align-items: center;
    top: 20%;
    transform: translateX(-50%);
    background: transparent;
    width: 100%;
    z-index: 1000;
  }

nav.active {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}


nav ul li {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.3s ease forwards;
}

nav ul li:nth-child(1) { animation-delay: 0.1s; }
nav ul li:nth-child(2) { animation-delay: 0.2s; }
nav ul li:nth-child(3) { animation-delay: 0.3s; }
nav ul li:nth-child(4) { animation-delay: 0.4s; }
nav ul li:nth-child(5) { animation-delay: 0.5s; }


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

}

@media screen and (max-width: 480px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  .hero p,
  .section-intro {
    font-size: 1rem;
  }
  nav ul {
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  width: 40%;
  padding: 2rem 1rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  .comparison-card img,
  .before-after img {
    max-height: 180px;
  }
  }
}