body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #111;
    background-color: #e9f4fc;
  }


  /* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  padding: 0px 40px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo img {
  max-width: 180px;
  height: auto;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fd8b34;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    background-color: #111;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}

  /* CTA button */
  .cta-button {
    background: linear-gradient(to right, #fd8b34, #fc5c5c);
    border: none;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
  }

  .cta-button:hover {
    opacity: 0.9;
  }

  
  .rank-sell-form-section {
    padding: 40px 20px;
    background-color: #fff;
    
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .rank-sell-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
    justify-content: center;
  }

  .rank-sell-left {
    flex: 1 1 400px;
    max-width: 500px;
  }

  .rank-sell-left img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

  .right {
    flex: 1 1 400px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .right h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
  }

  .right h3 span {
    color: #e65c00;
  }

  .right .subtext {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  input,
  select,
  textarea {
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.3s ease;
  }

  input:focus,
  select:focus,
  textarea:focus {
    border-color: #e65c00;
    outline: none;
  }

  textarea {
    resize: vertical;
    min-height: 100px;
  }

  button {
    padding: 12px;
    background-color: #e65c00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  button:hover {
    background-color: #e65c00;
  }

  #formResponse {
    margin-top: 10px;
    color: #e65c00;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .rank-sell-form-section {
      flex-direction: column;
      padding: 20px;
      text-align: center;
    }

    .rank-sell-left,
    .right {
      max-width: 100%;
    }
  }

  .site-footer {
    background-color: #0c162b;
    color: #fff;
    font-size: 15px;
    padding: 40px 10% 0;
  }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-col {
    flex: 1;
    min-width: 200px;
  }

  .footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-col ul li {
    margin-bottom: 10px;
    color: #d4d4d4;
  }

  .footer-map {
    margin-top: 40px;
  }

  .footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #0a1225;
    font-size: 14px;
    margin-top: 20px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .footer-columns {
      flex-direction: column;
      gap: 24px;
    }
  }

  /* Popup Overlay */
  #popupOverlay {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6);
    justify-content: center; align-items: center;
    z-index: 9999;
  }

  #popupOverlay.show {
    display: flex;
  }

  /* Popup container */
  .popup {
    background: white;
    width: 90%; max-width: 900px;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }

  .popup .left {
    flex: 1;
    padding: 30px;
    background: #f9f9f9;
  }

  .popup .left h2 {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .popup .left h3,
  .popup .left p {
    margin: 5px 0;
  }
  .popup .left label {
    font-weight: bold;
    display: block;
    margin: 20px 0 8px;
  }
  .popup .left select {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  .popup .left button#submitBooking {
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 16px;
    background: #007bff;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }
  .popup .left button#submitBooking:disabled {
    background: #999;
    cursor: not-allowed;
  }

  .popup .right {
    flex: 1;
    padding: 30px;
  }

  .calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  .calendar-head button.nav-btn {
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
  }

  #monthYear {
    font-weight: bold;
    font-size: 18px;
  }

  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-size: 14px;
    user-select: none;
  }
  .calendar-grid span {
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
  }

  .calendar-grid div.day {
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
  }
  .calendar-grid div.day:hover {
    background-color: #e0e0e0;
  }
  .calendar-grid div.day.active {
    background-color: #007bff;
    color: white;
  }
  .calendar-grid div.day.disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: default;
  }

  .time-slots {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .time-slots div.slot {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    cursor: pointer;
    user-select: none;
  }
  .time-slots div.slot.active {
    background-color: #007bff;
    color: white;
  }

  /* Close button */
  .close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }

  @media(max-width: 700px) {
    .popup {
      flex-direction: column;
    }
    .popup .left, .popup .right {
      padding: 20px;
    }
  }
