/* --- 1. Root & Base Reset --- */
:root {
  --primary-purple: #4b2c63;
  --dark-purple: #321a42;
  --light-purple: #f3e8ff;
  --accent-gold: #f3c677;
  --dark-gold: #e8ad54;
  --text-main: #2d2d2d;
  --text-muted: #717171;
  --white: #ffffff;
  --gold-grad: linear-gradient(135deg, #f3c677 0%, #e8ad54 100%);
  --glass-white: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 12px 30px rgba(75, 44, 99, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

&:focus {
  outline: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: "Inter", sans-serif;
  background-color: #fcfaff;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- 2. Header & Navigation --- */
.main-header {
  background: #ffffff;
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--primary-purple);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-purple);
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  margin-left: 15px;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 50%;
}
.nav-links a:hover {
  color: var(--dark-gold);
}

.nav-links a.active {
  background: var(--primary-purple);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.nav-links a.active::after {
  display: none;
}

/* --- 3. Section Commons --- */
.section {
  max-width: 1200px;
  margin: 20px auto;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-purple);
  margin-bottom: 40px;
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gold-grad);
  margin-top: 10px;
  border-radius: 2px;
}

/* --- 4. Services & Tabs --- */
.our-services {
  background: #f8f1fb;
  padding: 20px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  border: 1px solid rgba(75, 44, 99, 0.05);
}
.service-name{
  color: var(--primary-purple);
}

.service-desc{
  color: var(--text-muted);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(75, 44, 99, 0.12);
  cursor: pointer;
}

.service-icon {
  font-size: 2rem;
  color: var(--dark-gold);
  margin-bottom: 15px;
  display: block;
}

/* --- 5. Trip Cards --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid #eee;
  transition: var(--transition-smooth);
  display: block;
  /transform: scale(1);
  display: block; /* Ensure it defaults to block */
}

.card:hover {
  /* Ensure no other transform (like from your reveal animation) 
       is overriding the hover scale */
  transform: scale(1.03) !important;
  cursor: pointer;
  z-index: 10; /* Brings the hovered card to the front */
}

.card-img-container {
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.trip-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card:hover .trip-card-img {
  transform: scale(1.1);
}

.card:hover .trip-card-img {
  transform: scale(1.1);
}

.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 25px;
}

.price {
  color: var(--primary-purple);
  font-size: 1.3rem;
  font-weight: 800;
}

.rating {
  background: #fffcf0;
  color: #ccac00;
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 700;
}

/* --- 6. Popular Destinations (Carousel) --- */
.popular-destinations {
  background: #f8f1fb;
  padding: 10px 0;
  overflow: hidden;
}

.destinations-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-carousel 40s linear infinite;
  margin-bottom: 50px;
}

.destinations-track:hover {
  animation-play-state: paused;
}

.destination-card {
  flex: 0 0 240px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  transition: transform 0.3s ease;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

/* --- 7. Testimonials & Stats --- */
.testimonial-carousel {
  overflow: hidden; /* Hides cards outside the view */
  width: 100%;
}
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testimonials-container {
  background: #f3f0f7;
  padding: 40px 0;
}

.testimonial-track {
  display: flex;
  gap: 25px;
  transition: var(--transition-smooth);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 17px);
  min-width: 300px;
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.user-stars {
  margin-left: auto;
  color: #ffd700;
  font-size: 12px;
}

.comment {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.stats-banner {
  background: var(--primary-purple);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 10%;
  gap: 30px;
  color: white;
  text-align: center;
}

.stat-item {
  border-right: 1px solid #fff;
}
.stat-item:last-child {
  border: none;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

.carousel-nav {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--primary-purple);
  background: transparent;
  color: var(--primary-purple);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  background: var(--primary-purple);
  color: white;
}

.testimonials-container {
  background: #f3f0f7;
  padding: 1px 0 10px 0;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  } /* Mobile: 1 card */
}

/* --- 8. Contact Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000; /* Increased to stay above the sticky header */
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 850px; /* Slightly wider to accommodate the two columns */
  border-radius: 30px;
  position: relative;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: -26px;
  right: -16px; /* Distance from the right edge */
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1; /* Prevents extra vertical space */
  transition: var(--transition-smooth);
  z-index: 10; /* Ensures it stays above the content grid */
  background: #fff;
  padding: 0 0 0 12px;
  border-radius: 100px;
  height: 50px;
  width: 50px;
}

.close-modal:hover {
  color: var(--primary-purple);
  //transform: rotate(90deg); /* Visual feedback for luxury feel */
}

/* --- REFINED GRID LAYOUT --- */
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr; /* Balanced columns */
  gap: 50px; /* More breathing room */
}

.modal-info h3 {
  color: var(--primary-purple);
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.modal-info > p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-details p {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
      a{
          color: #000;
          text-decoration: none;
      }
}

.contact-details i {
  color: var(--accent-gold); /* Using gold from :root */
  width: 20px;
  text-align: center;
}

.qr-scan-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  background: #fcfaff; /* Subtle background difference */
  border: 1px solid rgba(75, 44, 99, 0.05);
}

.scan-card {
  background: var(--white);
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); /* Soft shadow */
  margin-bottom: 20px;
}

.scan-card img {
  width: 180px; /* Refined size */
  height: 180px;
  display: block;
}

.scan-card h4 {
  color: var(--primary-purple);
  margin-bottom: 5px;
  font-weight: 700;
}

.scan-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* --- REFINED DIVIDER & BUTTON --- */
.qr-divider {
  width: 100%;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  position: relative;
}

.qr-divider::before,
.qr-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.qr-divider::before {
  left: 0;
}
.qr-divider::after {
  right: 0;
}

.whatsapp-direct-btn {
  text-decoration: none;
  background: #25d366; /* Official WhatsApp Green */
  color: white;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  width: auto; /* Buttons should not expand to fill the container */
}

.whatsapp-direct-btn:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .modal-content {
    padding: 30px 20px;
  }
  .close-modal {
    top: 15px;
    right: 20px;
  }
}

/* --- Footer --- */
.footer {
  background: var(--primary-purple);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 30px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
     a{
     color: #fff;
     text-decoration: none;
     }
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  height: 50px;
}
.footer .company-name {
  color: #c5a059;
}
.footer .company-name,
.footer-logo i {
  color: var(--gold-foil);
}
.footer-logo .company-name {
  font-size: 1.5rem;
  color: var(--purple-dark);
  font-weight: 600;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  .social-links {
    a {
      i {
        color: #fff;
        font-size: 1.5rem;
        padding: 0 10px;
      }
    }
  }
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;

  padding-top: 15px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .footer-left {
    align-items: center;
  }
  .footer-right {
    justify-content: center;
  }
}
/* --- Trip Cards & Tabs --- */
.trip-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tabs {
  display: flex;
  gap: 12px;
}
.tab {
  transition: var(--transition-smooth);
  position: relative;
  overflow: visible;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid #eee;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.tab::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease, left 0.3s ease;
}
.tab:hover::after {
  width: 60%;
  left: 20%;
}

.tabs-scroll {
  overflow-x: auto;
  padding-bottom: 15px;
  margin-bottom: 30px;
  scrollbar-width: none;
  padding-top: 4px;
}

.tab.active {
  background: var(--primary-purple);
  color: var(--white);
  border-color: var(--primary-purple);
}

/*.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}*/

/* --- 10. Animations & Responsive --- */
@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-240px * 5 - 20px * 5));
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links.mobile-active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-purple);
    cursor: pointer;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .testimonial-card {
    flex: 0 0 100%;
  }
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .testimonials-container .section {
    padding: 20px;
  }
  .modal-overlay {
    padding: 0 20px;
  }
}
/* --- Responsive Fixes --- */
@media (max-width: 1024px) {
    .destinations-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }

}
 .mobile-menu-toggle {
        display: none;
    }
@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    .nav-links { display: none; }
    .stats-banner { grid-template-columns: repeat(2, 1fr); }
    .destinations-grid { grid-template-columns: repeat(2, 1fr); }
    .grid { grid-template-columns: 1fr; }
    .section, header{ padding: 0 20px; }
    .reveal {padding-top: 0px;}
    .service-card i, .stats-banner{ padding-top: 20px; }
    .stat-item:nth-child(2){ border: none; }
    .testimonials-container .section{padding: 20px;}
    .modal-overlay{ padding: 0 20px; }
    #trips .section { padding-left:15px; }
}
@media (max-width: 768px) {
    /* Hide the standard horizontal nav */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px; /* Height of your header */
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    /* Class to show menu when toggled via JS */
    .nav-links.mobile-active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    /* Add a Hamburger Icon (hidden on desktop) */
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-purple);
        cursor: pointer;
    }
}
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* --- New: About Us Section --- */
.about-us {
    padding: 30px 0 60px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-features {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.about-features span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-purple);
}

.about-features i {
    color: var(--accent-gold);
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

/* --- New: Scrollable Premium Services --- */
@media (max-width: 768px) {
    .services-scroll-container {
        overflow-x: auto;
        padding: 20px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }

    .services-scroll-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }

    .services-grid {
        display: flex; /* Switch to flex for horizontal scrolling */
        gap: 20px;
        width: max-content;
        padding-right: 20px;
    }

    .service-card {
        flex: 0 0 280px; /* Fixed width for cards in scroll mode */
    }
}

/* Responsive adjustment for About Us */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-features {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
}