.guide-section {
  background: #000;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
}

.guide-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Larger box for big screens */

.guide-box {
  position: relative;
  width: 500px;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.guide-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.guide-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.guide-box:hover .guide-image img {
  transform: scale(1.1);
}

.guide-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  font-weight: 700;
  font-size: 20px;
  padding: 12px 0;
  margin: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  letter-spacing: 0.5px;
}

/* Medium screens */

@media (max-width: 992px) {
  .guide-box {
    width: 320px;
    height: 210px;
  }
}

@media (max-width: 992px) {
  .guide-title {
    font-size: 18px;
  }
}

/* Small screens */

@media (max-width: 576px) {
  .guide-box {
    width: 90%;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .guide-title {
    font-size: 16px;
  }
}

