/* About Section Styles */
:root {
  --jetly-font: 'DM Sans', sans-serif;
}

* {
  font-family: var(--jetly-font);
}

.about-four__img img {
  border-radius: 10px;
}

.about-four__right {
  padding: 20px 0;
}

.section-title {
  margin-bottom: 20px;
}

.counter-found {
  position: relative;
  display: flex;
  background: none;
  padding-top: 72px;
  padding-bottom: 74px;
  z-index: 1;
}

.about-four {
  position: relative;
  display: block;
  padding: 120px 0px 0px 0px;
}

.about-two__right-points {
  margin: 0px 150px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 75px;
}

.section-title__tagline {
  color: #007bff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-four__text-1 {
  font-size: 18px;
  font-weight: 600;
  color: var(--jetly-base);
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-four__text-2 {
  font-size: 16px;
  color: #000000;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: justify;
  padding-top: 0px;
}

.about-four__right .section-title {
  margin-bottom: 10px;
}

.about-two__right-points li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
  transition: all 0.3s ease;
}

.about-two__right-points li:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.about-two__right-points li:last-child {
  margin-bottom: 25px;
}

/* Icon styles */
.about-two__right-points .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  margin-top: 0px;
}

.icon-tick {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #28a745;
  border-radius: 50%;
  position: relative;
}

.icon-tick::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

/* Text content styles */
.about-two__right-points .text {
  flex: 1;
}

.about-two__right-points .text h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

about-two__right__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  color: var(--jetly-base);
  margin-bottom: 23px;
  letter-spacing: 0;
}

.about-two__right-points .text p {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.about-two__right-points li+li {
  margin-left: 0px;
}

.about-four__text-2 {
  margin-bottom: 0px;
}

.about-four__text-1 {
  margin-bottom: 0px;
}

.we-do__left {
  min-height: 1073px;
}

.testimonial-one__user-name {
  text-align: center;
}

.testimonial-one__single {
  padding: 40px 50px 41px 40px;
  border-radius: 10px;
  margin-left: 0px;
  text-align: justify;
}



.testimonial-one__content p {
  text-align: justify;
  font-size: 15px;
  font-family: var(--jetly-font);
  line-height: 1.6;
  color: black;
}

.testimonial-one__user-name h4 {
  color: #2e456a;


  font-size: 1.8em;
}

.testimonial-one__single:hover {
  border-left: 5px solid #ec7f31;
}

/* Responsive design */
@media (max-width: 768px) {
  .about-two__right-points {
    margin: 20px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0px;
  }

  .counter-found {
    position: relative;
    display: flex;
    background: none;
    padding-top: 0px;
    padding-bottom: 74px;
    z-index: 1;
  }

  .about-two__right-points li {
    flex-direction: column;
    text-align: center;
  }

  .about-two__right-points .icon {
    margin-right: 0;
    margin-bottom: 15px;
    margin-top: 0;
    align-self: center;
  }

  .about-four__text-1 {
    font-size: 16px;
  }

  .about-two__right-points .text h3 {
    font-size: 18px;
  }

  .services-one__content {
    margin-right: 0px;
  }
}

.feature-three__shape-1 {
  height: 1110px;
}

.feature-three:before {
  height: 1110px;
}

.feature-three__single {
  border-radius: 10px;
}

.feature-three__single::before {
  border-radius: 10px;
}

.feature-three__single::after {
  border-radius: 10px;
}

.destination-one__title {
  letter-spacing: 1px;
}

.services-one__content {
  margin-right: 0px;
}

.page-header__inner h2 {
  letter-spacing: 1px;
}

.destination-details__title {
  letter-spacing: 1px;
}

.destination-details__text-1 {
  text-align: justify;
}

.destination-details__top-img img {
  border-radius: 10px;
}

.gallery-page {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);

}

.section-title {
  margin-bottom: 60px;
}

.section-title__tagline {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title__title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

.gallery-page__single {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.gallery-page__single:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-page__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-page__single:hover .gallery-page__img img {
  transform: scale(1.1);
}

.gallery-page__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-page__single:hover .gallery-page__icon {
  opacity: 1;
}

.gallery-page__icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-page__icon a:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.gallery-page__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  letter-spacing: 1px;
}

.gallery-page__single:hover .gallery-page__caption {
  transform: translateY(0);
}

.gallery-page__caption h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.gallery-page__caption p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/*
 ===================================================================
  COMPLETE & FULLY RESPONSIVE LIGHTBOX STYLES
  (Delete all old lightbox CSS and use this entire block)
 ===================================================================
*/

/* The main full-screen overlay */
.lightbox {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  /* Changed from flex to none initially */
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Container for the image and caption */
.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Stacks the image and caption vertically */
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox-image-container {
  flex-shrink: 1;
  /* Allows the image container to shrink to fit */
  min-height: 0;
  /* Prevents flexbox overflow issues */
  text-align: center;
  max-height: calc(100% - 120px);
  /* Reserve space at the bottom for the caption */
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Ensures the whole image is visible */
  border-radius: 5px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  flex-shrink: 0;
  /* Prevents the caption from shrinking */
  width: auto;
  max-width: 80ch;
  /* Limit width for readability */
  box-sizing: border-box;
  padding: 15px 20px;
  margin-top: 15px;
  /* Space between image and caption */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  text-align: center;
  /* Reset old positioning rules */
  position: relative;
  bottom: auto;
}

.lightbox-caption h4 {
  color: #333;
  font-size: 1.2rem;
  margin: 0 0 5px 0;
}

.lightbox-caption p {
  color: #555;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* Navigation and Close Buttons */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  line-height: 1;
}

.lightbox-close:hover {
  transform: scale(1.1);
  color: #ddd;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10001;
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.5);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ===============================================================
   MOBILE RESPONSIVE STYLES 📱
   =============================================================== */
@media (max-width: 767px) {
  .lightbox {
    padding: 10px;
    /* Tighter padding on small screens */
  }

  /* Hide arrows on mobile for a cleaner look & to prevent accidental taps */
  .lightbox-nav {
    display: none;
  }

  /* Adjust close button position for easier tapping */
  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 35px;
    background-color: rgba(0, 0, 0, 0.2);
    /* Add subtle background to stand out */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  /* Reduce font sizes within the caption to save space */
  .lightbox-caption {
    padding: 10px 15px;
    margin-top: 10px;
    max-width: 95vw;
  }

  .lightbox-caption h4 {
    font-size: 1rem;
    /* 16px */
  }

  .lightbox-caption p {
    font-size: 0.85rem;
    /* ~14px */
  }

  /* Give the image a bit more room on mobile */
  .lightbox-image-container {
    max-height: calc(100% - 90px);
    /* Reserve a bit less space */
  }
}

.lightbox-counter {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  z-index: 10001;
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.gallery-page__caption h4 {
  color: #fff;
}

.lightbox-close {
  background: none;
  font-size: 20px;
  height: 30px;
  width: 30px;
  border-radius: 30%;
}

.lightbox-nav {
  background: none;
  font-size: 20px;
  height: 30px;
  width: 30px;
  border-radius: 30%;
}

.lightbox-caption {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  text-align: left;
  width: 100%;
}

.lightbox {
  justify-content: center;
}

@media (max-width: 768px) {
  .lightbox-caption {
    position: static;
    margin-top: 20px;
    width: 100%;
    bottom: -10px;
  }
}

.gallery-page__img {
  aspect-ratio: 8/5;
}

.section-title__tagline {
  color: #007bff;
}

.section-title__title {
  color: #2e456a;
}

.destination-one__img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 187, 255, 0.5);
}

.feature-one,
.feature-one__shadow {
  background-color: #fff;
}

.main-slider .swiper-slide {
  background-color: black;
}

.main-slider__title {
  letter-spacing: 0px;
  font-size: 50px;
  line-height: 80px;
}

.about-three__points li {
  border-radius: 10px;
}

.about-three__img img {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.about-three__text-one,
.about-three__text-two {
  text-align: justify;
}

.charters {
  background-color: var(--jetly-primary);
}

.testimonial-two {
  position: relative;
  display: block;
  background-color: var(--jetly-black);
  padding: 120px 0 120px;
  z-index: 1;
}

.section-title__title2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 60px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 5px;
}

.testimonial-one__content-text {
  font-family: var(--jetly-font);
  font-size: 16px;
  line-height: 30px;
}

.main-header .mobile-nav__wrapper {
  display: none !important;
}

.main-header .mobile-nav__wrapper.expanded {
  display: block !important;
}

.main-menu__logo {
  padding: 10px 0;
}


.project-item {
  transition: all 0.3s ease;
}

.project-item.hidden {
  display: none !important;
}

.shop-category ul li a:after,
.shop-category ul li a:before {
  display: none !important;
}

.shop-category ul li::after,
.shop-category ul li::before {
  display: none !important;
}

/* Sidebar spacing */
.product__sidebar {
  margin-right: 30px;
}

.product__items {
  padding-left: 15px;
}

/* Remove arrows from category links */
.shop-category ul li a:after,
.shop-category ul li a:before,
.shop-category ul li::after,
.shop-category ul li::before {
  display: none !important;
}

/* Filtering functionality */
.project-item {
  transition: all 0.3s ease;
}

.project-item.hidden {
  display: none !important;
}

/* Mobile Responsive Styles */

/* Tablet and below - Stack sidebar on top */
@media (max-width: 991.98px) {
  .product__sidebar {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .product__items {
    padding-left: 0;
  }

  /* Make sidebar horizontal on tablets */
  .shop-category ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .shop-category ul li {
    margin-bottom: 0;
  }
}

/* Mobile phones - Single column layout */
@media (max-width: 767.98px) {
  .shop-category ul {
    flex-direction: column;
    gap: 10px;
  }

  .shop-category ul li a {
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 5px;
  }

  .shop-category ul li.active a {
    background: #007bff;
    color: white !important;
  }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
  .product__sidebar {
    padding: 15px;
  }

  .shop-category ul li a {
    padding: 10px;
    font-size: 14px;
  }

  .services-one__single {
    margin-bottom: 20px;
  }
}

/* Enhanced mobile interaction */
@media (hover: none) and (pointer: coarse) {
  .shop-category ul li a {
    padding: 15px;
    font-size: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Ensure proper spacing on all devices */
@media (min-width: 992px) {
  .product__sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}

/*--------------------------------------------------------------
# Customer Review One
--------------------------------------------------------------*/
.customer-review-one {
  position: relative;
  display: block;
  background-color: var(--jetly-primary);
  padding: 120px 0 120px;
  z-index: 1;
}

.customer-review-one__shape-1 {
  position: absolute;
  top: 130px;
  left: 113px;
}

.customer-review-one__shape-1 img {
  width: auto;
}

.customer-review-one__shape-2 {
  position: absolute;
  top: 200px;
  right: 230px;
}

.customer-review-one__shape-2 img {
  width: auto;
}

.customer-review-one__shape-3 {
  position: absolute;
  bottom: 155px;
  right: 0;
}

.customer-review-one__shape-3 img {
  width: auto;
}

.customer-review-one__bottom {
  position: relative;
  display: block;
  z-index: 1;
}

.customer-review-one__shape-4 {
  position: absolute;
  top: -234px;
  left: 10px;
  height: 560px;
  width: 1157px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .60;
  z-index: -1;
}

.customer-review-one__single {
  position: relative;
  display: block;
  padding: 40px 50px 41px 50px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.07);
  margin-left: 0;
  border-left: 5px solid transparent;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  border-radius: 10px;
}

.customer-review-one__single:hover {
  border-left: 5px solid var(--jetly-base);
}

.customer-review-one__content-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 34px;
  color: black;
}

.customer-review-one__rating {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.customer-review-one__rating-icon {
  position: relative;
  display: flex;
  align-items: center;
  top: -3px;
}

.customer-review-one__rating-icon i {
  font-size: 15px;
  color: var(--jetly-base);
}

.customer-review-one__user {
  position: relative;
  display: block;
}

.customer-review-one__user-name {
  position: relative;
  display: block;
  text-align: right;
}

.customer-review-one__user-name h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  color: var(--jetly-black);
}

.customer-review-one__user-name p {
  font-size: 12px;
  font-weight: 400;
  line-height: 26px;
  color: #878680;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.customer-review-one__carousel.owl-carousel .owl-stage-outer {
  overflow: visible;
}

.customer-review-one__carousel.owl-carousel .owl-item {
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.customer-review-one__carousel.owl-carousel .owl-item.active {
  opacity: 1;
  visibility: visible;
}

.owl-carousel .owl-stage {
  margin: 50px 50px 150px 0px;
}

.footer-widget__about-text {
  font-size: 15px;
}

.footer-widget__Explore,
.footer-widget__links,
.footer-widget__Contact {
  margin-top: 50px;
}

/* Add this CSS to your existing theme's main stylesheet (e.g., style.css)
   Make sure to replace var(--thm-base) and var(--thm-black) with your actual theme colors. */

/* Page Header Overlay */
.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* Subtle dark overlay for text contrast */
  z-index: 1;
}

.page-header-bg {
  position: absolute;
  /* Already in your original code, but important */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-header__inner {
  position: relative;
  /* Ensure text is above overlay */
  z-index: 2;
}

/* Categories Sidebar Enhancements */
.product__sidebar-category-list li.filter-btn {
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border-radius: 5px;
  /* Subtle rounded corners */
}

.product__sidebar-category-list li.filter-btn a {
  display: block;
  padding: 10px 15px;
  color: #333;
  /* Adjust to your theme's default text color */
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  /* For the count positioning */
}

.product__sidebar-category-list li.filter-btn:hover {
  background-color: #f5f5f5;
  /* Light hover background */
}

.product__sidebar-category-list li.filter-btn.active {
  background-color: var(--thm-base);
  /* YOUR THEME'S PRIMARY COLOR */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for active state */
}

.product__sidebar-category-list li.filter-btn.active a {
  color: #ffffff;
  /* White text for active state */
}

.product__sidebar-category-list .category-count {
  position: absolute;
  right: 15px;
  color: #888;
  /* Muted color for count */
  font-size: 0.85em;
  font-weight: 500;
}

.product__sidebar-category-list li.filter-btn.active .category-count {
  color: rgba(255, 255, 255, 0.7);
  /* Muted white for active count */
}

/* Project Card Hover Effects */
.services-one__single.project-card-hover-effect {
  overflow: hidden;
  /* Important for image zoom */
  border-radius: 8px;
  /* Slightly more rounded corners for the card */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* Initial subtle shadow */
  transition: all 0.4s ease;
}

.services-one__single.project-card-hover-effect:hover {
  transform: translateY(-5px);
  /* Lift effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  /* More pronounced shadow on hover */
}

.services-one__img {
  position: relative;
  overflow: hidden;
  /* Ensure image zoom stays within bounds */
  border-top-left-radius: 8px;
  /* Match parent */
  border-top-right-radius: 8px;
  /* Match parent */
}

.services-one__img img {
  width: 100%;
  height: 200px;
  /* Fixed height for uniformity, adjust as needed */
  object-fit: cover;
  /* Ensures image covers area without distortion */
  transition: transform 0.4s ease;
}

.services-one__single.project-card-hover-effect:hover .services-one__img img {
  transform: scale(1.05);
  /* Subtle zoom effect on hover */
}

.project-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* Start transparent */
  transition: background 0.4s ease;
}

.services-one__single.project-card-hover-effect:hover .project-image-overlay {
  /* Replace with your theme's primary color (e.g., rgba(0, 123, 255, 0.2)) */
  background: rgba(var(--thm-base-rgb), 0.2);
}

.services-one__content {
  padding: 20px;
  background-color: #fff;
  border-bottom-left-radius: 8px;
  /* Match parent */
  border-bottom-right-radius: 8px;
  /* Match parent */
}

.services-one__sub-title {
  font-size: 0.9em;
  color: #777;
  /* Muted color */
  margin-bottom: 5px;
  display: block;
}

.services-one__title a {
  color: var(--thm-black);
  /* YOUR THEME'S BLACK/DARK TEXT COLOR */
  font-size: 1.25em;
  /* Slightly larger title */
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.services-one__title a:hover {
  color: var(--thm-base);
  /* YOUR THEME'S PRIMARY COLOR for hover */
}

.services-one__arrow a {
  color: var(--thm-base);
  /* YOUR THEME'S PRIMARY COLOR for arrow */
  font-size: 1.2em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.services-one__arrow a:hover {
  transform: translateX(5px);
  /* Slide arrow on hover */
  color: var(--thm-black);
  /* Change color on hover */
}

/* No Projects Found Message */
.text-center.py-5 {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px !important;
  margin-top: 20px;
  border: 1px solid #e9ecef;
  /* Added a subtle border */
}

.text-center.py-5 i {
  color: #ced4da;
  /* A very light, muted color for the icon */
}

/* Add this CSS to your stylesheet or in a <style> tag */

/* Equal height cards */
.charters .row {
  display: flex;
  flex-wrap: wrap;
}

.charters .row>[class*="col-"] {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.charters__single {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Fixed image container height */
.charters__img {
  height: 250px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.charters__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.charters__img:hover img {
  transform: scale(1.05);
}

/* Flexible content area */
.charters__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  border-radius: 0px 0px 10px 10px;
}

/* Fixed title height */
.charters__title {
  min-height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.3;
}

/* Fixed text area height */
.charters__text {
  flex: 1;
  margin-bottom: 25px;
  min-height: 80px;
  line-height: 1.6;
}

/* Button always at bottom */
.charters__btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .charters__img {
    height: 220px;
  }

  .charters__title {
    min-height: 50px;
    font-size: 18px;
  }

  .charters__text {
    min-height: 70px;
  }
}

@media (max-width: 767px) {
  .charters__img {
    height: 200px;
  }

  .charters__content {
    padding: 25px 20px;

  }
}

.thm-breadcrumb li {
  background-color: #f8fafc;
}

p {
  color: black;
}

.quick-contact {
  position: fixed;
  bottom: 100px;
  right: 15px;
  width: 60px;
  z-index: 9999;
}

.quick-contact img {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 100px;
  z-index: 9;
}

/*--------------------------------------------------------------
# Image-Only Carousel Section
--------------------------------------------------------------*/
.image-carousel-section {
  position: relative;
  padding: 120px 0 120px;
  background-color: var(--jetly-white);
}

.image-only-carousel .item {
  overflow: hidden;
  border-radius: 10px;
  height: 280px;
  /* You can adjust this height */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.image-only-carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This ensures the image covers the area without distortion */
  transition: transform 0.4s ease-in-out;
}

.image-only-carousel .item:hover img {
  transform: scale(1.05);
  /* A subtle zoom on hover */
}

/* Styling for Owl Carousel Navigation */
.image-only-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  /* Give some space from the edge */
  pointer-events: none;
}

.image-only-carousel .owl-nav .owl-prev,
.image-only-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: var(--jetly-black);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.image-only-carousel .owl-nav .owl-prev:hover,
.image-only-carousel .owl-nav .owl-next:hover {
  background-color: var(--jetly-base);
  color: var(--jetly-white);
}

.image-only-carousel .owl-nav .owl-prev {
  transform: translateX(-35px);
}

.image-only-carousel .owl-nav .owl-next {
  transform: translateX(35px);
}


/* Styling for Owl Carousel Dots */
.image-only-carousel .owl-dots {
  margin-top: 50px !important;
  text-align: center;
}

.image-only-carousel.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: #d6d6d6;
  transition: all 0.3s ease;
}

.image-only-carousel.owl-theme .owl-dots .owl-dot.active span,
.image-only-carousel.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--jetly-base);
}

@media (max-width: 992px) {
  .image-only-carousel .owl-nav {
    display: none;
  }
}

.feature-three {
  padding: 10px 0px 104px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .main-slider .container {
    padding-top: 200px;
    /* Adjust for tablets */
    padding-bottom: 200px;
    /* Adjust for tablets */
  }

  .main-slider__title {
    font-size: 70px !important;
    /* Slightly reduce font size for tablets */
    line-height: 80px !important;
    /* Adjust line height */
  }
}

@media only screen and (max-width: 767px) {
  .main-slider .container {
    padding-top: 150px;
    /* Further adjust for mobile */
    padding-bottom: 150px;
    /* Further adjust for mobile */
  }

  .main-slider__title {
    font-size: 40px !important;
    /* Significantly reduce font size for mobile */
    line-height: 50px !important;
    /* Adjust line height */
    margin-top: 20px;
    /* Adjust top margin */
    margin-bottom: 30px;
    /* Adjust bottom margin */
  }

  .main-slider__subtitle {
    font-size: 18px !important;
    /* Adjust subtitle font size */
  }

  .main-slider__btn-box {
    flex-direction: column;
    /* Stack buttons vertically on mobile */
    align-items: center;
    /* Center stacked buttons */
  }

  .main-slider__btn-two {
    margin-left: 0 !important;
    /* Remove left margin for stacked buttons */
    margin-top: 10px;
    /* Add top margin between stacked buttons */
  }
}

.team__single-inner {
  padding-right: 0px;
  border-radius: 10px;

}

.team__single {
  border-radius: 10px;
}

.feature-three__single:hover .feature-three__text {
  color: white;
}

/* --- Responsive styles for mobile screens (768px and below) --- */
@media (max-width: 768px) {
  .feature-one__shape-1 {
    top: -20%;
    /* This overrides the -50px value on mobile */
  }
}

@media (max-width: 767px) {
  .thm-breadcrumb {
    /* Adjust positioning to ensure it's fully visible */
    bottom: -20px;
    margin-left: 0;
    margin-right: 0;
    width: 95%;
    left: 2.5%;
  }

  .thm-breadcrumb li {
    /* Prevent text from wrapping and show ellipsis for overflow */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    /* Slightly reduce font size and padding for smaller screens */
    font-size: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* Target the last item which contains the long title */
  .thm-breadcrumb li:last-of-type {
    /* Constrain its width to allow other items to be visible */
    max-width: 45%;
    padding-right: 25px;
    /* Reduce side padding on mobile */
  }

  /* Reduce side padding on the first item as well */
  .thm-breadcrumb li:first-of-type {
    padding-left: 25px;
  }
}

@media (max-width: 767px) {
  .about-three__experience {
    /* Scale the entire element down to 85% of its original size */
    transform: scale(0.85);
    /* Anchor the scaling to the top-left corner */
    transform-origin: top left;
    /* Adjust position to prevent it from being cut off at the edge */
    top: 5px;
    left: 5px;
  }
}

@media (max-width: 991px) {

  /* 1. Adjust the main "About" section layout */
  .about-three__left {
    margin-right: 0;
    /* Remove side margin meant for desktop */
    margin-bottom: 30px;
    /* Add space below the image when stacked */
  }

  .about-three__right {
    text-align: center;
    /* Center the text and button for a clean mobile view */
  }

  .about-three__right .about-three__text-one {
    text-align: justify;
    /* Keep the main paragraph justified for readability */
  }

  /* 2. Fix the circular "Experience" text getting cut off */
  .about-three__experience {
    transform: scale(0.85);
    /* Scale the element down */
    transform-origin: top left;
    /* Anchor the scaling to the corner */
    top: 5px;
    left: 5px;
  }

  /* 3. Center the "Discover More" button */
  .about-three__btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

}


body.modal-open {
  overflow: hidden;
}

.founder-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 26, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.founder-modal.active {
  display: flex;
}

/* NEW: Updated style for the close button */
.founder-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  /* White to be visible on dark background */
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  z-index: 10000;
  /* Ensure it's above all other content */
  cursor: pointer;
  transition: all 0.2s ease;
}

.founder-modal-close:hover {
  color: #ccc;
  transform: scale(1.1);
}

.founder-modal-content {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 900px;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.95);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.founder-modal.active .founder-modal-content {
  opacity: 1;
  transform: scale(1);
}

.founder-modal-text {
  flex: 1;
  padding: 50px;
  overflow-y: auto;
  /* Allow text to scroll if it gets very long */
}

.founder-modal-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-modal-text h3:not(:first-of-type) {
  margin-top: 30px;
}

.founder-modal-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-top: 0;
}

.founder-social-links {
  margin-top: 30px;
}

.founder-social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #333;
  font-size: 20px;
  transition: color 0.2s ease;
}

.founder-social-links a:hover {
  color: #ff5e14;
}

.founder-modal-image {
  flex-basis: 320px;
  background-color: #f0f0f0;
}

.founder-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  .founder-modal-content {
    flex-direction: column-reverse;
    height: 90vh;
    max-width: 500px;
  }

  .founder-modal-text {
    flex-grow: 1;
    padding: 30px;
  }

  .founder-modal-image {
    flex-basis: 250px;
    flex-shrink: 0;
  }
}