@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f7fa;
}

/* Logo */
header nav .logo img {
  max-height: 100px; 
  width: auto;       
  display: block;    
  margin: 0 auto;    
}

/* ✅ Traveler Counter Style */
.traveler-counter {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: 10px;
  flex-wrap: wrap; 
}

.traveler-counter .counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 12px;
}

.traveler-counter .counter label {
  font-size: 14px;
  font-weight: 600;
  margin-right: 5px;
  color: #333;
}

.traveler-counter .counter button {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.traveler-counter .counter button:hover {
  background: #0056b3;
}

.traveler-counter .counter span {
  min-width: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #222;
}

/* ✅ Mobile Responsive */
@media (max-width: 576px) {
  .traveler-counter {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-left: 0;
  }

  .traveler-counter .counter {
    width: 100%;
    justify-content: space-between;
    padding: 10px;
  }

  .traveler-counter .counter label {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  header nav .logo img {
    max-height: 60px;
  }
}

header {
  width: 80%;
  height: auto;
  margin: auto;
}

header nav {
  width: 95%;
  height: 7%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  padding: 3px 15px;
}

header nav ul li:nth-last-child(1) {
  background: #000;
  border-radius: 20px;
  padding: 5px 20px;
}

header nav ul li:nth-last-child(1) a {
  color: white;
}

header nav ul li a {
  text-decoration: none;
  color: #121213;
  font-size: 13px;
  font-weight: 500;
  transition: .3s linear;
}

header nav ul li a:hover {
  color: gray;
}

header nav .bi-three-dots {
  display: none;
  cursor: pointer;
}

header .content {
  position: relative;
  width: 100%;
  height: auto;
}

header .content::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 80%;
  background: url('img/t4.jpeg') no-repeat center center/cover;
  border-radius: 10px;
  z-index: -1;
}

header .content .cont_bx {
  width: 500px;
  height: auto;
  color: white;
  padding: 30px;
}

header .content .cont_bx h1 {
  line-height: 40px;
  font-weight: 800;
}

header .content .cont_bx p {
  font-size: 14px;
  font-weight: 400;
  color: rgb(241, 241, 241);
}

header .content .cont_bx button {
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 20px;
  border: 2px solid #000;
  background: black;
  color: white;
  cursor: pointer;
  transition: .3s linear;
}

header .content .cont_bx button:hover {
  background: rgb(123, 123, 123);
  border: 2px solid rgb(123, 123, 123);
}


/* ✅ Flight Search Box */
.flight-search {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  max-width: 800px;
  margin: 20px 0 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Tabs */
.flight-search .tabs {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.flight-search .tabs::-webkit-scrollbar {
  display: none;
}

.flight-search .tabs button {
  border: none;
  background: #f0f4f8;
  padding: 10px 18px;
  border-radius: 12px 12px 0 0;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.flight-search .tabs button.active {
  background: #fff;
  border-bottom: 3px solid #00b4d8;
  color: #00b4d8;
  font-weight: 700;
}

/* ✅ Trip Options */
.flight-search .trip-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ✅ Class Options (Economy / Business / First Class) */
.flight-search .class-options {
  display: flex;
  gap: 8px;
}
.flight-search .class-options button {
  border: 1px solid #ddd;
  background: #f8f9fa;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.flight-search .class-options button.active {
  background: #00b4d8;
  color: #fff;
  border-color: #00b4d8;
  font-weight: 600;
}
.flight-search .class-options button:hover {
  background: #0096c7;
  color: #fff;
}

/* Input Rows */
.flight-search .input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flight-search .input-row input,
.flight-search .input-row select {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease;
}

.flight-search .input-row input:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 8px rgba(0,180,216,0.2);
}

/* Swap Icon */
.flight-search .swap {
  font-size: 22px;
  color: #00b4d8;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.flight-search .swap:hover {
  transform: rotate(180deg);
}

/* ✅ Traveler Counter */
.flight-search .traveler-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flight-search .traveler-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 8px 12px;
  font-size: 14px;
}
.flight-search .traveler-row span {
  font-weight: 600;
}
.flight-search .traveler-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flight-search .traveler-controls button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #00b4d8;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.flight-search .traveler-controls button:hover {
  background: #0096c7;
}
.flight-search .traveler-controls input {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

/* ✅ Professional Search Button */
.flight-search .search-btn {
  background: linear-gradient(135deg, #00b4d8, #0096c7);
  color: #fff;
  border: none;
  border-radius: 35px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.flight-search .search-btn:hover {
  background: linear-gradient(135deg, #0096c7, #0077b6);
  box-shadow: 0 6px 18px rgba(0, 150, 199, 0.5);
  transform: translateY(-2px);
}
.flight-search .search-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* ✅ Responsive for Mobile */
@media (max-width: 768px) {
  .flight-search {
    margin: 10px auto;
    padding: 12px;
    max-width: 95%;
  }

  .flight-search .trip-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
  }

  .flight-search .input-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .flight-search .input-row input {
    font-size: 13px;
    padding: 10px 12px;
  }

  .flight-search .swap {
    margin: 5px auto;
  }

  .flight-search .search-btn {
    width: 100%;
    font-size: 15px;
    padding: 12px;
    border-radius: 30px;
  }
}


/* ✅ Travel Cards Section */
header .trip_bx .travel_bx {
  position: relative;
  width: 100%;
  margin: auto;
  top: 30px;
  border-radius: 10px;
  padding-bottom: 20px;
  box-shadow: 0px 20px 25px -10px rgb(165, 165, 165);
}

header .trip_bx .travel_bx::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: rgba(241, 241, 241, .7);
  backdrop-filter: blur(2px);
  z-index: -1;
}

header .trip_bx .travel_bx .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
  width: 96%;
  margin: auto;
}

header .trip_bx .travel_bx .cards .card {
  width: 250px;
  height: 300px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header .trip_bx .travel_bx .cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

header .trip_bx .travel_bx .cards .card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

header .trip_bx .travel_bx .cards .card h3 {
  margin: 12px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  color: #333;
}

header .trip_bx .travel_bx .cards .card h3 img {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

header .trip_bx .travel_bx .cards .card .btn_city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 12px 12px;
}

header .trip_bx .travel_bx .cards .card .btn_city a {
  text-decoration: none;
  background: #000;
  color: #fff;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s linear;
}

header .trip_bx .travel_bx .cards .card .btn_city a:hover {
  background: #444;
}

header .trip_bx .travel_bx .cards .card .btn_city h5 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  line-height: 16px;
  color: #555;
}

header .trip_bx .travel_bx .cards .card .btn_city h5 span {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

/* ✅ Responsive */
@media (max-width: 1024px) {
  header {
    width: 95%;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  header nav ul.show {
    display: flex;
  }

  header nav .bi-three-dots {
    display: block;
    font-size: 24px;
  }

  .flight-search {
    width: 100%;
  }

  header .trip_bx .travel_bx .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  header .content .cont_bx {
    width: 100%;
    padding: 20px;
  }
}

/* Header Box End */


/* Offers */
body {
  font-family: 'Poppins', sans-serif;
  background: #f0f4f8;
  margin: 0;
  padding: 0;
}

/* Header Section */
.header {
  text-align: center;
  padding: 60px 15px;
  color: #000;
  border-bottom: 3px solid #00b4d8;
  width: fit-content;
  margin: 0 auto;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.header p {
  font-size: 1.2rem;
  margin: 0;
}

/* Card Styles */
.card-tour {
  position: relative;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-tour:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-tour img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  border-radius: 20px 20px 0 0;
}

.card-tour:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.package-title {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 180, 216, 0.9);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 10;
}

.card-tour-body {
  flex-grow: 1;
  padding: 0;
}

.card-footer-tour {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
}

.card-footer-tour .likes-chats i {
  margin-right: 5px;
  vertical-align: middle;
}

.card-footer-tour .likes-chats span {
  margin-right: 15px;
  font-size: 0.9rem;
  color: #555;
}

.btn-book {
  background: #00b4d8;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 6px 20px;
  transition: all 0.3s ease;
}

.btn-book:hover {
  background: #0096c7;
  box-shadow: 0 0 15px rgba(0, 150, 199, 0.6);
  transform: translateY(-2px);
}

.card-tour {
  transition: all 0.4s ease;
}
.card-tour:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* ✅ Responsive Styles */
@media (max-width: 1024px) {
  header {
    width: 95%;
    height: auto;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  header nav ul.show {
    display: flex;
  }

  header nav .bi-three-dots {
    display: block;
    font-size: 24px;
  }

  header .content {
    height: auto;
  }

  header .trip_bx .search_bx {
    position: static;
    flex-direction: column;
    width: 100%;
    height: auto;
    box-shadow: none;
    padding: 15px;
    gap: 15px;
  }

  header .trip_bx .search_bx .card {
    width: 100%;
  }

  header .trip_bx .search_bx input[type="button"] {
    width: 100%;
  }

  header .trip_bx .travel_bx .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .card-tour img {
    height: 300px;
  }

  header .content .cont_bx {
    width: 100%;
    padding: 20px;
  }

  header nav h4 {
    font-size: 18px;
  }

  header .trip_bx .travel_bx h4 {
    padding: 30px 10px 15px 10px;
  }
}

/*Header and offer End*/


