/* ============================================
   Vietnam Travel AI Platform - Main Stylesheet
   Premium Eco-Tourism Design
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --green-deep: #0d2e1c;
  --green-dark: #1a4a2e;
  --green-mid: #2d6a4f;
  --green-light: #40916c;
  --green-pale: #74c69d;
  --gold: #d4af37;
  --gold-light: #e8cc6a;
  --gold-pale: #f4e8b0;
  --cream: #faf6ee;
  --beige: #f5efe6;
  --beige-dark: #e8ddd0;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #8a8a8a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--green-mid);
  transition: var(--transition);
}

a:hover {
  color: var(--green-dark);
}

img {
  max-width: 100%;
}

main {
  min-height: 60vh;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--beige);
}

::-webkit-scrollbar-thumb {
  background: var(--green-mid);
  border-radius: 3px;
}

/* ---- Utility Classes ---- */
.text-gold {
  color: var(--gold) !important;
}

.text-green {
  color: var(--green-mid) !important;
}

.bg-cream {
  background: var(--cream) !important;
}

.bg-green-deep {
  background: var(--green-deep) !important;
}

.font-display {
  font-family: var(--font-display) !important;
}

.section-padding {
  padding: 90px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

/* ---- Section Label ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-deep);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--green-deep);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-green {
  background: var(--green-mid);
  color: white;
  border-color: var(--green-mid);
}

.btn-green:hover {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.4);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}

.btn-outline-green:hover {
  background: var(--green-mid);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2.5rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
}

/* ---- Navbar ---- */
#mainNav {
  background: transparent;
  padding: 1.5rem 0;
  transition: var(--transition);
  z-index: 1050;
}

#mainNav.scrolled {
  background: rgba(13, 46, 28, 0.97);
  backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  font-size: 1.6rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}

.brand-travel {
  color: var(--gold);
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.1rem !important;
  transition: var(--transition);
}

#mainNav .nav-link:hover {
  color: var(--gold) !important;
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  background: white;
  border-top: 3px solid var(--gold);
  animation: dropIn 0.2s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-size: 0.88rem;
  padding: 0.6rem 1.2rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--cream);
  color: var(--green-dark);
  padding-left: 1.5rem;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 46, 28, 0.75) 0%,
      rgba(13, 46, 28, 0.45) 50%,
      rgba(13, 46, 28, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before,
.hero-label::after {
  content: '✦';
  font-size: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title strong {
  font-weight: 600;
  color: var(--gold);
  display: block;
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ---- AI Planner Widget on Hero ---- */
.ai-planner-widget {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  max-width: 700px;
}

.ai-planner-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ai-planner-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
}

.ai-planner-widget .form-control,
.ai-planner-widget .form-select {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.ai-planner-widget .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.ai-planner-widget .form-control:focus,
.ai-planner-widget .form-select:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  color: white;
}

.ai-planner-widget .form-select option {
  background: var(--green-dark);
  color: white;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--green-deep);
  padding: 1.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ---- Cards ---- */

.destination-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.destination-card .card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .card-img {
  transform: scale(1.08);
}

.destination-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 46, 28, 0.9) 0%, rgba(13, 46, 28, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition);
}

.destination-card .card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.25rem;
}

.destination-card .card-region {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.destination-card .card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.destination-card:hover .card-desc {
  display: block;
  transform: translateY(0);
}

.destination-card .card-arrow {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.destination-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Tour Card ---- */
.tour-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tour-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.tour-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .tour-card-img img {
  transform: scale(1.06);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.tour-badge.bestseller {
  background: #e74c3c;
  color: white;
}

.tour-duration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(13, 46, 28, 0.85);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.tour-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-type-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}

.tour-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.tour-card-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.6;
  flex: 1;
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.stars {
  color: var(--gold);
  font-size: 0.8rem;
}

.tour-rating-num {
  font-weight: 600;
  font-size: 0.85rem;
}

.tour-rating-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--beige-dark);
}

.tour-price-from {
  font-size: 0.75rem;
  color: var(--text-light);
}

.tour-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--green-deep);
  line-height: 1;
}

.tour-price-orig {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ---- Hotel Card ---- */
.hotel-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hotel-card-img {
  height: 200px;
  overflow: hidden;
}

.hotel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hotel-card:hover .hotel-card-img img {
  transform: scale(1.05);
}

.hotel-card-body {
  padding: 1.25rem;
}

.hotel-stars {
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.hotel-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.3rem;
}

.hotel-location {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.amenity-tag {
  font-size: 0.72rem;
  background: var(--cream);
  color: var(--green-mid);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid var(--beige-dark);
}

.hotel-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-deep);
}

.hotel-per-night {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-rating {
  color: var(--gold);
  margin-bottom: 1rem;
}

.testimonial-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-meta {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---- AI Planner Page ---- */
.ai-result-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--beige-dark);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ai-result-header {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding: 2rem;
  color: white;
}

.itinerary-timeline {
  padding: 1.5rem;
}

.timeline-day {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-day::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--beige-dark);
}

.timeline-day:last-child::before {
  display: none;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--green-mid);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.timeline-day-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.timeline-activities {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-activities li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.timeline-activities li::before {
  content: '→';
  color: var(--green-pale);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ---- Blog Card ---- */
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---- Chatbot Widget ---- */
.chat-trigger-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.4);
  z-index: 1040;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-trigger-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(45, 106, 79, 0.5);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.chat-widget {
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 360px;
  max-height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  z-index: 1039;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.chat-widget.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  position: relative;
}

.chat-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.chat-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #2ecc71;
  border-radius: 50%;
  border: 2px solid white;
}

.chat-info {
  flex: 1;
}

.chat-info strong {
  display: block;
  color: white;
  font-size: 0.9rem;
}

.chat-info small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.chat-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
}

.chat-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  max-height: 300px;
}

.chat-msg {
  margin-bottom: 0.75rem;
  display: flex;
}

.ai-msg {
  justify-content: flex-start;
}

.user-msg {
  justify-content: flex-end;
}

.msg-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.ai-msg .msg-bubble {
  background: var(--cream);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.user-msg .msg-bubble {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.suggestion-btn {
  background: white;
  border: 1px solid var(--beige-dark);
  color: var(--green-mid);
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.suggestion-btn:hover {
  background: var(--green-mid);
  color: white;
  border-color: var(--green-mid);
}

.chat-typing {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: var(--green-pale);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-8px);
  }
}

.chat-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--beige-dark);
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  border: 1px solid var(--beige-dark);
  border-radius: 50px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
  background: var(--cream);
}

.chat-input:focus {
  border-color: var(--green-mid);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  background: var(--green-mid);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--green-dark);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1038;
  transition: var(--transition);
}

.whatsapp-float:hover {
  color: white;
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: white;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ---- Sticky Book Bar ---- */
.sticky-book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-deep);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  z-index: 1037;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

/* ---- Social Proof Popup ---- */
.social-proof-popup {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 1036;
  max-width: 300px;
  animation: slideInLeft 0.5s ease;
  border-left: 3px solid var(--green-mid);
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.sp-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.sp-text {
  flex: 1;
}

.sp-text strong {
  font-size: 0.82rem;
  display: block;
  color: var(--text-dark);
}

.sp-text span {
  font-size: 0.78rem;
  color: var(--text-mid);
}

.sp-text small {
  font-size: 0.72rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

.sp-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
  line-height: 1;
}

/* ---- Exit Intent Popup ---- */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.exit-popup-inner {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: popupIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popupIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.exit-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.exit-emoji {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.exit-popup-inner h3 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.exit-popup-inner p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ---- Trust Badges ---- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---- Why Choose Us ---- */
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: rotate(8deg) scale(1.1);
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--beige-dark);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ---- Countdown Timer ---- */
.countdown-timer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.countdown-unit {
  text-align: center;
  min-width: 60px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.5;
}

/* ---- CTA Urgency Bar ---- */
.urgency-bar {
  background: linear-gradient(135deg, #8b0000, #c0392b);
  color: white;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  animation: pulseBg 3s ease infinite;
}

@keyframes pulseBg {

  0%,
  100% {
    background: linear-gradient(135deg, #8b0000, #c0392b);
  }

  50% {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
  }
}

/* ---- Glassmorphism ---- */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---- Breadcrumb ---- */
.breadcrumb-section {
  background: var(--cream);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--beige-dark);
}

.breadcrumb {
  margin: 0;
  font-size: 0.83rem;
}

.breadcrumb-item a {
  color: var(--green-mid);
}

.breadcrumb-item.active {
  color: var(--text-mid);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-light);
}

/* ---- Booking Form ---- */
.booking-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--beige-dark);
}

.booking-form .form-control,
.booking-form .form-select {
  border: 1.5px solid var(--beige-dark);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.booking-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: 70px 0;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--gold);
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--green-deep);
  transform: translateY(-3px);
}

.footer-trust {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-icons {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.payment-icons i {
  margin: 0 0.3rem;
  transition: var(--transition);
}

.payment-icons i:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Swiper Custom ---- */
.swiper-pagination-bullet {
  background: var(--green-mid);
}

.swiper-pagination-bullet-active {
  background: var(--gold);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--green-dark);
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 900;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 46, 28, 0.88), rgba(13, 46, 28, 0.6));
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

/* ---- Loading Spinner ---- */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  color: var(--text-mid);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--beige-dark);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .chat-widget {
    width: calc(100vw - 48px);
    right: 24px;
    bottom: 140px;
  }

  .destination-card .card-img {
    height: 260px;
  }

  #mainNav .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 46, 28, 0.98);
    backdrop-filter: blur(15px);
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .ai-planner-widget {
    padding: 1.25rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .social-proof-popup {
    display: none !important;
  }

  .tour-card-img {
    height: 200px;
  }

  .footer-top {
    padding: 50px 0;
  }
}

/* ---- Admin Styles ---- */
.admin-sidebar {
  width: 260px;
  height: 100vh;
  background: var(--green-deep);
  padding: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.admin-sidebar nav {
  flex: 1;
  overflow-y: auto;
}

/* Custom scrollbar for sidebar */
.admin-sidebar nav::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar nav::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.admin-sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #f8f9fa;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--gold);
}

.admin-nav-link i {
  width: 20px;
  text-align: center;
}

.admin-topbar {
  background: white;
  padding: 1rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
}

.stat-card-admin {
  background: white;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-mid);
}

@media (max-width: 767px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-content {
    margin-left: 0;
  }
}

/* ---- Travel Types Section ---- */
.travel-types-section {
  background: var(--white);
}

.travel-type-card {
  padding: 1.75rem 1.5rem;
  background: transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
}

.travel-type-card:hover {
  transform: translateY(-5px);
  background: var(--cream);
  border-color: var(--beige-dark);
  box-shadow: var(--shadow-sm);
}

.travel-type-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 2px;
}

.travel-type-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.travel-type-card:hover .travel-type-icon-img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(45, 106, 79, 0.15));
}

.travel-type-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.travel-type-card:hover .travel-type-title {
  color: var(--green-deep);
}

.travel-type-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
}