body {
  margin: 0;
  font-family: "Inter", sans-serif;
}


.works-section {
  padding: 50px 0;
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.title-block {
  text-align: center;
  max-width: 450px;
}

.title-block h2 {
  font-size: 45px;
  margin: 0;
}

.title-block p {
  font-size: 14px;
  color: #333;
  margin-top: 8px;
}



.works-slider {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  padding: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.works-slider::-webkit-scrollbar {
  display: none;
}
.work-card {
  min-width: 280px;
  height: 520px;
  border-radius: 30px;
  border-bottom: 2px solid rgb(192, 166, 49);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* zoom + fill */
  object-position: top;    /* prevent top cropping */
  transform: scale(1);  /* 8% zoom */
  transition: 0.4s ease-in-out;
}


/* ---- Dune Dark Card ---- */

.dark-card {
  background-color: #072428;
  padding: 25px;
  color: white;
}

.dark-card img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.25;
  height: 100%;
}

.dark-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.dark-card p {
  font-size: 14px;
  line-height: 1.4;
}

.tags {
  margin-top: 20px;
}

.tags span {
  background: rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  margin-right: 6px;
  border-radius: 20px;
  font-size: 12px;
}

.arrow-small {
  position: absolute;
  right: 25px;
  bottom: 25px;
  font-size: 22px;
  opacity: 0.8;
}

/* ----- Responsive ----- */

@media (max-width: 768px) {
  .title-block h2 {
    font-size: 35px;
  }
  .work-card {
    min-width: 240px;
    height: 450px;
  }
}


/* Modern Project Cards */
.work-card.modern {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-width: 280px;
  height: 480px;
  flex-shrink: 0;
  border-bottom: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease;
  text-decoration: none;
  color: inherit;
}

.work-card.modern:hover {
  transform: translateY(-6px);
}

.work-card.modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.work-card.modern:hover img {
  transform: scale(1.06);
}

/* Darker Overlay for Light Images */
.project-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.5), rgba(0,0,0,0));
  color: #fff;
}

.project-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.project-info p {
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.95;
}

/* Mobile */
@media (max-width: 768px) {
  .work-card.modern {
    min-width: 220px;
    height: 400px;
  }

  .project-info h3 {
    font-size: 16px;
  }

  .project-info p {
    font-size: 12px;
  }
}
.works-slider-wrapper {
  position: relative;
  max-width: 100%;
  padding: 0 20px; /* horizontal spacing now in wrapper */
}


.arrow-btn {
  position: absolute;
  top: 55%;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  padding: 12px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop: keep arrows 20px from edges */
.left-arrow {
  left: 0;
}

.right-arrow {
  right: 0;
}
@media (max-width: 768px) {
  .arrow-btn {
  top: 55%;
  padding: 0px;
  }

  .left-arrow {
    left: 10px;              /* tighter */
  }

  .right-arrow {
    right: 10px;
  }
}



.arrow-btn:hover {
  background: rgba(0,0,0,0.6);
}



.arrow-btn svg {
  display: block;
  width: 24px;
  height: 24px;
}