@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

:root {
  --bg: #2c4549;
  --text: #e2a43d;
  --fg: hsl(223, 10%, 90%);
  --fg-t: hsla(223, 10%, 90%, 0.5);
  --primary1: hsl(223, 90%, 55%);
  --primary2: hsl(223, 90%, 65%);
  --trans-dur: 0.3s;
  font-size: calc(16px + (20 - 16) * (100vw - 320px) / (1280 - 320));
}

a {
  cursor: pointer;
}

body {
  width: 100%;
  overflow-x: auto;
  /* overflow: hidden;
  overflow-y: auto; */
}

.font-family-montserrat {
  font-family: "Montserrat", sans-serif;
}

.round {
  border-radius: 1.25rem;
  border: 1px solid var(--text);
  box-sizing: border-box;
  background: var(--primary);
  box-shadow: 0 4px 4px var(--text-primary);
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  /* background: rgba(0, 0, 0, 0.4) */
}

header nav ul li a {
  transition: color 0.4s ease-in-out;
}

header nav ul li a:hover {
  color: var(--text);
}

.swiper-content {
  background-color: rgba(0, 0, 0, 0.5);
}

.absolute-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  box-shadow: 0 2px 4px gray;
}

.text-primary {
  color: var(--bg);
}

.text-secondary {
  color: #777777;
}

.primary-bg-color {
  background-color: var(--bg);
}

.transparent-layer {
  background-color: rgba(0, 0, 0, 0.4);
}

.button-primary {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  background-color: var(--bg);
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-align: center;
}

.button-primary:hover {
  background-color: #fff;
  color: var(--text) !important;
}

.active {
  color: var(--text) !important;
}

.parallax {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.parallax .content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.parallax .since {
  position: absolute;
  top: -100px;
  left: 50px;
  animation: move 1s ease-in-out infinite;
  transition: transform 0.6s ease-in-out;
}

@keyframes move {
  from {
    top: -100px;
  }

  to {
    top: -120px;
    left: 55px;
  }
}

.parallax .since:hover {
  transform: rotate(360deg);
}

.word-spacing-wide {
  word-spacing: 0.25rem;
}

/* Set the progress bar to appear at the bottom */
.hero-swiper .swiper-horizontal>.swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal {
  width: 100%;
  height: var(--swiper-pagination-progressbar-size, 4px);
  left: 0;
  bottom: 0;
  /* ✅ place it at the bottom */
  top: auto;
  /* ✅ reset any default top positioning */
  position: absolute;
  /* ✅ ensure it's positioned within Swiper */
  z-index: 10;
}

/* Style the progress bar fill */
.hero-swiper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left top;
  transition: transform 0.3s ease;
}

/* Set the progress bar to appear at the bottom */
.hero-swiper .swiper-horizontal>.swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal {
  width: 100%;
  height: var(--swiper-pagination-progressbar-size, 6px);
  left: 0;
  bottom: 0;
  top: auto;
  position: absolute;
  z-index: 10;
}

.hero-swiper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--text);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left top;
  transition: transform 0.3s ease;
}

.swiper-button-prev,
.swiper-button-next {
  margin-top: 0;
  top: auto;
  background-color: #ffffff;
  width: 100px;
  height: 60px;
  color: var(--bg);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--bg);
  border: 1px solid gray;
  color: #e2a43d;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: none !important;
}

.gallery-img img {
  transition: transform 1s ease-in-out;
}

.gallery-img:hover img {
  transform: scale(1.2);
}

/* services */

.container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.front,
.back {
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  backface-visibility: hidden;
  text-align: center;
  min-height: 48vh;
  color: #fff;
  font-size: 1.5rem;
  position: relative;
}

.back {
  background: linear-gradient(45deg, #cedce7 0%, #596a72 100%);
}

.front::after,
.back::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.hall img {
  transition: transform 1.5s ease-in-out;
}

.hall:hover img {
  transform: scale(1.1);
}

.halls {
  background-color: rgba(0, 0, 0, 0.6);
  transform: translateY(13vh);
}


.container:hover .front {
  transform: rotateY(-180deg);
}

.container:hover .back {
  transform: rotateY(0deg);
}

.container .back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform-style: preserve-3d;
}

.container .front {
  transform: rotateY(0deg);
  transform-style: preserve-3d;
}

.inner {
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  top: 50%;
  position: absolute;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  perspective: inherit;
  z-index: 2;
}



.front .inner h2::after {
  content: '';
  width: 4rem;
  height: 2px;
  position: absolute;
  background: #C6D4DF;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -0.75rem;
}

.front .inner span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.testimonial {
  background: rgba(128, 128, 128, 0.3);
  text-align: center;
  padding: 30px 30px 50px;
  margin: 0 15px 100px;
  position: relative;
  border-radius: 5px;
}

.testimonial:before,
.testimonial:after {
  content: "";
  border-top: 40px solid #fff;
  border-right: 125px solid transparent;
  position: absolute;
  bottom: -40px;
  left: 0;
}

.testimonial:after {
  border-right: none;
  border-left: 125px solid transparent;
  left: auto;
  right: 0;
}

.testimonial .icon {
  display: inline-block;
  font-size: 80px;
  color: #bd986b;
  margin-bottom: 20px;
  opacity: 0.6;
}

.testimonial .text-xs xl:text-sm mb-4 text-left text-secondary opacity-80 {
  font-size: 15px;
  color: #777;
  text-align: left;
  margin-bottom: 30px;
  opacity: 0.8;
}

.testimonial .testimonial-content {
  width: 100%;
  position: absolute;
  left: 0;
}

.testimonial .pic {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px 2px #daad86;
  overflow: hidden;
  z-index: 1;
  position: relative;
}

.testimonial .pic img {
  width: 100%;
  height: auto;
}

.testimonial .title {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  text-transform: capitalize;
  margin: 0 0 5px 0;
}

.testimonial .post {
  display: block;
  font-size: 14px;
  color: #ffd9b8;
}

.testimonial-content {
  background-color: var(--bg);
}

@media only screen and (max-width: 650px) and (min-width: 400px) {
  .testimonial:before {
    border-right: 325px solid transparent;
  }

  .testimonial:after {
    border-left: 325px solid transparent;
  }
}

@media only screen and (max-width:768px) {
  .round {
    border-radius: 0;
    background: none;
    border: none;
    border-bottom: 1px solid gray;
    box-shadow: 0 0 0 0;
  }

  .navbar-show {
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  header {
    background-color: var(--bg);
  }

}


.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-container.active {
  display: flex;
}

.popup-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
