.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bg-dark-opacity-5 {
  background-color: rgba(0, 0, 0, 0.5) !important;
  /* 50% opacity */
}

.bg-white-opacity-6 {
  background-color: rgba(255, 255, 255, 0.6) !important;
}

.bg-bensail-blue {
  background-color: #09223e !important;
}

.text-bensail-orange {
  color: #f37231 !important;
}

.text-bensail-blue {
  color: #09223e !important;
}

.bensail-star-top {
  position: fixed;
  top: -5rem;
  left: -10rem;
  width: 25rem;
  z-index: 2;
  opacity: 0.4;
}

.bensail-star-bottom {
  position: fixed;
  bottom: -10rem;
  right: -20rem;
  width: 50rem;
  z-index: 2;
  opacity: 0.3;
}

/* Parallax Section Styles */
.parallax-section {
  min-height: 100vh;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Mobile parallax fix */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll !important;
    min-height: 70vh;
  }

  /* Mobile hero section positioning */
  .header-2 .page-header .container {
    padding-top: 0.5rem !important;
  }

  .header-2 .page-header .col-lg-8 {
    margin-top: 0 !important;
    text-align: center !important;
  }

  .header-2 .page-header {
    min-height: 60vh !important;
  }
}

/* Counter animation */
.counter {
  transition: all 0.3s ease;
}

/* Waves animation */
.moving-waves>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.moving-waves>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.moving-waves>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.moving-waves>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.moving-waves>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

.moving-waves>use:nth-child(5) {
  animation-delay: -6s;
  animation-duration: 20s;
}

.moving-waves>use:nth-child(6) {
  animation-delay: -7s;
  animation-duration: 25s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Parallax overlay gradient */
.parallax-overlay {
  transition: opacity 0.3s ease;
}

/* Hover effects for buttons in parallax */
.parallax-section .btn:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.navbar .nav-link {
  font-size: 1rem !important;
}

/* Enhanced Quote Styling */
.quote-container {
  position: relative;
}

.quote-card {
  position: relative;
  background: linear-gradient(135deg, #09223e 0%, #0d47a1 100%) !important;
  border: 2px solid rgba(243, 114, 49, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(243, 114, 49, 0.1) 0%, transparent 50%, rgba(243, 114, 49, 0.1) 100%);
  pointer-events: none;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(243, 114, 49, 0.6);
}

.quote-icon {
  position: relative;
  z-index: 2;
}

.quote-text {
  position: relative;
  z-index: 2;
  line-height: 1.6;
  font-style: italic;
}

.quote-text em {
  position: relative;
  display: inline-block;
}

.quote-text em::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f37231, transparent);
  border-radius: 2px;
}

.quote-author {
  position: relative;
  z-index: 2;
}

/* Quote animation on scroll */
.quote-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

/* Responsive quote styling */
@media (max-width: 768px) {
  .quote-card {
    padding: 1.5rem !important;
  }

  .quote-text {
    font-size: 1rem !important;
  }

  .quote-icon i {
    font-size: 1.5rem !important;
  }
}

/* Moving tab size adjustment */
.faq-tabs-container .moving-tab {
  height: 100% !important;
  border-radius: 0.5rem !important;
}

.faq-tabs-container .moving-tab .nav-link {
  width: 100% !important;
  height: 100% !important;
  padding: 0.75rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Boat cards hover effect */
.cursor-pointer {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cursor-pointer:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Boat card images - same height */
.cursor-pointer .card-header img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

/* Boat modal styling */
.modal-content {
  border-radius: 1rem;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Enlarge boat modals to match container width */
.modal-xl {
  max-width: 1200px;
  margin: 1.75rem auto;
}

/* Keep scrollable modals within viewport height */
.modal-dialog.modal-dialog-scrollable.modal-xl {
  height: calc(100vh - 2rem);
  max-height: calc(100vh - 2rem);
}

.modal-dialog.modal-dialog-scrollable.modal-xl .modal-content {
  max-height: 100%;
}

.modal-dialog.modal-dialog-scrollable.modal-xl .modal-body {
  overflow-y: auto;
}

/* Prevent horizontal scroll in body without clipping outside close button */
.modal-dialog.modal-dialog-scrollable.modal-xl .modal-body {
  overflow-x: hidden !important;
}

@media (max-width: 768px) {
  .modal-xl {
    margin: 0.5rem auto;
    max-width: calc(100% - 1rem);
  }

  .modal-dialog.modal-dialog-scrollable.modal-xl {
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .modal-dialog.modal-dialog-scrollable.modal-xl .modal-content {
    max-height: calc(100dvh - 1rem);
  }
}

@media (min-width: 1400px) {
  .modal-xl {
    max-width: 1320px;
  }
}

/* Owl Carousel Custom Styling */
.owl-carousel .item {
  padding: 5px;
}

.owl-carousel .item img {
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border: 3px solid transparent;
}

.owl-carousel .item img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.owl-carousel .item img.thumbnail-active {
  border: 3px solid #f37231;
  box-shadow: 0 5px 15px rgba(243, 114, 49, 0.4);
}

.owl-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9, 34, 62, 0.8) !important;
  color: white !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  font-size: 20px !important;
  line-height: 40px !important;
}

.owl-carousel .owl-nav button:hover {
  background: rgba(243, 114, 49, 0.9) !important;
}

.owl-carousel .owl-nav .owl-prev {
  left: -20px;
}

.owl-carousel .owl-nav .owl-next {
  right: -20px;
}

/* Mobile Main Carousel Styling */
.mobile-main-carousel .item img {
  height: auto !important;
  max-height: 400px;
  object-fit: contain;
}

.mobile-main-carousel .owl-nav button {
  background: rgba(9, 34, 62, 0.8) !important;
  color: white !important;
}

.mobile-main-carousel .owl-dots {
  margin-top: 15px;
}

.mobile-main-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.mobile-main-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: rgba(9, 34, 62, 0.3);
  display: block;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-main-carousel .owl-dot.active span {
  background: #f37231;
  width: 12px;
  height: 12px;
}

.mobile-main-carousel .owl-dots {
  display: none !important;
}

.mobile-main-carousel .item img {
  width: 100%;
  max-height: 33vh;
  object-fit: contain;
  object-position: center center;
}

/* Price Badge Styling */
.price-badge {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
}

.price-badge .badge {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #09223e 0%, #0d47a1 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-top: -1rem !important;
  margin-right: -1rem !important;
  width: 9rem;
  height: 9rem;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column;
  text-align: center;
  line-height: 1.2;
}

.person-per-price {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
}

.price-badge .badge:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(9, 34, 62, 0.4);
}

.boat-main-image-wrap {
  height: min(70vh, 650px);
  background: rgba(9, 34, 62, 0.04);
  border-radius: 0.75rem;
  overflow: hidden;
}

.boat-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Boat list card body refinements */
.boat-card-body {
  display: flex;
  flex-direction: column;
}

.boat-card-brand {
  letter-spacing: 0.08em;
  font-size: 1.1rem !important;
  flex-shrink: 0;
}

.boat-card-heading {
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.boat-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.05;
}

.boat-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.boat-card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.boat-card-meta-shares {
  width: 100%;
}

.boat-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #344767;
  background: rgba(9, 34, 62, 0.06);
  border: 1px solid rgba(9, 34, 62, 0.08);
  border-radius: 9999px;
  padding: 0.23rem 0.55rem;
  white-space: nowrap;
}

.boat-card-chip i {
  color: #f37231;
  font-size: 0.72rem;
}

.boat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 0.25rem;
}

@media (max-width: 768px) {
  .boat-card-title {
    font-size: 1.25rem;
  }
}

.btn-fancy-close {
  background: transparent;
  border: 0;
  padding: 0.25rem;
  line-height: 1;
  color: #6c757d;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
  position: absolute;
  right: -20px;
  top: -10px;
}

/* Allow the custom close icon to be visible outside boat modals */
.modal-dialog.modal-xl,
.modal-dialog.modal-xl .modal-content {
  overflow: visible !important;
}

.btn-fancy-close i {
  font-size: 2.5rem;
  background-color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-fancy-close:hover {
  color: #f37231;
  transform: scale(1.06);
}

.btn-fancy-close:focus-visible {
  outline: 2px solid rgba(243, 114, 49, 0.55);
  outline-offset: 2px;
  border-radius: 9999px;
}

@media (max-width: 768px) {
  .btn-fancy-close {
    right: 10px;
    top: 10px;
  }

  .btn-fancy-close i {
    font-size: 2rem;
  }
}

.font-brandon-grotesque {
  font-family: "brandon-grotesque", sans-serif;
}

.font-brandon-grotesque-400 {
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-brandon-grotesque-700 {
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.font-brandon-grotesque-400-italic {
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.font-brandon-grotesque-700-italic {
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* Boat modal specification cards */
.spec-stat-card {
  border-radius: 0.9rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 86px;
  margin: 0 auto;
  display: flex;
}

.spec-stat-card .card-body {
  padding: 0.45rem 0.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.spec-stat-card .lead {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.2rem !important;
  word-break: break-word;
}

.spec-stat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  word-break: break-word;
}

.spec-stat-bg {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .spec-stat-card {
    max-width: 120px;
  }

  .spec-stat-card h4 {
    font-size: 0.8rem;
  }
}


/* Responsive price badge */
@media (max-width: 768px) {
  .price-badge {
    margin: 0.5rem !important;
  }

  .price-badge .badge {
    font-size: 0.9rem;
    width: 8rem !important;
    height: 8rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column;
    text-align: center;
    line-height: 1.2;
    border-radius: 50% !important;
  }

  .person-per-price {
    font-size: 0.6rem !important;
  }
}