.tagline {
  
  margin-bottom: 0;
  width: 100%;
  background: var(--glass);
  color: var(--amba);
  text-align: center;
  padding: 6px 12px;
  font-family: 'Great Vibes', serif;
  font-size: 6px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.03);
  margin-top: var(--height); /* push it below the fixed topbar */
  position: relative; /* no absolute positioning */
  z-index: 200; /* sits above the hero if needed */
}
/* HOME ONLY — keep it visible */
.home .tagline {
  margin-top: 100px; /* same as topbar height */
}

/* INNER PAGES — optional hide */
.page-inner .tagline {
  display: none;
}
/* INNER PAGES ONLY */
.page-inner .wrap {
  margin-top: 100px;
}
/* main collage */
    .home .hero{
      transform-origin: top center;
      max-width: 100%;
      margin: 10px auto;
      padding: 0 8px 60px;
      position:relative;
      overflow: hidden;
      min-height: 90vh;
    }

    .grid{
      display:grid;
      grid-template-columns: repeat(6, 1fr);
      grid-auto-rows: 140px;
      gap:16px;
      align-items:stretch;
      transform-origin: top center;
  transition: transform 0.3s ease;
    }

    /* different sized tiles */
    .tile{
      position:relative;
      overflow:hidden;
      border-radius:4px;
      background:#ddd;
    }
    .tile img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      transform: scale(1);
      transition: transform 6s ease-in-out;
      animation: slowZoom 20s ease-in-out infinite alternate;
    }
    
    @keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

    /* layout to mimic screenshot */
    .t-1{ grid-column: 1 / span 2; grid-row: 1 / span 2; }        /* left beach tall */
    .t-2{ grid-column: 3 / span 2; grid-row: 1 / span 1; }        /* ocean wide */
    .t-3{ grid-column: 5 / span 2; grid-row: 1 / span 1; }        /* savanna */
    .t-4{ grid-column: 1 / span 2; grid-row: 3 / span 1; }        /* sunset bottom left */
    .t-5{ grid-column: 3 / span 1; grid-row: 2 / span 2; }        /* mid ocean */
    .t-6{ grid-column: 4 / span 2; grid-row: 2 / span 2; }        /* big portrait area */
    .t-7{ grid-column: 6 / span 1; grid-row: 2 / span 1; }        /* small blue sky tile */

    /* portrait overlap: center tile with portrait */
    .portrait-wrap{
      position: absolute;
      width: 320px;
      height: 320px;
      right: 50%; /* nudge to roughly center - tuned visually */
      top: 18px;
      transform: translateX(50%);
      box-shadow: 0 18px 36px rgba(0,0,0,0.25);
      border-radius:6px;
      overflow:hidden;
      background: #fff;
      border: 6px solid rgba(255,255,255,0.9);
      z-index:900;
      transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    }
    .portrait-wrap img{ width:100%; height:100%; object-fit:cover; }
    .hero {
  max-width: 100%;
  padding: 0 8px 40px;
  overflow: hidden;
}

.grid {
  transform: scale(1);
  transform-origin: top center;
  transition: transform 0.3s ease;
}
/* HOME PAGE */
.home .wrap {
  margin-top: 0;
}

    .animated-text {
      font-size: 2rem;
      animation: textShuffle 4s infinite;
      transform-style: preserve-3d;
      perspective: 1000px;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.5), -2px -2px 5px rgba(0,0,0,0.5);
    }

    
    
    a:focus { outline: 2px solid var(--reef-turquoise); outline-offset: 3px; }
    @keyframes textShuffle {
      0%, 100% { transform: rotateY(0); }
      25% { transform: rotateY(30deg) scale(1.1); opacity: 0.8; }
      50% { transform: rotateY(-30deg) scale(1.1); opacity: 0.8; }
      75% { transform: rotateY(30deg) scale(1.1); opacity: 0.8; }
    }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
 .about-us {
  background: linear-gradient(180deg, #022730 0%, #033b47 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.about-us .container {
  max-width: 950px;
  margin: 0 auto;
}

.about-us h2 {
  color: var(--amba);
  font-family: 'Great Vibes', cursive;
  font-size: 2.6rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.about-us p {
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 0.3px;
  color: #f1f1f1;
}

.about-us strong {
  color: var(--amba);
  font-weight: 500;
}



.why-travel {
  background: #011d24;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.why-travel .container {
  max-width: 1000px;
  margin: 0 auto;
}

.why-travel h2 {
  color: var(--amba);
  font-family: 'Great Vibes', cursive;
  font-size: 2.6rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.why-travel .intro {
  max-width: 750px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  font-weight: 300;
  color: #f1f1f1;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature h3 {
  color: var(--amba);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e4e4e4;
}



.services-overview {
  background: linear-gradient(180deg, #011d24 0%, #022730 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.services-overview h2 {
  color: var(--amba);
  font-family: 'Great Vibes', cursive;
  font-size: 2.6rem;
  margin-bottom: 50px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.services-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.service {
  width: 280px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.service:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}

.icon-circle {
  background-color: var(--amba);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 200, 90, 0.5);
  transition: all 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 200, 90, 0.7);
}

.icon-circle img {
  width: 300px;
  height: 95px;
  object-fit: contain;
}

.service h3 {
  color: var(--amba);
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 500;
}

.service p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e6e6e6;
  font-weight: 300;
}
::-webkit-scrollbar{
width: 1.3rem;
}
::-webkit-scrollbar-thumb {
border-radius: 1rem;
background: #797979;
transition: all 0.5s ease-in-out;
}
::-webkit-scrollbar-thumb:hover{
background: #222224;
}
::-webkit-scrollbar-track {
background: #f9f9f9;
}
.container {
max-width: 124rem;
padding: 0 1rem;
margin: 0 auto;
}
.text-center {
text-align: center;
font-size: 2rem;
}
.section-subheading{
color: var(--lagoon-green);
}
.section-heading {
font-family: 'Great Vibes', serif;
font-size: 3rem;
color: #ec994b;
padding: 0.5rem 0;
}
#gallery{
padding: 4rem 0;
}
#gallery .trending-slider{
height: 32rem;
padding: 1rem 0;
position: relative;
}
.trending-slide{
width: 32rem;
height: 28rem;
position: relative;
}
.slide-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



.trending-slide .trending-slide-img img{
width: 32rem !important;
height: 30rem !important;
border-radius: 2rem;
object-fit: cover;
}
.trending-slide-content {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 1rem;
text-align: left;
gap: 1rem;
}
.tour-name {
  color: var(--lagoon-green);
  margin-bottom: auto;
}
.tour-price{
position: absolute;
top: 2rem;
right: 3rem;
color: white;
background: #ec994b;
padding: 2px 4px;
border-radius: 2rem;
}

.tour-rating{
padding-top: 1rem;
display: flex;
gap: 1rem;
}
.rating ion-icon{
color: gold;
}
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
display: none;
}
.trending-slider-control {
pointer-events: relative;
bottom: 2rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
}
.trending-slider .swiper-button-next {
left: 40% !important;
transform: translateX(-40%) !important;
}
.trending-slider .swiper-button-prev{
left: 60% !important;
transform: translateX(-60%) !important;
}


.trending-slider-control .slider-arrow{
margin-top: -100px;
background: white;
width: 3.5rem;
height: 3.5rem;
border-radius: 50%;
left: 42%;
transform: translateX(-42%);
filter: drop-shadow(0px 8px 24px rgba(18, 20, 53, 0.1));
}
.trending-slider-control .slider-arrow ion-icon{
font-size: 2rem;
color: #222224;
}
.trending-slider-control .slider-arrow::after {
content: '';
}
.trending-slider-control .swiper-pagination{
position: relative;
width: 15rem;
bottom: 2rem;
display: flex;
justify-content: center;
justify-items: center;
width: 100%;
}

.swiper-pagination-bullet {
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

.trending-slider-control .swiper-pagination .swiper-pagination-bullet{
filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
width: 12px;
height: 12px;
margin: 0 5px;
background: var(--amba);
border-radius: 50%;
cursor: pointer;
}
.trending-slider-control .swiper-pagination .swiper-pagination-active {
background: var(--text);
transform: scale(1.2);

}
.book-now{
margin-top: 1rem;
padding: 1rem 2rem;
background: #ec994b;
color: white;
border: none;
border-radius: 5px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s
ease;
}
.book-now:hover {
  color: #022730;
background: #00c0c2;
}
/* Keep tour description aligned under tour title */
.trending-slide-content-bottom {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* aligns everything (title, desc, etc.) to left */
  max-width: 85%; /* prevents content from going too wide */
  margin-top: auto;
  position: relative;
  z-index: 3;
}

.tour-desc {
  margin: 0.3rem 0 0; /* small space below heading */
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
  text-align: left;
  max-width: 90%; /* ensures desc stays inside same left limit */
  word-wrap: break-word;
}
/* Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #9ad3d7;
  transition: color 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #fff;
}



/* small envelope / contact floating button (like screenshot right) */
    .float-contact{
      position:fixed;
      right:18px;
      bottom:34px;
      background:#eee;
      width:54px;height:54px;
      border-radius:8px;
      display:flex;align-items:center;justify-content:center;
      box-shadow:0 6px 18px rgba(0,0,0,0.12);
      z-index: 1000;
      cursor: pointer;
    }




.swahili-lifestyle {
  background: linear-gradient(180deg, #022730 0%, #033b47 100%);
  color: #fff;
  padding: 6rem 2rem;
}

.swahili-lifestyle .intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.swahili-lifestyle h2 {
  font-family: 'Great Vibes', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  
}

.swahili-lifestyle h2 span {
  color: var(--amba);
}

.swahili-lifestyle p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f0f0f0;
}

.experience-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.experience-row.reverse {
  flex-direction: row-reverse;
}

.experience-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.experience-text {
  flex: 1;
}

.experience-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--amba);
}

.experience-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

.book-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color:var(--amba);
  color: var(--text);
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.book-btn:hover {
  background-color: #00c0c2;
  color: #022730;
  transform: scale(1.05);
}






.testimonials {
  background: linear-gradient(180deg, #022730 0%, #033b47 100%);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
  overflow: hidden;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--amba);
  font-family: 'Great Vibes', serif;
}

.testimonials .subtitle {
  color: #b2dfe3;
  margin-bottom: 50px;
  font-style: italic;
}

.swiper {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px;
  height: auto;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.quote {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0f2f3;
  margin-bottom: 25px;
  font-style: italic;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #b2dfe3;
}

.author h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--lagoon-green);
}

.author span {
  font-size: 0.9rem;
  color: var(--amba);
}

/* Share Experience CTA */
.share-experience {
  margin-top: 40px;
}

.share-experience p {
  color: #cdeff2;
  margin-bottom: 20px;
  font-size: 1rem;
}

.btn-share {
  display: inline-block;
  background: var(--amba);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-share:hover {
  color: #022730;
  background: #00c0c2;
  transform: translateY(-3px);
}




@media (max-width: 768px) {
  .experience-row, .experience-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  .experience-image img {
    max-width: 100%;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .home .hero {
    min-height: 75vh;
  }

  .service {
    width: 90%;
  }
}


/* Scale down grid on small screens */

@media (max-width: 800px) {
  .hero { zoom: 0.7; }
}
@media (max-width: 600px) {
  .hero { zoom: 0.6; }
  .portrait-wrap {
    transform: translateX(50%) scale(0.7);
  }
}

@media (max-width: 450px) {
  .hero { zoom: 0.5; }
}


/* --- RESPONSIVE --- */

@media (max-width: 1000px) {
  .portrait-wrap{
        
        transform: translateX(50%) scale(0.9);
      }
      .grid{ grid-auto-rows:120px; }
      .t-6{ grid-column: 4 / span 3; grid-row:2 / span 2; }
}
@media (max-width: 500px ) {
  .trending-slide-content {
    margin-bottom: 30px;
    padding-bottom: 5.5rem; /* ensures button fits */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .trending-slide {
    height: auto !important;
  }
  .book-now {
    display: inline-block;
    margin-top: 0.8rem;
    z-index: 5;
  }
  .trending-slider .swiper-button-next {
left: 20% !important;
transform: translateX(-20%) !important;
left: 80% !important;
transform: translateX(-80%) !important;
}
#gallery .trending-slider {
height: 24rem;
}
.trending-slide {
width: 24rem !important;
height: 30rem !important;
}
.trending-slide .trending-slide-img img{
width: 24rem !important;
height: 30rem !important;
}
.trending-slider-control .swiper-pagination{
display: none;
}
}
@media (max-width: 990px) {
.trending-slider .swiper-button-next {
left: 30% !important;
transform: translateX(-30%) !important;
}
.trending-slider-control .swiper-pagination{
display: none;
}
}
@media (min-width: 1000px) {

#gallery {

padding: 7rem 0;
}
.trending-slider-control .slider-arrow{
  display: none;
}
}
@media (max-width: 768px) {
  .experience-row, .experience-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  .experience-image img {
    max-width: 100%;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .home .hero {
    min-height: 75vh;
  }

  .service {
    width: 90%;
  }
}


/* Scale down grid on small screens */

@media (max-width: 800px) {
  .hero { zoom: 0.7; }
}
@media (max-width: 600px) {
  .hero { zoom: 0.6; }
  .portrait-wrap {
    transform: translateX(50%) scale(0.7);
  }
}

@media (max-width: 450px) {
  .hero { zoom: 0.5; }
}


/* --- RESPONSIVE --- */

@media (max-width: 1000px) {
  .portrait-wrap{
        
        transform: translateX(50%) scale(0.9);
      }
      .grid{ grid-auto-rows:120px; }
      .t-6{ grid-column: 4 / span 3; grid-row:2 / span 2; }
}
/* ===============================
   MOBILE — FIX SLIDE WIDTH & CONTENT
================================ */
@media (max-width: 600px) {

  /* Force slide to fit screen */
  .trending-slide {
    width: 100vw !important;
    max-width: 100vw;
    margin: 0 auto;
    height: 100px !important;
  }

  /* Image adapts */
  .trending-slide-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Content must stay inside screen */
  .trending-slide-content {
    position: relative;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .trending-slide-content-bottom {
    width: 100%;
  }

  /* Text readability */
  .tour-name {
    font-size: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
  }

  .tour-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0.4rem 0;
    word-wrap: break-word;
  }

  /* Rating stays visible */
  .tour-rating {
    margin: 0.4rem 0;
  }

  /* Button fully visible */
  .book-now {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
  .trending-slider-control {
    display: none;
  }
  #gallery .trending-slider {
    height: 26rem;
  }
}