/* ===== Section Wrapper ===== */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  font-family: "Poppins", sans-serif;
}

.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  color: #0056b3;
  font-weight: 700;   font-family: 'Quicksand', cursive;
}

.intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  color: #333;
}

/* ===== Grid Layout ===== */
#domestic {
            padding: 80px 0;
        }

.griditem {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
}




/* ===== Card Style ===== */
.item {
 display: flex;
 flex-direction: column;

  overflow: hidden;
 margin-top: 30px;
  /* background: #fff; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.item:hover {
  transform: translateY(-5px);

}

.item img {
  width: 100%;
  height: 280px;
 
  object-fit: cover;
 border-radius: 15px;
  display: block;
  transition: transform 0.4s ease;
}

/* .item:hover img {
  transform: scale(1.05);
} */

/* ===== Overlay Content ===== */
.overlay {
 
  width: 100%;
 
}

.overlay h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.overlay p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.overlay a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.3s ease;
}

.overlay a:hover {
  background: #c0392b;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .grid-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  
}

.intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  color: #333;
}
  .grid, .grid-row {
    display: block;
  }

  .item {
    margin-bottom: 20px;
  }

  .item img {
    min-height: 300px;
  }

  .overlay {
    width: 100%;
    padding: 20px;
  }
}

/* ===== Travel Quote Card ===== */
.travel-quote {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.quote-box {
  position: relative;
  width: 70%;
  
  overflow: hidden;
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);  */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-box:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); */
}

.quote-box img {
  width: 100%;
  height: 350px;
  object-fit: cover;border-radius: 25px;
  filter: brightness(65%);
}

.quote-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 20px;
}

.quote-text h3 {
  font-size: 26px;
  line-height: 1.5;
  font-style: italic;
  max-width: 85%;
  margin: auto;
}

@media (max-width: 768px) {
  .quote-box {
    width: 90%;
  }

  .quote-text h3 {
    font-size: 20px;
  }
}
