/*==============================================
  DEVTourism - Clean & Optimized CSS
  No duplicates, well organized
==============================================*/

/*========== GLOBAL STYLES ==========*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*========== HEADER & NAVIGATION ==========*/
.site-header {
  background: linear-gradient(90deg, #3e35d9, #352ed1);
  color: #fff;
  padding: 0.4rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0.5rem;
}

.logo img {
  width: auto;
  height: 80px;
  transform: translateY(12px);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: translateY(12px) scale(1.05);
  filter: brightness(1.1);
}

.main-nav {
  display: flex;
  gap: 1.1rem;
  padding-right: 0.8rem;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0.6rem;
  transition: background 0.3s;
  border-radius: 6px;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.main-nav a.active {
  background-color: transparent;
}

.main-nav a.active:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/*========== HERO SECTION ==========*/
.hero {
  position: relative;
  width: 100%;
  min-height: 260px;
  height: 35vh;
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.4));
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  max-width: 650px;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/*========== CARDS ==========*/
.card,
.destination-card {
  background: #fff;
  border: 2px solid #8fa2ff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover,
.destination-card:hover {
  border-color: #3a32d1;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

.card img,
.destination-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
}

.card h3,
.destination-card h3 {
  color: #3a32d1;
  margin-bottom: 0.5rem;
}

.card p,
.destination-card p {
  color: #333;
  margin-bottom: 1rem;
}

.destination-card {
  width: 100%;
  max-width: 350px;
  min-height: 480px;
}

.card {
  min-height: 380px;
}

/*========== OFFER CARDS ==========*/
.container .offer-card {
  background: #fff;
  border: 2px solid #8fa2ff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 360px;
  margin: 0 auto;
  min-height: 480px;
  width: 100%;
}

.container .offer-card:hover {
  border-color: #3a32d1;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

.container .offer-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.container .offer-card h3 {
  color: #3a32d1;
  margin-bottom: 0.5rem;
}

.container .offer-card p {
  color: #333;
  margin-bottom: 1rem;
}

.container .offer-card .btn {
  background: linear-gradient(90deg, #3a32d1, #5a57ff);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s;
  margin-top: auto;
}

.container .offer-card .btn:hover {
  background: #5b55e0;
}

/*========== BUTTONS ==========*/
.btn,
.pay-btn,
.search-btn,
.submit-btn {
  background: linear-gradient(90deg, #4b45e0, #312dc2);
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.15s ease;
  will-change: transform;
  display: inline-block;
}

.btn:hover,
.pay-btn:hover,
.search-btn:hover,
.submit-btn:hover {
  filter: brightness(0.95);
}

.why-choose .btn:hover,
.hero .btn:hover,
.search-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.18);
}

.card .btn,
.destination-card .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.pay-btn,
.search-btn,
.submit-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
}

/*========== GRIDS ==========*/
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: start;
}

.bali-row,
.brasov-row,
.kyoto-row,
.machupicchu-row,
.santorini-row,
.swissalps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

/*========== GALLERY ==========*/
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: start;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #8fa2ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.12);
  border-color: #3a32d1;
}

.gallery-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #8fa2ff;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-main img:hover {
  transform: scale(1.03);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.gallery-thumbs img {
  width: calc(33.333% - 7px);
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #8fa2ff;
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.gallery-thumbs img:hover {
  border-color: #39f;
  transform: scale(1.05);
}

.two-col > .gallery {
  flex: 1 1 55%;
}

.two-col > .about-text {
  flex: 1 1 45%;
  padding-left: 1rem;
}

/*========== POPUP ==========*/
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup:target {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.popup img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s ease;
}

.popup .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
  cursor: pointer;
  z-index: 1000;
}

.popup .close:hover {
  color: #3a32d1;
}

/*========== FORMS ==========*/
.form-section {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #8fa2ff;
  padding: 1.8rem;
  margin: 2rem auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  max-width: 650px;
}

.form-section h2 {
  color: #3a32d1;
  text-align: center;
  margin-bottom: 1rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid #8fa2ff;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: 0;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2f29b9;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.search-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.search-box .form-row {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.field {
  display: flex;
  flex-direction: column;
  width: 180px;
}

.search-box .form-row .field {
  flex: 1 1 0;
  min-width: 120px;
  max-width: 22%;
}

.field label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/*========== TWO COLUMN LAYOUT ==========*/
.two-col {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.two-col .contact-form,
.two-col .feedback-form {
  flex: 2 1 60%;
  max-width: 720px;
  padding: 1rem;
}

.two-col .contact-info,
.two-col .feedback-info {
  flex: 1 1 32%;
  max-width: 360px;
  padding: 1rem;
}

.two-col .form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.two-col .form input,
.two-col .form select,
.two-col .form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 2px solid #8fa2ff;
  font-size: 0.95rem;
}

.two-col .form textarea {
  min-height: 140px;
}

.two-col .form .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}

/*========== FEATURED SECTION ==========*/
.featured {
  text-align: center;
  margin: 60px auto;
  padding: 40px 20px;
  max-width: 1200px;
}

.featured h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.featured .section-intro {
  font-size: 1rem;
  color: #333;
  margin-bottom: 40px;
}

/*========== WHY CHOOSE ==========*/
.why-choose {
  background: #fff;
  border: 2px solid #8fa2ff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 3rem auto;
  text-align: center;
  max-width: 950px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-choose h2 {
  color: #3a32d1;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.why-choose p {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

/*========== PLAN TRIP ==========*/
.plan-trip {
  background: #fff;
  border: 2px solid #a5c9ff;
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem auto;
  box-shadow: 0 4px 10px rgba(108, 99, 255, 0.08);
  max-width: 1000px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.plan-trip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/fly2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 50%;
  opacity: 0.45;
  filter: contrast(1.08) saturate(1.05) brightness(1.02);
  z-index: 0;
  border-radius: inherit;
}

.plan-trip > * {
  position: relative;
  z-index: 1;
}

.plan-trip h2 {
  color: #3a32d1;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

/*========== BENEFITS ==========*/
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit {
  background: #f4f5ff;
  border: 2px solid #8fa2ff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.benefit:hover {
  border-color: #3a32d1;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

.benefit h3 {
  color: #3a32d1;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.benefit p {
  color: #333;
  line-height: 1.6;
  font-size: 0.95rem;
}

/*========== FOOTER ==========*/
.site-footer {
  background: #3a32d1;
  color: #fff;
  padding: 1.5rem 0 1rem;
  text-align: center;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-about p,
.footer-contact p {
  margin-bottom: 0.3rem;
  line-height: 1.5;
  color: #e8e8ff;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #e8e8ff;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/*========== THANK YOU PAGES ==========*/
.thank-you-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}

.thank-you-card {
  background: #fff;
  border: 2px solid #8fa2ff;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.1);
  max-width: 500px;
  width: 100%;
}

.thank-you-card h1 {
  color: #3a32d1;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.thank-you-card p {
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/*========== STICKY FOOTER LAYOUT ==========*/
.page-with-sticky-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-with-sticky-footer main {
  flex: 1;
}

/*========== PAYMENT ==========*/
.payment-page {
  background: #f4f6fb;
  padding: 60px 0;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 2rem;
  align-items: start;
}

.payment-box {
  background: #fff;
  border: 2px solid #8fa2ff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.12);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  max-width: 600px;
  margin: 0 auto;
}

.payment-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.18);
}

.payment-box h1 {
  font-size: 1.8rem;
  color: #3a32d1;
  margin-bottom: 1rem;
}

.payment-box h2,
.payment-box h3 {
  color: #3a32d1;
  margin-bottom: 1rem;
}

.payment-container {
  max-width: 560px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
}

.payment-form .form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.payment-form label {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #333;
}

.payment-form input[type="tel"],
.payment-form input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.flex-gap {
  display: flex;
  gap: 1rem;
}

.note {
  font-size: 0.9rem;
  color: #333;
  margin-top: 8px;
}

.crypto-icons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.crypto-icons img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.crypto-btn {
  background: linear-gradient(90deg, #3a32d1, #7d8aff);
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.15s ease, box-shadow 0.3s ease;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.crypto-btn:hover {
  transform: scale(1.06);
  filter: brightness(0.95);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.18);
}

/*========== ANIMATIONS ==========*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*========== UTILITY CLASSES ==========*/
.mt-16 {
  margin-top: 1rem;
}

.mt-40 {
  margin-top: 2.5rem;
}

.nudge-right-100 {
  margin-left: 100px;
  margin-top: 16px;
}

/*==============================================
  RESPONSIVE DESIGN - ORGANIZED BY BREAKPOINT
  No duplicates, all in one place!
==============================================*/

/*========== TABLET LANDSCAPE (769px - 1024px) ==========*/
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    font-size: 1.05rem;
  }

  .hero {
    height: 320px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .destination-card,
  .offer-card {
    width: 40%;
    min-height: 420px;
  }

  .main-nav {
    gap: 1rem;
  }
}

/*========== TABLET PORTRAIT (601px - 768px) ==========*/
@media (min-width: 601px) and (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .hero {
    height: 260px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .destination-card,
  .offer-card {
    width: 45%;
    min-height: 400px;
  }

  .logo img {
    height: 65px;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .plan-trip {
    position: relative;
  }

  .plan-trip #plan-title {
    display: inline-block;
    transform: translateY(-32px);
    transition: transform 0.2s ease;
    margin-bottom: 1rem;
  }

  .nudge-right-100 {
    margin-left: 100px;
    margin-top: 16px;
  }
}

/*========== LARGE DESKTOP (1025px+) ==========*/
@media (min-width: 1025px) {
  .hero {
    height: 400px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .destination-card,
  .offer-card {
    width: 30%;
  }
}

/*========== DESKTOP (901px+) ==========*/
@media (min-width: 901px) {
  .destination-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*========== TABLET & BELOW (max-width: 900px) ==========*/
@media (max-width: 900px) {
  .bali-row,
  .brasov-row,
  .kyoto-row,
  .machupicchu-row,
  .santorini-row,
  .swissalps-row {
    grid-template-columns: 1fr;
  }

  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container .offer-card {
    max-width: 100%;
  }

  .search-box .form-row {
    flex-wrap: wrap;
  }

  .search-box .form-row .field {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .flex-gap {
    flex-direction: column;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }
}

/*========== TABLET (max-width: 768px) ==========*/
@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
  }

  .logo img {
    height: 60px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .form-section {
    padding: 1.4rem;
  }

  .field {
    width: 100%;
  }

  .two-col {
    flex-direction: column;
    gap: 1rem;
  }

  .two-col .contact-form,
  .two-col .contact-info,
  .two-col .feedback-form,
  .two-col .feedback-info {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0.9rem;
  }

  .two-col .form textarea {
    min-height: 120px;
  }

  .two-col > .about-text,
  .two-col > .gallery {
    flex: 1 1 100%;
    padding-left: 0;
  }

  .plan-trip {
    margin-top: 0.5rem !important;
  }

  .payment-page {
    padding: 20px 0;
    min-height: auto;
  }

  .payment-box {
    padding: 1.5rem;
  }

  .payment-box h1 {
    font-size: 1.5rem;
  }

  .payment-box h3 {
    font-size: 1.1rem;
  }

  .thank-you-card {
    padding: 2.5rem 1.5rem;
  }

  .thank-you-card h1 {
    font-size: 1.7rem;
  }

  .thank-you-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/*========== MOBILE (max-width: 600px) ==========*/
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }

  .container {
    width: 95%;
  }

  .logo {
    margin-left: 0;
  }

  .logo img {
    height: 50px;
    transform: translateY(8px);
  }

  .logo img:hover {
    transform: translateY(8px) scale(1.02);
  }

  .main-nav {
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    height: 200px;
  }

  .hero-text {
    width: 90%;
  }

  .hero-text h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .btn,
  .search-btn,
  .submit-btn,
  .pay-btn {
    min-height: 48px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .search-box .form-row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .search-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
  }

  .form-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .destination-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .destination-card,
  .offer-card {
    min-height: 380px;
    width: 95%;
    margin: 0 auto;
  }

  .card img {
    height: 180px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 140px;
  }

  .gallery-thumbs img {
    width: calc(33.333% - 7px);
    height: 70px;
  }

  .popup .close {
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
  }

  .popup img {
    max-width: 95%;
    max-height: 80vh;
  }

  .plan-trip {
    padding: 1.5rem 1rem;
  }

  .plan-trip h2 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .site-footer {
    padding: 0.4rem 0 0.2rem;
    margin-top: 0.6rem;
    font-size: 0.75rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
    padding: 0 0.5rem;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    width: 100%;
    min-width: auto;
    flex: none;
    padding: 0.15rem 0;
  }

  .footer-contact {
    display: none;
  }

  .footer-about p {
    display: none;
  }

  .footer-about h3,
  .footer-links h4 {
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
  }

  .footer-links li {
    display: inline;
    margin-right: 0.4rem;
    margin-bottom: 0.08rem;
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-links a {
    font-size: 0.65rem;
    padding: 0;
    display: inline;
  }

  .footer-bottom {
    margin-top: 0.25rem;
    font-size: 0.6rem;
    padding: 0.2rem 0;
    line-height: 1.1;
  }

  .footer-bottom p {
    margin-bottom: 0.1rem;
  }

  .footer-bottom img {
    width: 50px !important;
    height: auto !important;
  }

  .payment-page {
    padding: 15px 0;
    min-height: auto;
  }

  .payment-box {
    padding: 1.2rem;
    border-radius: 10px;
  }

  .payment-box h1 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .payment-box h3 {
    font-size: 1rem;
  }

  .payment-box p {
    font-size: 0.9rem;
    margin-bottom: 1rem !important;
  }

  .payment-box .btn {
    padding: 0.9rem 1rem !important;
    font-size: 1rem !important;
  }

  #payment-info {
    padding: 1rem !important;
    margin-bottom: 1.2rem !important;
  }

  #payment-info h3 {
    font-size: 0.95rem !important;
  }

  #payment-info p {
    font-size: 0.85rem !important;
  }

  #amount {
    font-size: 1.1rem !important;
  }

  .payment-container {
    margin: 20px auto;
    padding: 15px;
    max-width: 95%;
  }

  .crypto-icons {
    gap: 10px;
    margin: 15px 0;
  }

  .crypto-icons img {
    width: 40px;
    height: 40px;
  }

  .crypto-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    width: 100%;
    display: block;
  }

  .thank-you-container {
    min-height: 70vh;
    padding: 1.5rem 1rem;
  }

  .thank-you-card {
    padding: 2rem 1.2rem;
    max-width: 95%;
  }

  .thank-you-card h1 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .thank-you-card p {
    font-size: 0.95rem;
    margin-bottom: 1.3rem;
  }

  .thank-you-card .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
  }

  .success-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
  }
}

/*========== VERY SMALL SCREENS (max-width: 399px) ==========*/
@media (max-width: 399px) {
  .container {
    width: 98%;
    padding: 0 0.5rem;
  }

  .hero {
    height: 180px;
  }

  .hero-text h1 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 0.8rem;
  }

  .logo img {
    height: 45px;
  }

  .main-nav a {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
  }

  .card,
  .destination-card,
  .offer-card {
    padding: 0.8rem;
  }

  .form-section {
    padding: 1rem;
  }

  .plan-trip {
    padding: 1.5rem 1rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .why-choose {
    padding: 1.5rem 1rem;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-box {
    padding: 1rem;
  }

  .payment-box h1 {
    font-size: 1.2rem;
  }

  .payment-box h3 {
    font-size: 0.95rem;
  }

  .payment-box p {
    font-size: 0.85rem;
  }

  #payment-info {
    padding: 0.8rem !important;
  }

  #amount {
    font-size: 1rem !important;
  }

  .payment-container {
    margin: 15px auto;
    padding: 12px;
  }

  .crypto-icons {
    gap: 8px;
    margin: 12px 0;
  }

  .crypto-icons img {
    width: 35px;
    height: 35px;
  }

  .crypto-btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .thank-you-container {
    min-height: 65vh;
    padding: 1rem 0.5rem;
  }

  .thank-you-card {
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }

  .thank-you-card h1 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }

  .thank-you-card p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .thank-you-card .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }

  .success-icon {
    font-size: 2.5rem;
    margin-bottom: 0.7rem;
  }

  .footer-about h3,
  .footer-links h4 {
    font-size: 0.7rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
  }

  .footer-links a {
    font-size: 0.6rem;
  }

  .footer-links li {
    display: inline;
    margin-right: 0.3rem;
    margin-bottom: 0.05rem;
  }

  .footer-bottom {
    margin-top: 0.2rem;
    font-size: 0.55rem;
    padding: 0.15rem 0;
  }

  .footer-bottom p {
    margin-bottom: 0.08rem;
  }

  .footer-bottom img {
    width: 40px !important;
    height: auto !important;
  }
}

/*========== LANDSCAPE MODE (height < 500px) ==========*/
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 160px;
  }

  .hero-text h1 {
    font-size: 1.3rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .site-header {
    padding: 0.2rem 0;
  }

  .logo img {
    height: 45px;
  }

  .main-nav {
    gap: 0.3rem;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }

  .site-footer {
    padding: 0.4rem 0 0.2rem;
    margin-top: 0.5rem;
  }

  .footer-content {
    gap: 0.3rem;
  }

  .footer-about h3,
  .footer-links h4 {
    font-size: 0.7rem;
    margin-bottom: 0.15rem;
    font-weight: 600;
  }

  .footer-links a {
    font-size: 0.65rem;
  }

  .footer-links li {
    display: inline;
    margin-right: 0.3rem;
  }

  .footer-bottom {
    margin-top: 0.2rem;
    font-size: 0.6rem;
    padding: 0.15rem 0;
  }

  .footer-bottom img {
    width: 45px;
  }
}
