body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 0;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #3984B7;
    color: #fff;
}

.navbar button {
    background: #2b6cb0;
    color: #fff;
    border: none;
    padding: 8px 12px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

.title {
    text-align: center;
    color: #ffffff;
    margin: 0!important;
    padding-top: 20px;
    padding-bottom: 20px;
}
.left-buttons a {
    color: white;
    text-decoration: none;
}
.right-button a {
    color: white;
    text-decoration: none;
}
.tabs {
     display: flex;
    justify-content: center;
    margin: 15px 0;
    gap: 20px;
}
.tab-icon{
     width: 24px;
    height: 24px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 8px;
    background-color: #0C3C60;
    color: #ffffff;
    border: 1px solid #3984B7;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.tab-btn.active {
       background-color: #3984B7;
    color: #fff;
    transform: scale(1.05);
}

.search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 20px auto;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 180px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-btn {
    padding: 10px 20px;
    border: none;
    background: #1d4e89;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    height: 42px;
    align-self: flex-end;
}

.sort-container {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.tab-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
}

.card {
    background: #fff;
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    margin: 10px;
    font-size: 18px;
    color: #1d4e89;
}

.card p {
    margin: 10px;
    font-size: 14px;
}

.book-btn {
    margin: 10px;
    padding: 8px 12px;
    border: none;
    background: #1d4e89;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    width:90%;
}

header{
    background-color: #0C3C60;
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .search-fields {
        flex-direction: column;
    }
    .search-btn {
        width: 100%;
        align-self: stretch;
    }
}

/* --- MODAL STYLING --- */

.booking-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  overflow-y: scroll;
  padding: 20px;
  box-sizing: border-box;
   scrollbar-width: none;
}

.booking-content {
  position: relative;
  background: #fff;
  margin: 20px auto;
  border-radius: 16px;
  padding: 20px; 
  width: 95%;
  max-width: 640px;


  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease-out;
}

.booking-content h2 {
  text-align: center;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.selected-item {
  text-align: center;
  color: #0078ff;
  font-size: 18px;
  margin-bottom: 25px;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #777;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #000;
}

.form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;

}
.full-width{
    margin-bottom: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0078ff;
  box-shadow: 0 0 5px rgba(0, 120, 255, 0.3);
}

.form-group textarea {
  resize: none;
  height: 70px;
}

.book-now-btn {
  width: 100%;
  background: linear-gradient(90deg, #0C3C60, #0078ff);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.book-now-btn:hover {
  background: linear-gradient(90deg, #005bcc, #0090cc);
}

@media (max-width: 600px) {
  .booking-content {
    width: 90%;
    padding: 25px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .close-btn {
    top: 12px;
    right: 12px;
  }
}
.sort{
        padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
@media (max-width: 768px) {
  .tab-btn {
    font-size: 0; /* hides text without affecting layout */
    padding: 10px;
  }

  .tab-btn .tab-icon {
    width: 24px;
    height: 24px;
  }

  .tab-btn img {
    margin: 0; /* centers the icons */
  }
  .search-container{
    width: 80%;
  }
}