/* =============================================
   BHARAT DARSHAN YATRA - Main Stylesheet
   (CLEANED — single source of truth for hero carousel,
    dead .hero-slider/.slide code removed)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary: #13357B;
  --primary-dark: #0f2a62;
  --secondary: #14141F;
  --secondary-dark: #0a0a12;
  --accent: #13357B;
  --secondary-accent: #1f05e6; /* matches home page topbar icon color exactly */
  --text-dark: #222222;
  --text-mid: #555555;
  --text-light: #888888;
  --bg-light: #f2f2f2;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --radius: 10px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Jost', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.bg-light { background: var(--bg-light); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s;
  letter-spacing: 0.5px;
}
.btn-primary:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-sm {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-sm:hover { background: var(--accent); color: var(--white); }

.btn-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-link:hover { color: var(--primary-dark); }

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.25;
}
.section-desc {
  color: var(--text-mid);
  max-width: 720px;
  margin-bottom: 40px;
  font-size: 15px;
}


/* =============================================
   HERO CAROUSEL (Bootstrap #carouselId)
   Single source of truth — desktop + mobile.
   Matches actual homepage markup:
   .carousel-header > #carouselId > .carousel-inner > .carousel-item
   ============================================= */
#carouselId .carousel-item {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: var(--secondary-dark);
}
#carouselId .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
#carouselId .carousel-item::after{
    content:none !important;
    display:none !important;
    background:none !important;
}
#carouselId .carousel-caption {
  z-index: 5;
  pointer-events: none;
}
#carouselId .carousel-caption a,
#carouselId .carousel-caption button,
#carouselId .carousel-caption form {
  pointer-events: auto;
}

.search-bar { z-index: 10; position: relative; }
.carousel-header { z-index: 2; position: relative; }

/* Search bar overlaps hero bottom on desktop */
@media (min-width: 769px) {
  .search-bar { margin-top: -50px; }
}

/* Hero button premium hover effect */
.carousel-caption .btn-hover-bg {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.carousel-caption .btn-hover-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.carousel-caption .btn-hover-bg:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px rgba(19,53,123,0.45);
  background: var(--primary-dark, #0f2a62);
  color: #fff;
}
.carousel-caption .btn-hover-bg:hover::before { left: 130%; }
.carousel-caption .btn-hover-bg:active { transform: translateY(-1px) scale(0.99); }

/* =============================================
   TOUR CARDS (UPCOMING)
   ============================================= */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 24px;
}

.tour-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  border-color: var(--primary);
}

.tour-img {
  height: 190px;
  overflow: hidden;
}
.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-img img { transform: scale(1.07); }

.tour-info {
  padding: 16px;
}
.tour-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.tour-info h3 a:hover { color: var(--primary); }

.tour-info ul {
  margin-bottom: 12px;
}
.tour-info ul li {
  font-size: 12.5px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.tour-info ul li .fa {
  color: var(--primary);
  width: 14px;
}

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

.price-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(19,53,123,0.08);
  padding: 3px 9px;
  border-radius: 4px;
}

/* =============================================
   POPULAR TOURS
   ============================================= */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}

.popular-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.popular-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  border-color: var(--primary);
}

.popular-img {
  height: 175px;
  overflow: hidden;
}
.popular-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.popular-card:hover .popular-img img { transform: scale(1.07); }

.popular-info {
  padding: 14px 16px;
}
.location-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}
.popular-info h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--secondary);
  margin: 7px 0 10px;
  line-height: 1.4;
}
.popular-info h3 a:hover { color: var(--primary); }

.pkg-details {
  margin-bottom: 8px;
}
.pkg-details li {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 2px;
}

.popular-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 8px;
}

/* =============================================
   NEWS SECTION
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

.news-img {
  height: 200px;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-img img { transform: scale(1.06); }

.news-body {
  padding: 18px 20px;
}
.news-date {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-bottom: 6px;
}
.news-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-body p {
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 12px;
}

/* =============================================
   HANDLE TRIP SECTION
   ============================================= */
.handle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.handle-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform var(--transition), border-color var(--transition);
}
.handle-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.handle-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--primary);
}
.handle-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.handle-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}
.handle-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--secondary);
}
.testimonials .section-label { color: var(--accent); }
.testimonials .section-title { color: var(--white); }

.testimonial-slider { position: relative; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-right: 24px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}
.testimonial-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.87);
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author span {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.testi-nav {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.testi-nav button {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.testi-nav button:hover { background: var(--primary); border-color: var(--primary); }

/* =============================================
   ENQUIRY SECTION
   ============================================= */
.enquiry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.enquiry-form-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.enquiry-form .form-group {
  margin-bottom: 16px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea,
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition);
  outline: none;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.enquiry-img-box img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 440px;
  object-fit: cover;
}


/* =============================================
   ENQUIRY MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: 12px;
  max-width: 560px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(-20px);
  transition: transform 0.3s;
  border: 1px solid rgba(19,53,123,0.08);
}
.modal-overlay.active .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-inner {
  padding: 0;
}

.modal-logo {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 34px 28px 28px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.modal-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><circle cx="20" cy="20" r="1.2" fill="rgba(255,255,255,0.08)"/></svg>');
}
.modal-logo img {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  position: relative;
  z-index: 1;
}
.modal-logo p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.modal-form {
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-field-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--secondary);
}
.modal-field-group label .req { color: var(--primary); }
.modal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .modal-field-row { grid-template-columns: 1fr; }
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  padding: 13px 16px;
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(232,114,26,0.12);
}
.modal-form textarea { resize: none; }

.modal-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-alert.success {
  background: #e8f8ef;
  color: #1e7e44;
  border: 1px solid #b7ebc9;
}
.modal-alert.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c2bd;
}
.modal-form .btn-primary.full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #d9660f 100%);
  border: none;
  box-shadow: 0 6px 18px rgba(232,114,26,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.modal-form .btn-primary.full:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232,114,26,0.45);
}
.modal-privacy-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.85;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.modal-privacy-note i { color: var(--primary); font-size: 10px; }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-btns {
  position: fixed;
  right: 16px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 500;
}

.float-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 17px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.float-btn:hover { transform: scale(1.15); box-shadow: 0 6px 18px rgba(0,0,0,0.28); color: var(--white); }

.float-btn.whatsapp { background: #25D366; }
.float-btn.facebook { background: #1877F2; }
.float-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.float-btn.linkedin { background: #0A66C2; }
.float-btn.youtube { background: #FF0000; }

/* =============================================
   PAGE BANNER (for inner pages)
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-banner--photo {
  min-height: 340px;
}
@media (min-width: 1400px) {
  .page-banner--photo { min-height: 380px; }
}

/* Dot pattern — only on gradient (no photo) */
.page-banner:not(.page-banner--photo)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.06)"/></svg>');
  z-index: 1;
}

/* Dark overlay — always on photo banners */
.page-banner--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.38) 0%,
    rgba(0,0,0,0.62) 100%
  );
  z-index: 1;
}

/* All direct children above overlay */
.page-banner > * {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  position: relative;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span::before { content: ' › '; }

/* =============================================
   GENERAL RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { min-width: calc(50% - 12px); }
}

@media (max-width: 900px) {
  .enquiry-wrapper { grid-template-columns: 1fr; }
  .enquiry-img-box { display: none; }
}

/* Header/nav breakpoint aligned to 992px — same as home page's Bootstrap
   navbar-expand-lg, so the hamburger toggles at the exact same viewport
   width on every page (no 769-992px mismatch). */
@media (max-width: 991px) {
  /* Mobile Nav (custom nav-menu system, if used on inner pages) */
  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s;
    z-index: 999;
    gap: 0;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { padding: 13px 24px; }
  .nav-menu > li > a::before { display: none; }
  .nav-menu > li > a:hover,
  .nav-menu > li > a.active { color: var(--accent); }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--primary);
    margin-left: 24px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }

  .hamburger { display: flex; }
  /* Book Now stays reachable on mobile too, same as home page where it
     shows inside the collapsed menu instead of disappearing. */
  .btn-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px 24px 4px;
    width: calc(100% - 48px);
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title { font-size: 26px; }
  .testimonial-card { min-width: calc(100% - 0px); margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 50px 0; }
  .tour-grid, .popular-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .handle-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .tour-grid, .popular-grid, .handle-grid { grid-template-columns: 1fr; }
}

/* =============================================
   TOUR DETAIL PAGE STYLES
   ============================================= */
.tour-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.tour-hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  height: 380px;
}
.tour-hero-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}
.tour-hero-content {
  position: absolute;
  bottom: 24px; left: 28px; right: 28px;
  color: #fff;
}
.tour-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.tour-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.tag-badge.primary { background: var(--primary); border-color: var(--primary); }

/* Overview Card */
.overview-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.overview-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.overview-item .fa {
  color: var(--primary);
  margin-top: 3px;
  font-size: 15px;
  flex-shrink: 0;
  width: 18px;
}
.ov-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  margin-bottom: 3px;
}
.ov-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
}

/* Day Itinerary Accordion */
.itinerary-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.day-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.day-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.day-header:hover { background: var(--bg-light); }

.day-number {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.day-header h4 {
  flex: 1;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
}

.toggle-icon {
  color: var(--text-light);
  font-size: 13px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.day-item.open .toggle-icon { transform: rotate(180deg); }

.day-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px 0 72px;
}
.day-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
}
.day-item.open .day-body {
  max-height: 2000px;
  padding: 0 20px 18px 72px;
}

/* Inclusions / Exclusions */
.inc-exc { margin-bottom: 28px; }
.inc-exc h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.inc-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.inc-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.inc-box.includes h3 { color: #27ae60; }
.inc-box.excludes h3 { color: #e74c3c; }
.inc-box ul li {
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.inc-box.includes ul li .fa { color: #27ae60; margin-top: 3px; flex-shrink: 0; }
.inc-box.excludes ul li .fa { color: #e74c3c; margin-top: 3px; flex-shrink: 0; }

/* Tour Sidebar */
.tour-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 90px;
}

.sidebar-book-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sidebar-book-card .price-header {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  padding: 20px 22px;
  text-align: center;
}
.price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.price-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}
.price-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.sidebar-book-card .sidebar-form {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-book-card input,
.sidebar-book-card select,
.sidebar-book-card textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px;
  font-family: var(--font-main);
  background: var(--bg-light);
  transition: border-color 0.2s;
  outline: none;
  color: var(--text-dark);
}
.sidebar-book-card input:focus,
.sidebar-book-card select:focus,
.sidebar-book-card textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

/* Related Tours */
.related-tours { margin-top: 40px; }
.related-tours h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tour detail responsive */
@media (max-width: 1024px) {
  .tour-detail-layout { grid-template-columns: 1fr 290px; }
}
@media (max-width: 900px) {
  .tour-detail-layout { grid-template-columns: 1fr; }
  .tour-sidebar { position: static; }
  .inc-exc-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tour-hero-banner { height: 260px; }
  .tour-hero-content h1 { font-size: 22px; }
  .overview-card { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BLOG DETAIL PAGE STYLES
   ============================================= */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 48px;
  align-items: start;
}
.blog-detail-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.blog-detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.blog-detail-meta span {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-detail-cat {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.blog-detail-title {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 24px;
}
.blog-detail-body {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.85;
}
.blog-detail-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--secondary);
  margin: 36px 0 14px;
}
.blog-detail-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin: 28px 0 12px;
}
.blog-detail-body p { margin-bottom: 18px; }
.blog-detail-body ul { margin: 0 0 18px 20px; }
.blog-detail-body ul li { margin-bottom: 8px; }
.blog-highlight {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 15.5px;
  color: var(--secondary);
}

/* Blog Card (blog.html listing) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.13); }
.blog-card-img {
  height: 210px;
  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-category {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
}
.blog-body { padding: 20px; }
.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-meta .fa { color: var(--primary); }
.blog-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p {
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Blog sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 95px;
}

@media (max-width: 900px) {
  .blog-detail-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 600px) {
  .blog-detail-img { height: 240px; }
  .blog-detail-title { font-size: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================
   NAV OVERFLOW / WRAP FIX (inner pages)
   ============================================ */
html, body { overflow-x: hidden; }

.navbar-nav {
  align-items: center;
  flex-wrap: nowrap;
}
.navbar-nav .nav-link {
  white-space: nowrap;
}
.navbar-nav .nav-item,
.navbar-nav .dropdown {
  position: relative;
}

/* Book Now button kabhi wrap/cut na ho */
.btn-hover-bg.rounded-pill {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Extra items (Activities, Gallery, dropdown) ki wajah se
   lg breakpoint (992px-1200px) pe jagah tight padti hai —
   isliye thoda spacing kam karo taaki sab kuch ek line me
   aaram se fit ho jaye aur Book Now bhi na kate */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-nav .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px;
  }
  .btn-hover-bg.rounded-pill {
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 13px;
  }
}

/* 992px se thoda upar bhi tight ho sakta hai kabhi kabhi */
@media (min-width: 1200px) and (max-width: 1300px) {
  .navbar-nav .nav-link {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }
}

/* ============================================
   TOPBAR SOCIAL ICONS — perfect center inside circle
   ============================================ */
.topbar .btn-sm-square {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.topbar .btn-sm-square i,
.topbar .btn-sm-square .fab,
.topbar .btn-sm-square .fa {
  margin: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1em;
  height: 1em;
  text-align: center;
}


/* ==================================================
   INDUSTRY LEVEL MOBILE HERO FIX
================================================== */

@media (max-width:768px){

#carouselId .carousel-item{
height:60vh;
min-height:360px;
max-height:520px;
}

#carouselId .carousel-item img{
width:100%;
height:100%;
object-fit:cover;
object-position:center center;
transform:none;
}

#carouselId .carousel-item::after{
    content:none !important;
    display:none !important;
    background:none !important;
}

#carouselId .carousel-caption{
position:absolute;
top:50%;
left:5%;
right:5%;
bottom:auto;
transform:translateY(-50%);
display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

#carouselId .carousel-caption .container{
max-width:700px;
margin:auto;
}

#carouselId .carousel-caption h4{
font-size:12px;
margin-bottom:10px;
letter-spacing:2px;
}

#carouselId .carousel-caption h1.display-2{
font-size:30px;
line-height:1.2;
margin-bottom:14px;
font-weight:700;
}

#carouselId .carousel-caption p.fs-5{
font-size:15px;
line-height:1.6;
margin-bottom:18px;
}

#carouselId .carousel-caption .btn-hover-bg{
padding:12px 28px;
font-size:15px;
font-weight:600;
}

.carousel-control-prev,
.carousel-control-next{
width:10%;
}

.search-bar form.rounded-pill{
padding:20px!important;
border-radius:16px!important;
}

.search-bar form.rounded-pill button{
position:static!important;
transform:none!important;
width:100%;
margin-top:8px;
}

}

@media (max-width:480px){

#carouselId .carousel-item{
height:58vh;
min-height:320px;
}

#carouselId .carousel-caption{
left:20px;
right:20px;
}

#carouselId .carousel-caption h4{
font-size:11px;
}

#carouselId .carousel-caption h1.display-2{
font-size:24px;
}

#carouselId .carousel-caption p.fs-5{
font-size:14px;
line-height:1.5;
}

#carouselId .carousel-caption .btn-hover-bg{
padding:10px 24px;
font-size:14px;
}

}




/* ===== HERO IMAGE OVERFLOW FIX ===== */

#carouselId,
#carouselId .carousel-inner,
#carouselId .carousel-item{
    overflow:hidden !important;
}

#carouselId .carousel-item img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
}




/* ===== FINAL HERO MOBILE FIX ===== */

#carouselId{
    overflow:hidden !important;
}

#carouselId .carousel-inner{
    overflow:hidden !important;
}

#carouselId .carousel-item{
    position:relative !important;
    overflow:hidden !important;
}

#carouselId .carousel-item > img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
    object-position:center center !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
}



/* ===== BOOTSTRAP CAROUSEL FINAL FIX ===== */

#carouselId{
    overflow:hidden !important;
}

#carouselId .carousel-inner{
    overflow:hidden !important;
}

#carouselId .carousel-item{
    position:relative !important;
    overflow:hidden !important;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    transform:translateZ(0);
}

#carouselId .carousel-item img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active{
    display:block !important;
}


@media (max-width: 768px) {
/* ===== LEFT EDGE GAP FINAL FIX ===== */
.container-fluid.position-relative.p-0,
.carousel-header,
#carouselId,
#carouselId .carousel-inner {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#carouselId .carousel-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#carouselId .carousel-item img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}


}
/* ===== CAROUSEL CAPTION TEXT OVERFLOW FIX (MOBILE) ===== */
@media (max-width: 768px) {
    #carouselId .carousel-caption {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    #carouselId .carousel-caption .p-3 {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }
    #carouselId .carousel-caption h1,
    #carouselId .carousel-caption h4,
    #carouselId .carousel-caption p {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* ===== REMOVE EXTRA WHITE SPACE BELOW HERO (MOBILE) ===== */
@media (max-width: 768px) {
    .carousel-header {
        height: auto !important;
    }
    .carousel-header .carousel-inner {
        height: auto !important;
    }
}

/* ===== HERO CAPTION SPACING FIX (MOBILE) ===== */
@media (max-width: 768px) {
    #carouselId .carousel-caption {
        padding-top: 30px !important;
        justify-content: flex-start !important;
    }
    #carouselId .carousel-caption .p-3 {
        padding-top: 20px !important;
    }
    #carouselId .carousel-caption h4 {
        font-size: 11px !important;
        margin-bottom: 8px !important;
        letter-spacing: 1.5px !important;
    }
    #carouselId .carousel-caption h1.display-2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    #carouselId .carousel-caption p.fs-5 {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }
    #carouselId .carousel-caption .btn-hover-bg {
        padding: 11px 26px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    #carouselId .carousel-caption h1.display-2 {
        font-size: 22px !important;
    }
    #carouselId .carousel-caption p.fs-5 {
        font-size: 13px !important;
    }
}


@media (max-width: 480px) {
    .carousel-header {
        height: 58vh !important;
        min-height: 320px !important;
    }
}

/* ===== DESKTOP HERO TEXT SIZE — INDUSTRY STANDARD ===== */
@media (min-width: 992px) {
    #carouselId .carousel-caption h4 {
        font-size: 15px !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }
    #carouselId .carousel-caption h1.display-2 {
        font-size: 48px !important;
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
        font-weight: 700 !important;
    }
    #carouselId .carousel-caption p.fs-5 {
        font-size: 17px !important;
        margin-bottom: 24px !important;
    }
    #carouselId .carousel-caption .btn-hover-bg {
        padding: 13px 34px !important;
        font-size: 15px !important;
    }
}

@media (min-width: 1200px) {
    #carouselId .carousel-caption h1.display-2 {
        font-size: 54px !important;
    }
}

/* Footer Social Icons — Industry Level */
.footer-social {
  gap: 10px;
}
.footer-social .social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.footer-social .social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(232,114,26,0.35);
}
@media (max-width: 480px) {
  .footer-social .social-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

/* ===== LOGO IN NAVBAR ===== */
.navbar-brand .site-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}
@media (max-width: 991.98px) {
    .navbar-brand .site-logo {
        height: 42px;
    }
}

/* ===== INDUSTRY-LEVEL MOBILE NAVBAR ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        margin-top: 15px;
        padding: 15px 20px 20px;
        animation: navFadeSlide 0.28s ease;
    }
    .navbar-collapse .navbar-nav {
        width: 100%;
    }
    .navbar-collapse .nav-link {
        padding: 12px 10px !important;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        font-weight: 500;
    }
    .navbar-collapse .nav-link:last-of-type {
        border-bottom: none;
    }
    .navbar-collapse .nav-link.active {
        color: var(--bs-primary, #e8721a);
    }
    .navbar-collapse #openEnquiry {
        display: block;
        width: 100%;
        text-align: center;
        margin: 15px 0 0 0 !important;
    }
    .navbar-toggler {
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 8px;
        padding: 8px 12px;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

@keyframes navFadeSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
