/* Johnson Holidays shared header and footer styles
   Extracted from the supplied header/footer Blade markup and main stylesheet.
   Keep this file loaded on pages that render the shared header and footer.
*/

/* Header/footer-specific and referenced shared selectors from the main stylesheet */
.pl-header-nav ul li a {
  transition: 0.3s;
  text-decoration: none;
}

.pl-header-nav ul li a {
  text-decoration: none;
}

.fs-14 {
  font-size: 14px !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.pl-header-nav ul li a,
.pl-mega-menu ul li a {
  font-weight: 600;
}

.mt-0 {
  margin-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.lh-1 {
  line-height: 1 !important;
}

.text-primary {
  color: var(--text-primary) !important;
}

.text-primary-2 {
  color: var(--text-primary-2) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.btn-linear {
  background: var(--linear);
  border-color: var(--linear);
  background-position: left;
  transition: 0.4s;
}

.btn-linear:hover {
  background: linear-gradient(90deg, #534aa0 0, #534aa0 100%);
  color: #fff;
}

.btn-linear.active,
.btn-linear:active,
.btn-linear:focus-visible {
  background: linear-gradient(90deg, #534aa0 0, #534aa0 100%) !important;
  border-color: linear-gradient(90deg, #534aa0 0%, #534aa0 100%) !important;
  box-shadow: none !important;
}

.btn-primary.active {
  background: #342272 !important;
  border-color: #342272 !important;
  color: #fff;
  box-shadow: none !important;
}

.btn-secondary.active {
  background: var(--button-secondary) !important;
  border-color: var(--button-secondary) !important;
  color: #fff;
  box-shadow: none !important;
}

.btn-accent.active {
  background: #f5d249 !important;
  border-color: #f5d249 !important;
  color: #fff;
  box-shadow: none !important;
}

.btn-linear {
  background: linear-gradient(90deg, #1e1b3a 0, #534aa0 100%);
  border-color: linear-gradient(135deg, #2d2d63 0%, #4b4b9b 100%);
  border-radius: 8px;
  color: #fff;
}

.bg-primary-3 {
  background-color: var(--bg-primary-3) !important;
}

.bg-secondary {
  background-color: var(--bg-secondary) !important;
}

.border-primary-2 {
  border: 1px solid var(--text-primary-2) !important;
}

.paysecurely-icon {
  width: 24px;
  height: 24px;
}

.paysecurely-icon {
  background: url(../assets/icon/paysecurely.svg) center/contain no-repeat;
}

.call-w-icon {
  width: 20px;
  height: 20px;
  background: url(../assets/icon/call-w.svg) center/contain no-repeat;
}

.burger-icon,
.header-call-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
}

.burger-icon {
  background: url(../assets/icon/burger.svg) center/contain no-repeat;
}

.header-call-icon {
  background: url(../assets/icon/header-call.svg) center/contain no-repeat;
}

.pl-mega-menu {
  overflow: hidden;
}

.destination-tabs li a.active {
  color: #000;
  font-weight: 600;
}

.destination-tabs li a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #000;
}

.dest-info-tab.active,
.social-item.th .social-icon,
.social-item.x .social-icon {
  color: #000;
}

.pl-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1000;
}

.pl-header-nav {
  padding: 20px 0;
  position: relative;
}

.pl-header-nav > ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.pl-header-nav ul li a {
  color: #060606;
}

.pl-mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 999;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s,
    transform 0.35s;
}

.pl-mega-menu .container {
  max-width: 1200px;
}

.pl-mega-trigger.active .pl-mega-menu {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
}

.pl-nav-link i {
  transition: transform 0.35s;
}

.pl-mega-trigger.active .pl-nav-link i {
  transform: rotate(180deg);
}

.pl-mega-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 8px;
}

.pl-mega-menu ul {
  padding-left: 0;
  padding-top: 10px;
}

.link-group ul li,
.pl-mega-menu ul li {
  margin-bottom: 8px;
}

.pl-mega-menu ul li a {
  color: #2d2d2d;
  font-size: 16px;
  transition: 0.3s;
}

.pl-mega-menu ul li a:hover,
.pl-popular-list li a:hover,
.pl-popular-list li.active a {
  color: #1a92b5;
}

.pl-mega-menu .border-end {
  border-right: 1px solid #d7d7d7 !important;
}

.pl-popular-list li {
  cursor: pointer;
  transition: 0.3s;
  padding: 8px 0;
}

.pl-popular-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pl-sub-destination {
  display: none;
}

.dest-info-content.active,
.ex-slider img.active,
.hotel-tab-panel.active,
.pl-sub-destination.active,
.tt-panel.active .tt-panel-content {
  display: block;
}

.pl-header-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.pl-header-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
}

.pl-header-logo {
  width: 400px;
}

.pl-tab.active {
  opacity: 1;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
}

.tt-nav-item.active {
  background: #1a92b5;
  color: #fff;
}

.cruise-filter-btn.active,
.multicenter-filter-btn.active {
  background: #1a92b5;
  border-color: #1a92b5;
  color: #fff;
}

.login-tab.active {
  border-bottom: 3px solid #1a73e8;
  color: #1a73e8;
}

.swiper {
  height: 100%;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  font-size: 18px;
  background: #fff0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 5px;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 1rem;
}

.copyright-text,
.tp-stats strong {
  font-size: 16px;
}

.footer-links-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dest-info-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #e91e63;
  border-radius: 2px;
}

@media (max-width: 1200px) {
  .pl-header-logo {
    width: 300px;
  }
}

@media (max-width: 767.98px) {
  .swiper-slide {
    margin: 0 auto;
  }

  .pl-header-logo {
    width: 200px;
  }

  .pl-header-toggle {
    display: flex;
  }

  .pl-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
    max-height: 80vh;
    overflow-y: auto;
    padding: 0 16px 20px;
  }

  .pl-header-nav.active,
  .pl-mega-trigger.mobile-open > .pl-mega-menu {
    display: block;
  }

  .pl-header-nav > ul {
    flex-direction: column;
    gap: 0;
  }

  .pl-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .pl-mega-menu {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    display: none;
    position: static;
    box-shadow: none !important;
    padding: 10px 0 !important;
  }

  .pl-mega-menu .col-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .pl-mega-menu .row {
    flex-direction: row !important;
  }

  .pl-mega-menu .col-12,
  .pl-mega-menu .col-lg-3,
  .pl-mega-menu .col-lg-4,
  .pl-mega-menu .col-lg-8,
  .pl-mega-menu .col-md-6 {
    width: 100%;
    border: none !important;
    padding: 0 !important;
  }

  .pl-mega-title.mobile-open + ul,
  .pl-sub-destination.mobile-open {
    display: block;
    padding-left: 15px;
  }

  .pl-mega-title {
    cursor: pointer;
    padding: 12px 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .pl-accordion-content,
  .pl-mega-title + ul,
  .pl-sub-destination {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.4s,
      opacity 0.3s;
  }

  .pl-mega-title.mobile-open + ul,
  .pl-sub-destination.mobile-open {
    max-height: 600px;
    opacity: 1;
  }

  .pl-sub-destination.mobile-open {
    margin-top: 10px;
  }

  .pl-mega-title .mobile-chevron {
    font-size: 14px;
    transition: transform 0.3s;
  }

  .pl-mega-title.mobile-open .mobile-chevron {
    transform: rotate(180deg);
  }

  .pl-mega-title.mobile-open + .pl-accordion-content {
    max-height: 1000px;
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .fs-sm-16 {
    font-size: 16px !important;
  }
}

.jh-search-tab.active {
  color: #1a92b5;
  font-weight: 700;
  border-bottom-color: #1a92b5;
}

.jh-search-layout.d-none {
  display: none !important;
}

.footer-bottom-bar,
.tp-stats {
  text-align: center;
}

.jh-search-input-group.active {
  border-color: #1a92b5;
  background: #fff;
  box-shadow: 0 0 10px rgb(26 146 181 / 0.12);
}

.jh-hero .container {
  position: relative;
  z-index: 2;
  color: #fff;
}

.link-group ul li a,
.social-item {
  text-decoration: none;
}

.link-group h4 {
  cursor: pointer;
}

.toggle-label.active {
  font-weight: 700;
  color: #4e2899;
}

.page-item.active {
  border: 1px solid #2d2d2d;
}

.page-item.active {
  color: #2d2d2d;
}

@media (min-width: 992px) {
  .row.equal-cols > div {
    flex: 1;
    max-width: 100%;
  }
}

.featured-blogs-swiper .swiper-slide {
  height: auto;
}

.blog-filter-btn.active {
  background: #2a1b60;
  color: #fff;
}

.blog-filter-btn:hover:not(.active) {
  background: #e5e5e5;
}

.dot.active {
  background: var(--text-secondary);
  width: 24px;
  border-radius: 4px;
}

.contact-info-item.call .icon-circle {
  color: #2a1b60;
}

.blog-breadcrumb-item.active {
  color: var(--text-muted);
  font-weight: 500;
}

.tab-link.active {
  border-bottom-color: #1f1f50;
  font-weight: 600;
  color: #1f1f50;
}

.footer-top-row {
  align-items: center;
  display: flex;
}

.jh-main-footer {
  background-color: #1a92b5;
  color: #fff;
  padding: 40px 0 20px;
  font-family: var(--font-primary, sans-serif);
}

.jh-main-footer h3,
.jh-main-footer h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

.border-bottom-none {
  border-bottom: none !important;
}

.jh-main-footer hr {
  border: 1px solid;
  opacity: 1;
  margin: 30px 0 50px;
}

.footer-logo img {
  max-width: 400px;
  height: auto;
}

.newsletter-container {
  align-items: center;
  gap: 30px;
  flex-grow: 1;
  justify-content: flex-end;
}

.newsletter-text h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.newsletter-text p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px !important;
}

.newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 50px;
  width: 100%;
  max-width: 600px;
  height: 56px;
}

.newsletter-form input {
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  flex-grow: 1;
  outline: 0;
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.newsletter-form button {
  background: #2a1b60;
  color: #fff;
  border: none;
  padding: 10px 40px;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #3d2a80;
}

.footer-middle-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  padding-right: 30px;
  min-width: 0;
}

.tp-widget {
  background: #fff;
  padding: 4px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 0;
  width: 100%;
  max-width: 370px;
}

.tp-widget img {
  width: 100%;
}

.tp-stats {
  font-size: 20px;
  color: #fff;
  margin-top: 4px;
}

.testimonials-section h5 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 10px;
}

.testimonial-item h6 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.testimonial-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.footerTestimonialSwiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 30px;
}

.link-group ul,
.social-links-list {
  list-style: none;
  padding: 0;
}

.footer-pagination.swiper-pagination-bullets {
  bottom: 0 !important;
}

.footer-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgb(255 255 255 / 0.4);
  opacity: 1;
  margin: 0 4px !important;
  transition: 0.3s;
}

.footer-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item.whatsapp .icon-circle {
  color: #25d366;
}

.contact-info-item.cs .icon-circle {
  color: #ffb300;
}

.contact-info-item.mail .icon-circle {
  color: #e74c3c;
}

.contact-text strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.contact-text span {
  font-size: 16px;
  opacity: 0.9;
  color: #fff;
}

.link-group h4,
.social-name {
  font-weight: 700;
  font-size: 20px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  color: #fff;
}

.social-item .social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.social-item.fb .social-icon {
  color: #1877f2;
}

.social-item.yt .social-icon {
  color: red;
}

.social-item.ig .social-icon {
  color: #e4405f;
}

.social-item.pn .social-icon {
  color: #bd081c;
}

.social-name {
  color: #fff;
}

.social-handle {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 600;
  display: block;
  color: #fff;
}

.link-group h4 {
  border-bottom: 2px solid;
  display: inline-block;
  padding-bottom: 0;
  margin-bottom: 15px;
  text-transform: none;
}

.link-group ul {
  transition: 0.3s;
}

.link-group ul li a {
  color: #fff;
  opacity: 0.95;
  font-weight: 500;
  font-size: 16px;
  transition: opacity 0.3s;
}

.link-group ul li a:hover {
  opacity: 1;
  color: #4e2899;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-middle-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .newsletter-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-middle-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col {
    border-right: none !important;
    padding-right: 0;
  }

  .footer-links-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top-row {
    justify-content: center;
  }

  .newsletter-form button {
    background: #2a1b60;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    transition: 0.3s;
  }
}

.jh-certification-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.cert-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cert-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.cert-content h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.cert-content p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 10px !important;
}

.cert-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  font-size: 14px;
}

.footer-bottom-bar {
  position: relative;
  padding: 30px 0;
  border-top: 1px solid;
  margin-top: 40px;
}

@media (max-width: 480px) {
  .footer-links-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0;
    position: relative;
    align-items: flex-start;
  }

  .link-group {
    display: contents;
  }

  .link-group h4 {
    grid-column: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none !important;
    padding: 12px 0;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    text-transform: none;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
  }

  .link-group h4::after {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s;
    opacity: 0.8;
  }

  .link-group.active h4 {
    background-color: #fff0;
    color: #2a1b60;
  }

  .link-group.active h4::after {
    color: #2a1b60;
    opacity: 1;
  }

  .link-group ul {
    grid-column: 2;
    grid-row: 1 / span 10;
    display: none;
    padding: 0 0 20px 20px;
    margin: 0;
  }

  .link-group.active ul {
    display: block;
  }

  .link-group ul li a {
    font-size: 16px;
    padding: 5px 0;
    display: block;
    text-decoration: none;
  }

  .footer-logo img {
    max-width: 360px;
    height: auto;
  }
}

@media (max-width: 400px) {
  .footer-logo img {
    max-width: 340px;
    height: auto;
  }

  .newsletter-form button {
    background: #2a1b60;
    color: #fff;
    border: none;
    padding: 2px 8px;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    transition: 0.3s;
  }
}

@media (max-width: 350px) {
  .footer-logo img {
    max-width: 300px;
    height: auto;
  }
}

.tt-accordion-header.active {
  background: #1a92b5;
  color: #fff;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.guide-item.active .guide-body {
  max-height: 500px;
}

.btn-filter.active {
  background: #2a1b60;
  color: #fff !important;
}

.hotelSwiper .swiper-slide {
  height: auto;
  display: flex;
}

.hotel-tab-btn.active {
  font-weight: 600;
}

@media (max-width: 768px) {
  .jh-certification-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.hotel-tab-btn.active {
  color: #1a92b5;
  border-bottom-color: #1a92b5;
}

/* Inline styles supplied in the header and footer Blade files */
/*extra Small devices (phones) */
@media (min-width: 300px) {
  .header-icon-wh {
    width: 32px;
    height: 32px;
  }
}

/* Small devices (phones) */
@media (min-width: 576px) {
  .header-icon-wh {
    width: 36px;
    height: 36px;
  }
}

/* Tablets */
@media (min-width: 768px) {
  .header-icon-wh {
    width: 45px;
    height: 45px;
  }
}

/* Small laptops */
@media (min-width: 992px) {
  .header-icon-wh {
    width: 52px;
    height: 32px;
  }
}

/* Desktops */
@media (min-width: 1200px) {
}

/* Large screens */
@media (min-width: 1400px) {
}

.mobile-btn {
  flex: 1;
  /* equal width */
  text-align: center;
  border-radius: 8px;
  padding: clamp(6px, 2vw, 10px) clamp(8px, 3vw, 16px);
  font-size: clamp(11px, 3.75vw, 16px);
  white-space: nowrap;
}

.header-call-btn {
  display: block;
}

.call-text-slider {
  position: relative;
  width: 170px;
  height: 40px;
  overflow: hidden;
}

.call-text-slider span,
.call-text-slider p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  white-space: nowrap;
  margin: 0;
}

/* Number */
.slide-number {
  animation: slideNumber 8s infinite ease-in-out;
}

/* Message */
.slide-message {
  transform: translateX(100%);
  animation: slideMessage 8s infinite ease-in-out;
}

.bg-success {
  background: #34c759 !important;
}

/* Number movement */
/* Number */
@keyframes slideNumber {
  /* Initially visible */
  0%,
  35% {
    opacity: 1;
    transform: translateX(0);
  }

  /* Slide out left */
  45% {
    opacity: 1;
    transform: translateX(-100%);
  }

  /* Stay hidden */
  45%,
  75% {
    opacity: 0;
    transform: translateX(-100%);
  }

  /* Slide back instantly with text exit */
  85% {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stay visible */
  85%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Message */
@keyframes slideMessage {
  /* Hidden on right */
  0%,
  35% {
    opacity: 0;
    transform: translateX(100%);
  }

  /* Slide in */
  45% {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stay */
  45%,
  75% {
    opacity: 1;
    transform: translateX(0);
  }

  /* Slide out */
  85% {
    opacity: 0;
    transform: translateX(100%);
  }

  /* Hidden */
  85%,
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.pl-mega-trigger.active .pl-mega-menu {
  display: block !important;

  pointer-events: auto;
  z-index: 1000;
}

.swiper {
  height: 100%;
}

.swiper-wrapper {
  height: 100%;
}

@media (max-width: 992px) {
  .social-links-list {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .social-item {
    gap: 8px;
  }
}
