* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: #f0f0f0;
}

/* HEADER SECTION */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #fff;
  flex-wrap: wrap;
}

.logo {
  font-size: 25px;
  color: orchid;
  font-weight: bold;
}

.logo span {
  color: #333;
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #444;
}

/* HERO SECTION - Fixed image sizing */
.hero {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 100px auto;
}

.hero-img {
  width: 100%;
  max-width: 80px; /* Reduced maximum size */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto; /* Center the image */
  display: block;
}

.hero-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-60%);
  color: #f0f0f0;
  text-align: center;
}

.hero h1 {
  font-size: 30px;
  color: bisque;
}

.hero p {
  font-size: 20px;
  margin: 10px 0;
  color: #444;
}

.search {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.search input,
.search select {
  padding: 8px 10px;
  border-radius: 5px;
  border: none;
}

.search button {
  background: orange;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* POPULAR TOURS SECTION - Fixed photo sizing */
.parull {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;
  padding: 30px;
  margin: 90px auto;
  max-width: 1200px;
  background-color: #fff;
  border-radius: 10px;
  margin-top: 170px;
}

.university {
  flex: 1 1 500px;
  min-width: 300px;
}

.university h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.university p,
.university li {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.university ul {
  margin-left: 20px;
}

.university button {
  padding: 10px 20px;
  background-color: orange;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.university button:hover {
  background-color: darkorange;
}

.photho img { /* Corrected class name from photh0 */
  width: 100%;
  max-width: 600px; /* Reduced maximum size */
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* DESTINATION SECTION */
.destination-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
  margin-top: 170px;
}

.destination-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

.destination-section p {
  color: #555;
  margin-bottom: 30px;
  font-size: 16px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-items: center;
}

.dhoom {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  transition: transform 0.3s ease;
}

.dhoom:hover {
  transform: scale(1.03);
}

.dhoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dhoom span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/* FEATURES SECTION */
.features-section {
  max-width: 1200px;
  padding: 0 20px;
  margin: 150px auto 60px;
  margin-top: 170px;
}

.joyonto {
  text-align: center;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 100px;
  justify-content: center;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 18px 24px;
  width: 100%;
  max-width: 520px;
  min-height: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card span.icon {
  font-size: 36px;
  display: inline-block;
  margin-bottom: 10px;
}

.card h3 {
  margin: 8px 0;
  font-size: 22px;
  color: #222;
}

.card p {
  color: #666;
  font-size: 15px;
  line-height: 1.4;
}

.card:nth-child(1) {
  background-color: #fff0db;
}

.card:nth-child(2) {
  background-color: #e4f0ff;
}

.card:nth-child(3) {
  background-color: #f9f0ff;
}

.center-box {
  grid-column: 1 / 3;
  justify-self: center;
}

/* DEALS SECTION */
.deals-section {
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
  margin-bottom: 170px;
  margin-top: 180px;
}

.deals-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.deal-card {
  position: relative;
  width: 100%;
  height: 370px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.deal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-box {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 340px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
}

.deal-card:nth-child(2) .overlay-box {
  left: 30px;
  right: auto;
}

.overlay-box ul {
  display: flex;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 8px;
  list-style: none;
  padding: 0;
}

.overlay-box h3 {
  font-size: 18px;
  margin: 5px 0;
}

.overlay-box p {
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}

.price {
  color: orange;
  font-weight: bold;
}

.overlay-box button {
  margin-top: 8px;
  padding: 6px 12px;
  background: orange;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.see-all-btn {
  text-align: center;
  margin-top: 25px;
}

.see-all-btn button {
  width: 200px;
  height: 50px;
  background: orange;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

/* IMAGE SECTION */
.image-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  margin-top: 170px;
}

.image-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.text-box {
  max-width: 500px;
}

.text-box h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.text-box p,
.text-box li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.text-box ul {
  padding-left: 20px;
  margin: 15px 0;
}

.text-box button {
  padding: 10px 20px;
  background: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.image-box {
  position: relative;
}

.image-box img {
  width: 500px;
  border-radius: 10px;
}

.image-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 1px 1px 5px black;
}

/* NEWSLETTER SECTION */
.newsletter-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  margin-top: 170px;
}

.newsletter-content {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.form-box {
  max-width: 480px;
  padding: 28px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px #eee;
}

.form-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.form-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 18px;
}

.form-box input,
.form-box button {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.form-box button {
  background: orange;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.promo-box {
  position: relative;
}

.promo-box img {
  width: 500px;
  border-radius: 10px;
}

.discount-tag {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: orange;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  transform: rotate(-10deg);
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* FOOTER SECTION */
.main-footer {
  background-color: #aaa6a6;
  max-width: 1200px;
  margin: 80px auto;
  padding: 80px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #525050;
  margin-top: 170px;
  border-radius: 12px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 30px;
  height: auto;
}

.footer-logo h2 {
  font-size: 24px;
  margin: 0;
}

.footer-logo span {
  color: orange;
}

.main-footer p {
  font-size: 14px;
  color: #555;
  max-width: 600px;
  margin: 12px auto;
  line-height: 1.5;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.partner-logos img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: 0.3s;
  cursor: pointer;
}

.partner-logos img:hover {
  transform: scale(1.1);
}

hr {
  margin: 30px auto;
  width: 80%;
  border: 0.5px solid #ccc;
}

.copyright {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .hero-img {
    max-width: 700px;
  }
  
  .photho img {
    max-width: 500px;
  }
  
  .image-box img,
  .promo-box img {
    width: 400px;
  }
}

@media (max-width: 992px) {
  header {
    padding: 15px 30px;
  }
  
  .hero {
    margin: 50px auto;
  }
  
  .hero-text {
    position: static;
    transform: none;
    margin-top: 20px;
    color: #333;
  }
  
  .hero h1 {
    color: #222;
  }
  
  .parull,
  .destination-section,
  .features-section,
  .deals-section,
  .image-section,
  .newsletter-section,
  .main-footer {
    margin-top: 80px;
    margin-bottom: 80px;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .center-box {
    grid-column: auto;
  }
  
  .overlay-box {
    width: 90%;
    left: 5%;
    right: 5%;
  }
  
  .image-content,
  .newsletter-content {
    justify-content: center;
  }
  
  .text-box {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .search {
    flex-direction: column;
    align-items: center;
  }
  
  .search input,
  .search select,
  .search button {
    width: 100%;
    max-width: 300px;
  }
  
  .university,
  .text-box,
  .form-box {
    min-width: 100%;
  }
  
  .deal-card {
    height: 300px;
  }
  
  .image-box img,
  .promo-box img {
    width: 100%;
  }
  
  .discount-tag {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
  }
}

@media (max-width: 576px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  nav a {
    margin: 0;
  }
  
  .hero {
    padding: 20px 10px;
  }
  
  .parull {
    gap: 30px;
    padding: 20px;
  }
  
  .destination-grid {
    grid-template-columns: 1fr;
  }
  
  .deals-section {
    margin-top: 60px;
    margin-bottom: 60px;
  }
  
  .overlay-box {
    padding: 15px;
  }
  
  .main-footer {
    padding: 50px 20px;
  }
  
  .partner-logos {
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 20px;
  }
  
  .hero p {
    font-size: 14px;
  }
  
  .university h2,
  .destination-section h2,
  .joyonto h2,
  .deals-section h2,
  .text-box h2 {
    font-size: 22px;
  }
  
  .card {
    padding: 15px;
    min-height: auto;
  }
  
  .form-box {
    padding: 20px;
  }
}

img {
  max-inline-size: 100%;
}