/* ========== HERO ========== */
.hero {
  margin-top: 6px;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 1fr);
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  max-width: 540px;
  font-size: clamp(3.4rem, 5vw, 5rem);
  line-height: 1.06;
  margin-bottom: 28px;
}

.hero-content p {
  max-width: 470px;
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 42px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.hero-main-image {
  width: 100%;
  max-width: 640px;
}

.hero-card {
  position: absolute;
  z-index: 2;
}

.hero-card-1 {
  width: 230px;
  top: 10px;
  left: 20px;
}

.hero-card-2 {
  width: 220px;
  right: 8px;
  bottom: 18px;
}

/* ========== CLIENT LOGOS ========== */
.clients {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.clients a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clients img {
  height: 28px;
  opacity: 0.48;
  filter: grayscale(100%);
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.clients img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ========== RECENT PROJECTS ========== */
.recent-projects {
  margin-top: 140px;
}

.recent-projects h2 {
  margin-bottom: 52px;
  color: var(--color-dark);
}

.recent-projects .projects-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.recent-projects .project-card img {
  height: 214px;
}

.recent-projects .project-card-content {
  min-height: 196px;
}

/* ========== TESTIMONIAL ========== */
/* ========== TESTIMONIAL ========== */
.testimonial {
  margin-top: 140px;
}

.testimonial-content {
  position: relative;
  background-color: var(--color-dark);
  text-align: center;
  padding: 92px 84px;
  overflow: hidden;
}

.testimonial-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.testimonial-waves circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.2;
  stroke-dasharray: 8 12;
}

.testimonial-content h2,
.testimonial-content p,
.testimonial-profile {
  position: relative;
  z-index: 2;
}

.testimonial-content h2 {
  color: var(--color-white);
  max-width: 760px;
  margin: 0 auto 44px;
  font-size: 3rem;
  line-height: 1.25;
}

.testimonial-content p {
  color: var(--color-yellow);
  font-size: 1.75rem;
  line-height: 1.45;
  max-width: 860px;
  margin: 0 auto 50px;
}

.testimonial-profile {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.testimonial-profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.testimonial-profile h4 {
  color: var(--color-cyan);
  font-size: 1.55rem;
  margin-bottom: 2px;
}

.testimonial-profile span {
  color: var(--color-white);
  font-size: 1.05rem;
}

.memoji {
  position: absolute;
  width: 84px;
  z-index: 1;
}

.memoji-1 {
  top: 34px;
  left: 34px;
}

.memoji-2 {
  top: 34px;
  right: 34px;
}

.memoji-3 {
  bottom: 34px;
  left: 34px;
}

.memoji-4 {
  bottom: 34px;
  right: 34px;
}

/* ========== SERVICES ========== */
.services {
  margin-top: 140px;
}

.services h2 {
  margin-bottom: 52px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.service-card {
  background-color: var(--color-white);
  padding: 42px 34px;
  box-shadow: var(--card-shadow);
  min-height: 374px;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 26px rgba(13, 15, 24, 0.24);
}

.service-card img {
  width: 78px;
  margin-bottom: 30px;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.9rem;
  line-height: 1.3;
}

.service-card p {
  margin-bottom: 30px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.service-card a {
  color: var(--color-primary);
  font-weight: 600;
}

.service-card a:hover {
  text-decoration: underline;
}

/* ========== NEWSLETTER TUNE ========== */
.newsletter {
  margin-top: 120px;
  padding: 78px 40px 84px;
}

.newsletter h2 {
  font-size: 3.4rem;
  margin-bottom: 18px;
}

.newsletter p {
  font-size: 1.65rem;
  margin-bottom: 44px;
}

.newsletter-form {
  gap: 18px;
}

.input-wrapper {
  min-width: 410px;
  padding: 18px 22px;
}

/* ========== RESPONSIVE HOME ========== */
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 36px;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 4.4vw, 4.3rem);
  }

  .hero-content p {
    font-size: 1.18rem;
  }

  .hero-main-image {
    max-width: 560px;
  }

  .hero-card-1 {
    width: 200px;
    left: 8px;
  }

  .hero-card-2 {
    width: 192px;
    right: 2px;
  }

  .recent-projects .projects-container,
  .services-container {
    gap: 24px;
  }

  .service-card {
    padding: 34px 24px;
  }

  .service-card h3 {
    font-size: 1.55rem;
  }

  .service-card p {
    font-size: 1.03rem;
  }

  .testimonial-content h2 {
    font-size: 2.5rem;
  }

  .testimonial-content p {
    font-size: 1.55rem;
  }

  .orbit {
    width: 860px;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 28px;
    min-height: 460px;
  }

  .hero-content h1 {
    max-width: 480px;
  }

  .hero-content p {
    max-width: 430px;
  }

  .hero-main-image {
    max-width: 500px;
  }

  .hero-card-1 {
    width: 176px;
    top: 4px;
    left: 0;
  }

  .hero-card-2 {
    width: 176px;
    right: 0;
    bottom: 10px;
  }

  .clients {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    align-items: center;
    row-gap: 38px;
    column-gap: 90px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .clients img {
    height: 34px;
  }

  .recent-projects .projects-container,
  .services-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .recent-projects .project-card-content {
    min-height: 208px;
  }

  .service-card {
    min-height: 350px;
  }

  .testimonial-content {
    padding: 74px 32px;
  }

  .testimonial-content h2 {
    font-size: 2.2rem;
  }

  .testimonial-content p {
    font-size: 1.32rem;
  }

  .memoji {
    width: 74px;
  }
}

@media (max-width: 900px) {
  .testimonial-content {
    padding: 82px 64px;
  }

  .testimonial-content h2 {
    font-size: 2.45rem;
  }

  .testimonial-content p {
    font-size: 1.4rem;
  }

  .memoji {
    width: 70px;
  }
}



@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    text-align: center;
  }

  .hero-content h1,
  .hero-content p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-images {
    min-height: 460px;
  }

  .hero-main-image {
    max-width: 540px;
  }

  .hero-card-1 {
    left: 30px;
  }

  .hero-card-2 {
    right: 20px;
    bottom: 8px;
  }

  .recent-projects .projects-container,
  .services-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .recent-projects .project-card-content,
  .service-card {
    min-height: auto;
  }

  .testimonial-content {
    padding: 64px 24px;
  }

  .orbit {
    width: 720px;
  }

  .newsletter {
    padding: 68px 26px 72px;
  }

  .newsletter h2 {
    font-size: 2.7rem;
  }

  .newsletter p {
    font-size: 1.35rem;
  }
}

@media (max-width: 780px) {
  .testimonial-content {
    padding: 76px 56px;
  }

  .memoji {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 0;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-main-image {
    max-width: 100%;
  }

  .hero-images {
    min-height: 380px;
  }

  .hero-card {
    width: 132px;
  }

  .hero-card-1 {
    top: -8px;
    left: 0;
  }

  .hero-card-2 {
    right: 0;
    bottom: -6px;
  }

  .clients {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    row-gap: 42px;
    column-gap: 70px;
    max-width: 680px;
  }

  .clients img {
    height: 32px;
  }

  .recent-projects,
  .services,
  .testimonial {
    margin-top: 110px;
  }

  .recent-projects h2,
  .services h2 {
    margin-bottom: 34px;
  }

  .testimonial-content {
    padding: 72px 44px;
  }

  .testimonial-content h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .testimonial-content p {
    font-size: 1.12rem;
    margin-bottom: 40px;
  }

  .testimonial-profile h4 {
    font-size: 1.2rem;
  }

  .testimonial-profile span {
    font-size: 0.95rem;
  }

.memoji {
  display: none;
}
  .testimonial-content h2 {
    font-size: 2rem;
  }

  .testimonial-content p {
    font-size: 1.12rem;
    margin-bottom: 40px;
  }

  .testimonial-profile h4 {
    font-size: 1.2rem;
  }

  .testimonial-profile span {
    font-size: 0.95rem;
  }

  .orbit {
    width: 560px;
    opacity: 0.13;
  }

  .memoji {
    width: 56px;
  }

  .memoji-1,
  .memoji-2 {
    top: 18px;
  }

  .memoji-3,
  .memoji-4 {
    bottom: 18px;
  }

  .memoji-1,
  .memoji-3 {
    left: 10px;
  }

  .memoji-2,
  .memoji-4 {
    right: 10px;
  }

  .newsletter h2 {
    font-size: 2.25rem;
  }

  .newsletter p {
    font-size: 1.15rem;
  }

  .input-wrapper {
    min-width: 100%;
  }
}

@media (max-width: 800px) {
  .memoji {
    display: none;
  }
}