html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

@font-face {
  font-family: 'Sfpro';
  src: url('./assets/fonts/SF-Pro-Text-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
nav {
  font-family: poppins, sans-serif;
}

.logo-img {
  height: 55px;
  width: 58px;
  position: relative;
  top: -5px;
}

#cta0 {
  visibility: hidden;
}

.navbar-toggler {
  position: absolute;
  top: 16px;
  outline: none !important;
  box-shadow: none !important;
  right: 10px;
  background-color: #D41F23;
  height: 40px;

}

.logo-name {
  display: inline-block;
  margin-left: 5px;
  position: relative;
  top: -5px;
  font-size: 18px;
  font-weight: 400;
}
.navbar-brand{
  position: absolute;
  top: 10px;
}

.navbar {
  height: 75px;
}

.container-fluid {
  height: 75px;
  
}

.carousel-control-prev,
.carousel-control-next {
  height: 20%;
  margin: auto 0;
  z-index: 0;
}

#mainDropdown {
  padding-left: 20px;
  font-weight: 500;
  margin-top: 5px;
}

#mainDropdown:hover {
  color: #fff;
}

.dropdown-menu {
  overflow: visible !important;
  background-color: #434b5d;
}

.dropdown-submenu,
.dropdown-submenu:hover {
  position: static;
  background-color: #434b5d;
}

.dropdown-item {
  color: #fff;
  padding: 10px 20px;
}

.dropdown-submenu>.dropdown-item {
  color: white;
  background-color: #3b455b;
}

.dropdown-submenu>.dropdown-menu.submenu-collapse {
  position: static;
  float: none;
  display: none;
  padding-left: 15px;
  box-shadow: none;
  margin: 0;
  overflow: visible;
}

.dropdown-submenu.show>.dropdown-menu.submenu-collapse {
  display: block;
}

.dropdown-submenu .icon {
  float: right;
  width: 20px;
  text-align: center;
  font-weight: bold;
  color: #D41F23;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.dropdown-submenu .icon::before {
  content: "+";
}

.dropdown-submenu.show .icon::before {
  content: "−";
  /* Unicode minus */
}

.dropdown-toggle::after {
  display: none !important;
}

.navbar-collapse {
  background-color: #2c3549;
  padding: 0px;
  width: 100% !important;
  margin: 0px;
  z-index: 10;
  
}

.nav-link {
  color: #fff;
  font-weight: 600;
}
.trip-card {
            border: 1px solid #eee;
            border-radius: 16px;
            overflow: hidden;
            width: 90%;
            margin: 20px auto;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }
        .trip-card:hover {
            transform: translateY(-3px);
        }
        .trip-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }
        .trip-content {
            padding: 15px;
        }
        .trip-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        .trip-rating {
            color: green;
            font-weight: 500;
            font-size: 15px;
        }
        .trip-duration {
            font-size: 14px;
            color: #555;
        }
        .trip-price {
            font-weight: bold;
            font-size: 20px;
            color: #000;
        }
        .old-price {
            text-decoration: line-through;
            font-size: 14px;
            color: #999;
        }
        .save-amount {
            color: green;
            font-size: 13px;
            font-weight: bold;
        }
        .callback-btn {
            background-color: #ff6600;
            color: white;
            border: none;
            width: 100%;
            padding: 12px;
            border-radius: 0 0 16px 16px;
            font-weight: bold;
            cursor: pointer;
        }

h2{
    justify-self: center;
    color: #D41F23;
    font-weight: 600;
    margin-top: 50px;
}
.content{
    justify-self: center;
}
.trip-container{
    width: 80%;
    margin: 0 auto;
}
.category-header{
  width: 90%;
  margin: 0 auto;
  justify-content: center;
  justify-self: center;

}

#cat-name{
  margin-left: 10px;
  padding-top: 20px;
}
#description{
  margin-left: 10px;
  padding-top: 10px;
}
#cat-img{
  width: 100%;
  margin: 0 auto;
  justify-self: center;
  align-items: center;
  display: flex;
  max-width: 824px;
}
.page-link{
  color: #D41F23;

}
.active> .page-link{
  background-color: #D41F23;
  border-color: transparent;
}
.site-footer {
  background: linear-gradient(135deg, #D02B24 36%, #CB3D25 85%);
  color: white;
  margin-top: 90px;
  padding: 20px;
  font-family: Arial, sans-serif;
}


.pagination{
  margin-top: 20px;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}

.footer-logo h3 {
  margin: 0;
}

.footer-logo p {
  margin: 5px 0 0;
  font-size: 14px;
}

.footer-links{
  width: 100%;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  width: 49%;
  display: inline-block;
  padding-top: 20px;
}

.footer-links div h4 {
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin: 3px 0;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 18px;
}

.social-icons a {
  color: white;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
}


@media (min-width:520px){
  .footer-links {
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 50px;
  }
  .footer-links div{
    width: 30%;
  }
}

/* Navbar styles ends */
@media (min-width: 992px) {
  .logo-name {
    font-size: 16px;
    z-index: 1;
  }

  .logo-img {
    margin-left: 20px;
    z-index: 1;
  }
  .navbar-brand{
    top: 5px;
  }

  .carousel{
    display: none;
  }
  .images-pc{
    display: block;
  }

  .navbar-collapse {
    background-color: white;
    width: 50% !important;
    margin: 0 auto;
  }

  #mainDropdown {
    color: black;
    font-size: 13px;
    margin: 10px;
    padding: 0px;
  }

  .navbar-collapse {
    z-index: 0;
    position: relative;
    right: 24%;
    bottom: 5px;
  }

  #cta0 {
    visibility: visible;
    position: absolute;
    right: 25px;
    background-color: #D41F23;
    color: #fff;
    top: 15px;
    height: 35px;
    width: 135px;
    font-weight: 500;
    border: none;
    border-radius: 27px;
  }

  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
  }

  /* Submenu placement and hover */
  .navbar .dropdown-menu .dropdown {
    position: relative;
  }

  .navbar .dropdown-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: 200px;
    z-index: 1000;
    ;
  }

  /* Show submenu on hover */
  .navbar .dropdown-menu .dropdown:hover>.dropdown-menu {
    display: block;
  }

  /* Optional: little delay for smoothness */
  .navbar .dropdown-menu,
  .navbar .dropdown-menu .dropdown-menu {
    transition: all 0.2s ease;
  }

  .navbar li:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background-color: white;
    display: none;
    padding: 30px 40px;
    z-index: 999;

  }

  /* Show dropdown on hover */
  .nav-item:hover>.dropdown-menu {
    display: block;
  }

  /* Content inside the dropdown menu */
  .dropdown-inner {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
  }

  /* Each column */
  .dropdown-column {
    flex: 1;
    min-width: 200px;
  }

  /* Optional image styling */
  .dropdown-image img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
  }

  .dropdown-submenu>.dropdown-item {
    color: black;
    background-color: #fff;
  }

  /* Parent of dropdown - must be positioned */
  .navbar,
  .dropdown,
  .dropdown-submenu {
    position: relative;
    z-index: 10;
    /* Make sure it's higher */
  }

  /* Actual submenu */
  .dropdown-menu,
  .submenu {
    position: absolute;
    z-index: 9999;
    /* Ensure it's on top of everything */
    background-color: white;
    /* Optional for clarity */
  }

  #mainDropdown:hover {
    color: black;
  }

  .dropdown-menu-fullwidth {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    margin-top: 0px !important;
    padding: 40px 80px;
    height: 450px;
    border-radius: 0;
    z-index: 9999;
    display: none;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    transform: translateX(-26vw);
    left: 50%;
    overflow-x: hidden;
  }

  .holiday{
    transform: translateX(-36vw);
  }
  .packages{
    transform: translateX(-47vw);
  }
  .placestostay{
    transform: translateX(-55vw);
  }
  .getaways{
    transform: translateX(-65.5vw);
  }

  .dropdown-submenu>.dropdown-menu {
    display: block !important;
    position: relative;
    margin-top: 10px;
    padding-left: 0;
    box-shadow: none;
    max-width: 100%;
    overflow: hidden;
  }


  /* Ensure the dropdown content doesn't overflow */
  .dropdown-submenu {
    max-width: 100%;
    overflow: hidden;
  }

  /* Submenus should fit inside the dropdown */
  .dropdown-submenu>.dropdown-menu {
    display: block !important;
    position: static;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
    box-shadow: none;
    padding-left: 0;
  }

  /* Main dropdown container */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    /* full width of viewport */
    background-color: white;
    z-index: 1000;
    padding: 30px 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  .submenu-collapse{
    padding: 20px 0;
  }

  /* Wrapper inside to center content */
  .dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .dropdown-submenu {
    position: relative;
    width: 15vw;
    display: inline-block;

  }



  .dropdown-submenu,
  .dropdown-submenu *,
  .dropdown-item,
  .sub-link {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .dropdown-submenu .dropdown-menu {
    position: static !important;
    display: none;
    flex-direction: column;
    box-shadow: none;
    margin-left: 0;
    padding-left: 1.5rem;
    width: auto;
    border: none !important;
  }

  .dropdown-submenu.show .dropdown-menu {
    display: flex !important;

  }

  .dropdown-toggle {
    font-size: 15px;
    font-weight: 500;
  }

  .sub-link {
    color: black;
    font-size: 13px;
    position: relative;
    right: 15px;
    width: 50px;
  }
  .sub-link:hover{
    color: #D41F23;
  }

  #north {
    position: absolute;
    left: 20px;
  }

  #south {
    position: absolute;
    left: 180px;
  }

  #east {
    position: absolute;
    left: 340px;
  }

  #west {
    position: absolute;
    left: 500px;
  }

  #central {
    position: absolute;
    left: 660px;
  }

  #union {
    position: absolute;
    left: 820px;
  }
  .dropdown-submenu{
    width: 30vw;
  }
  #tourism{
    position: absolute;
    left: 50px;
  }
  #adventure{
    position: absolute;
    left: 430px;
  }
  #pilgrimage{
    position: absolute;
    left: 750px;
  }
  #packagesbystate{
    position: absolute;
    left: 40px;
  }
  #holidaybyinterest{
    position: absolute;
    left: 230px;
  }
  #populartour{
    position: absolute;
    left: 420px;
  }
  #luxurytrain{
    position: absolute;
    left: 630px;
  }
  #specialpackage{
    position: absolute;
    left: 800px;
  }
  #citywise{
    position:absolute;
    left: 60px;
  }
  #wildlife{
    position:absolute;
    left: 240px;
  }
  #beach{
    position:absolute;
    left: 500px;

  }
  #luxury{
    position:absolute;
    left: 760px;
  }
  #getaways{
    position: absolute;
    left: 80px ;
    justify-self: center
  }
.footer-container {
    display: flex;
    flex-direction: row; /* Place logo and links side by side */
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-logo {
    width: 39%;
    text-align: left; /* Align logo + text to left */
  }

  .footer-links {
    width: 49%;  
    margin-right: 10px;
    position: absolute;
    right: 10px;
  }

  .footer-links div {
    width: auto;
    text-align: left;
    margin-left: 50px;
  }
  .footer-logo img{
    display: inline-block;

  }
  .footer-logo h3{
    display: inline-block;
    width: 240px;
  }
  .footer-logo p{
    margin-left: 20px;
  }
  .footer-social{
    margin-top: 80px;
  }}
   @media (min-width:1200px){
  .navbar-collapse {
    position: absolute;
    margin: 0 auto;
    right:auto;
    left: 20%;
    top: 0px;
  }
  .dropdown-menu-fullwidth {
    transform: translateX(-31vw);
  }

  .holiday{
    transform: translateX(-38.5vw);
  }
  .packages{
    transform: translateX(-46vw);
  }
  .placestostay{
    transform: translateX(-52vw);
  }
  .getaways{
    transform: translateX(-59.5vw);
  }
  .second-hero{
    top: 70px;
  }
  .container{
    top: 30px;
  }
  .nav-button{
    gap: 10px;
    top: 60px;
  }}
   @media(min-width:1401px){
  .navbar-collapse {
    position: absolute;
    margin: 0 auto;
    right:auto;
    left: 15%;
    top: 0px;
  }
  .dropdown-menu-fullwidth {
    transform: translateX(-36vw);
  }

  .holiday{
    transform: translateX(-41vw);
  }
  .packages{
    transform: translateX(-47vw);
  }
  .placestostay{
    transform: translateX(-51vw);
  }
  .getaways{
    transform: translateX(-57vw);
  }
  .nav-button{
    gap: 10px;
    top: 60px;
  }
.footer-logo{
    margin-left: 40px;
  }
.footer-links div{
    margin-left: 100px;
  }
  .footer-links div h4{
    font-size: 26px;
  }
  .footer-links div a{
    font-size: 16px;
  }
  .footer-logo p{
    font-size: 18px;
  }}