:root {
  --primaryColor: #000A5B;
  --middleColor: #325c9b;
  --helperColor: #4A7CD2;
  --lightHelper: #DBDBDB;
  --transparentColor: #66d2cf88;
  --shadow: rgba(0, 0, 0, 0.15);
  --whatsappColor: #25D366;
  --white: #fff;
  --blue: #1877F2;
  --green: #25D366;
  --gray: #f8f8f8;
}

/* ================= Base ================= */
.clients-overview {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
  padding: 20px;
  animation: fadeIn 1s ease-in-out;
}

.clients-overview-image {
  width: 40%;
  border-radius: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray), var(--lightHelper));
  animation: slideInLeft 1s ease forwards;
  opacity: 0;
}

.clients-overview-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.clients-overview-image:hover img {
  transform: scale(1.05) rotate(-1deg);
}

.clients-overview-details {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInRight 1s ease forwards;
  opacity: 0;
}

.clients-overview-details h1 {
  font-size: 2.5rem;
  color: var(--primaryColor);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}
.clients-overview-details h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--helperColor);
  margin-top: 8px;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.clients-overview-details h1:hover::after {
  width: 100%;
}

.clients-overview-details p {
  font-size: 1.3rem;
  color: var(--middleColor);
  line-height: 1.9rem;
  text-align: justify;
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

/* ================= Animations ================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ================= Tablet ================= */
@media (max-width: 1024px) {
  .clients-overview {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .clients-overview-image,
  .clients-overview-details {
    width: 90%;
  }
  .clients-overview-details h1 {
    font-size: 2rem;
  }
  .clients-overview-details p {
    font-size: 1.1rem;
  }
}

/* ================= Mobile ================= */
@media (max-width: 600px) {
  .clients-overview {
    margin-top: 30px;
    gap: 25px;
    padding: 10px;
  }
  .clients-overview-image {
    border-radius: 20px;
  }
  .clients-overview-details h1 {
    font-size: 1.6rem;
  }
  .clients-overview-details p {
    font-size: 1rem;
    line-height: 1.6rem;
  }
}
