/* Reset & Base */
body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  font-size: 1rem;
  line-height: 1.6;
  /* overflow: hidden; */
}

@media (max-width: 767px) {
    html{
        font-size: 90%;
    }
    h1, .display-5 { font-size: 2rem;}
}

html {
  scroll-padding-top: 80px;
  /* This is the fix! It offsets scroll targets for the fixed navbar. */
  scroll-behavior: smooth;
  /* Ensures smooth scrolling for all anchor links. */
}

body {
  /* Add padding to the top to prevent content from being hidden by the fixed navbar */
  /* The value should be roughly the height of your navbar. */
  padding-top: 0px;
  /* overflow: hidden; */
}




@keyframes zoomFade {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  background: url('images/8.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  background-color: #0062cc;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3em;
}

.hero button {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 20px;
  background-color: #ff5722;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Plans & Tours */
.Plans {
  padding: 40px 20px;
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: white;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Hover effect on navbar links */
.navbar-nav .nav-link {
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

/* Change color and add underline on hover */
.navbar-nav .nav-link:hover {
  color: #053364;
  /* Change to your theme color */
  border-bottom: 3px solid #0062cc;
}

/* Optional: Active link style */
.navbar-nav .nav-link.active {
  color: #0062cc;
  font-weight: 600;
}

.collapse{
  align-items: right;
  justify-content: end;
}

@media (max-width: 768px) {

  /* --- Itineraries Page Fix --- */
  .main-container {
    flex-direction: column;
    padding: 1rem;
  }
  .sidebar {
    flex-basis: auto;
  }
  .itinerary-detail-title {
    font-size: 1.5rem;
  }

  /* --- Plans & Tours Card Fix --- */
  .cards {
    flex-direction: column; /* Stacks cards vertically on mobile */
    align-items: center;    /* Centers the stacked cards */
  }

  .card {
    width: 90%;             /* Makes cards use most of the screen width */
    max-width: 350px;       /* Prevents cards from being too wide on tablets */
  }

  /* --- Hero Section Font Fix --- */
  .hero h1 {
    font-size: 2.2em;       /* Reduces the main title font size on mobile */
  }

}



/* --- Horizontal Contact Section Styles --- */

.contact-horizontal {
  background-color: #f8f9fa;
  /* A light background for the section */
}

/* Main wrapper for the horizontal items */
.contact-horizontal-wrapper {
  display: flex;
  justify-content: space-around;
  /* Spreads the items out evenly */
  align-items: center;
  flex-wrap: wrap;
  /* Allows items to stack on small screens */
  gap: 2rem;
  /* Adds space between items when they wrap */
}

/* Each individual contact item (Phone, Email, etc.) */
.contact-horizontal-item {
  display: flex;
  align-items: center;
  text-align: left;
}

/* The circular icon next to the text */
.contact-horizontal-item .contact-icon {
  flex-shrink: 0;
  /* Prevents the icon from shrinking */
  width: 60px;
  height: 60px;
  background-color: #007bff;
  color: #ffffff;
  border-radius: 50%;
  /* Makes it a circle */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* The text content next to the icon */
.contact-horizontal-item .contact-text h6 {
  margin: 0;
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
}

.contact-horizontal-item .contact-text p {
  margin: 0;
  color: #6c757d;
}

/* Styling for the social media icons in the 'Follow Us' section */
.social-links-horizontal {
  display: flex;
  gap: 0.75rem;
  /* Space between social icons */
}

.social-links-horizontal .social-icon {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007bff;
  background-color: #e9f5ff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links-horizontal .social-icon:hover {
  background-color: #007bff;
  color: #ffffff;
  transform: scale(1.1);
}

/* --- Footer Styles --- */

.site-footer {
  background-color: #26272b;
  padding: 45px 0 20px;
  font-size: 15px;
  line-height: 24px;
  color: #737373;
}

.site-footer hr {
  border-top-color: #bbb;
  opacity: 0.5;
}

.site-footer hr.small {
  margin: 20px 0;
}

.site-footer h6 {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-top: 5px;
  letter-spacing: 2px;
}

.site-footer a {
  color: #737373;
  text-decoration: none;
}

.site-footer a:hover {
  color: #3366cc;
  text-decoration: none;
}

.footer-links {
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  display: block;
}

.footer-links a {
  color: #737373;
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-links.inline li {
  display: inline-block;
}

.site-footer .social-icons {
  text-align: right;
}

.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 6px;
  margin-right: 0;
  border-radius: 100%;
  background-color: #33353d;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  color: #fff;
  transition: all 0.2s ease;
}

.site-footer .social-icons a:hover {
  background-color: #007bff;
  transform: scale(1.1);
}

.copyright-text {
  margin: 0;
}

.contact-details i {
  margin-right: 10px;
  color: #bbb;
}

@media (max-width: 767px) {
  .contact-horizontal-wrapper {
    justify-content: left;
    align-items: left;
    gap: 2.5rem;
  }
  .site-footer, .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: left;
  }
  .site-footer .social-icons {
    margin-top: 20px;
  }
}

@media (max-width: 991px) {
  .site-footer [class^="col-"] {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 0;
  }

  .site-footer .copyright-text,
  .site-footer .social-icons {
    text-align: center;
  }

  .site-footer .social-icons {
    margin-top: 20px;
  }
}

/* ADD THIS NEW, SAFER RULE */
.page-container {
  width: 100%;
  overflow-x: hidden;
}