/*!
Theme Name: Karmaia
Theme URI: http://underscores.me/
Author: Featherwebs Inc, Safal Karki
Author URI: https://featherwebs.xyz/
Description: Custom theme for Karmaia
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 6.8
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: karmaia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

html {
  overflow-x: hidden;
}

body {
  position: relative;
}

#scaleContainer {
  transform: scale(0.1);
  transform-origin: bottom center;
  will-change: transform;
}

/* faq svg transition */
.faq-button svg {
  transition: transform 0.3s ease;
}

.faq-button.open {
  padding-bottom: 0.25rem;
}


/* Swiper Pagination */

.testimonial-pagination>.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -5rem !important;
  text-align: left !important;
}

/* Package */
/* package grid starts */
.package:nth-child(1) {
  grid-column: 5 / 8;
  grid-row: 1 / 13;
}

.package:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 2 / 7;
}

.package:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 7 / 12;
}

.package:nth-child(4) {
  grid-column: 8 / 10;
  grid-row: 2 / 7;
}

.package:nth-child(5) {
  grid-column: 8 / 10;
  grid-row: 7 / 12;
}

.package:nth-child(6) {
  grid-column: 10 / 12;
  grid-row: 4 / 10;
}

.package:nth-child(7) {
  grid-column: 1 / 3;
  grid-row: 4 / 10;
}

@media (max-width: 1023px) {
  .package:nth-child(1) {
    grid-area: 1 / 3 / 13 / 6;
  }

  .package:nth-child(2) {
    grid-area: 2 / 1 / 7 / 3;
  }

  .package:nth-child(3) {
    grid-area: 7 / 1 / 12 / 3;
  }

  .package:nth-child(4) {
    grid-area: 2 / 6 / 7 / 8;
  }

  .package:nth-child(5) {
    grid-area: 7 / 6 / 12 / 8;
  }

  .package:nth-child(6) {
    display: none;
  }

  .package:nth-child(7) {
    display: none;
  }
}

@media (max-width: 640px) {
  .package:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
  }

  .package:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
  }

  .package:nth-child(3) {
    grid-area: 3 / 1 / 4 / 2;
  }

  .package:nth-child(4) {
    grid-area: 4 / 1 / 5 / 2;
  }

  .package:nth-child(5) {
    grid-area: 5 / 1 / 6 / 2;
    display: none;
  }

  .package:nth-child(6) {
    grid-area: 6 / 1 / 7 / 2;
    display: none;
  }

  .package:nth-child(7) {
    grid-area: 7 / 1 / 8 / 2;
    display: none;
  }
}

/* package grid ends */


/* paginations starts */
.pagination a,
.pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  width: 36px;
  border: 2px solid #E399549C;
  border-radius: 12px;
  color: #713E0E;
  margin: 0 4px;
  font-size: 14px;
  text-decoration: none;
}

.pagination .current {
  background-color: #E399549C;
  color: white;
}

.adventureTestimonialSlider .swiper-pagination-bullet-active {
  background: #E19854 !important;
  outline: #E19854 solid 1px !important;
  outline-offset: 2px;
}

.adventureTestimonialSlider .swiper-pagination-bullets {
  bottom: 10rem !important;
  left: 52% !important;
}

@media (max-width: 1280px) {
  .adventureTestimonialSlider .swiper-pagination-bullets {
    bottom: 0 !important;
    left: 52% !important;
  }
}

@media (max-width: 1024px) {
  .adventureTestimonialSlider .swiper-pagination-bullets {
    bottom: 0 !important;
    left: 52% !important;
  }
}

@media (max-width: 767px) {
  .adventureTestimonialSlider .swiper-pagination-bullets {
    bottom: 50% !important;
    transform: translateX(-50%);
    bottom: 0rem !important;
    display: flex !important;
    justify-content: center !important;
  }
}

/* pagination ends */


/* Using nth-child selectors for each image position */
.mansory-image:nth-child(1) {
  grid-area: 1 / 1 / 2 / 3;
}

.mansory-image:nth-child(2) {
  grid-area: 1 / 3 / 3 / 4;
}

.mansory-image:nth-child(3) {
  grid-area: 1 / 4 / 2 / 5;
}

.mansory-image:nth-child(4) {
  grid-area: 2 / 4 / 3 / 5;
}

.mansory-image:nth-child(5) {
  grid-area: 2 / 1 / 3 / 2;
}

.mansory-image:nth-child(6) {
  grid-area: 2 / 2 / 3 / 3;
}

.mansory-image:nth-child(7) {
  grid-area: 3 / 1 / 4 / 2;
}

.mansory-image:nth-child(8) {
  grid-area: 3 / 2 / 4 / 3;
}

.mansory-image:nth-child(9) {
  grid-area: 3 / 3 / 4 / 5;
}

.mansory-image:nth-child(10) {
  grid-area: 4 / 1 / 5 / 3;
}

.mansory-image:nth-child(11) {
  grid-area: 4 / 3 / 6 / 4;
}

.mansory-image:nth-child(12) {
  grid-area: 4 / 4 / 5 / 5;
}

.mansory-image:nth-child(13) {
  grid-area: 5 / 4 / 6 / 5;
}

.mansory-image:nth-child(14) {
  grid-area: 5 / 2 / 6 / 3;
}

.mansory-image:nth-child(15) {
  grid-area: 5 / 1 / 6 / 2;
}

.mansory-image:nth-child(16) {
  grid-area: 6 / 1 / 7 / 2;
}

.mansory-image:nth-child(17) {
  grid-area: 6 / 2 / 7 / 3;
}

.mansory-image:nth-child(18) {
  grid-area: 6 / 3 / 7 / 5;
}


/* Responsive design */
@media (max-width: 768px) {

  .mansory-image:nth-child(1) {
    grid-area: 1 / 1 / 2 / 3;
  }

  .mansory-image:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
  }

  .mansory-image:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
  }

  .mansory-image:nth-child(4) {
    grid-area: 3 / 1 / 4 / 2;
  }

  .mansory-image:nth-child(5) {
    grid-area: 3 / 2 / 4 / 3;
  }

  .mansory-image:nth-child(6) {
    grid-area: 4 / 1 / 5 / 2;
  }

  .mansory-image:nth-child(7) {
    grid-area: 4 / 2 / 5 / 3;
  }

  .mansory-image:nth-child(8) {
    grid-area: 5 / 1 / 6 / 2;
  }

  .mansory-image:nth-child(9) {
    grid-area: 5 / 2 / 6 / 3;
  }

  .mansory-image:nth-child(10) {
    grid-area: 6 / 1 / 7 / 3;
  }

  .mansory-image:nth-child(11) {
    grid-area: 7 / 1 / 8 / 2;
  }

  .mansory-image:nth-child(12) {
    grid-area: 7 / 2 / 8 / 3;
  }

  .mansory-image:nth-child(13) {
    grid-area: 8 / 1 / 9 / 2;
  }

  .mansory-image:nth-child(14) {
    grid-area: 8 / 2 / 9 / 3;
  }

  .mansory-image:nth-child(15) {
    grid-area: 9 / 1 / 10 / 2;
  }

  .mansory-image:nth-child(16) {
    grid-area: 9 / 2 / 10 / 3;
  }

  .mansory-image:nth-child(17) {
    grid-area: 10 / 1 / 11 / 2;
  }

  .mansory-image:nth-child(18) {
    grid-area: 10 / 2 / 11 / 3;
  }
}

/* popup start */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay:not(.hidden) {
  display: flex;
  opacity: 1;
}

/* Animate popup content */
.popup-content {
  transform: scale(0.95);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
}

.popup-content::-webkit-scrollbar {
  width: 8px;
}

.popup-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.popup-overlay:not(.hidden) .popup-content {
  transform: scale(1);
}


/* Prevent scrollbar jump */
/* body.no-scroll {
  position: fixed;
  overflow-y: scroll;
  width: 100%;
} */

/* popup ends */


/* time-card-carousel */
.time-card-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.time-card-carousel .time-card-list .time-card-item {
  width: 228px;
  height: 268px;
  position: absolute;
  bottom: 150px;
  left: calc(55% + 3%);
  border-radius: 20px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  z-index: 20;
  transform: translate(0, 0px);
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.time-card-carousel .time-card-list .time-card-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 33, 33, 0.5);
  z-index: 1;
}

.time-card-carousel .time-card-list .time-card-item:nth-child(1),
.time-card-carousel .time-card-list .time-card-item:nth-child(2) {
  bottom: 0px;
  left: 0;
  border-radius: 0;
  transform: translate(0, 0px);
  width: 100%;
  height: 100%;
}

.time-card-carousel .time-card-list .time-card-item:nth-child(3) {
  left: 55%;
}

.time-card-carousel .time-card-list .time-card-item:nth-child(4) {
  transition-delay: 0.1s;
  left: calc(55% + 248px);
}

.time-card-carousel .time-card-list .time-card-item:nth-child(5) {
  transition-delay: 0.2s;
  left: calc(55% + 496px);
}

.time-card-carousel .time-card-list .time-card-item:nth-child(6) {
  transition-delay: 0.3s;
  left: calc(55% + 744px);
}

.time-card-carousel .time-card-list .time-card-item:nth-child(n + 7) {
  transition-delay: 0.4s;
  left: calc(55% + 992px);
}

.time-card-list .time-card-item .time-card-content {
  position: absolute;
  text-align: left;
  color: #fff;
  z-index: 3;
  left: 0;
  top: 100%;
  transform: translateY(-100%);
  width: 100%;
  padding: 10px;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.time-card-content .time-card-title {
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 10px;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.time-card-content .time-card-name {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  margin-bottom: 10px;
  color: #d36e10;
}

.time-card-content .time-card-description {
  font-size: 16px;
  font-weight: 400;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  display: none;
}

.time-card-list .time-card-item:nth-child(1) .time-card-content,
.time-card-list .time-card-item:nth-child(2) .time-card-content {
  transform: translateY(-50%);
  left: 0px;
  width: 500px;
  top: 40%;
  padding: 0;
}

.time-card-list .time-card-item:nth-child(1) .time-card-content .time-card-title::before,
.time-card-list .time-card-item:nth-child(2) .time-card-content .time-card-title::before {
  width: 50px;
  height: 3px;
  margin-bottom: 20px;
}

.time-card-list .time-card-item:nth-child(1) .time-card-content .time-card-title::after,
.time-card-list .time-card-item:nth-child(2) .time-card-content .time-card-title::after {
  font-size: 20px;
  top: -40px;
  left: 15px;
}

.time-card-list .time-card-item:nth-child(1) .time-card-content .time-card-title,
.time-card-list .time-card-item:nth-child(2) .time-card-content .time-card-title {
  font-size: 48px;
  margin-bottom: 20px;
  text-transform: none;
}

.time-card-list .time-card-item:nth-child(1) .time-card-content .time-card-name,
.time-card-list .time-card-item:nth-child(2) .time-card-content .time-card-name {
  font-size: 20px;
  margin-bottom: 20px;
}

.time-card-list .time-card-item:nth-child(1) .time-card-content .time-card-description,
.time-card-list .time-card-item:nth-child(2) .time-card-content .time-card-description {
  font-size: 16px;
  opacity: 1;
  display: block;
  width: 420px;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

/* time-card-Carousel */

/* next prev time-card-arrows */

.time-card-arrows {
  position: absolute;
  bottom: 25%;
  left: 0%;
  width: 100%;
  z-index: 100;
  display: flex;
  gap: 5%;
  align-items: center;
}

.time-card-arrows button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  background-color: transparent;
  outline: none;
  font-size: 25px;
  font-weight: bold;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-card-arrows button:hover {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.time-card-slide-number {
  font-size: 25px;
  color: #ffffff;
  font-weight: 400;
  margin-left: auto;
  letter-spacing: 5px;
  opacity: 0;
  animation: animate 0.5s ease-in-out 0.3s 1 forwards;
}

.time-card-progress-bar-container {
  width: 60%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
}

.time-card-progress-bar {
  height: 100%;
  width: 100%;
  background-color: #d36e10;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}



/* header starts */
#mainHeader {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#mainHeader .menu,
#mainHeader .lg\\:hidden {
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#mainHeader .logo-img {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mainHeader .header-content {
  transition: margin 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#productionHeader {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#productionHeader .header-content {
  transition: margin 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background: #E9EAEE !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  z-index: 1000;
}

.admin-bar .sticky-header {
  margin-top: 32px;
}

.sticky-header .menu,
.sticky-header .lg\\:hidden {
  color: #111 !important;
}

.sticky-header .logo-img {
  filter: none !important;
}

.sticky-header .header-content {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

/* header ends */

/* about slide */
.about-slide {
  height: 448px;
  width: 200px;
  transition-property: width;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.about-slide.swiper-slide-active {
  width: 364px;
}

.teamSlider .swiper-wrapper {
  margin-left: -110px;
}

.about-slide-card {
  visibility: hidden;
}

.swiper-slide-active .about-slide-card {
  visibility: visible;
}

.marquee-text {
  overflow: clip;
}

.marquee-text-track {
  display: flex;
  padding-left: 20px;
  gap: 20px;
  width: max-content;
  animation: marquee-move-text var(--speed, 14s) linear infinite var(--direction, forwards);
}

.pause-on-hover:hover * {
  animation-play-state: paused;
}

@keyframes marquee-move-text {
  to {
    transform: translateX(-50%);
  }
}

.home footer {
  display: none;
}

@keyframes reel {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -4rem 0;
  }
}

.reel-animate {
  animation: reel 300ms linear infinite;
}

/* candendly */
.calendly-overlay .calendly-popup {
  box-sizing: border-box;
  height: 100% !important;
  left: 0 !important;
  max-height: none !important;
  max-width: none !important;
  min-width: none !important;
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) translateX(0%) !important;
  width: 100% !important;
}

.calendly-overlay .calendly-popup-close {
    right: 60px !important;
    top: 60px !important;
}