:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #f59e0b;
  --ocean: #06b6d4;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  font-family: var(--font-main);
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR (STATIC AT TOP OF PAGE - DOES NOT SCROLL DOWN WITH SCREEN) */
.navbar {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 90px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1000;
  box-shadow: none !important;
  transition: var(--transition);
}

.nav-container {
  max-width: 100%;
  width: 100%;
  height: 100% !important;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.logo-img {
  height: 70px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.8rem;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0 !important;
  margin: 0;
  padding: 0;
}

.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.nav-links a {
  font-family: var(--font-main);
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  transition: var(--transition);
  position: relative;
  padding: 0.45rem 0.8rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  word-break: keep-all !important;
  letter-spacing: 0.01em;
  flex-shrink: 0 !important;
}

.nav-links a:hover {
  color: #ffffff !important;
  background: transparent !important;
}

.nav-links a.active {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.nav-links a::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 10px !important;
  right: 10px !important;
  width: auto !important;
  height: 3px !important;
  background: #ffffff !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  transform: scaleX(0) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1) !important;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.35) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

/* HERO SECTION (EXPANDS ALL THE WAY TO TOP EDGE & SHIFTED UPWARDS) */
.hero {
  position: relative;
  min-height: 460px;
  height: 50vh;
  margin-top: 0 !important;
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  display: none !important;
  background: transparent !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 96%;
  width: 100%;
  padding: 0 1rem;
  color: white;
  margin: -25px auto 0 auto !important; /* Shifted text upwards */
}

.hero-title {
  font-size: clamp(1.4rem, 3.6vw, 3.2rem) !important;
  font-weight: 900 !important;
  margin-bottom: 0.6rem !important;
  line-height: 1.15 !important;
  text-shadow: 0 4px 16px rgba(0,0,0,0.6) !important;
  white-space: nowrap !important;
  word-break: normal !important;
  letter-spacing: 0.01em !important;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.25rem) !important;
  margin-bottom: 1.8rem !important;
  opacity: 0.98 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.hero-search {
  display: flex;
  align-items: center;
  background: white;
  padding: 0.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
}

.hero-search i {
  color: var(--text-muted);
  padding: 0 1rem;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-main);
  padding: 0.6rem 0;
}

.hero-search button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.hero-search button:hover {
  background: #d97706;
}

/* STATS SECTION */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -45px;
  padding: 0 2rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.stat-card {
  background: white;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.2rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.8);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.18);
  border-color: var(--primary-light);
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

/* INTRO SECTION */
.intro-section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-map-col {
  position: relative;
  height: 500px;
  min-height: 500px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #e2e8f0;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.map-link-btn {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 400; /* above leaflet map */
  transition: var(--transition);
}

.map-link-btn:hover {
  background: var(--primary-dark);
  transform: translateX(-50%) translateY(-2px);
}

.intro-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.intro-heading {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.intro-body {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.intro-body p {
  margin-bottom: 1rem;
}

.intro-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.intro-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.intro-features i {
  color: var(--accent);
  font-size: 1.25rem;
}

.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.intro-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ULTRA-PREMIUM EXPLORE CATEGORY CARDS SECTION */
.explore-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.explore-grid {
  max-width: 1240px;
  margin: 3rem auto 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.explore-card {
  text-decoration: none;
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.explore-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Iconic Ring Badge */
.explore-icon-ring {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.explore-card:hover .explore-icon-ring {
  transform: scale(1.12) rotate(4deg);
}

.explore-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.6rem 0;
  line-height: 1.3;
}

.explore-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 1.8rem 0;
  line-height: 1.5;
  flex-grow: 1;
}

/* Interactive CTA Button */
.explore-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.explore-btn-cta i {
  transition: transform 0.3s ease;
}

.explore-card:hover .explore-btn-cta i {
  transform: translateX(4px);
}

/* --- CARD THEMES --- */

/* Theme 1: Teal (Di chuyển) */
.explore-card.card-teal {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #bae6fd !important;
}
.explore-card.card-teal .explore-icon-ring {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: white !important;
}
.explore-card.card-teal .explore-btn-cta {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}
.explore-card.card-teal:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.18) !important;
}
.explore-card.card-teal:hover .explore-btn-cta {
  background: #0284c7 !important;
  color: white !important;
}

/* Theme 2: Blue (Khám phá) */
.explore-card.card-blue {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #bae6fd !important;
}
.explore-card.card-blue .explore-icon-ring {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: white !important;
}
.explore-card.card-blue .explore-btn-cta {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}
.explore-card.card-blue:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.18) !important;
}
.explore-card.card-blue:hover .explore-btn-cta {
  background: #0284c7 !important;
  color: white !important;
}

/* Theme 3: Amber (Mẹo du lịch) */
.explore-card.card-amber {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%) !important;
  border-color: #fef08a !important;
}
.explore-card.card-amber .explore-icon-ring {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: white !important;
}
.explore-card.card-amber .explore-btn-cta {
  background: #fef3c7 !important;
  color: #b45309 !important;
}
.explore-card.card-amber:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.18) !important;
}
.explore-card.card-amber:hover .explore-btn-cta {
  background: #f59e0b !important;
  color: white !important;
}

/* Theme 4: Orange (Lịch trình) */
.explore-card.card-orange {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%) !important;
  border-color: #fed7aa !important;
}
.explore-card.card-orange .explore-icon-ring {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  color: white !important;
}
.explore-card.card-orange .explore-btn-cta {
  background: #ffedd5 !important;
  color: #c2410c !important;
}
.explore-card.card-orange:hover {
  border-color: #ea580c !important;
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.18) !important;
}
.explore-card.card-orange:hover .explore-btn-cta {
  background: #ea580c !important;
  color: white !important;
}

/* GREEN RULES 2x2 HORIZONTAL CARDS (EXACT MATCH TO REFERENCE SCREENSHOT) */
.green-rules-section {
  padding: 4.5rem 2rem;
  background: #f8fafc;
}

.green-grid-2x2 {
  max-width: 1240px;
  margin: 2.5rem auto 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.green-card-horizontal {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.green-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Left Icon Ring */
.card-left-icon {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.icon-ring {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
  box-sizing: border-box;
}

/* Right Info Area */
.card-right-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.step-pill {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.card-right-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.card-right-info p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* --- THEME RED (Step 01) --- */
.card-theme-red {
  border-color: rgba(239, 68, 68, 0.2);
}
.card-theme-red .icon-ring {
  background: #fff5f5;
  border: 3px solid #fecdd3;
  color: #e11d48;
}
.card-theme-red .step-pill {
  background: #ffe4e6;
  color: #e11d48;
}
.card-theme-red::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(253, 164, 175, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* --- THEME GREEN (Step 02) --- */
.card-theme-green {
  border-color: rgba(2, 132, 199, 0.2);
}
.card-theme-green .icon-ring {
  background: #f0f9ff;
  border: 3px solid #bae6fd;
  color: #0284c7;
}
.card-theme-green .step-pill {
  background: #e0f2fe;
  color: #0284c7;
}
.card-theme-green::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* --- THEME YELLOW (Step 03) --- */
.card-theme-yellow {
  border-color: rgba(245, 158, 11, 0.2);
}
.card-theme-yellow .icon-ring {
  background: #fffbeb;
  border: 3px solid #fef08a;
  color: #d97706;
}
.card-theme-yellow .step-pill {
  background: #fef3c7;
  color: #d97706;
}
.card-theme-yellow::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

/* --- THEME BLUE (Step 04) --- */
.card-theme-blue {
  border-color: rgba(2, 132, 199, 0.2);
}
.card-theme-blue .icon-ring {
  background: #f0f9ff;
  border: 3px solid #bae6fd;
  color: #0284c7;
}
.card-theme-blue .step-pill {
  background: #e0f2fe;
  color: #0284c7;
}
.card-theme-blue::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .green-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* FEATURED PLACES CAROUSEL */
.featured-section {
  padding: 6rem 2rem;
  background: white;
}

.featured-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.featured-track-container {
  overflow: hidden;
  flex: 1;
}

.featured-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.featured-card {
  min-width: calc(33.333% - 1.33rem);
  background: var(--bg-light);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.featured-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.featured-card-content {
  padding: 1.5rem;
}

.featured-card-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.featured-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.featured-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.featured-card a:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* UNIFIED SUBPAGE HERO BANNER - SHIFTED UPWARDS & LARGER TEXT */
.page-banner, .page-header {
  position: relative !important;
  min-height: 440px !important;
  height: 48vh !important;
  margin-top: 0 !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  background: url('3.jpg') center/cover no-repeat !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  color: white !important;
  text-align: center !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.page-banner::before, .page-header::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.45) 100%) !important;
  z-index: 1 !important;
}

.page-banner > *, .page-header > * {
  position: relative !important;
  z-index: 2 !important;
  transform: translateY(-15px) !important; /* Shifted text upwards */
}

.page-banner h1, .page-header h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem) !important;
  font-weight: 900 !important;
  margin: 0 0 10px 0 !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
  color: white !important;
  font-family: var(--font-main) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
}

.page-banner p, .page-header p {
  font-size: clamp(1rem, 1.6vw, 1.25rem) !important;
  margin: 0 !important;
  opacity: 0.98 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  font-family: var(--font-main) !important;
}

/* REMOVE BREADCRUMBS COMPLETELY */
.breadcrumb {
  display: none !important;
}

/* FOOTER */
.site-footer {
  background: #f0f9ff;
  color: #1e293b;
  padding: 4rem 2rem 2rem;
  border-top: 2px solid #bae6fd;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.footer-brand-col {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.footer-brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-logo {
  height: 140px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.footer-logo:hover {
  transform: scale(1.04);
}

.footer-brand-text {
  display: none !important;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #334155;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col a:hover {
  color: #0284c7;
  font-weight: 600;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #334155;
  margin-bottom: 0.8rem;
}

.contact-list i {
  color: #0284c7;
  margin-top: 0.25rem;
}

.footer-bottom, .subpage-footer, .footer {
  background: #0284c7 !important;
  color: #ffffff !important;
  text-align: center !important;
  padding: 1.2rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}

.footer-bottom p, .subpage-footer p, .footer p {
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* EXACT MATCH TO USER REFERENCE SCREENSHOT FOR CÁCH DI CHUYỂN */
.route-table-container {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  margin-bottom: 2.5rem;
}

.route-custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.route-custom-table thead th {
  background: #0369a1;
  color: white;
  font-weight: 800;
  padding: 1.1rem 1.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.route-custom-table tbody td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px dashed #e2e8f0;
  color: #334155;
  font-size: 0.95rem;
  vertical-align: middle;
}

.route-custom-table tbody tr:last-child td {
  border-bottom: none;
}

.step-col-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.num-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-route-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e293b;
}

.route-icon {
  color: #0369a1;
  font-size: 1rem;
}

.schedule-pill-light {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #bae6fd;
  margin-top: 0.4rem;
}

.big-price-teal {
  color: #0369a1;
  font-weight: 800;
  font-size: 1.15rem;
}

/* SECTION SUB HEADERS WITH ICONS */
.section-sub-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0 1.2rem 0;
}

.section-sub-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0369a1;
  margin: 0;
}

.sub-header-icon {
  font-size: 1.3rem;
  color: #0369a1;
}

.exclamation-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e293b;
  color: white;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VEHICLES GRID 2 COLUMNS */
.vehicles-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.vehicle-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 1.8rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 2px solid transparent;
}

.card-motorbike {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.card-bus {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.ribbon-recommend {
  position: absolute;
  top: 0;
  right: 0;
  background: #0284c7;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-bottom-left-radius: 1rem;
  border-top-right-radius: 1.1rem;
  letter-spacing: 0.05em;
}

.vehicle-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.vehicle-icon-ring {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.ring-green { background: #e0f2fe; color: #0284c7; }
.ring-blue { background: #e0f2fe; color: #2563eb; }

.vehicle-card-header h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.vehicle-pro-con {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.point-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
}

.point-row p { margin: 0; line-height: 1.5; }
.pro-icon { color: #16a34a; font-size: 1.1rem; flex-shrink: 0; }
.con-icon { color: #dc2626; font-size: 1.1rem; flex-shrink: 0; }

/* NOTES STACK ROWS (MATCHING SCREENSHOT COLORED CARDS) */
.notes-stack-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.row-note-item {
  border-radius: 1rem;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.row-note-item:hover {
  transform: translateX(4px);
}

.note-circle-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.note-desc-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.note-desc-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* 6 Themes */
.note-theme-orange { background: #fff7ed; border: 1px solid #ffedd5; }
.note-theme-orange .note-circle-icon { background: #ea580c; }

.note-theme-green { background: #f0f9ff; border: 1px solid #e0f2fe; }
.note-theme-green .note-circle-icon { background: #16a34a; }

.note-theme-blue { background: #f0f9ff; border: 1px solid #e0f2fe; }
.note-theme-blue .note-circle-icon { background: #2563eb; }

.note-theme-purple { background: #faf5ff; border: 1px solid #f3e8ff; }
.note-theme-purple .note-circle-icon { background: #9333ea; }

.note-theme-pink { background: #fdf2f8; border: 1px solid #fce7f3; }
.note-theme-pink .note-circle-icon { background: #ec4899; }

.note-theme-yellow { background: #fffbeb; border: 1px solid #fef3c7; }
.note-theme-yellow .note-circle-icon { background: #d97706; }

@media (max-width: 850px) {
  .vehicles-grid-2col { grid-template-columns: 1fr; }
}

/* EXACT MATCH TO REFERENCE SCREENSHOT FOR TỔNG QUAN (OVERVIEW PAGE) */

/* ROW 1: TOP 3 CARDS */
.overview-top-3cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.top-info-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0284c7;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.3s ease;
}

.top-info-card:hover {
  transform: translateY(-5px);
}

.card-teal-line { border-top-color: #0284c7; }
.card-cyan-line { border-top-color: #06b6d4; }
.card-amber-line { border-top-color: #f59e0b; }

.card-head-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.badge-teal { background: #e0f2fe; color: #0284c7; }
.badge-cyan { background: #e0f2fe; color: #0284c7; }
.badge-amber { background: #fef3c7; color: #d97706; }

.head-titles h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.2rem 0;
}

.sub-dot-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.dot-teal { color: #0284c7; }
.dot-cyan { color: #0284c7; }
.dot-amber { color: #d97706; }

.card-desc-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* ROW 2 & 3: LARGE OVERVIEW BLOCK BOXES */
.overview-block-box {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: 1fr 340px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  position: relative;
}

.box-teal-left {
  border-left: 6px solid #0284c7;
}

.box-blue-left {
  border-left: 6px solid #0284c7;
}

.box-left-content {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.box-head-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.box-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ring-teal { background: #0284c7; color: white; }
.ring-blue { background: #0284c7; color: white; }

.box-head-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.box-desc-p {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.tag-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-pill {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  display: inline-block;
}

.pill-teal {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.pill-blue {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* RIGHT SIDEBAR (4 STAT ROWS) */
.box-right-sidebar {
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.side-stat-row {
  background: white;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.side-stat-icon {
  color: #0284c7;
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.side-stat-val {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  min-width: 80px;
}

.side-stat-lbl {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.3;
}

/* RIGHT PILLARS (4 VERTICAL MINI CARDS) */
.box-right-pillars {
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.pillar-mini-card {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.85rem;
  padding: 1.2rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.pillar-icon {
  font-size: 1.5rem;
  color: #0284c7;
  margin-bottom: 0.6rem;
}

.pillar-mini-card h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.3rem 0;
}

.pillar-mini-card p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .overview-top-3cards { grid-template-columns: 1fr; }
  .overview-block-box { grid-template-columns: 1fr; }
  .box-right-pillars { grid-template-columns: repeat(2, 1fr); }
}
  font-size: 2.2rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.guide-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 1.8rem;
}

.guide-sub-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin: 2.5rem 0 1.2rem 0;
}

.table-card-box {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.responsive-table-scroll {
  overflow-x: auto;
}

.custom-travel-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.custom-travel-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
  padding: 1rem 1.2rem;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.custom-travel-table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  line-height: 1.6;
}

.custom-travel-table tbody tr:last-child td {
  border-bottom: none;
}

.custom-travel-table tbody tr:hover {
  background: #f8fafc;
}

.schedule-tag {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.35rem;
  border: 1px solid #e0f2fe;
}

.price-highlight {
  color: #0284c7;
  font-weight: 800;
  font-size: 1.05rem;
}

.vehicle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.badge-recommended {
  color: #0284c7;
}

.badge-bus {
  color: #2563eb;
}

/* Travel Notes List (Screenshot 2) */
.travel-notes-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.note-row-card {
  background: #fefce8;
  border-left: 5px solid #f59e0b;
  border-radius: 0.75rem;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.note-row-card:hover {
  transform: translateX(4px);
}

.note-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.note-danger .note-icon-badge { background: #fee2e2; color: #dc2626; }
.note-money .note-icon-badge { background: #dcfce7; color: #16a34a; }
.note-info .note-icon-badge { background: #e0f2fe; color: #0284c7; }
.note-ship .note-icon-badge { background: #e0e7ff; color: #4f46e5; }
.note-card-id .note-icon-badge { background: #fae8ff; color: #c026d3; }
.note-warning .note-icon-badge { background: #fef3c7; color: #d97706; }

.note-text-content {
  font-size: 1rem;
  color: #334155;
  line-height: 1.5;
}

.note-text-content strong {
  color: #0f172a;
  font-weight: 700;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #cbd5e1;
  text-align: center;
  color: #64748b;
}

/* VIBRANT TIPS & GREEN RULES STYLING (FOR MẸO DU LỊCH) */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tip-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.tip-icon-ring {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.tip-card:hover .tip-icon-ring {
  transform: scale(1.1) rotate(5deg);
}

.tip-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.8rem 0;
}

.tip-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* FORCING PURE WHITE ICON COLOR INSIDE ALL RINGS */
.tip-icon-ring i, .rule-icon-ring i {
  color: #ffffff !important;
  font-size: 1.8rem !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 4 Distinct Vibrant Themes for Tips Cards */
/* Card 1: Emerald Money Theme */
.tip-card.tip-theme-money {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #bae6fd !important;
}
.tip-card.tip-theme-money .tip-icon-ring {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}
.tip-card.tip-theme-money h3 { color: #0369a1 !important; }
.tip-card.tip-theme-money:hover { border-color: #0284c7 !important; box-shadow: 0 15px 35px rgba(2, 132, 199, 0.18) !important; }

/* Card 2: Ocean Wifi Theme */
.tip-card.tip-theme-wifi {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #bae6fd !important;
}
.tip-card.tip-theme-wifi .tip-icon-ring {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}
.tip-card.tip-theme-wifi h3 { color: #0369a1 !important; }
.tip-card.tip-theme-wifi:hover { border-color: #0284c7 !important; box-shadow: 0 15px 35px rgba(2, 132, 199, 0.18) !important; }

/* Card 3: Sky Water Theme */
.tip-card.tip-theme-water {
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%) !important;
  border-color: #a5f3fc !important;
}
.tip-card.tip-theme-water .tip-icon-ring {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}
.tip-card.tip-theme-water h3 { color: #0891b2 !important; }
.tip-card.tip-theme-water:hover { border-color: #06b6d4 !important; box-shadow: 0 15px 35px rgba(6, 182, 212, 0.18) !important; }

/* Card 4: Sun Season Theme */
.tip-card.tip-theme-sun {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%) !important;
  border-color: #fef08a !important;
}
.tip-card.tip-theme-sun .tip-icon-ring {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}
.tip-card.tip-theme-sun h3 { color: #b45309 !important; }
.tip-card.tip-theme-sun:hover { border-color: #f59e0b !important; box-shadow: 0 15px 35px rgba(245, 158, 11, 0.18) !important; }

/* GREEN RULES SECTION (BOTTOM 4 CARDS) */
.green-rules {
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  margin-top: 2.5rem;
}

.green-rules h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0c4a6e;
  text-align: center;
  margin-bottom: 0.5rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.rule-item {
  background: white;
  border-radius: 1.25rem;
  padding: 2.2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.rule-item:hover {
  transform: translateY(-6px);
}

.rule-icon-ring {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.rule-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.6rem 0;
}

.rule-item p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* 4 Distinct Themes for Rules */
/* Rule 1: Red Plastic Ban */
.rule-item.rule-theme-red {
  background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%) !important;
  border-color: #fecdd3 !important;
}
.rule-item.rule-theme-red .rule-icon-ring {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}
.rule-item.rule-theme-red h4 { color: #991b1b !important; }
.rule-item.rule-theme-red:hover { border-color: #ef4444 !important; box-shadow: 0 15px 35px rgba(239, 68, 68, 0.18) !important; }

/* Rule 2: Green Bottle */
.rule-item.rule-theme-green {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #bae6fd !important;
}
.rule-item.rule-theme-green .rule-icon-ring {
  background: linear-gradient(135deg, #0284c7 0%, #0284c7 100%) !important;
}
.rule-item.rule-theme-green h4 { color: #0369a1 !important; }
.rule-item.rule-theme-green:hover { border-color: #0284c7 !important; box-shadow: 0 15px 35px rgba(2, 132, 199, 0.18) !important; }

/* Rule 3: Amber Recycle */
.rule-item.rule-theme-amber {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%) !important;
  border-color: #fef08a !important;
}
.rule-item.rule-theme-amber .rule-icon-ring {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}
.rule-item.rule-theme-amber h4 { color: #92400e !important; }
.rule-item.rule-theme-amber:hover { border-color: #f59e0b !important; box-shadow: 0 15px 35px rgba(245, 158, 11, 0.18) !important; }

/* Rule 4: Blue Marine */
.rule-item.rule-theme-blue {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
  border-color: #bae6fd !important;
}
.rule-item.rule-theme-blue .rule-icon-ring {
  background: linear-gradient(135deg, #0284c7 0%, #0284c7 100%) !important;
}
.rule-item.rule-theme-blue h4 { color: #1e40af !important; }
.rule-item.rule-theme-blue:hover { border-color: #0284c7 !important; box-shadow: 0 15px 35px rgba(2, 132, 199, 0.18) !important; }

@media (max-width: 992px) {
  .tips-grid, .rules-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .tips-grid, .rules-grid { grid-template-columns: 1fr; }
}

/* ADMIN STYLES */
.admin-fab {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: #475569;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.admin-fab:hover {
  background: #334155;
}

.admin-toolbar {
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-height: 75px !important;
  background: #0f172a !important;
  color: white !important;
  padding: 10px 24px !important;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 9999 !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4) !important;
  box-sizing: border-box !important;
}

.admin-toolbar button {
  background: white;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
}

.admin-toolbar button:hover {
  background: #e5e7eb;
}

.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.admin-login-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.admin-login-card h3 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-dark);
}

.admin-login-card input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: var(--font-main);
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-actions button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

/* SCROLL TOP */
.scroll-top-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.scroll-top-fab.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-fab:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #333;
  color: white;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========================================= */
/*  COMPREHENSIVE RESPONSIVE DESIGN          */
/* ========================================= */

/* --- TABLET LANDSCAPE (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(1.8rem, 4vw, 3rem) !important; }
  .hero-subtitle { font-size: clamp(0.85rem, 1.4vw, 1.1rem) !important; }

  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
  .explore-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .green-grid-2x2 { grid-template-columns: 1fr !important; }
  .green-rules-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .featured-card { min-width: calc(50% - 1rem) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }

  .intro-grid { gap: 2.5rem !important; }
  .intro-heading { font-size: 2rem !important; }
}

/* --- TABLET PORTRAIT / SMALL LAPTOP (max-width: 992px) --- */
@media (max-width: 992px) {
  /* Mobile hamburger menu - Compact, Cute, Floating Glass Card */
  .nav-links {
    position: absolute !important;
    top: 65px !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    width: 230px !important;
    max-width: calc(100vw - 30px) !important;
    height: auto !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    flex-direction: column !important;
    padding: 10px 8px !important;
    border-radius: 20px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
    display: none !important;
    z-index: 9998 !important;
    overflow: hidden !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    transform-origin: top right !important;
  }

  .nav-links.open {
    display: flex !important;
    animation: popMobileMenu 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  }

  @keyframes popMobileMenu {
    from { opacity: 0; transform: translateY(-12px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .nav-links li {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    border-bottom: none !important;
    margin: 0 !important;
  }

  .nav-links a {
    color: #e2e8f0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    padding: 9px 14px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    text-shadow: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(2, 132, 199, 0.28) !important;
    color: #38bdf8 !important;
    padding-left: 16px !important;
  }

  /* Hamburger toggle */
  .nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.3rem !important;
    color: #ffffff !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
  }

  .logo-img {
    height: 55px !important;
  }

  .nav-container {
    padding: 0.5rem 1rem !important;
  }

  /* Language button - smaller on mobile */
  .lang-toggle-btn {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.8rem !important;
  }

  /* Hero */
  .hero {
    min-height: 380px !important;
    height: 45vh !important;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 0 1.2rem !important;
  }

  .hero-search {
    max-width: 90% !important;
  }

  /* Intro */
  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .intro-map-col {
    height: 350px !important;
    min-height: 300px !important;
  }

  .map-container {
    min-height: 300px !important;
  }

  .intro-section {
    padding: 3rem 1.5rem !important;
  }

  /* Sections */
  .explore-section { padding: 3rem 1.5rem !important; }
  .featured-section { padding: 3rem 1.5rem !important; }
  .green-rules-section { padding: 3rem 1.5rem !important; }

  /* Overview page */
  .overview-top-3cards { grid-template-columns: 1fr !important; }
  .overview-block-box { grid-template-columns: 1fr !important; }
  .box-right-pillars { grid-template-columns: repeat(2, 1fr) !important; }

  /* Page banners */
  .page-banner, .page-header {
    min-height: 320px !important;
    height: auto !important;
    padding: 100px 1.5rem 40px 1.5rem !important;
  }

  .page-banner h1, .gallery-hero h1 {
    font-size: 2rem !important;
  }
}

/* --- MOBILE LANDSCAPE / SMALL TABLET (max-width: 768px) --- */
@media (max-width: 768px) {
  .hero {
    min-height: 340px !important;
    height: 42vh !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 1.2rem !important;
    padding: 0 0.5rem !important;
  }

  .hero-content {
    margin-top: -10px !important;
  }

  .hero-search {
    max-width: 95% !important;
    padding: 0.3rem !important;
  }

  .hero-search input {
    font-size: 0.85rem !important;
    padding: 0.5rem 0 !important;
  }

  .hero-search button {
    padding: 0.55rem 1.2rem !important;
    font-size: 0.85rem !important;
  }

  /* Stats */
  .stats-section {
    margin-top: -30px !important;
    padding: 0 1rem !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .stat-card {
    padding: 1rem 0.8rem !important;
    gap: 0.8rem !important;
    border-radius: 1rem !important;
  }

  .stat-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.2rem !important;
    border-radius: 0.75rem !important;
  }

  .stat-label { font-size: 0.7rem !important; }
  .stat-value { font-size: 0.95rem !important; }

  /* Intro */
  .intro-grid { grid-template-columns: 1fr !important; }
  .intro-heading { font-size: 1.75rem !important; }
  .intro-body { font-size: 1rem !important; }
  .intro-cta { padding: 0.85rem 1.8rem !important; font-size: 1rem !important; }
  .intro-map-col { height: 280px !important; min-height: 250px !important; }

  /* Explore */
  .explore-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
  .explore-card { padding: 1.8rem 1.2rem !important; border-radius: 1.2rem !important; }
  .explore-icon-ring { width: 65px !important; height: 65px !important; font-size: 1.8rem !important; margin-bottom: 1.2rem !important; }
  .explore-card h3 { font-size: 1.1rem !important; }
  .explore-card p { font-size: 0.85rem !important; margin-bottom: 1.2rem !important; }

  /* Featured */
  .featured-card { min-width: 100% !important; }
  .featured-card img { height: 200px !important; }

  /* Green rules */
  .green-grid-2x2 { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .green-card-horizontal { padding: 1.5rem !important; gap: 1.2rem !important; }
  .icon-ring { width: 70px !important; height: 70px !important; font-size: 2rem !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .site-footer { padding: 3rem 1.5rem 1.5rem !important; }

  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Section headers */
  .section-title { font-size: 1.75rem !important; }
  .section-subtitle { font-size: 0.95rem !important; }

  /* Vehicles */
  .vehicles-grid-2col { grid-template-columns: 1fr !important; }

  /* Page banners */
  .page-banner, .page-header {
    min-height: 260px !important;
    padding: 90px 1rem 30px 1rem !important;
  }
  .page-banner h1, .gallery-hero h1 {
    font-size: 1.75rem !important;
  }
  .page-banner p, .gallery-hero p {
    font-size: 0.95rem !important;
  }
}

/* --- MOBILE PORTRAIT (max-width: 480px) --- */
@media (max-width: 480px) {
  body {
    overflow-x: hidden !important;
  }

  .hero {
    min-height: 300px !important;
    height: 38vh !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .hero-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.8rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 0 0.8rem !important;
    margin-top: -5px !important;
  }

  .hero-search {
    flex-direction: column !important;
    border-radius: 1rem !important;
    padding: 0.8rem !important;
    max-width: 100% !important;
  }

  .hero-search i { display: none !important; }
  .hero-search input {
    width: 100% !important;
    padding: 0.6rem !important;
    font-size: 0.85rem !important;
    text-align: center !important;
  }
  .hero-search button {
    width: 100% !important;
    padding: 0.65rem !important;
    font-size: 0.85rem !important;
    margin-top: 0.3rem !important;
  }

  /* Stats */
  .stats-section {
    margin-top: -20px !important;
    padding: 0 0.75rem !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
  }

  .stat-card {
    padding: 0.8rem 0.6rem !important;
    gap: 0.6rem !important;
    flex-direction: column !important;
    text-align: center !important;
    border-radius: 0.85rem !important;
  }

  .stat-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  .stat-label { font-size: 0.65rem !important; }
  .stat-value { font-size: 0.85rem !important; }

  /* Intro */
  .intro-section { padding: 2rem 1rem !important; }
  .intro-heading { font-size: 1.5rem !important; }
  .intro-body { font-size: 0.9rem !important; }
  .intro-features li { font-size: 0.9rem !important; gap: 0.6rem !important; }
  .intro-cta { padding: 0.75rem 1.5rem !important; font-size: 0.9rem !important; }
  .intro-map-col { height: 220px !important; min-height: 200px !important; border-radius: 1rem !important; }
  .map-container { min-height: 200px !important; }

  /* Explore */
  .explore-section { padding: 2rem 1rem !important; }
  .explore-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
  .explore-card {
    padding: 1.2rem 0.8rem !important;
    border-radius: 1rem !important;
  }
  .explore-icon-ring {
    width: 50px !important; height: 50px !important;
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
  }
  .explore-card h3 { font-size: 0.95rem !important; }
  .explore-card p { font-size: 0.78rem !important; margin-bottom: 0.8rem !important; }
  .explore-btn-cta { font-size: 0.75rem !important; padding: 0.4rem 0.8rem !important; }

  /* Green rules */
  .green-rules-section { padding: 2rem 1rem !important; }
  .green-card-horizontal {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.2rem !important;
    gap: 0.8rem !important;
  }
  .card-right-info { align-items: center !important; }
  .icon-ring { width: 60px !important; height: 60px !important; font-size: 1.6rem !important; }

  /* Featured */
  .featured-section { padding: 2rem 1rem !important; }
  .featured-wrapper { gap: 0.5rem !important; }
  .carousel-btn { width: 36px !important; height: 36px !important; font-size: 0.9rem !important; }

  /* Footer */
  .site-footer { padding: 2rem 1rem 1rem !important; }
  .footer-logo { height: 50px !important; }

  /* Section headers */
  .section-header { margin-bottom: 1.5rem !important; }
  .section-title { font-size: 1.4rem !important; }
  .section-subtitle { font-size: 0.85rem !important; }

  /* Page banners */
  .page-banner, .page-header, .gallery-hero {
    min-height: 220px !important;
    padding: 80px 0.8rem 25px 0.8rem !important;
  }
  .page-banner h1, .gallery-hero h1 {
    font-size: 1.4rem !important;
  }
  .page-banner p, .gallery-hero p {
    font-size: 0.85rem !important;
    padding: 0 0.5rem !important;
  }

  /* Navbar mobile */
  .logo-img { height: 48px !important; }
  .nav-container { padding: 0.4rem 0.8rem !important; }
  .lang-toggle-btn { padding: 0.35rem 0.65rem !important; font-size: 0.8rem !important; }
}

/* --- VERY SMALL SCREENS (max-width: 360px) --- */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.2rem !important;
  }

  .hero-subtitle {
    font-size: 0.75rem !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .explore-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-card {
    flex-direction: row !important;
    text-align: left !important;
  }
}

/* UNIFIED PAGE BANNER HERO (VIBRANT OCEAN BLUE OVERLAY MATCHING SAMPLE) */
.page-banner, .page-header, .page-header-bg, .gallery-hero, .hero-banner {
  position: relative !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(3, 105, 161, 0.82) 100%), url('3.jpg') center/cover no-repeat !important;
  padding: 140px 20px 65px 20px !important;
  text-align: center !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
}

.page-banner h1, .page-header h1, .page-header-bg h1, .gallery-hero h1, .hero-banner h1 {
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35) !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
}

.page-banner p, .page-header p, .page-header-bg p, .gallery-hero p, .hero-banner p {
  font-size: 1.05rem !important;
  color: #e0f2fe !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
  text-align: center !important;
}

.gallery-hero-container {
  max-width: 1000px !important;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hero-badge-top {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #7dd3fc !important;
  margin-bottom: 12px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  padding: 6px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  display: inline-block !important;
}

.gallery-search-box {
  margin: 0 auto !important;
}

/* Admin Pencil Button in Footer */
.footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
}

#admin-floating-pencil-btn, #admin-pencil-fab, .admin-pencil-footer, .admin-fab {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
