/* ====== OPTIMIZED CSS FOR SEO & SPEED ====== */
/* Optimized for performance with CSS variables and minimal animations */

body {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    color: #252221;
}
/* #ed1e24 */

/* CSS Variables for consistency */
:root {
  --primary-color:#eb253f;
   --red-hover:#eb253f24;
  --primary-gradient: linear-gradient(135deg, #eb253f 0%, #da364c 100%);
  --secondary-color: #007bff;
  --text-primary: #1a1a1a;
  --text-secondary: #444;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --border-color: #e9ecef;
  --border-radius: 12px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset for Better Performance */
/* .tour-top-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

/* Critical Above-the-Fold Styles First */
.main-tour-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
  background: #f0f0f0; /* LCP placeholder */
}

.side-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
  background: #f0f0f0; /* LCP placeholder */
}

/* Content Visibility for CLS optimization */
.tour-content > * {
  content-visibility: auto;
  contain-intrinsic-size: 1px 5000px; /* Estimated height */
}

/* Lazy loading for images below fold */
.tour-content img {
  loading: lazy;
}

/* Optimized Image Container */
.img-container {
  position: relative;
  overflow: hidden;
}

.img-container img {
  transition: var(--transition);
}

.img-container:hover img {
  transform: scale(1.02);
}

/* Feature Cards - Optimized */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
  border-color: var(--primary-color);
}

.feature-icon {
  flex-shrink: 0;
  width:35px;
  height:35px;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  text-transform:uppercase;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-light);
  margin: 3px 0 0;
}

/* Content Area - Optimized */
.tour-content {
  background: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-top: 20px;
}

/* Typography Hierarchy for SEO */
.tour-title {
  font-size:28px;
  font-weight:600;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-primary);
}

/* Features List - Optimized */
.features-list {
  margin-bottom: 30px;
}

.features-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  background: var(--bg-light);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
  /* white-space: nowrap; */
}

.features-list li:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.features-list li i {
  margin-right: 8px;
  color: var(--primary-color);
}

/* Section Headings - SEO Optimized */
.section-title {
  font-size: 24px;
  font-weight: 600;
  margin:10px 0 15px;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Info Boxes */
.info-box {
  background: var(--bg-light);
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  margin-bottom: 20px;
}

.info-box h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.info-box h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: var(--text-primary);
}

/* Day Cards */
.day-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.day-card:hover {
  border-color: var(--red-hover);
}

.day-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.4;
}

.day-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

/* Inclusions/Exclusions */
.include-box, .exclude-box {
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  margin-bottom: 15px;
}

.include-box {
  background: #e9f7ef;
  border:1px solid #4caf50;
}

.exclude-box {
  background: #fdecea;
  border:1px solid #f44336;
}

.include-box h3, .exclude-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.include-box ul, .exclude-box ul {
  padding-left: 20px;
  margin: 0;
}

.include-box li, .exclude-box li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}

/* Right Sidebar - Optimized */
.rightsidebar {
  background: #f8f8f8;
  padding: 25px;
  border-radius: var(--border-radius);
  position: sticky;
  top: 20px;
}

.price-card {
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  margin-bottom: 5px;
}

.new-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 10px 0;
  line-height: 1;
}

.book-btn-right {
  display: block;
  background: var(--primary-gradient);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  margin-top: 15px;
  border: none;
  width: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.book-btn-right:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.2);
  color: #fff;
}

.book-btn-pkg{
    background: #eb253f;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 3px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.tour-content ul{
    margin-left: 0px;
    padding-left: 20px;
}

.advertismentwrap {
  margin-top: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.advertismentwrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.advertismentwrap:hover img {
  transform: scale(1.02);
}

/* ====== PERFORMANCE OPTIMIZATIONS ====== */

/* Reduce paint operations */
.tour-content {
  contain: content;
}

/* ---------------------new css */
.row_mt{
    margin-top: 23px;
}

.hero-image{
  width:100%;
  overflow:hidden;
}

.hero-image img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
}

/* .contactw h1 {
   font-size: 2rem;
} */
/* .contactw h1 {
    font-size: 28px;
} */

.contactw h1{
    font-size:1.5rem;
}
.contactw h2{
     font-size:1.5rem;
}


/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* GPU acceleration for transforms */
.feature-card,
.day-card,
.book-btn {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ====== RESPONSIVE OPTIMIZATIONS ====== */

/* Tablet */
@media (max-width: 1199px) {
  .tour-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .day-card h3 {
    font-size: 18px;
  }
  
  .new-price {
    font-size:23px;
  }
      /* .book-btn {
        padding: 10px 5px;
        font-size: 16px;
    } */
  
  .main-tour-img {
    height: 360px;
  }
  
  .side-img {
    height: 175px;
  }
}

/* Tablet - 2 column grid */
@media (max-width: 991px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rightsidebar {
    position: static;
    margin-top: 30px;
  }
  
  .tour-title {
    font-size: 26px;
  }
  
  .section-title {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .tour-content {
    padding: 20px;
  }
  
  .tour-title {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 20px;
    margin: 25px 0 12px;
  }
  
  .features-list ul {
    gap: 8px;
  }
  
  .features-list li {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .main-tour-img {
    height: 280px;
  }
  
  .side-img {
    height: 140px;
  }
  
  .new-price {
    font-size: 28px;
  }
  
  .book-btn {
    padding: 12px;
    font-size: 16px;
  }
  
  .info-box,
  .day-card,
  .include-box,
  .exclude-box {
    padding: 15px;
  }

  .include-box, .exclude-box {
  height:auto;
   
}
.footer-section {
    text-align: center;
}



}

/* Small Mobile */
@media (max-width: 575px) {
  .tour-title {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 19px;
  }
  
  .day-card h3 {
    font-size: 17px;
  }
  
  .features-list li {
    /* flex: 1 0 calc(50% - 8px); */
     flex:auto;
    min-width: 0;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  
  .main-tour-img {
    height: 240px;
  }
  
  /* .side-img {
    height: 120px;
  } */
  
  .new-price {
    font-size: 24px;
  }
 
  .features-list li {
   display: inline-table;
   }

}

/* Print Styles for SEO (content accessibility) */
@media print {
  .tour-content {
    box-shadow: none;
    padding: 0;
  }
  
  .rightsidebar,
  .book-btn,
  .feature-strip {
    break-inside: avoid;
  }
  
  .tour-title {
    font-size: 24pt;
  }
  
  .section-title {
    font-size: 18pt;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #cc5500;
    --text-primary: #000;
    --text-secondary: #333;
  }
  
  .feature-card,
  .day-card,
  .price-card {
    border: 2px solid #000;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-light: #999999;
    --bg-light: #2a2a2a;
    --border-color: #444444;
  }
  
  .tour-content,
  .rightsidebar,
  .price-card,
  .feature-card,
  .day-card {
    background: #1a1a1a;
    color: var(--text-secondary);
  }
  
  .info-box {
    background: #2a2a2a;
  }
  
  .include-box {
    background: #1e3327;
    border-color: #2e7d32;
  }
  
  .exclude-box {
    background: #332423;
    border-color: #c62828;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .day-card:hover,
  .book-btn:hover {
    transform: none;
  }
  
  /* .book-btn {
    padding: 16px;
    font-size: 18px;
  } */
       .book-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
  
  
  /* Larger tap targets */
  .features-list li {
    padding: 12px 20px;
  }
}

/* Reduced Data Mode */
@media (prefers-reduced-data: reduce) {
  .main-tour-img,
  .side-img,
  .advertismentwrap img {
    background-image: none !important;
  }
  
  .feature-card,
  .day-card {
    box-shadow: none !important;
  }
}