/*
Template Name: Tour Booking
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/

/*********************center_h****************/
.carousel-caption {
  background-color: rgba(0, 0, 0, .4) !important;
  bottom: 0;
  left: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 220px;
}

.carousel-caption ul li a i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #000;
}

/*********************center_h_end****************/

/*********************book****************/
.book_1 .nav-tabs {
  border-radius: 15px 15px 0 0;
  display: inline-flex;
  border-bottom: 1px solid #dbe1cd;
}

.book_1 .nav-tabs a {
  padding: 12px 45px;
  font-weight: bold;
  color: #000;
  font-size: 17px;
  border-radius: 0;
  transition: 0.3s;
  border: none;
  border-left: 1px solid #dbe1cd;
}

.book_1 .nav-tabs .nav-link.active {
  background: #63ab45;
  color: #fff;
}

.book_2i {
  border-radius: 0 0 30px 30px;
  background: #edf2de;
}

.book_2il {
  padding: 10px;
  border-right: 1px solid #dbe1cd;
}

.book_2ir {
  padding: 30px 15px 30px 15px;
  transition: 0.3s;
  border-radius: 0 0 30px 0;
}

.book_2ir:hover {
  background: #fbb03b !important;
  color: #000 !important;
}

.book_2il .form-select {
  height: 35px;
}

.book_2il .form-control {
  height: 35px;
}

.main_2 {
  bottom: -140px;
}

.main {
  margin-bottom: 100px;
}

/*********************book_end****************/

/*********************about_h****************/
.about_h1l .nav-tabs .nav-link {
  border: none;
  padding: 12px 20px;
  color: #000;
  background: #edf2de;
  transition: 0.3s;
  border-radius: 0;
  font-weight: bold;
}

.about_h1l .nav-tabs .nav-link:hover {
  background: #63ab45;
  color: #fff;
}

.about_h1l .nav-tabs .nav-link.active {
  background: #63ab45;
  color: #fff;
}

/*********************about_h_end****************/


/*********************expe****************/

.expe_1 .nav-tabs .nav-link {
  border: none;
  padding: 12px 20px;
  color: #000;
  background: #edf2de;
  transition: 0.3s;
  border-radius: 0;
  font-weight: bold;
  border-left: 1px solid #dbe1cd;
}

.expe_1 .nav-tabs .nav-link:hover {
  background: #63ab45;
  color: #fff;
}

.expe_1 .nav-tabs .nav-link.active {
  background: #63ab45;
  color: #fff;
}



.profile8il2 ul li {
  width: 70px;
  height: 70px;
  padding-top: 11px;
}

/*********************expe_end****************/

/*********************faci****************/
#faci {
  background-image: url(../img/33.jpg);
  background-position: center center;
  background-size: cover;
}

.faci_1l {
  padding: 100px 50px;
}

.faci_1l p {
  width: 95%;
}

.faci_1ri1 {
  left: -80px;
  top: 65px;
}

/*********************faci_end****************/

/*********************popular****************/
.popular_1 .nav-tabs .nav-link {
  border: none;
  padding: 16px 70px;
  color: #000;
  background: #fff;
  transition: 0.3s;
  border-radius: 0;
  font-weight: bold;
  font-size: 20px;
  border-left: 1px solid #dbe1cd;
}

#popular .profile6il {
  background: #fff;
}


/*********************offer****************/
.offer_1l img {
  min-height: 330px;
}

/*********************offer_end****************/


/*********************serv_h****************/
.serv_h1l2 {
  padding-top: 40%;
}

.serv_h1l3ir h2 {
  line-height: 1em;
}

.serv_h1l3ir {
  border-left: 1px solid #a39a95;
}

.serv_h1l3 {
  transition: 0.3s;
}

.serv_h1l:hover .serv_h1l3 {
  transition: 0.3s;
  background-color: rgba(0, 0, 0, .8) !important;
}

/*********************serv_h_end****************/


@media screen and (max-width : 767px) {
  .main_2 {
    position: static !important;
  }

  .center_home img {
    min-height: 400px;
  }

  .center_home br {
    display: none;
  }

  .center_home .font_70 {
    font-size: 26px;
  }

  .carousel-caption {
    padding: 30px 10px;
  }

  .carousel-caption p {
    font-size: 14px;
  }

  .carousel-caption .bg_yellow {
    padding: 10px !important;
    font-size: 14px;
  }

  .carousel-caption .button {
    padding-left: 8px;
    padding-right: 8px;
  }

  .carousel-caption ul li a i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px !important;
  }

  .carousel-caption ul li a {
    font-size: 14px !important;
  }

  .book_1 .nav-tabs a {
    padding: 12px 20px;
    font-size: 15px;
    border: none;
  }

  .book_2i .col {
    width: 100% !important;
    flex: none;
  }

  .book_2il {
    border: none;
  }

  .book_2il h6 {
    text-align: center;
  }

  .book_2ir {
    border-radius: 0 0 0 0;
  }

  .book_2i .pe-0 {
    padding-right: 12px !important;
  }

  .book_2i {
    padding-bottom: 15px;
  }

  .main {
    margin-bottom: 0;
  }

  .about_h1l {
    text-align: center;
  }

  .about_h1l p {
    text-align: left;
  }

  .about_h1lir {
    margin-top: 15px;
  }

  .about_h1r {
    margin-top: 15px;
  }

  .about_h1ril {
    margin-top: 10px;
  }

  .profile8il2 ul li {
    margin-top: 10px;
  }

  .faci_1l {
    padding: 50px 20px;
    text-align: center;
  }

  .faci_1l p {
    text-align: left;
  }

  .faci_1ri1 {
    position: static !important;
  }

  .faci_1ri1i1r {
    margin-top: 10px;
  }

  .faci_1ri1 {
    text-align: center;
  }

  .popular_1 .nav-tabs .nav-link {
    padding: 16px 30px;
    font-size: 16px;
    margin-top: 10px;
  }

  .testim_1il1im {
    margin-top: 15px;
  }

  .testim_1il {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .serv_h1l {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .serv_h1l2 {
    padding-top: 10%;
  }

  .serv_h1l3il {
    padding: 10px !important;
  }

}


@media (min-width:576px) and (max-width:767px) {
  .center_home .font_70 {
    font-size: 36px;
  }

  .carousel-caption {
    padding: 30px 15px;
  }

  .carousel-caption p {
    font-size: 15px;
  }

  .carousel-caption .bg_yellow {
    padding: 10px 15px !important;
  }

  .carousel-caption .button {
    padding-left: 15px;
    padding-right: 15px;
  }

  .carousel-caption ul li a {
    font-size: 16px !important;
  }

  .serv_h1l2 {
    padding-top: 30%;
  }

}

@media (min-width:768px) and (max-width:991px) {
  .center_home img {
    min-height: 800px;
  }

  .book_1 .nav-tabs a {
    padding: 12px 25px;
  }

  .center_home br {
    display: none;
  }

  .carousel-caption {
    padding-left: 10px;
    padding-right: 10px;
  }

  .book_2il h6 {
    font-size: 12px;
  }

  .book_2il h6 i {
    font-size: 18px !important;
  }

  .book_2ir {
    padding: 25px 10px 25px 10px;
  }

  .main_2 {
    bottom: -130px;
  }

  .about_h1l .font_50 {
    font-size: 30px;
  }

  .profile8il2 ul li {
    margin-top: 10px;
  }

  .popular_1 .nav-tabs .nav-link {
    padding: 16px 40px;
  }

  .testim_1il1im .font_60 {
    font-size: 20px;
  }

  .testim_1il1il {
    padding-top: 0 !important;
  }

  .testim_1il1i2 h5 {
    font-size: 14px !important;
  }

  .testim_1il1ir h5 {
    font-size: 12px !important;
  }

  .testim_1il1ir {
    padding-top: 0 !important;
  }

  .blog_h1li1 h5 {
    font-size: 16px;
  }

  .serv_h1l2 {
    padding-top: 10%;
  }

  .serv_h1l3ir h2 {
    font-size: 22px;
  }
}

@media (min-width:992px) and (max-width:1200px) {
  .center_home img {
    min-height: 800px;
  }

  .profile8il2 ul li {
    margin-top: 10px;
  }

  .popular_1 .nav-tabs .nav-link {
    padding: 16px 40px;
  }
}

@media (min-width:1201px) and (max-width:1320px) {}

/* slider */
/* Remove all padding/margin from parent containers */
.main,
.main_1,
#center,
.center_home,
.container-fluid,
.row,
#carouselExampleCaptions {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Make carousel images full screen width */
.carousel-item img {
  width: 100%;

  object-fit: cover;
  display: block;
}

/* about */
#about_h {
  padding-top: 150px;
  /* adjust as per your need */
}

@media (max-width: 768px) {
  #about_h {
    padding-top: 10px;
    /* Apne hisaab se badha ya kam kar sakti ho */
  }
}

ul.mb-0 {
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.mb-0 li {
  margin-right: 10px;
  /* spacing between items */
  vertical-align: middle;
 
}

ul.mb-0 li img.rounded-circle {
  width: 40px;
  /* logo size width */
  height: 40px;
  /* logo size height */
  object-fit: cover;
  /* maintain aspect ratio */
  border-radius: 50%;
}

ul.mb-0 li span.fw-bold {
  font-size: 14px;
  /* size of text below image */
  display: block;
  margin-top: 5px;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 400px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}

/* tour experience */
/* Make all images same height inside Tour Package cards */
.profile6il1i img {
  width: 100%;
  height: 250px;
  /* Adjust as per your preference (e.g., 220px / 260px) */
  object-fit: cover;
  /* Ensures image crops properly without stretching */
  border-radius: 8px;
}

/* Fix card height to maintain equal boxes */
.profile6il {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Push content evenly */
.profile6il2 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Ensure footer area (price + button) sticks to the bottom */
.profile6il2i {
  margin-top: auto;
}

@media (max-width: 768px) {
  .profile6il1i img {
    height: 200px;
    /* Mobile-friendly image size */
  }
}

.button {
  padding: 10px 20px;
  /* button ke andar space */
  white-space: nowrap;
  /* text wrap nahi hoga */
}

/* Testimonial section images - normal size */
#testim .testim_1il2 img {
  width: 400px;
  /* normal size */
  height: 350px;
  /* circle banaye rakhne ke liye same as width */
  object-fit: cover;
  /* image properly crop ho jaye */
  display: block;
  margin: 0 auto;
  /* center alignment */
}

/* Responsive adjustment for tablets/mobiles */
@media (max-width: 768px) {
  #testim .testim_1il2 img {
    width: 90px;
    height: 90px;
  }
}

/* Vacation section image sizing */
.vacation_2i1 {
  width: 100%;
  height: 250px;
  /* Set fixed height for all images */
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.vacation_2i1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image fills area without distortion */
  border-radius: 10px;
  transition: transform 0.4s ease-in-out;
}

/* Optional: Add hover zoom effect */
.vacation_2i:hover img {
  transform: scale(1.05);
}

/* For even spacing between rows and columns */
.vacation_2 .col-md-3,
.vacation_2 .col-md-6 {
  padding: 10px;
}

.bg_back {
  background-image: url('../img/Kasol.jpg');
  /* apni image ka path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  border-radius: 2px;
  overflow: hidden;
  font-style: inherit;

  opacity: 0.8;
  /* <-- Yahan overall opacity add ki gayi */
  transition: opacity 0.6s ease-in-out;
}

/* Hover par opacity increase */
.bg_back:hover {
  opacity: 1;
}

/* Dark Overlay */
.bg_back::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  border-radius: 10px;
}

/* Hover par overlay visible */
.bg_back:hover::after {
  opacity: 1;
}


.vacation_2i:hover .bg_back {
  opacity: 1;
}

/* Text alignment and style inside overlay */
.vacation_2i2 h3,
.vacation_2i3 h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.line {
  width: 60px;
  border: 2px solid #fff;
}

.bg_green {
  background-color: #28a745 !important;
  border-radius: 20px;
}

.a_tag1 {
  text-decoration: none;
}

.rounded_1 {
  border-radius: 10px;
}

/* --- General Layout --- */
.profile7i {
  row-gap: 25px;
}

.profile7il {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile7il:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* --- Image / Slider --- */
.profile7il1 img {
  height: 200px;
  /* 👈 smaller image height */
  object-fit: cover;
  /* keeps proportions and fills */
}

.carousel-inner {
  border-bottom: 2px solid #eee;
}

/* --- Text Area --- */
.profile7il2 {
  text-align: left;
}

.profile7il2 h4 a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.profile7il2 h4 a:hover {
  color: #007bff;
}

/* --- Book Now Button --- */
.button {
  background: #0f8821d9;
  color: #fff;
  border-radius: 25px;
  padding: 6px 14px;
  display: inline-block;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.button:hover {
  background: #0056b3;
  color: #fff;
}

/* --- Carousel Controls --- */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 10px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .profile7il1 img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .profile7il1 img {
    height: 160px;
  }

  .profile7il2 {
    text-align: center;
  }

  .button {
    font-size: 13px;
  }
}




/* --- Aart --- */
/* =======================
   HOME SLIDER FIX
=========================*/

/* Full width carousel images */
.carousel-item img {
  width: 100%;
  height: 620px;
  /* 👉 FIXED HEIGHT (change if you want 600/650/700) */
  object-fit: cover;
  /* crop but no stretch */
}

/* Caption area fix */
.carousel-caption {
  background: rgba(0, 0, 0, 0.45) !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Full screen overlay */
  padding-top: 230px;
  /* 👉 Text center karne ke liye */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Caption heading */
.carousel-caption h1 {
  font-size: 60px;
  /* You can change */
  font-weight: 700;
  line-height: 1.2;
}

/* Caption paragraph */
.carousel-caption p {
  font-size: 20px;
  margin-top: 15px;
}

/* Button fix */
.carousel-caption .button {
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 30px;
}

/* Dots & Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
}

/* =======================
   RESPONSIVE FIXES
=========================*/

@media (max-width: 992px) {
  .carousel-item img {
    height: 520px;
  }

  .carousel-caption {
    padding-top: 160px;
  }

  .carousel-caption h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 420px;
  }

  .carousel-caption {
    padding-top: 120px;
  }

  .carousel-caption h1 {
    font-size: 32px;
  }

  .carousel-caption p {
    font-size: 16px;
  }

  .carousel-caption .button {
    padding: 8px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .carousel-item img {
    height: 380px;
  }

  .carousel-caption {
    padding-top: 140px;
  }

  .carousel-caption h1 {
    font-size: 26px;
  }

  .carousel-caption p {
    font-size: 14px;
  }
}
/* FIXED TESTIMONIAL BOX HEIGHT */
.testim_1il1 {
    height: 250px;              /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Inside content spacing fix */
.testim_1il1 p {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure image center + equal spacing */
.testim_1il1im img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
}

/* Align bottom blocks evenly */
.testim_1il1i .col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
