/* BASE */

.client-page {
  padding: 60px 20px;
}

.client-section {
  margin-top: 60px;
}

.client-section h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-decoration: underline dotted red;
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;

}

/* HERO */

.client-hero {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.client-subtitle {
  margin-top: 10px;
  opacity: 0.8;
}

.client-meta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* GRID */

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px; /* adjust px as needed */
}

/* PROJECT DETAILS */

.project-description {
  opacity: 0.85;
  margin-bottom: 10px;
}

.project-highlight {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 15px;
}

.project-details {
  padding-left: 20px;
  line-height: 1.6;
}

.project-details ul {
  margin-bottom: 130px;
}

.project-details li {
  margin-bottom: 10px;
}

/* CARD */

.client-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  transition: 0.25s;
}

.client-card:hover {
  transform: translateY(-5px);
}

.client-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.client-card h4 {
  margin-bottom: 10px;
}

.client-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.website-link-button {
  display: block;
  width: fit-content;
  margin: 0 auto; /* centers horizontally */

  background: #ff3b3b;
  padding: 10px 18px;
  border-radius: 6px;

  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
}

/* IMPACT */

.client-impact {
  padding-left: 20px;
}

.client-impact li {
  margin-bottom: 20px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}