*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  border: none;
}

html,
body,
main {
  width: 100% !important;
  height: auto; /* Set to auto for responsiveness */
  background-color: #e7f4ff;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif !important;
}

main section.about {
  padding: 10px 30px; /* Default padding for all screen sizes */
}

main section header h1 {
  color: #020656;
  font-weight: bolder;
  font-size: 30px;
}

main section.about .text-image-gallery {
  width: 100%;
  display: flex;
  flex-direction: row; /* Row direction for larger screens */
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

main section.about .text-image-gallery div {
  width: 74%;
  line-height: 34px;
  text-align: left;
  padding: 3px;
  color: #1e1e1e;
}

main section.about .text-image-gallery img {
  width: 100%; /* Full width on smaller screens */
  max-width: 300px; /* Limit maximum width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  object-position: top;
}

#img-down {
  border-radius: 0 0 20px 20px;
}

div.our-destination-para p {
  line-height: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .custom-carousel-content h2{
    font-size: 20px;
  }
  main section.about {
    padding: 15px; /* Adjust padding for medium screens */
  }

  main section header h1 {
    font-size: 30px; /* Adjust heading size */
  }

  main section.about .text-image-gallery {
    flex-direction: column; /* Stack items vertically */
  }

  main section.about .text-image-gallery div,
  main section.about .text-image-gallery img {
    width: 100%; /* Full width for smaller screens */
    margin-bottom: 20px; /* Add space between stacked items */
  }

  main section.about .text-image-gallery img {
    max-width: 100%; /* Ensure images scale down */
  }

  div.our-destination-para p {
    line-height: 24px; /* Adjust line height for better readability */
  }
}

@media (max-width: 480px) {
  main section header h1 {
    font-size: 24px; /* Further reduce heading size */
  }

  main section.about .text-image-gallery div {
    line-height: 28px; /* Adjust line height */
  }

  main section.about {
    padding: 10px; /* Further reduce padding for small screens */
  }
}

main div.aside-our {
  position: relative;
  width: 100%; /* Full width */
  background: url("../images/about-aside/b22747f5ba9f8b0991389a485086472d.jpg")
    center / cover no-repeat;
  padding: 30px;
}

main div.aside-our::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    3,
    6,
    73,
    0.918
  ); /* Darker blue overlay for better contrast */
  z-index: 1; /* Ensure overlay is above the background */
}

main div.aside-our h3 {
  position: relative; /* Position content above overlay */
  z-index: 2; /* Ensure text is above overlay */
  color: white; /* Text color */
  text-align: center; /* Center text */
  margin: 0px !important;
  font-size: 30px;
  /* Add padding for spacing */
  /* font-size: 2.5em; Adjust font size */
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); Add shadow for better readability */
}

main div.aside-our p {
  font-size: 18px;
  position: relative; /* Position content above overlay */
  z-index: 2; /* Ensure text is above overlay */
  color: white; /* Text color */
  text-align: center; /* Center text */
  margin: 0px !important;
}
main div.our-values header h1 {
  color: #1e1e1e;
  margin-bottom: 10px;
}

main div#carouselExampleAutoplaying h1 {
  font-size: 40px;
  text-transform: capitalize;
  color: #23298a;
  font-weight: bolder;
}
main div#carouselExampleAutoplaying p {
  font-size: 20px;
  color: #1e1e1e;
}

footer {
  background-color: #020656;
  color: #fff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.logo img {
  max-width: 150px;
}

.footer-container h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid #22287c;
  padding-bottom: 10px;
}

.footer-container ul {
  list-style: none;
  padding: 0;
}

.footer-container ul li {
  margin: 8px 0;
}

.footer-container a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-container a:hover {
  color: #f0f0f0;
}

.social-media ul {
  display: flex;
  padding: 0;
}

.social-media li {
  margin-right: 4px !important;
}

.social-media a {
  font-size: 24px;
  color: white;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #f0f0f0;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: start;
  }
  .footer-container h3{
    border: none;
  }

  .footer-container div {
      margin-bottom: 20px;
      text-align: left;
  }
  .social-media i{
    margin: 1px 5px;
  }
}

.journey-section {
  position: relative;
  text-align: center;
  color: #fff;
}

.journey-section h2 {
  font-family: 'Eina', sans-serif;
  font-weight: 700;
  font-size: 1.62rem;
  color: #111; 
  letter-spacing: 10px;
  text-align: center;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

/* Container for the image and overlay */
.journey-image-container {
  position: relative;
  width: 75%; /* Adjust as necessary */
  /* max-width: 600px; Optional: set a max width */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Image styling */
.journey-image-container img {
  display: block;
  border-radius: 4px;
  width: 100%;
  height: auto;
}

/* Dark overlay on top of the image */
.journey-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust for desired darkness */
  z-index: 1;
}

/* YouTube icon styling */
.youtube-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; /* Adjust icon size as needed */
  height: auto;
  z-index: 2;
  opacity: 0.8; /* Optional: adjust icon transparency */
  transition: opacity 0.3s ease;
}

/* Icon hover effect */
.journey-image-container a:hover .youtube-icon {
  opacity: 1; /* Brighten icon on hover */
}




.custom-carousel-container {
  position: relative;
  width: 90%;
  /* max-width: 600px; */
  overflow: hidden;
  background-color: #ffc94a;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.custom-carousel-item {
  background:url("../images/87f58a6f1c2b6c8b5017aa1fc384e9f3.jpeg") no-repeat rgba(0, 0, 0, 0.651);
  backdrop-filter: hidden;
  min-width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.custom-carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  max-width: 100%;
}

.custom-carousel-content h2 {
  margin-bottom: 5px;
  font-size: 44px;
  font-weight: bolder;
  z-index: 100;
  color: #23298a;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.747);
}

.custom-carousel-content p {
  font-size: 19px;
  font-weight: bold;
  text-shadow: 1px 2px black;
}

.custom-prev,
.custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
}

.custom-prev:hover,
.custom-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.custom-prev {
  left: 10px;
}

.custom-next {
  right: 10px;
}
