/* === Process Banner Section === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Mulish', sans-serif;
}

/* ===============================
   CUSTOMER SPEAK SECTION
=============================== */
.customer-speak {
  padding: 90px 80px;
  background: #fff;
}

.customer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left content */
.customer-content {
  flex: 1;
  color: #000;
  margin-top: 5%;
}

.customer-content h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 25px;
  animation: fadeUp 0.8s ease forwards;
}

.customer-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
  animation: fadeUp 1s ease forwards;
}

.customer-author {
  font-size: 15px;
  color: #000;
  font-weight: 600;
  animation: fadeUp 1.2s ease forwards;
}

/* Right image */
.customer-image {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 9%;
}

.customer-image img {
  width: 93%;
  max-width: 500px;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(60px);
  animation: slideIn 1s ease-out forwards;
  animation-delay: 0.3s; /* small delay so it feels natural */
}

/* Keyframes */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===============================
   TABLET & SMALL LAPTOP (max-width:1024px)
=============================== */
@media (max-width: 1024px) {
  .customer-speak {
    padding: 70px 50px;
  }

  .customer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }

  .customer-content {
    margin-top: 25%;
  }

  .customer-content h2 {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .customer-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .customer-author {
    font-size: 14px;
  }

  .customer-image {
    margin-top: 0;
    justify-content: center;
  }

  .customer-image img {
    width: 85%;
    max-width: 400px;
    animation: none; /* prevents re-animation on resize */
    opacity: 1;
    transform: none;
  }
}

/* ===============================
   MOBILE PHONES (max-width:600px)
=============================== */
@media (max-width: 600px) {
  .customer-speak {
    padding: 60px 25px;
  }

  .customer-container {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }

  .customer-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
    width: 100%;
  }

  .customer-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .customer-author {
    font-size: 13px;
  }

  .customer-image img {
    width: 95%;
    max-width: 320px;
    border-radius: 6px;
  }
}


/* ==========================
   CUSTOMER SPEAK SECTION
========================== */
.customer-speak {
  background: #f9f9f9;
  padding: 36px 20px;
  text-align: center;
 }

.customer-speak-container {
  max-width: 1200px;
  margin: 0 auto;
}

.customer-speak h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 50px;
  margin-right: 56%;
}

/* Grid layout */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Card structure */
.customer-card {
  /* background: #fff; */
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 6px 20px rgba(0,0,0,0.1); */
  transition: transform 0.3s ease;
  cursor: pointer;
}

.customer-card:hover {
  transform: translateY(-5px);
}

/* Image wrapper */
.image-container {
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
  object-fit: cover;
}

.customer-card:hover img {
  transform: scale(1.1);
}

/* Overlay on hover */
.overlay {
  position: absolute;
  top: 17px;
  left: 17px;
  right: 17px;
  bottom: 17px;
  background: #781111CC;
  color: #fff;
  opacity: 0;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: opacity 0.4s ease;
}

.image-container:hover .overlay {
  opacity: 1;
}

/* Overlay content */
.overlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.overlay p {
  font-size: 14px;
  line-height: 1.5;
}

/* Info below image */
.customer-info {
  padding: 15px 10px 25px;
  text-align: left;
}

.customer-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

.customer-info p {
  font-size: 14px;
  color: #555;
}


/* ===============================
   TABLET & SMALL LAPTOP (max-width:1024px)
=============================== */
@media (max-width: 1024px) {
  .customer-speak {
    padding: 50px 40px;
  }

  .customer-speak h2 {
    font-size: 28px;
    margin-bottom: 40px;
    margin-right: 0; /* Center the heading */
    text-align: center;
  }

  .customer-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .overlay {
    padding: 20px;
  }

  .overlay h3 {
    font-size: 17px;
  }

  .overlay p {
    font-size: 13px;
    line-height: 1.5;
  }

  .customer-info {
    padding: 12px 10px 20px;
    text-align: center;
  }

  .customer-info h4 {
    font-size: 15px;
  }

  .customer-info p {
    font-size: 13px;
  }
}

/* ===============================
   MOBILE PHONES (max-width:600px)
=============================== */
@media (max-width: 600px) {
  .customer-speak {
    padding: 40px 20px;
  }

  .customer-speak h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    margin-right: 0;
  }

  .customer-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .image-container img {
    width: 100%;
    height: auto;
  }

  .overlay {
    padding: 18px;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .overlay h3 {
    font-size: 16px;
  }

  .overlay p {
    font-size: 13px;
  }

  .customer-info {
    padding: 10px 5px 18px;
    text-align: center;
  }

  .customer-info h4 {
    font-size: 14px;
  }

  .customer-info p {
    font-size: 12px;
  }
}


