@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap");
@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Quintessential&display=swap");

.mb-3 {
  margin-bottom: 1rem !important;
  font-size: 25px;
  color: #002833;
  font-weight: 600;
}

* {
  font-family: "Quintessential", serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;

  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: #002833;
}

section {
  padding: 5rem 9%;
}

.hbtn {
  margin-top: 1rem;
  display: inline-block;
  border: 0.2rem solid #ffffff;
  /* background: #002833;
  color: #fff;*/
  border-radius: 20px;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 600;
  padding: 1rem 3rem;
  /* filter: blur(1px); */
  background: rgba(0, 0, 0, 0);
}

.hbtn:hover {
  background: #ffffff;
  color: #006c8d;
  font-weight: 800;
}

/* Read More Toggle */
.read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.read-more-content.open {
  max-height: 800px; /* enough for content */
}
.read-more-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.read-more-btn {
  background: linear-gradient(135deg, #0a4b5c, #0f6b7f);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0a4b5c;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.location-link i {
  color: #e63946;
  font-size: 16px;
}

.location-link:hover {
  color: #e63946;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  border: 0.2rem solid #002833;
  /* background: #002833;
  color: #fff;*/
  border-radius: 20px;
  color: #002833;
  cursor: pointer;
  background: none;
  font-size: 1.7rem;
  padding: 1rem 3rem;
  /* filter: blur(1px); */
}

.btn:hover {
  background: #002833;
  color: #fff;
}

.heading {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 4rem;
  color: #002833;
}

/* background layers for fade effect */
.bg-layer {
  position: absolute;
  inset: 0; /* top:0; left:0; right:0; bottom:0 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* smooth fade */
  z-index: 0;
}

/* show the active background */
.bg-layer.show {
  opacity: 1;
}

/* make hero full-bleed (no gutters) */
.home {
  padding: 0;
  width: 100vw; /* use viewport width */
  position: relative;
  overflow: hidden;
}

/* ensure the box covers full viewport height and width */
.home .box {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* keep content left */
  padding: 2rem 5vw; /* responsive side padding */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  position: relative;
}

/* if you used .box.second specifically */
.home .box.second {
  justify-content: flex-start;
}

/* make content overlay sit above bg */
.home .box .content {
  position: relative;
  z-index: 2;
  /* responsive container width — allow text to grow */
  width: min(70%, 900px); /* change 70% or 900px as needed */
  color: white; /* ensure text is visible */
}

/* responsive, scalable typography using clamp */
.home .box .content span {
  font-family: "Quintessential", serif;
  font-size: clamp(2rem, 4vw, 4.5rem); /* scales between 2rem and 4.5rem */
  color: white;
  display: block;
  margin-bottom: 0.25rem;
}

.home .box .content h3 {
  font-family: "Quintessential", serif;
  font-size: clamp(3.5rem, 10vw, 10rem); /* scales: small->large screens */
  color: white;
  margin: 0;
  line-height: 0.95;
  padding-top: 0.25rem;
}

.home .box .content p {
  font-family: "Baskervville", serif;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.8rem;
}

/* small-screen tweaks */
@media (max-width: 768px) {
  .home .box .content {
    width: 90%;
  }
  .home .box {
    padding: 1.5rem 6vw;
  }
  .home .box .content h3 {
    line-height: 1;
  }
}

/*adventure homepage section starts*/
#adventure {
  background-color: #fff;
}
.category .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(29rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));
  gap: 1.5rem;
}

.category .box-container .box {
  text-align: center;
  padding: 1rem;
}

.category .box-container .box img {
  height: 25rem;
  width: 25rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.category .box-container .box h3 {
  font-size: 2.5rem;
  color: #006c8d;
}

.category .box-container .box p {
  font-size: 1.5rem;
  color: #002833;
  padding: 1rem 0;
  line-height: 2;
  font-family: "Baskervville", serif;
}
/*adventure homepage section ends*/

/*adventure mainpage section starts*/
.adventurepage {
  padding-top: 5%;
}

.adventureh1 {
  font-family: "Quintessential", serif;
  padding-top: 50px;
  color: #006c8d;
  font-weight: 700;
  font-size: 45px;
}

hr {
  width: 20%;
  margin-left: auto;
  margin-right: auto;
}

.container {
  padding-top: 50px;
}

.container h5 {
  font-family: "Quintessential", serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 48px;
  color: var(--black);
}

.container p {
  font-family: "Baskervville", serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: var(--gray-1);
  padding-top: 20px;
}
section.information .info-1 {
  padding: 183px e;
}

.post {
  padding-top: 100px;
}

.lpost {
  padding-bottom: 100px;
}

/* -------------------------------------home page map css start---------------------------------- */

.map {
  background: #eee;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

.map .video {
  padding-bottom: 5rem;
  padding-right: 5rem;
}

.map .video video {
  border-radius: 20px;
  height: 80vh;
}
.map .content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
}

.map .content h3 {
  font-size: 3rem;
  color: #006c8d;
}

.map .content p {
  font-family: "Baskervville", serif;
  font-size: 1.5rem;
  color: #002833;
  padding: 1rem 0;
  line-height: 2;
}

/*------------------------------- blogs page css start ------------------------------------*/

.blogs {
  background-color: #eee;
}

.blogs .slide {
  text-align: center;
  padding: 2rem;
}

.blogs .slide img {
  height: 25rem;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0.5rem;
}

.blogs .slide .icons {
  background: #002833;
  border-radius: 0.5rem;
  padding: 1rem;
  position: relative;
  top: -2rem;
  display: inline-block;
}

.blogs .slide .icons a {
  font-size: 1.4rem;
  color: #fff;
  margin: 0 1rem;
}

.blogs .slide .icons a:hover {
  color: #006c8d;
}

.blogs .slide .icons a i {
  padding-right: 0.5rem;
  color: #006c8d;
}

.blogs .slide h3 {
  font-size: 2rem;
  color: #002833;
}

.blogs .slide p {
  font-family: "Baskervville", serif;
  font-size: 1.4rem;
  padding: 1rem 0;
  line-height: 2;
  color: #002833;
}
/* ===============================
   EVENT HOMEPAGE – FINAL CSS
================================= */

.event {
  background: #eee;
  font-family: "Baskervville", serif;
  padding-bottom: 50px;
}

.heading1 {
  text-align: center;
  font-weight: 500;
  font-size: 40px;
  padding-top: 20px;
}

/* ===============================
   ROW & CARD
================================= */

.eventrow {
  max-width: 1920px;
  margin: 50px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  padding: 0 1.7rem 5.7rem;
  width: 25%;
}

/* ===============================
   WRAPPER
================================= */

.card .wrapper {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3),
              0 15px 12px rgba(0, 0, 0, 0.2);
}

/* ===============================
   TOP MENU
================================= */

.card .menu-content {
  list-style: none;
  margin: 0;
  padding: 0;
  float: right;
}

.card .menu-content li {
  display: inline-block;
  margin: 0 5px;
  position: relative;
}

.card .menu-content a {
  color: #fff;
}

.card .menu-content span {
  position: absolute;
  left: 50%;
  top: -10px;
  font-size: 10px;
  font-weight: 700;
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.3s;
}

.example-2 .wrapper:hover .menu-content span {
  opacity: 1;
  top: -18px;
}

/* ===============================
   HEADER
================================= */

.example-2 .head {
  padding: 1em;
  color: #fff;
  position: relative;
  z-index: 2;
}

/* ===============================
   DATA SECTION (IMPORTANT FIX)
================================= */

.card .data {
 position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(65%);
  transition: transform 0.4s ease;
}

.card .wrapper:hover .data {
  transform: translateY(0);
}

/* ===============================
   CONTENT
================================= */

.card .data .Econtent {
  padding: 1em;
  color: #fff;
}

/* Stable text sizes */
.card .author {
  display: block;
  height: 16px;
  font-size: 12px;
  opacity: 0.9;
}

.card .title {
  min-height: 60px;
  margin: 10px 0;
  font-family: "Quintessential", serif;
  font-size: 25px;
}

.card .title a {
  color: #fff;
  text-decoration: none;
}

.card .text1 {
  height: 100px;
  font-size: 13px;
  overflow: hidden;
  line-height: 1.5;
}

/* ===============================
   BUTTON (OPTIONAL)
================================= */

.example-2 .Ebutton {
  display: block;
  width: 100px;
  margin: 1.5em auto 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.example-2 .Ebutton::after {
  content: "→";
  position: absolute;
  right: 0;
  opacity: 0;
  transition: 0.3s;
}

.example-2 .Ebutton:hover::after {
  opacity: 1;
  right: -8px;
}

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

@media (max-width: 1024px) {
  .card {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
  }
}


/* Products home page section css (renamed with tn- prefix) */
.tn-products {
  position: relative;
  overflow-x: hidden !important;
  background-color: #ffffff;
}

.tn-products body {
  font-family: "Quicksand", sans-serif;
}

.tn-products a,
.tn-products a:hover {
  text-decoration: none;
}

.tn-picon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.tn-item-bg {
  width: 300px;
  height: 500px;
  position: absolute;
  top: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 26px 6px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: all 0.3s;
  left: -30px;
}
.tn-item-bg.active {
  left: 0;
  top: 0;
  opacity: 1;
}

.tn-news-slider {
  z-index: 2;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  position: relative;
}

.tn-heading1 {
  text-align: center;
  font-weight: 500;
  font-size: 40px;
  padding-top: 20px;
}

.tn-news-slider__wrp {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.tn-news-slider__item {
  width: 400px;
  flex-shrink: 0;
}

.tn-news-slider__item.swiper-slide {
  pointer-events: none;
  transition: all 0.3s;
}
.tn-news-slider__item.swiper-slide-active,
.tn-news-slider__item.swiper-slide-prev,
.tn-news-slider__item.swiper-slide-next {
  opacity: 1;
  pointer-events: auto;
}
.tn-news-slider__ctr {
  position: relative;
  z-index: 12;
}
.tn-news-slider__arrow {
  background: #fff;
  border: none;
  display: inline-flex;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 26px 6px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  z-index: 12;
  cursor: pointer;
  outline: none !important;
}
.tn-news-slider__arrow:focus {
  outline: none !important;
}
.tn-news-slider__arrow .tn-icon-font {
  display: inline-flex;
}
.tn-news-slider__arrow.tn-news-slider-prev {
  left: 15px;
  transform: translateY(-50%);
}
.tn-news-slider__arrow.tn-news-slider-next {
  right: 15px;
  transform: translateY(-50%);
}
.tn-news-slider__pagination {
  text-align: center;
  margin-top: 50px;
}
.tn-news-slider__pagination .swiper-pagination-bullet {
  width: 13px;
  height: 10px;
  display: inline-block;
  background: rgb(39, 39, 39);
  opacity: 0.2;
  margin: 0 5px;
  border-radius: 20px;
  transition: opacity 0.5s, background-color 0.5s, width 0.5s;
  transition-delay: 0.5s, 0.5s, 0s;
}
.tn-news-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #1a1919;
  width: 100px;
  transition-delay: 0s;
}

.tn-news__item {
  padding: 40px;
  color: black;
  border-radius: 10px;
  display: block;
  transition: all 0.3s;
}
.tn-news__item.active {
  color: #222222;
}
.tn-news__item.active .tn-news-date,
.tn-news__item.active .tn-news__title,
.tn-news__item.active .tn-news__txt {
  opacity: 1;
}
.tn-news__item.active .tn-news__img {
  box-shadow: none;
}

.tn-news-date {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid;
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.tn-news-date__title {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 500;
}
.tn-news-date__txt {
  font-size: 16px;
}

.tn-news__title {
  font-size: 25px;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 10px;
  margin-bottom: 15px;
  transition: opacity 0.3s;
  text-align: center;
}
.tn-news__txt {
  font-family: "Baskervville", serif;
  margin: 10px 0;
  line-height: 1.6em;
  font-size: 15px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.tn-news__img {
  border-radius: 10px;
  box-shadow: 0 6px 26px 6px rgba(0, 0, 0, 0.25);
  height: 200px;
  margin-top: 30px;
  width: 100%;
  transition: all 0.3s;
  transform-origin: 0% 0%;
}
.tn-news__img img {
  max-width: 100%;
  border-radius: 10px;
  height: 100%;
  width: 100%;
}

.reviews .slide .text {
  padding: 2rem;
  font-size: 1.5rem;
  font-style: italic;
  background: #eee;
  border-radius: 0.5rem;
  color: #002833;
  line-height: 2;
  position: relative;
  z-index: 0;
  margin-bottom: 3rem;
}
.reviews .slide .text::before {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 0.7rem;
  height: 3rem;
  width: 3rem;
  background: #eee;
  transform: rotate(45deg);
}
.reviews .slide .user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.reviews .slide .user img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
}
.reviews .slide .user h3 {
  font-size: 2rem;
  color: #002833;
}
.reviews .slide .user span {
  color: #0099c7;
  font-size: 1.5rem;
}

/* Newsletter & clients styles kept unchanged but scoped under .tn-products for safety */
.tn-products .newsletter .content {
  max-width: 70rem;
  margin: 1rem auto;
  text-align: center;
}
.tn-products .newsletter .content p {
  font-size: 1.5rem;
  line-height: 2;
  color: #002833;
}
.tn-products .newsletter .content form {
  margin-top: 2rem;
  background: #fff;
  border-radius: 5rem;
  border: 0.2rem solid #002833;
  padding: 0.7rem;
  display: flex;
}
.tn-products .newsletter .content form .email {
  width: 100%;
  background: none;
  font-size: 1.6rem;
  color: #002833;
  padding: 0 1.3rem;
}
.tn-products .newsletter .content form .btn {
  margin-top: 0;
  border-radius: 5rem;
  background: #002833;
  color: #fff;
}
.tn-products .newsletter .content form .btn:hover {
  background: none;
  color: #002833;
}
.tn-products .clients .silde {
  text-align: center;
}
.tn-products .clients .silde img {
  height: 12rem;
}

/* ✅ FINAL FIX – Arrow perfectly center on image */

.tn-news-slider {
  position: relative;
}

/* Arrow vertical alignment based on image area */
.tn-news-slider__arrow {
  top: calc(50% + 80px); /* moves arrow down to image center */
  transform: translateY(-50%);
  z-index: 20;
}

/* Desktop positioning */
.tn-news-slider-prev {
  left: 20px;
}

.tn-news-slider-next {
  right: 20px;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .tn-news-slider__arrow {
    top: calc(50% + 60px);
  }

  .tn-news-slider-prev {
    left: 10px;
  }

  .tn-news-slider-next {
    right: 10px;
  }
}

/* Scroll to top */

.to-top {
  background: rgb(22, 21, 25);
  position: fixed;
  bottom: 16px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  /* color:#1f1f1f; */
  color: #fff;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
  z-index: 10;
}

.to-top.active {
  bottom: 32px;
  pointer-events: auto;
  opacity: 1;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
    scroll-padding-top: 7rem;
  }
  .home .box {
    padding: 2rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-position: right !important;
  }
  .home .box.second {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-position: left !important;
  }
  .home .box .content {
    text-align: center;
  }
  .home .box .content span {
    font-size: 6rem;
  }
  .home .box .content h3 {
    font-size: 7rem;
  }
}

/* product home page section media query starts*/

@media screen and (max-width: 1300px) {
  .news-slider {
    max-width: 1000px;
  }
}

@media screen and (max-width: 992px) {
  .news-slider__item {
    width: 340px;
  }
  .news__item {
    padding: 30px;
  }
}

@media screen and (max-width: 576px) {
  .news-slider {
    margin-top: 45px;
  }
  .news-slider__pagination .swiper-pagination-bullet-active {
    width: 70px;
  }
  .news__item {
    padding: 20px;
  }
  .news-date {
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0;
  }
  .news-date__title {
    margin-right: 10px;
  }
  .news__title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .news__img {
    height: 180px;
    margin-top: 20px;
  }
}

/* @media screen and (min-width: 800px) { */
.news__item:hover {
  color: #222222;
  transition-delay: 0.1s;
}
.news__item:hover .news-date,
.news__item:hover .news__title,
.news__item:hover .news__txt {
  opacity: 1;
  transition-delay: 0.1s;
}
.news__item:hover .news__img {
  box-shadow: none;
}
/* } */

/* product home page section media query ends */

@media (max-width: 560px) {
  .map .image img {
    width: 100%;
    /* justify-content: space-around; */
    /* padding-right: 4rem; */
  }

  .adventurepage .container img {
    width: 100vw;
  }
}

@media (max-width: 792px) {
  .map .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
  .map .content h3 {
    text-align: center;
  }
  .map .content {
    text-align: center;
    margin-top: -20px;
  }
  .map .content p {
    text-align: justify;
  }
  .to-top {
    font-size: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .heading {
    font-size: 3rem;
  }
}

@media screen and (max-width: 992px) {
  .card {
    width: 400px;
    margin: auto;
  }
  .card .data .Econtent {
    transform: translateY(19px);
  }
}

@media screen and (max-width: 600px) {
  .card {
    width: 400px;
    margin: auto;
  }
  .card .data .Econtent {
    transform: translateY(19px);
  }
}

.social-media a {
  margin: 0 8px;
  color: #fff;
  text-decoration: none;
  font-size: 1.3em; /* ↓ slightly smaller icons */
  transition: color 0.3s;
}

.social-media a:hover {
  color: #1da1f2;
}

.map-container {
  width: 100%;
  height: 150px; /* ↓ reduced height */
  margin-top: 15px;
}

.newsletter input[type="email"] {
  padding: 8px;
  width: 100%;
  margin-bottom: 8px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter button {
  padding: 8px 16px;
  background-color: #555;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.newsletter button:hover {
  background-color: #777;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.destination-home {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 10rem;
}

.destination-home .image {
  flex: 1 1 45rem;
}

.destination-home .image img {
  width: 100%;
  height: 500px;
  border-radius: 250px 250px 0;
}

.destination-home .content {
  flex: 1 1 45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.destination-home .content h3 {
  font-size: 4.5rem;
  color: var(--black);
  text-shadow: var(--text-shadow);
  text-align: center;
  margin-bottom: 2rem;
}

.destination-home .content p {
  text-align: justify;
  font-size: 1.7rem;
  color: var(--light-color);
  line-height: 3;
}

/* destination popular section */
.destination-popular {
  padding: 100px 10px;
  display: grid;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 auto;
  gap: 30px;
}

@media screen and (min-width: 1200px) {
  .destination-popular {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  #dest-long-card {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
  }
}

.dest-popheader {
  font-size: 2rem;
  width: 300px;
  margin-bottom: 20px;
}

.dest-card-container {
  position: relative;
  width: 300px;
  overflow: hidden;
  min-height: 300px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 15px;
}

.dest-card-image {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dest-card-image img {
  height: 100%;
  transition: transform 300ms ease-in-out;
}

.dest-card-description {
  position: absolute;
  z-index: 1;
  bottom: 0px;
  background-color: #fff;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  row-gap: 10px;
  transition: bottom 200ms ease-in-out;
}

.title {
  font-weight: bold;
}

.stars {
  color: gold;
}

.location,
.duration,
.dest-card-bookmark > button {
  color: #6d6d6d;
}

.dest-card-bookmark {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.dest-card-bookmark > button {
  background-color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

@media screen and (min-width: 1200px) {
  .dest-card-description {
    bottom: -100px;
  }

  .dest-card-image:hover ~ .dest-card-description,
  .dest-card-description:hover {
    bottom: 0;
  }

  .dest-card-container:hover > .dest-card-image > img {
    transform: scale(1.2);
  }
}

/* Center the section title at the top */
.section-title {
  max-width: 1200px;
  margin: 28px auto 10px; /* centers horizontally and adds top spacing */
  padding: 0 20px;
  text-align: center; /* <-- CENTER the title & subtitle */
  display: block;
  z-index: 999;
}

/* Title style */
.section-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  color: #0e2a47;
  letter-spacing: 2px;
}

/* Subtitle under the title */
.section-title .subtitle,
.section-title p {
  margin: 6px 0 0;
  color: #555;
  font-size: 1rem;
}

/* Ensure slider sits below the title and is centered */
.slider-container {
  max-width: 1200px;
  margin: 18px auto 80px; /* centered and leaves space under title */
  width: calc(100% - 40px);
  height: 520px; /* adjust height if you want smaller */
  position: relative;
}

/* If any global layout was pushing content left, force center columns */
.destination-popular {
  display: block;
  width: 100%;
}

/* On small screens keep centered and reduce sizes */
@media (max-width: 900px) {
  .section-title {
    margin-top: 18px;
  }
  .section-title h1 {
    font-size: clamp(1.6rem, 6vw, 2.6rem);
  }
  .slider-container {
    height: 380px;
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    padding: 0 12px;
  }
  .section-title h1 {
    font-size: 1.6rem;
  }
  .slider-container {
    height: 300px;
  }
}

.trail-section {
  background-color: #fff;
  padding: 60px 0;
  font-family: "Poppins", sans-serif;
  color: #222;
}

.trail-heading {
  text-align: center;
  font-size: 5rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.trail-slider {
  width: 90%;
  margin: auto;
}

.trail-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.trail-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.trail-info {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 0.9rem;
  color: #666;
}

.trail-info a {
  text-decoration: none;
  color: #0f766e;
}

.trail-title {
  font-size: 1.25rem;
  margin: 10px 15px 5px;
  font-weight: 600;
  color: #111;
}

.trail-desc {
  font-size: 0.95rem;
  margin: 0 15px 15px;
  color: #555;
  line-height: 1.6;
}

.trail-btn {
  display: inline-block;
  margin: 0 15px 20px;
  background-color: #0f766e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.trail-btn:hover {
  background-color: #115e56;
}

/* Slider container */
.slider-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  perspective: 2000px;
  overflow: hidden;
  background: #fff;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

/* wrapper */
.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

/* slides */
.slide {
  position: absolute;
  width: 80%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  opacity: 0;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: all 1s ease-in-out;
}

/* .slide:nth-child(1) {
  background-image: url('../images/PHOTOS/1760635289399.jpg');
}
.slide:nth-child(2) {
  background-image: url('../images/PHOTOS/Akash_NewBeach_NewBeach.jpg');
}
.slide:nth-child(3) {
  background-image: url('../images/PHOTOS/Sakthi_vedaranyam_nagai_meenavargal.jpg');
}
.slide:nth-child(4) {
  background-image: url('../images/PHOTOS/pic-1_madhesmeena.jpg');
}
.slide:nth-child(5) {
  background-image: url('../images/PHOTOS/InShot_20251019_193157325.jpg');
} */

/* active / prev / next transforms */
.slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 10;
}
.slide.prev {
  transform: translate(-60%, -50%) scale(0.9);
  opacity: 0.5;
  z-index: 5;
}
.slide.next {
  transform: translate(-40%, -50%) scale(0.9);
  opacity: 0.5;
  z-index: 5;
}

/* overlay */
.slide-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(26, 26, 46, 0.6) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
}

/* content */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  padding: 60px;
  width: 100%;
}

.slide-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 25px;

  letter-spacing: 3px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.slide-content p {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* navigation */
.navigation {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 100;
  pointer-events: none;
}

.nav-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #5465c3;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn svg {
  width: 30px;
  height: 30px;
}

.nav-btn:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

/* indicators */
.indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 100;
}

.indicator {
  width: 50px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: width 0.3s ease;
}

.indicator.active::before {
  width: 100%;
}
.indicator:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* photo credit style (bottom-right pill) */
.photo-credit {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 400;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  line-height: 1;
  pointer-events: none;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  max-width: 45%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* accessibility focus */
.nav-btn:focus,
.indicator:focus {
  outline: 2px solid rgba(255, 255, 255, 0.25);
}

/* animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 768px) {
  .slide {
    width: 90%;
    height: 60%;
  }
  .slide-content h1 {
    font-size: 2.5rem;
  }
  .slide-content p {
    font-size: 1.1rem;
  }
  .nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .navigation {
    padding: 0 20px;
  }
  .photo-credit {
    right: 12px;
    bottom: 12px;
    font-size: 0.75rem;
    max-width: 65%;
  }
}

/* ============================= */
/* FAMOUS FOODS SECTION (UNIQUE) */
/* ============================= */

.tnf-food-section {
  padding: 6rem 2rem;
  background: #fafafa;
  text-align: center;
}

.tnf-food-heading {
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #17333b;
  font-weight: 700;
}

.tnf-food-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tnf-food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Food Card */
.tnf-food-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tnf-food-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 2rem 3.4rem rgba(0, 0, 0, 0.12);
}

.tnf-food-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tnf-food-content {
  padding: 2rem;
  text-align: left;
}

/* Tags */
.tnf-food-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 1.2rem;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* New tag colours */
.tnf-food-tag--sweet {
  background: #e8590c; /* orange / sweet */
}

.tnf-food-tag--street {
  background: #845ef7; /* purple / street food */
}

.tnf-food-tag--coastal {
  background: #228be6; /* blue / sea */
}

/* Old tags if you still want to reuse
.tnf-food-tag--sea { background: #228be6; }
.tnf-food-tag--spicy { background: #fa5252; }
.tnf-food-tag--veg { background: #40c057; }
*/

.tnf-food-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 0.8rem;
}

.tnf-food-desc {
  font-size: 1.5rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.tnf-food-meta {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.tnf-food-contact {
  font-size: 1.4rem;
  color: #444;
}

.tnf-food-contact a {
  color: #0b76ff;
  text-decoration: none;
}

.tnf-food-contact a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .tnf-food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tnf-food-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* LEGENDS OF NAGAPATTINAM - UNIQUE SECTION (tnl-*) */
/* ===================================================== */

.tnl-section {
  width: 100%;
  padding: 6rem 0;
  background: #f3f8fc;
  text-align: center;
}

.tnl-heading {
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #17333b;
  font-weight: 700;
}

/* Slider Container */
.tnl-slider {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.tnl-slide-row {
  display: flex;
  transition: 0.5s ease;
}

/* Each slide = full width */
.tnl-slide-col {
  flex: 0 0 100%;
  display: flex;
  position: relative;
  height: 380px;
}

/* Content Box */
.tnl-legend-content {
  width: 60%;
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  margin: auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.tnl-legend-content p {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.4;
}

.tnl-legend-content h3 {
  margin-top: 2rem;
  font-size: 2rem;
  color: #17333b;
  font-weight: 700;
}

.tnl-role {
  font-size: 1.4rem;
  color: #666;
}

/* Image Box */
.tnl-legend-img {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tnl-legend-img img {
  width: 260px;
  height: 100%;
  object-fit: fill;
  border-radius: 12px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Indicators */
.tnl-indicators {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tnl-btn {
  height: 12px;
  width: 12px;
  background: #aaa;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
}

.tnl-btn.active {
  width: 30px;
  background: #17333b;
}

/* Responsive */
@media (max-width: 900px) {
  .tnl-slide-col {
    flex-direction: column-reverse;
    height: auto;
  }

  .tnl-legend-img {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }

  .tnl-legend-img img {
    width: 200px;
    height: 200px;
    border-radius: 14px;
  }

  .tnl-legend-content {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .tnl-heading {
    font-size: 2.4rem;
  }

  .tnl-legend-content {
    padding: 2.2rem;
  }

  .tnl-legend-content p {
    font-size: 1.4rem;
  }
}

/* ---------- SECTION ---------- */
.ferry-glass {
  position: relative;
  padding: 90px 20px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.ferry-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.sundaytimes.lk/240825/uploads/3s.jpg") no-repeat
    center;
  background-size: cover;
  z-index: 0;
  animation: fadeIn 1.5s ease forwards;
}

/* GLASS BOX */
.glass-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 55px 40px 60px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  text-align: center;
  animation: fadeUp 1s ease forwards;
}

/* HEADING */
.glass-box h2 {
  font-size: 36px;
  color: #083d77;
  margin-bottom: 45px;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* CARD */
.service-card {
  background: #ffffff;
  padding: 28px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  animation: fadeUp 1.2s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.service-card i {
  font-size: 34px;
  color: #0a74da;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 14px;
  color: #555;
}

/* BOOK NOW BUTTON */
.book-btn {
  display: inline-block;
  margin-top: 45px;
  padding: 14px 42px;
  background: #ff8c1a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  animation: fadeUp 1.4s ease forwards, pulse 2s infinite;
  transition: transform 0.3s ease;
}

.book-btn:hover {
  transform: translateY(-4px) scale(1.03);
}

/* ================= POPUP BASE ================= */
.tnh-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* 👈 IMPORTANT */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.tnh-popup-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

/* ================= POPUP BOX ================= */
.tnh-popup-box {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 900px;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: popupFade 0.4s ease;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.tnh-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= CONTENT ================= */
.tnh-popup-content {
  display: flex;
  flex-wrap: wrap;
}

/* LEFT */
.tnh-popup-poster {
  flex: 1;
  min-width: 300px;
}

.tnh-popup-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT */
.tnh-popup-details {
  flex: 1;
  padding: 35px;
}

.tnh-popup-details h2 {
  margin: 0;
  font-size: 28px;
  color: #034051;
}

.tnh-popup-details .sub {
  margin: 8px 0 20px;
  color: #555;
}

.tnh-popup-details ul {
  padding-left: 18px;
  margin-bottom: 25px;
}

.tnh-popup-details li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* BUTTON */
.tnh-book-btn {
  display: inline-block;
  background: #ff9800;
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .tnh-popup-content {
    flex-direction: column;
  }
}

/* ================= VISITORS ================= */
.tnh-visitors {
  margin-top: 25px;
}

.tnh-visitors h4 {
  margin-bottom: 12px;
  font-size: 15px;
  color: #034051;
}

/* SLIDER BOX */
.tnh-slider {
  overflow: hidden;
  width: 100%;
}

/* TRACK */
.tnh-slide-track {
  display: flex;
  gap: 14px;
  animation: slideVisitors 18s linear infinite;
}

/* IMAGES */
.tnh-slide-track img {
  width: 60px;
  height: 60px;
  border-radius: 1%;
  object-fit: cover;
  border: 2px solid #ff9800;
}

/* ANIMATION */
@keyframes slideVisitors {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ================= IMAGE LIGHTBOX ================= */
.tnh-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.tnh-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.tnh-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
