@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
}

body {
	font-family: 'Montserrat', sans-serif;
  padding-top: 0;
}
  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }


  #hero-home {
      position: relative;
      height: 500px;
      overflow: hidden;
      text-align: center;
      z-index: 0;
  }

  .hero-home-carousel {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
  }

  .hero-home-carousel.active {
      opacity: 1;
  }

  #hero-home-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
  }

  #hero-home-content h2 {
      font-size: 36px;
      margin-bottom: 20px;
      font-weight: 700;
  }

 .typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: .15em solid orange; /* typing cursor */
    animation: typing 2s steps(40, end), blink-caret .75s step-end infinite;
  }
  #typing-paragraph {
    color: #fbb116;
    font-weight: 600;
    font-size: 40px;
  }
  @keyframes typing {
    from {
      width: 0;
    }
  }
  @keyframes blink-caret {
    from, to {
      border-color: transparent;
    }
    50% {
      border-color: orange;
    }
  }
  

  .btn {
      display: inline-block;
      background-color: #FBB116;
      color: #fff;
      padding: 10px 20px;
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s;
  }
  .btn:hover {
      background-color: #000;
  }

  #destinations {
      padding: 80px 0;
      text-align: center;
  }

  #destinations h2 {
      margin-bottom: 40px;
  }

  .destination-card {
      display: inline-block;
      width: calc(33.33% - 20px);
      margin: 0 10px 40px;
      text-align: left;
  }

  .destination-card img {
      width: 100%;
      border-radius: 5px;
  }

  .destination-card h3 {
      margin-top: 20px;
  }

  #services {
      padding: 80px 0;
      text-align: center;
  }

  #services h2 {
      margin-bottom: 40px;
  }

  .service {
      display: inline-block;
      width: calc(50% - 20px);
      margin: 0 10px 40px;
      text-align: left;
  }

  .service img {
      width: 100%;
      border-radius: 5px;
  }

  .service h3 {
      margin-top: 20px;
  }



  .about {
    width: 100%;
    margin: 0;
    padding: 100px 0;
  }
  
  .about .contentinline {
    display: flex;
    flex-direction: column;
  }
  
  .about .imagearea {
    width: 100%;
    overflow: hidden;
  }
  
  .about .imagearea img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
  
  .about .text {
    width: 100%; /* Modified to take entire width */
    margin: 0;
  }
  
  .about .text h3 {
    text-align: left;
    color: #000;
    font-size: 60px;
    font-family: 'Montserrat';
    margin-bottom: 10px;
  }
  
  .about .text h4 {
    text-align: left;
    color: #fbb116;
    font-size: 30px;
    font-family: 'Montserrat';
    font-weight: normal;
    font-style: normal;
    margin-bottom: 30px;
    position: relative;
  }
  
  .about .text p {
    text-align: left;
    color: #000;
    font-size: 18px;
    line-height: 170%;
    font-family: 'Montserrat';
    margin-bottom: 30px;
  }
  
  .about .text ul {
    list-style: disc;
    padding-left: 18px;
  }
  
  .about .text ul li {
    text-align: left;
    color: #000;
    font-size: 18px;
    font-family: 'Montserrat';
    margin-bottom: 5px;
  }
  
  /* -- ABOUT CSS ENDS -- */
  
  .my-button {
    background-color: #fbb116;
    color: black;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .my-button:hover {
    background-color: black;
    color: white;
  }
  
  @media (min-width: 769px) {
    .about .contentinline {
      flex-direction: row-reverse;
    }
  }

  @media (max-width: 769px) {
    .imagearea {
      display: none;
    }
  }
  



  .container-package {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .card {
    width: calc(33.33% - 10px); /* Adjusted width for three columns with gap */
    margin-bottom: 20px; /* Gap between rows */
    border: 1px solid #ccc;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
  }

  .card:hover {
    transform: scale(1.05);
  }

  .card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .card .overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FBB116;
    padding: 5px 10px;
    border-radius: 20px;
  }

  .card .overlay h5 {
    margin: 0;
    color: #000;
    text-transform: uppercase;
    
  }

  .card .overlay:hover {
    background-color: #000;
    color: #FBB116;
  }

  .card .overlay h5:hover {
    color: #FBB116;
   
  }

  .card .content {
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
  }

  .card .content h5 {
    margin-top: 0;
    font-weight: 600;
  }

  .card .content a {
    color: #000;
    text-decoration: none;
  }

  .card .content a:hover {
    color: #FBB116;
  }

  .card .content p {
    margin-top: 0;
    font-size: 12px;
  }

  @media (max-width: 767px) {
    .card {
      width: 100%; /* Full width on small screens */
    }
  }

  .container-dt {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .card-dt {
    width: calc(25% - 10px); /* Adjusted width for four columns with gap */
    margin-bottom: 20px; /* Gap between rows */
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
  }
  
  .card-dt:hover {
    transform: scale(1.05);
  }
  
  .card-dt img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .card-dt .overlay-dt {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FBB116;
    padding: 5px 10px;
    border-radius: 20px;
  }
  
  .card-dt .overlay-dt h5 {
    margin: 0;
    color: #000;
    text-transform: uppercase;
  }
  
  .card-dt .overlay-dt:hover {
    background-color: #000;
    color: #FBB116;
  }
  
  .card-dt .overlay-dt h5:hover {
    color: #FBB116;
  }
  
  .card-dt .content {
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
  }
  
  .card-dt .content h5 {
    margin-top: 0;
    font-weight: 600;
  }
  
  .card-dt .content a {
    color: #000;
    text-decoration: none;
  }
  
  .card-dt .content a:hover {
    color: #FBB116;
  }
  
  .card-dt .content p {
    margin-top: 0;
    font-size: 12px;
  }
  
  @media (max-width: 991px) {
    .card-dt {
      width: calc(33.33% - 10px); /* Adjusted width for three columns with gap */
    }
  }
  
  @media (max-width: 767px) {
    .card-dt {
      width: 100%; /* Full width on small screens */
    }
  }
  
  .header-section {
    background-image: url('images/homepage/safari.jpg'); /* Replace 'header-background.jpg' with your image path */
    background-size: cover;
    background-position: center center;
    color: #000;
    text-align: center;
    height: 500px;
    padding: 300px 70px 70px 70px;

}
.header-section-sz {
  background-image: url('images/homepage/sz.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-kl {
  background-image: url('images/homepage/Kili.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-zdt {
  background-image: url('images/homepage/zdt.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-z {
  background-image: url('images/homepage/Zanzibar\ Dark.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-dt {
  background-image: url('images/homepage/dt.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-lx {
  background-image: url('images/homepage/lx.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-human {
  background-image: url('images/132.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}

.header-section-bk {
  background-image: url('images/48.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}

.header-section-dst {
  background-image: url('images/108.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: top center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}

.header-section-abt {
  background-image: url('images/42.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;

}
.header-section-payment {
  background-image: url('images/89.jpg'); /* Replace 'header-background.jpg' with your image path */
  background-size: cover;
  background-position: center;
  color: #000;
  text-align: center;
  height: 500px;
  padding: 300px 70px 70px 70px;
  margin-bottom: 50px;

}
.h1-package {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    font-family: Montserrat;
}
.p-package {
    color: #fbb116;
    font-weight: 600;
    font-family: Montserrat;
}
@media (max-width: 768px) {
.header-section {
    padding: 100px 70px 70px 70px;
}
#header-section {
  height: 300px;
}
.header-section-sz {
  padding: 40px 70px 70px 70px;
}
.header-section-kl {
  padding-top: 0px;
}
.header-section-zdt {
  padding: 100px 70px 70px 70px;
}
.header-section-z {
  padding: 100px 70px 70px 70px;
}
.header-section-dt {
  padding: 100px 70px 70px 70px;
}
.header-section-lx {
  padding: 100px 70px 70px 70px;
}
.header-section-human {
  padding: 100px 20px 70px 20px;
}
.header-section-bk {
  padding: 100px 70px 70px 70px;
}
.header-section-dst {
  height: 300px;
  padding: 250px 40px;
}
.header-section-abt {
  padding: 250px 70px 70px 70px;
}
.header-section-payment {
  padding: 250px 70px 70px 70px;
}
.h1-package {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  font-family: Montserrat;
}
}

/*aboout page*/

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-container h2{
  text-align: center;
}

.about-menu {
  overflow: hidden;
  border-bottom: 2px solid #000;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.aboutlinks {
  background-color: #000;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

.aboutlinks:hover {
  background-color: #FBB116;
}

.aboutlinks.active {
  background-color: #FBB116;
}

.aboutlinkscontent {
  display: none;
  padding: 20px;
}

.aboutlinkscontent.active {
  display: block;
}
.about-image-wrap {
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}
.about-image {
  max-width: 100%; /* Make image responsive */
  height: auto; /* Maintain aspect ratio */
  display: inline-block;
}
.dir-container {
   /* Set container width */
  margin: 0 auto; /* Center container horizontally */
  display: flex; /* Use flexbox */
  margin-bottom: 30px;
}

.dir-image-column {
  flex: 1; /* Take up available space */
}


.dir-content-column {
  flex: 1; /* Take up available space */
  margin-left: 20px; /* Add a gap between the columns */
}
.dir-mobile{
  display: none;
}

@media only screen and (max-width: 768px){
.dir-container{
  display: none;

}
.dir-mobile{
  display: block;
}
#abt-carousel{
  height: 400px;
}
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.about-gallery img {
  margin-top: 50px;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  justify-content: center;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
}

.modal-content img {
  width: 100%;
  height: auto;
}

.modal-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-nav {
  color: white;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.modal-nav.left {
  left: 10px; /* Adjust this value as needed */
}

.modal-nav.right {
  right: 10px; /* Adjust this value as needed */
}
@media only screen and (max-width: 768px) {
.about-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
}
/*about page*/

