/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&display=swap");
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Anuphan", sans-serif !important;
  background-color: #f7f9fc;
  color: #333;
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

body::-webkit-scrollbar {
  display: none;
}

/* Navbar */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* Logo */
.logo {
  height: 50px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.logo:hover {
  transform: scale(1.05);
}

/* Center Group: Create Trip + Links */
.nav-center-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Create New Trip Button */
.btn-create-trip {
  background: rgba(255, 255, 255, 0.4);
  /* Glass/White */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 15px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-create-trip:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #fff;
}

/* Nav Links Container (Long Pill) */
.nav-links-container {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 5px 10px;
  transition: all 0.3s ease;
}
.nav-links-container:hover, .nav-links-container.active {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nav-links-container ul {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links-container li {
  display: flex;
}

.nav-links-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  color: #000;
  /* Black text */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.nav-links-container a:hover,
.nav-links-container a.active {
  background: rgba(0, 0, 0, 0.15);
  font-weight: 700;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Right side buttons */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* Smooth transition */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.icon-btn img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
  transition: transform 0.4s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.icon-btn:hover img {
  transform: rotate(10deg);
}

/* --- Add Location Hero --- */
.add-location-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 140px 10% 60px;
  background: #fdfdfd;
  /* Or a subtle gradient */
  text-align: center;
  flex-direction: column;
}

.hero-content {
  margin-bottom: 40px;
}

.badge-share {
  display: inline-block;
  background: #FFD54F;
  /* Yellowish */
  color: #333;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.add-location-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #222;
}

.add-location-hero p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  animation: floatGentle 4s ease-in-out infinite;
}

/* --- Process Section (How It Works) --- */
.process-section {
  padding: 60px 0 80px;
  background: #f7f9fc;
  /* Light gray */
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.process-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #000;
}

/* Lines around title */
.process-header::before,
.process-header::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #333;
}

.process-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #ddd;
}

.process-item {
  display: grid;
  grid-template-columns: 50px 1fr 1fr;
  /* Num - Title TH - Content EN */
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid #ddd;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 15px;
  /* Added for smoother hover box */
}

.process-item:hover {
  background-color: #fff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-bottom-color: transparent;
  z-index: 10;
  position: relative;
}

.p-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
}

.p-title-th {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000;
  padding-top: 5px;
}

.p-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}

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

/* Responsive Process */
@media (max-width: 768px) {
  .process-item {
    grid-template-columns: 50px 1fr;
    padding: 20px;
  }
  .p-content {
    grid-column: 2/3;
  }
  .process-header::before,
  .process-header::after {
    display: none;
  }
}
/* --- Toggle Switch (Secret <-> Add) --- */
.toggle-wrapper {
  background: #fff;
  border-radius: 30px;
  padding: 4px;
  display: flex;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* slightly enhanced shadow */
}

.toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.toggle-btn:hover {
  color: #000;
}

.toggle-btn.active {
  background: #000;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- Info 6 Colors Section --- */
.info-6colors-section {
  padding: 80px 0;
  background: #fdfdfd;
}

.info-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.info-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.info-header::before,
.info-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #000;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  /* Aspect ratio roughly matches design */
  aspect-ratio: 16/10;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-width: 2px;
}

.card-upper {
  flex: 6;
  /* 60% approx */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-upper img {
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.info-card:hover .card-upper img {
  transform: scale(1.1) rotate(2deg);
}

.card-lower {
  flex: 4;
  /* 40% approx */
  background: #000;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-lower h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-lower p {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.4;
}

/* Card Background Colors */
.info-card.purple .card-upper {
  background: rgba(23, 143, 255, 0.5215686275);
}

.info-card.blue .card-upper {
  background: rgba(24, 70, 255, 0.5058823529);
}

.info-card.yellow .card-upper {
  background: rgba(169, 56, 255, 0.4862745098);
}

.info-card.green .card-upper {
  background: rgba(237, 96, 185, 0.5058823529);
}

.info-card.orange .card-upper {
  background: rgba(248, 167, 120, 0.4666666667);
}

.info-card.pink .card-upper {
  background: rgba(240, 188, 31, 0.4784313725);
}

/* Responsive Info Grid */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-header::before,
  .info-header::after {
    display: none;
  }
}
/* --- Basic Info Sector (Purple Form) --- */
.basic-info-section {
  padding: 80px 100px;
  background: rgba(23, 143, 255, 0.5215686275);
  /* Light Purple per design */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.sector-title-large {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #000;
}

.instruction-box {
  background: rgba(0, 0, 0, 0.05);
  /* Slightly darker purple tint */
  padding: 20px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border-left: 5px solid rgba(24, 70, 255, 0.755);
  /* Dark Purple Accent */
}

.instruction-box ol {
  padding-left: 20px;
}

.instruction-box li {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.split-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.content-side {
  flex: 1;
  margin: 0 auto;
}

.image-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.image-side img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  /* Pill shape inputs per design */
  border: 2px solid transparent;
  background: #fff;
  font-family: "Anuphan", sans-serif !important;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.select-province {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 1em;
}

.category-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.cat-btn {
  position: relative;
  cursor: pointer;
}

.cat-btn input {
  display: none;
}

.cat-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  border-radius: 50px;
  font-weight: 600;
  color: #555;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.cat-btn:hover span {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.cat-btn:active span {
  transform: scale(0.95);
}

.cat-btn input:checked + span {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px) scale(1.02);
}

/* Sub-category button specific (Checkbox) */
.sub-btn span {
  padding: 8px 15px;
  /* Smaller padding */
  font-size: 0.9rem;
  background: #f0f0f0;
  /* Different default bg to distinguish */
}

.sub-btn input:checked + span {
  background: #7E22CE;
  /* Purple for selected sub-tags */
}

/* Long category button specific (Radio list with desc) */
.cat-btn-long {
  position: relative;
  cursor: pointer;
  display: block;
}

.cat-btn-long input {
  display: none;
}

.cat-btn-long .cat-desc {
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
  background: #fff;
  border-radius: 15px;
  font-weight: 500;
  color: #444;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid #e0e0e0;
}

.cat-btn-long:hover .cat-desc {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.cat-btn-long:active .cat-desc {
  transform: scale(0.98);
}

.cat-btn-long input:checked + .cat-desc {
  background: #f0f4ff;
  border-color: #3b82f6;
  color: #1e3a8a;
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.cat-btn-long strong {
  font-weight: 700;
  font-size: 1rem;
  color: #111;
}

.cat-btn-long input:checked + .cat-desc strong {
  color: #1e40af;
}

/* Responsive Basic Info */
@media (max-width: 900px) {
  .split-layout {
    flex-direction: column;
    gap: 40px;
  }
  .image-side {
    order: -1;
    /* Image on top on mobile often looks nice, or keep bottom */
    order: 1;
  }
}
/* --- Location Details Sector (Blue Form) --- */
.location-details-section {
  padding: 80px 100px;
  background: rgba(132, 155, 248, 0.768627451);
  /* Blue per design */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Blue theme override for instruction box */
.instruction-box.blue-theme {
  background: rgba(0, 0, 0, 0.1);
  border-left-color: rgba(24, 70, 255, 0.775) c4;
  /* Darker Blue */
}

/* Map specific side */
.map-side {
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  align-items: flex-start;
  /* Align map top */
}

.map-side img {
  border-radius: 15px;
  width: 100%;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .form-control {
  padding-right: 45px;
}

.icon-right {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
}

/* --- Unique Features Sector (Yellow Form) --- */
.unique-features-section {
  padding: 80px 100px;
  background: rgba(169, 56, 255, 0.4862745098);
  /* Yellow per design */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Yellow theme override for instruction box */
.instruction-box.yellow-theme {
  background: rgba(0, 0, 0, 0.05);
  border-left-color: rgba(169, 56, 255, 0.7529411765);
  /* Darker Orange/Brown */
}

/* --- Travel Tips Sector (Green Form) --- */
.travel-tips-section {
  padding: 80px 100px;
  background: rgba(239, 168, 213, 0.5215686275);
  /* Green per design */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Green theme override for instruction box */
.instruction-box.green-theme {
  background: rgba(0, 0, 0, 0.05);
  border-left-color: rgba(239, 168, 213, 0.7882352941);
  /* Darker Green */
}

/* Time Inputs specific */
.time-inputs {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  /* Align inputs to bottom if labels differ */
}

.time-inputs .form-group {
  margin-bottom: 0;
  /* Remove bottom margin inside the row */
}

/* --- Restrictions Sector (Orange Form) --- */
.restrictions-section {
  padding: 80px 100px;
  background: rgba(245, 203, 180, 0.4941176471);
  /* Orange per design */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Orange theme override for instruction box */
.instruction-box.orange-theme {
  background: rgba(0, 0, 0, 0.05);
  border-left-color: rgba(245, 203, 180, 0.7647058824);
  /* Darker Orange/Rust */
}

/* --- Media Upload Sector (Pink Form) --- */
.media-upload-section {
  padding: 80px 100px;
  background: rgba(241, 215, 136, 0.7803921569);
  /* Pink per design */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Pink theme override for instruction box */
.instruction-box.pink-theme {
  background: rgba(0, 0, 0, 0.05);
  border-left-color: #F1D688;
  /* Darker Pink */
}

/* Upload Area */
.upload-area {
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.upload-area:hover {
  border-color: #BE185D;
  background: #fdf2f8;
}

.upload-text {
  display: block;
  font-size: 1rem;
  color: #374151;
  margin-bottom: 5px;
}

.browse-link {
  color: #BE185D;
  text-decoration: underline;
}

.upload-hint {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* --- Security Sector --- */
.security-section {
  padding: 80px 100px;
  background: #F9FAFB;
  /* Light Gray */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E5E7EB;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.security-text {
  color: #4B5563;
  line-height: 1.8;
  font-size: 1rem;
}

.shield-bg {
  width: 320px;
  height: 360px;
  background: #F3E8FF;
  /* Light Shield Color */
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shield-bg img {
  width: 120px;
  height: auto;
}

/* --- Submit Sector --- */
.submit-action-section {
  padding: 80px 0 100px;
  /* Extra padding bottom */
  background: #f7f9fc;
  /* Match body bg or slightly different */
  text-align: center;
}

.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  /* Ensure vertical stacking */
  align-items: center;
  /* Center items horizontally */
  justify-content: center;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.btn-cancel {
  padding: 15px 50px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: #D1D5DB;
  /* Gray */
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}

.btn-cancel:hover {
  background: #9CA3AF;
  transform: scale(1.05);
}

.btn-submit {
  padding: 15px 80px;
  /* Wider submit button */
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: #007AFF;
  /* Blue */
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.btn-submit:hover {
  background: #0062cc;
  transform: scale(1.05);
}

/* --- Progress Steps --- */
.progress-section {
  padding: 40px 0;
  background: #fdfdfd;
  margin-bottom: 40px;
}

.progress-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 20px;
}

/* Line through steps */
.progress-container::before {
  content: "";
  position: absolute;
  top: 25px;
  /* Adjust based on circle size */
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  background: #fdfdfd;
  padding: 0 10px;
  cursor: default;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #999;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.step-text {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

.step.active .step-num {
  background: #000;
  color: #fff;
  border-color: #000;
}

.step.active .step-text {
  color: #000;
  font-weight: 700;
}

/* --- Main Container --- */
.main-container {
  max-width: 900px;
  /* Or 1000px */
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* Form Sections */
.form-section {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
  position: relative;
  display: inline-block;
}

/*.section-title::after {
    content: '';
    display: block;
    width: 40%;
    height: 3px;
    background: #000;
    margin-top: 5px;
    border-radius: 2px;
}*/
/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.category-card {
  cursor: pointer;
  position: relative;
}

.category-card input[type=radio] {
  display: none;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center content in card */
  justify-content: center;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.category-card:hover .card-content {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card input:checked + .card-content {
  border: 3px solid #000;
  transform: scale(1.02);
}

.category-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}

.category-card p {
  font-size: 0.9rem;
  color: #555;
}

/* Colors for Categories */
.category-card.purple .card-content {
  background: #E0E7FF;
}

/* Pastel Purple/Blue */
.category-card.blue .card-content {
  background: #DCFCE7;
}

/* Pastel Green/Blue actually */
.category-card.yellow .card-content {
  background: #FEF9C3;
}

/* Pastel Yellow */
.category-card.pink .card-content {
  background: #FAE8FF;
}

/* Pastel Pink */
/* Overrides based on design if needed, using specific hex from provided image would be best, simplifying here */
.category-card.purple .card-content {
  background: #C7D2FE;
}

.category-card.blue .card-content {
  background: #93C5FD;
}

.category-card.yellow .card-content {
  background: #FCD34D;
}

.category-card.pink .card-content {
  background: #F9A8D4;
}

/* Form Fields */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  font-family: "Anuphan", sans-serif !important;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #333;
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group.half {
  flex: 1;
}

/* Location Section specific */
.search-map-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.btn-search {
  padding: 0 25px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  background: #eee;
}

/* Additional Section specific */
.time-inputs {
  display: flex;
  gap: 15px;
}

.time-inputs input {
  flex: 1;
}

/* Images Section specific */
.upload-box {
  border: 2px dashed #ccc;
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: all 0.3s;
}

.upload-box:hover {
  border-color: #3a82f7;
  background: #f0f7ff;
}

.upload-icon {
  width: 64px;
  margin-bottom: 15px;
  opacity: 0.6;
}

.upload-box p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 10px;
}

.upload-box .highlight {
  color: #3a82f7;
  font-weight: 700;
  text-decoration: underline;
}

.upload-hint {
  display: block;
  font-size: 0.85rem;
  color: #999;
}

/* Submit Section */
.submit-section {
  text-align: center;
  padding-top: 40px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #F3E8FF;
  /* Light purple bg */
  padding: 15px 30px;
  border-radius: 50px;
  margin-bottom: 40px;
  text-align: left;
}

.security-badge img {
  width: 40px;
  height: auto;
}

.security-badge h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #6B21A8;
  /* Dark purple */
}

.security-badge p {
  font-size: 0.9rem;
  color: #7E22CE;
}

.submit-area h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.submit-area p {
  color: #666;
  margin-bottom: 30px;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-submit,
.btn-cancel {
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}

.btn-submit {
  background: #007AFF;
  /* Blue */
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.btn-submit:hover {
  transform: scale(1.05);
  background: #0062cc;
}

.btn-cancel {
  background: #e0e0e0;
  color: #333;
}

.btn-cancel:hover {
  background: #d0d0d0;
}

.bottom-graphic {
  width: 100%;
  margin-top: 60px;
  text-align: center;
}

.bottom-graphic img {
  width: 100%;
  max-height: 150px;
  /* decorative strip */
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .add-location-hero {
    padding: 100px 20px 40px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .progress-container::before {
    display: none;
    /* Hide line on mobile usually better or adjust */
  }
  .form-row {
    gap: 20;
  }
  .add-location-hero h1 {
    font-size: 2rem;
  }
}
.footer {
  text-align: center;
  padding: 200px 0 40px;
  background: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.footer-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.footer-curve-img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 80px;
  background-color: #f1f1f1;
}

.footer-nav {
  margin: 30px 0;
  font-size: 14px;
  color: #333;
}

.footer-nav a {
  text-decoration: none;
  font-size: large;
  color: #333;
  margin: 0 5px;
  position: relative;
  z-index: 1;
}

.footer-nav span {
  margin: 0 5px;
}

.footer-logo img {
  width: 350px;
  margin: 20px auto;
  position: relative;
  z-index: 1;
}

.footer-desc {
  margin: 20px 0;
  font-size: medium;
  color: #333;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.footer-desc h4 {
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-social a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b4b4b4;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.footer-social a img:hover {
  transform: scale(1.1);
  background: rgb(205, 205, 205);
  transition: background 0.3s;
  color: #9b9b9b;
  transition: transform 0.2s ease;
}

.footer-bottom {
  padding-top: 10px;
  font-size: 12px;
  color: #666;
  position: relative;
  text-align: left;
  left: 5%;
  z-index: 1;
}

/* Contact Section (Home) */
.contact-home-section {
  background: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
  font-family: "Anuphan", sans-serif !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center content vertically/horizontally if needed */
}

/* Removed .contact-home-container wrapper style as flex on section handles centering or add back if needed */
/* Actually using direct children for simpler structure matching HTML above */
.contact-home-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-home-header .badgenew-contact {
  display: inline-block;
  background: #e5e8ff;
  color: #4a57ff;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.contact-home-header h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
  color: #0f1419;
}
.contact-home-header p {
  color: #667085;
  font-size: 1.1rem;
}

.contact-home-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
.contact-home-info .contact-info-block {
  text-align: center;
}
.contact-home-info .contact-info-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000;
}
.contact-home-info .contact-info-block p {
  font-size: 1.1rem;
  color: #333;
}
.contact-home-info .contact-divider {
  width: 1px;
  height: 60px;
  background: #b0b0b0;
}

/* Comprehensive Add Location Mobile Overrides */
@media (max-width: 768px) {
  .basic-info-section,
  .location-details-section,
  .unique-features-section,
  .travel-tips-section,
  .restrictions-section,
  .media-upload-section {
    padding: 40px 20px;
  }
  .basic-info-section .sector-title-large,
  .location-details-section .sector-title-large,
  .unique-features-section .sector-title-large,
  .travel-tips-section .sector-title-large,
  .restrictions-section .sector-title-large,
  .media-upload-section .sector-title-large {
    font-size: 2rem;
  }
  .sector-title-large {
    font-size: 1.9rem;
  }
  .process-section {
    padding: 60px 0 0 0;
  }
  .category-buttons-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-home-info {
    flex-direction: column;
    gap: 30px;
  }
  .contact-home-info .contact-divider {
    width: 60px;
    height: 1px;
  }
  .security-section {
    padding: 50px 20px;
    flex-direction: column;
    text-align: center;
  }
  .shield-bg {
    width: 100%;
    max-width: 320px;
    margin-top: 30px;
  }
  .footer {
    background-color: #efefef;
  }
}
/* === RESPONSIVE NAVBAR & MOBILE MENU OVERLAY === */
/* Mobile View adjustments */
@media (max-width: 900px) {
  /* Hide Desktop Nav Links */
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  .nav-center-group,
  .nav-links-container,
  .btn-create-trip {
    display: none !important;
    /* Force hide on mobile across all pages */
  }
  /* Hamburger Menu Toggle Icon */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10005;
    /* Must be higher than the overlay */
    position: relative;
    margin-left: 15px;
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy smooth transition */
    transform-origin: left center;
    pointer-events: none;
    /* Allow clicks to pass through to the parent div */
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
  }
  /* Inverse color for dark hero backgrounds (if needed) */
  .navbar.dark-theme .hamburger-menu span {
    background: #fff;
  }
  /* Mobile Menu Overlay - Top Down Frosted Glass */
  .mobile-menu-overlay {
    position: fixed;
    top: -100vh;
    /* Start hidden above */
    left: 0;
    width: 100%;
    height: 100vh;
    /* Full screen */
    background: rgba(255, 255, 255, 0.85);
    /* Transparent white */
    backdrop-filter: blur(15px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(15px);
    z-index: 10010;
    /* Cover everything including the hamburger icon */
    transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Extremely smooth easing */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center items vertically */
    align-items: center;
    /* Center items horizontally */
    pointer-events: none;
    /* Prevent blocking clicks when hidden */
  }
  .mobile-menu-overlay.active {
    top: 0;
    /* Slide down to cover screen */
    pointer-events: all;
    /* Enable clicks when visible */
  }
  .mobile-menu-overlay .mobile-menu-content {
    padding: 20px;
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.5s ease 0.3s;
    /* Fade in and slide down after main menu slide */
  }
  .mobile-menu-overlay .mobile-menu-content .close-menu {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .mobile-menu-overlay .mobile-menu-content .close-menu:hover {
    background: #fff;
    color: #F0BB1F;
    transform: scale(1.1) rotate(90deg);
  }
  .mobile-menu-overlay .mobile-menu-content .btn-create-trip-mobile {
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .mobile-menu-overlay .mobile-menu-content .btn-create-trip-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  }
  .mobile-menu-overlay .mobile-menu-content ul {
    list-style: none;
    padding: 0;
  }
  .mobile-menu-overlay .mobile-menu-content ul li {
    margin-bottom: 30px;
  }
  .mobile-menu-overlay .mobile-menu-content ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    /* Larger font for full screen menu */
    font-weight: 600;
    display: block;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .mobile-menu-overlay .mobile-menu-content ul li a:hover, .mobile-menu-overlay .mobile-menu-content ul li a.active {
    color: #F0BB1F;
    /* Brand yellow color */
    transform: scale(1.05);
  }
  .mobile-menu-overlay.active .mobile-menu-content {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Desktop View adjustments */
@media (min-width: 901px) {
  /* Hide Hamburger and Overlay on Desktop */
  .hamburger-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}
/* === RESPONSIVE FOOTER === */
@media (max-width: 768px) {
  .footer-curve-img {
    display: none !important;
    /* Hide the large curve image on mobile */
  }
  .footer {
    padding-top: 160px !important;
    /* Reduce the huge whitespace since curve is gone */
  }
}
body::-webkit-scrollbar {
  display: none;
}
/* === TRIP-AI-REFRESH-V2-PATCH-START === */
.footer-bottom {
  left: 0;
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .info-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
}
/* === TRIP-AI-REFRESH-V2-PATCH-END === */

/* AR navbar button now lives in css/navbar.css (.nav-ar-btn) */
