/* ================================================
   Rwanda Safari Tours - Main Stylesheet
   Theme: Natural Green | Premium Safari Aesthetic
   ================================================ */

/* === CSS Variables === */
:root {
  --green-dark:    #1a5c2e;
  --green-main:    #1e7a3e;
  --green-mid:     #27a84f;
  --green-light:   #4cbb70;
  --green-pale:    #e8f5ec;
  --green-xpale:   #f2faf5;
  --gold:          #c9962a;
  --gold-light:    #e8b84b;
  --text-dark:     #1a1a1a;
  --text-mid:      #444444;
  --text-light:    #777777;
  --white:         #ffffff;
  --bg-light:      #f8fdf9;
  --border:        #d4e8da;
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.16);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --transition:    all 0.3s ease;
  --font-main:     'Poppins', sans-serif;
  --font-display:  'Playfair Display', serif;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* === Section === */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-bg { background: var(--bg-light); }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-header { text-align: center; margin-bottom: 55px; }
.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-main);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--green-main); }
.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }

/* === Topbar === */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span i,
.topbar-left a i { margin-right: 5px; color: var(--green-light); }
.topbar-email { color: rgba(255,255,255,0.85); }
.topbar-email:hover { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-whatsapp {
  background: #25D366;
  color: white !important;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-whatsapp:hover { background: #128C7E; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--green-mid); color: white; }

/* === Navbar === */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.15); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
}
.navbar-brand { display: flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}
.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--green-main);
  background: var(--green-pale);
}
.nav-menu > li > a i { font-size: 0.65rem; transition: transform 0.3s; }
.nav-menu > li:hover > a i { transform: rotate(180deg); }
.btn-book-nav {
  background: var(--green-main) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.btn-book-nav:hover { background: var(--green-dark) !important; }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--green-main);
  padding: 8px 0;
  z-index: 200;
}
.has-dropdown:hover .dropdown { display: block; animation: fadeDown 0.25s ease; }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown li a i { color: var(--green-main); width: 16px; }
.dropdown li a:hover { background: var(--green-pale); color: var(--green-main); }

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-10px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Mobile toggle — hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none; border: none; cursor: pointer;
  padding: 0;
  z-index: 10001;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}
/* Animated X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.btn-primary { background: var(--green-main); color: var(--white); border-color: var(--green-main); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,122,62,0.35); }
.btn-outline { background: transparent; color: var(--green-main); border-color: var(--green-main); }
.btn-outline:hover { background: var(--green-main); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn-white:hover { background: var(--green-pale); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: #a8780f; border-color: #a8780f; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,60,30,0.85) 0%, rgba(10,40,20,0.7) 50%, rgba(20,60,30,0.8) 100%);
  z-index: 1;
}
.hero-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 8s ease;
}
.hero:hover .hero-image { transform: scale(1.05); }
.hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 60px 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-tag i { color: var(--green-light); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  line-height: 1.8;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Search Bar */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.hero-search-group { flex: 1; min-width: 160px; }
.hero-search-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.hero-search-group select,
.hero-search-group input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}
.hero-search-group select:focus,
.hero-search-group input:focus { border-color: var(--green-main); }

/* === Cards === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

/* Tour Card */
.tour-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.tour-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--green-main);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.tour-card-fav {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.9);
  color: var(--text-light);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.tour-card-fav:hover { color: #e74c3c; background: white; }
.tour-card-body { padding: 20px; }
.tour-card-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.tour-card-meta span { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-light); }
.tour-card-meta span i { color: var(--green-main); }
.tour-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.tour-card-title:hover { color: var(--green-main); }
.tour-card-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tour-card-price { font-size: 0.8rem; color: var(--text-light); }
.tour-card-price strong { font-size: 1.2rem; color: var(--green-main); font-weight: 700; display: block; }

/* Package Card */
.pkg-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.pkg-card:hover { border-color: var(--green-main); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.pkg-card.featured { border-color: var(--gold); }
.pkg-badge {
  position: absolute; top: 18px; right: -1px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 4px 0 0 4px;
}
.pkg-card.featured .pkg-badge { background: var(--green-main); }
.pkg-img { height: 200px; overflow: hidden; }
.pkg-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s; }
.pkg-card:hover .pkg-img img { transform: scale(1.06); }
.pkg-body { padding: 22px; }
.pkg-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pkg-meta span { background: var(--green-pale); color: var(--green-main); font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.pkg-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.pkg-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }
.pkg-includes { margin-bottom: 16px; }
.pkg-includes li { font-size: 0.82rem; color: var(--text-mid); display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.pkg-includes li i { color: var(--green-main); font-size: 0.75rem; }
.pkg-price { font-size: 0.8rem; color: var(--text-light); padding-top: 14px; border-top: 1px solid var(--border); }
.pkg-price strong { font-size: 1.6rem; color: var(--green-main); display: block; font-weight: 700; }
.pkg-footer { display: flex; gap: 10px; margin-top: 14px; }
.pkg-footer .btn { flex: 1; justify-content: center; }

/* Blog Card */
.blog-card-img { height: 200px; overflow: hidden; position: relative; }
.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.06); }
.blog-cat {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--green-main); color: white;
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 10px; border-radius: 50px;
}
.blog-card-body { padding: 18px; }
.blog-meta { display: flex; gap: 14px; margin-bottom: 8px; }
.blog-meta span { font-size: 0.75rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.blog-meta span i { color: var(--green-main); }
.blog-title { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-title a:hover { color: var(--green-main); }
.blog-excerpt { font-size: 0.82rem; color: var(--text-light); margin-bottom: 14px; }
.blog-read-more { color: var(--green-main); font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.blog-read-more:hover { color: var(--green-dark); gap: 8px; }

/* Testimonial Card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--green-pale);
  position: absolute;
  top: 10px; left: 20px;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%; overflow: hidden;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--green-main);
  flex-shrink: 0;
}
.testimonial-avatar img { width:100%; height:100%; object-fit:cover; }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-location { font-size: 0.78rem; color: var(--text-light); }
.testimonial-tour { font-size: 0.75rem; color: var(--green-main); font-weight: 500; margin-top: 2px; }

/* === Grids === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

/* === Why Us === */
.why-box {
  text-align: center; padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.why-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-main); }
.why-icon {
  width: 64px; height: 64px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem; color: var(--green-main);
  transition: var(--transition);
}
.why-box:hover .why-icon { background: var(--green-main); color: white; }
.why-box h4 { font-size: 1rem; margin-bottom: 8px; }
.why-box p { font-size: 0.85rem; color: var(--text-light); }

/* === Destinations Grid === */
.dest-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: block;
}
.dest-card img { width:100%; height:260px; object-fit:cover; transition: transform 0.5s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,40,20,0.85) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  transition: var(--transition);
}
.dest-card:hover .dest-overlay { background: linear-gradient(to top, rgba(10,40,20,0.95) 0%, rgba(10,40,20,0.3) 100%); }
.dest-cat { font-size: 0.7rem; font-weight: 600; color: var(--green-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.dest-name { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.dest-desc { font-size: 0.8rem; color: rgba(255,255,255,0.75); max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.dest-card:hover .dest-desc { max-height: 80px; }
.dest-arrow {
  margin-top: 12px;
  background: var(--green-main); color: white;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  opacity: 0; transform: translateY(10px);
  transition: var(--transition);
}
.dest-card:hover .dest-arrow { opacity: 1; transform: translateY(0); }

/* === Stats Banner === */
.stats-banner { background: var(--green-main); padding: 50px 0; }
.stats-banner .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-item { text-align: center; color: white; }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.85rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-display); font-size: 2.2rem; color: white; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(30,122,62,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card { background: white; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }

/* === Page Hero (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 70px 0 50px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.bg-image { background-size: cover; background-position: center; }
.page-hero.bg-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,60,30,0.85), rgba(10,40,20,0.75));
}
.page-hero .container { position: relative; z-index: 1; padding-bottom: 20px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 18px;
  font-size: 0.82rem; color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 0.65rem; }

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); position: relative; cursor: pointer; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(20,60,30,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  color: white; font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* === FAQ Accordion === */
.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--green-main); }
.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  /* Ensure tap area is finger-friendly */
  min-height: 60px;
}
.faq-question i { color: var(--green-main); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }
.faq-category-title {
  font-size: 0.78rem; font-weight: 700;
  color: var(--green-main); text-transform: uppercase; letter-spacing: 1.5px;
  margin: 28px 0 12px;
}

/* === Alert Messages === */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }
.alert i { flex-shrink: 0; margin-top: 2px; }

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 20px;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
}
.whatsapp-float:hover { background: #128C7E; transform: scale(1.1); }
.whatsapp-tooltip {
  position: absolute; right: 68px;
  background: #333;
  color: white; font-size: 0.78rem; font-weight: 500;
  padding: 5px 12px; border-radius: 4px; white-space: nowrap;
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* === Scroll Top === */
.scroll-top {
  position: fixed; bottom: 92px; right: 20px;
  background: var(--green-main);
  color: white; width: 42px; height: 42px;
  border-radius: 50%; border: none; cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: var(--transition); z-index: 9998;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* === Footer === */
.footer { background: #0d2b17; color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-about p { font-size: 0.85rem; line-height: 1.8; margin: 14px 0 20px; color: rgba(255,255,255,0.65); }
.footer-logo { margin-bottom: 4px; }
.footer-logo .logo-main { font-family: var(--font-display); font-size: 1.4rem; color: white; font-weight: 700; }
.footer-logo .logo-sub { font-size: 0.65rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 2px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green-main); color: white; }
.footer-col h4 {
  font-size: 0.92rem; font-weight: 700; color: white;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px;
  padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,0.08);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.83rem; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 7px; transition: var(--transition);
}
.footer-col ul li a i { color: var(--green-light); font-size: 0.65rem; }
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.83rem; color: rgba(255,255,255,0.65); margin-bottom: 10px;
}
.footer-contact li i { color: var(--green-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: white; }
.footer-newsletter {
  display: flex; overflow: hidden; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-newsletter input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,0.06); border: none;
  color: white; font-size: 0.82rem; font-family: var(--font-main); outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter button {
  background: var(--green-main); color: white; border: none;
  padding: 10px 16px; cursor: pointer; transition: var(--transition);
  min-width: 44px; /* finger-friendly tap target */
}
.footer-newsletter button:hover { background: var(--green-mid); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--green-light); }

/* === Utilities === */
.text-center { text-align: center; }
.text-green  { color: var(--green-main); }
.text-gold   { color: var(--gold); }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 50px;
  background: var(--green-pale); color: var(--green-main);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =====================================================
   RESPONSIVE — TABLET (≤ 1024px)
   Desktop is clean, no changes there.
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  /* Destinations 3-col → 2-col on tablet */
  .section [style*="grid-template-columns:repeat(3,1fr)"],
  .section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* =====================================================
   RESPONSIVE — MOBILE (≤ 768px)
   Every issue fixed. Desktop untouched.
   ===================================================== */
@media (max-width: 768px) {

  /* --- Topbar: keep WhatsApp visible, hide address/email --- */
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: center; }
  .social-links { display: none; } /* hide socials, save space for WhatsApp */
  .topbar-whatsapp { font-size: 0.82rem; padding: 6px 16px; }

  /* --- Navbar --- */
  .nav-toggle { display: flex; }

  /* Overlay backdrop — added via JS class .nav-open on <body> */
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  body.nav-open .nav-overlay {
    display: block;
    opacity: 1;
  }

  /* Slide-in panel — use transform, NOT display:none, so transition works */
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(82vw, 320px);
    height: 100dvh; /* dynamic viewport height — handles mobile browser chrome */
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 0 24px;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9995;
    gap: 0;
    /* Slide off-screen — no display:none so transition fires */
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Always in the DOM but visually off-screen */
    display: flex !important;
  }
  .nav-menu.open {
    transform: translateX(0);
  }

  /* Nav items — full width, larger tap targets (min 48px) */
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    min-height: 52px;
  }
  .nav-menu > li:last-child > a { border-bottom: none; }

  /* Book Now button — full width in mobile menu */
  .btn-book-nav {
    margin: 16px 24px 0 !important;
    border-radius: var(--radius-md) !important;
    width: calc(100% - 48px) !important;
    justify-content: center;
    min-height: 52px;
  }

  /* Tours dropdown — accordion style on mobile */
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 0;
    background: var(--green-xpale);
    display: none;
    border-radius: 0;
    min-width: 0;
    width: 100%;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a {
    padding: 12px 24px 12px 40px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212,232,218,0.6);
    min-height: 48px;
  }
  /* Chevron flip on open */
  .has-dropdown.open > a i { transform: rotate(180deg); }

  /* --- Hero --- */
  .hero { min-height: 100svh; } /* full screen height on mobile */
  .hero-content { padding: 40px 0 30px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero p { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px; /* finger-friendly */
  }
  .hero-stats {
    gap: 20px;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.7rem; }

  /* Hero search — full-width stacked */
  .hero-search {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
  }
  .hero-search-group { min-width: 100%; }
  .hero-search-group select,
  .hero-search-group input { font-size: 1rem; min-height: 48px; } /* prevents iOS zoom on focus */
  .hero-search > div:last-child { width: 100%; }
  .hero-search > div:last-child .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

  /* --- Grids --- */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Why-box in grid-4 — 2 columns on mobile looks great */
  .why-box { padding: 22px 16px; }
  .why-icon { width: 52px; height: 52px; font-size: 1.2rem; }

  /* Gorilla spotlight 2-col → 1-col stacked */
  .section [style*="grid-template-columns:1fr 1fr"],
  .section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Destinations grid — 2-col on mobile */
  .section [style*="grid-template-columns:repeat(3,1fr)"],
  .section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .dest-card img { height: 180px; }
  /* Always show description on mobile (no hover on touch) */
  .dest-desc { max-height: 60px !important; }
  .dest-arrow { opacity: 1 !important; transform: translateY(0) !important; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .section-subtitle { font-size: 0.95rem; }

  /* --- Cards: remove hover lift on touch (sticks on tap) --- */
  .card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .pkg-card:hover { transform: none; }
  .why-box:hover { transform: none; }

  /* Package card footer buttons — stack on narrow cards */
  .pkg-footer { flex-direction: column; }
  .pkg-footer .btn { min-height: 48px; }

  /* --- Stats banner — 2×3 grid instead of chaotic flex wrap --- */
  .stats-banner { padding: 36px 0; }
  .stats-banner .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-items: center;
  }
  .stat-num { font-size: 2rem; }

  /* --- CTA banner --- */
  .cta-banner { padding: 50px 0; }
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: 0.95rem; }
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    min-height: 52px;
  }

  /* --- Form --- */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem; /* prevent iOS auto-zoom */
    min-height: 48px;
  }

  /* --- Footer --- */
  .footer-top { padding: 48px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-newsletter { flex-direction: row; } /* keep input+button in a row */
  .footer-newsletter input { min-height: 48px; font-size: 1rem; }
  .footer-newsletter button { min-height: 48px; padding: 10px 18px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 14px; }
  .footer-bottom-links { justify-content: center; }

  /* --- WhatsApp float + scroll-top — no overlap --- */
  .whatsapp-float { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.35rem; }
  .scroll-top { bottom: 84px; right: 16px; }
  /* Hide tooltip on mobile — it clips off screen */
  .whatsapp-tooltip { display: none; }

  /* --- Social proof ribbon — scroll horizontal on mobile --- */
  .section [aria-label="Client trust signals"] .container div {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    justify-content: flex-start;
    gap: 20px;
  }
  /* Hide dividers on mobile ribbon */
  .section [aria-label="Client trust signals"] div[style*="width:1px"] { display: none; }

  /* --- FAQ --- */
  .faq-question { padding: 16px 18px; font-size: 0.88rem; }
  .faq-item.open .faq-answer { padding: 0 18px 14px; }

  /* --- Page hero --- */
  .page-hero { padding: 50px 0 40px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* =====================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ===================================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .section { padding: 40px 0; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Stats — single column on very small screens */
  .stats-banner .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 1.8rem; }

  /* Grid 4 — 2 col still fine, grid-3 → 1 col */
  .grid-3 { grid-template-columns: 1fr; }

  /* Destinations — 1 col on very small screens */
  .section [style*="grid-template-columns:repeat(3,1fr)"],
  .section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .dest-card img { height: 200px; }

  /* Tour card image — slightly shorter */
  .tour-card-img { height: 200px; }

  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero-tag { font-size: 0.72rem; padding: 5px 12px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 6px; }
  .gallery-item.wide,
  .gallery-item.tall { grid-column: span 1; grid-row: span 1; }

  /* CTA */
  .cta-banner h2 { font-size: 1.4rem; }

  /* Footer */
  .footer-bottom-links { flex-direction: column; align-items: center; gap: 8px; }
}
