


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100%;
  overflow-x: hidden;
  background-color: #fff;
}

/* Main Wrapper */
#main {
  width: 100%;
  overflow: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  height: 65vh;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}


.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  background-position: center;
  background-size: cover;
  margin-bottom: 20%;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #e5e1d9;
  z-index: 1;
  font-size: 1.7rem;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  margin-top: 10%;
}




/* Navigation */
nav {
  padding: 2vw 4vw;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
}

.logo {
  width: 120px;
  height: auto;
}

#nav-part2 {
  display: flex;
  align-items: center;
  gap: 1vw;
}

#nav-part2 h4 {
  padding: 10px 20px;
  border: 1px solid #0000003c;
  border-radius: 50px;
  font-weight: 500;
  color: #010101d4;
  transition: all ease 0.4s;
  position: relative;
  font-size: 18px;
  overflow: hidden;
  cursor: pointer;
}

#nav-part2 h4::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #d4a94f;
  left: 0;
  bottom: -100%;
  border-radius: 50%;
  transition: all ease 0.4s;
  z-index: 1;
}

#nav-part2 h4:hover::after {
  bottom: 0;
  border-radius: 0;
}

#nav-part2 h4 a {
  color: #090606;
  text-decoration: none;
  position: relative;
  z-index: 9;
}

#nav-part2 h4:hover a {
  color: #fff;
}

.btn-top {
  background-color: #d4a94f;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-radius: 3px;
}
.layout {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      justify-content: center;
      padding: 40px;
      margin-left: 70px;
    }

    .experience-card {
      width: 100%;
      max-width: 320px;
      height: 500px;
      perspective: 1000px;
         display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
    }

    .card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.8s ease;
      transform-style: preserve-3d;
    }

    .experience-card:hover .card-inner {
      transform: rotateY(180deg);
    }

    .card-front, .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
      background: linear-gradient(to bottom right, #fff, #fdf8f1);
      display: flex;
      flex-direction: column;
    }

    .card-back {
      transform: rotateY(180deg);
      justify-content: center;
      align-items: center;
      padding: 1px;
      text-align: center;
    }

    .experience-img img {
      width: 100%;
      height: 240px;
      object-fit: cover;
    }

    .experience-info {
      padding: 20px;
      text-align: center;
      flex-grow: 1;
    }

    .experience-info h2 {
      font-size: 22px;
      font-weight: 700;
      color: #2c2c2c;
      margin-bottom: 12px;
    }

    .info-grid {
      display: flex;
      justify-content: space-between;
      font-size: 15px;
      margin: 16px 0;
      color: #555;
      padding: 0 20px;
    }

    .price {
      font-size: 20px;
      font-weight: bold;
      color: #c89d45;
    }

    .description, .card-back p {
      font-size: 15px;
      color: #666;
      margin: 16px 0;
      line-height: 1.5;
      padding: 0 10px;
    }

    .months {
      font-size: 13px;
      color: #777;
      font-style: italic;
      text-align: center;
    }

    .view-button {
      text-align: center;
      padding-bottom: 20px;
    }

    .view-button button {
      padding: 12px 24px;
      background: linear-gradient(to right, #c89d45, #b8860b);
      color: white;
      border: none;
      border-radius: 30px;
      font-weight: 600;
      font-size: 14px;
      transition: background 0.3s ease, transform 0.3s ease;
      cursor: pointer;
    }

    .view-button button:hover {
      background: linear-gradient(to right, #a87e33, #946a00);
      transform: scale(1.05);
    }
    #page6 {
    height: 20vh;
    width: 100%;
    background-color: white;
    position: relative;
}
#page6>#text3{
    position: absolute;
    top: 10%;
    right: 32%;
    text-align: center;
}
#page6>#text3>h3{
    color: #7c7c7c;
    font-weight: 400;
}
#page6>#text3>h1{
    font-size: 70px;

}

.tailor-hero {
  position: relative;
  height: 350px;
  background: url('http://www.preciousmomentssafaris.com/wp-content/uploads/2024/07/serengeti-slide1.jpg') no-repeat center center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tailor-overlay {
  width: 100%;
  max-width: 1200px;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.tailor-content h1 {
  font-size: 36px;
  color: #d4a94f;
  margin-bottom: 10px;
}

.tailor-content p {
  font-size: 16px;
  max-width: 600px;
}

.book-button {
  background-color: #d4a94f;
  color: white;
  padding: 12px 30px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 3px;
  margin-top: 20px;
  height: fit-content;
}


/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 60px 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  padding: 6px 0;
  font-size: 15px;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.6;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}



.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}



.card-container {
  perspective: 1000px;
  width: 300px;
  margin: auto;
}

.flip-card {
  width: 100%;
  height: 400px;
  position: relative;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: #fffdf8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.flip-card-front img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn.view {
  background: linear-gradient(to right, #d4af37, #b8860b);
  color: #fff;
}

.btn.book {
  background: linear-gradient(to right, #ffcc00, #d4af37);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


.btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn.view {
  background: linear-gradient(to right, #d4af37, #b8860b);
  color: #fff;
}

.btn.book {
  background: linear-gradient(to right, #ffcc00, #d4af37);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}



.about {

      max-width: 1200px;
      margin: 30px auto;
      padding: 0 20px;
      text-align: center;
    }

    .about h3 {
      font-size: 26px;
      margin-bottom: 16px;
    }

    .about p {
      color: #444;
      margin-bottom: 24px;
    }


      .pagination {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-left: 47%;
      margin-bottom: 20px;
    }

    .pagination button {
      border: none;
      padding: 10px 15px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      color: white;
      background: #d58512;
      transition: 0.3s ease;
    }

    .pagination button.active {
      background: #ec971f;
    }

    .pagination button:hover {
      opacity: 0.9;
    }

    .pagination .next {
      background: none;
      color: #444;
      font-weight: normal;
      display: flex;
      align-items: center;
    }

    .pagination .next:hover {
      color: #000;
    }


    /* === FILTER SECTION FIX === */
.filter-section {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 1200px;
}

.filter-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.filter-group {
  flex: 1 1 250px;
  min-width: 250px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 4rem;
  margin-top: 0.5rem;
  align-items: center;
  text-align: center;

}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 0.5rem;
  cursor: pointer;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #4a6650;
  cursor: pointer;
}

input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
  accent-color: #4a6650;
}

#price-value,
#duration-value {
  font-weight: bold;
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.filter-btn {
  background-color: #000;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-top: auto;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.filter-btn:hover {
  background-color: #333;
}

@media (max-width: 768px) {
  .filters {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }
}
