/********** Template CSS **********/

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed !important;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Fonts ***/
.font-work-sans {
  font-family: 'Work Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
  font-family: 'Dancing Script', cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/*** Button ***/
.btn {
  position: relative;
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-dark,
.btn-primary {
  margin: 10px;
}

.btn-primary::before,
.btn-primary::after {
  position: absolute;
  content: '';
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  top: -5px;
  left: -5px;
}

.btn-primary::before {
  top: -10px;
  height: calc(100% + 20px);
  border-left: 2px solid var(--bs-primary);
  border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
  left: -10px;
  width: calc(100% + 20px);
  border-top: 2px solid var(--bs-primary);
  border-bottom: 2px solid var(--bs-primary);
}

.btn-dark::before,
.btn-dark::after {
  position: absolute;
  content: '';
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  top: -5px;
  left: -5px;
}

.btn-dark::before {
  top: -10px;
  height: calc(100% + 20px);
  border-left: 2px solid var(--bs-dark);
  border-right: 2px solid var(--bs-dark);
}

.btn-dark::after {
  left: -10px;
  width: calc(100% + 20px);
  border-top: 2px solid var(--bs-dark);
  border-bottom: 2px solid var(--bs-dark);
}

/*** Navbar ***/
.sticky-top {
  top: -150px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin: 0 12px;
  padding: 0;
  outline: none;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
  color: var(--bs-white);
  background: var(--bs-primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.navbar .btn-primary {
  border-width: 2px;
  background: var(--bs-light);
}

.navbar .btn-primary:hover {
  background: var(--bs-primary);
}

/*** Hero Header ***/
/* .hero-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fffdf7 0%, #fdf6e8 50%, #f8eedc 100%);
}

.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 210, 170, 0.25), rgba(245, 232, 208, 0.35));
  clip-path: ellipse(70% 60% at 80% 20%);
}

.hero-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  clip-path: ellipse(60% 50% at 20% 80%);
} */

@media (min-width: 992px) {
  .hero-header .container {
    max-width: 100% !important;
  }

  .hero-header .hero-header-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .hero-header .hero-header-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .hero-header .hero-header-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

.header-carousel .owl-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  position: relative;
  margin-left: 2px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-dark);
  background: var(--bs-primary);
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  color: var(--bs-white);
}

.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fffef9 0%, #faf2e3 50%, #f4e5c8 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(230, 210, 170, 0.25);
  filter: blur(80px);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 232, 208, 0.4);
  filter: blur(80px);
}

/*** Service ***/
.service .service-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
}

.service .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Images */
.service .service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content */
.service .service-content {
  padding: 15px;
}

.service .service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.service .service-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #666;
}

/* Button */
.service .service-content .btn {
  padding: 8px 18px;
  font-size: 13px;
  border-width: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .service .service-img {
    height: 180px;
  }

  .service .service-content {
    padding: 12px;
  }

  .service .service-content h3 {
    font-size: 1.25rem;
  }
}

/*** Team ***/
.team {
  position: relative;
}

.team::before {
  position: absolute;
  content: '';
  width: 200%;
  height: 200px;
  top: 50%;
  left: -50%;
  transform: translateY(-50%);
  margin-top: 1rem;
  background: var(--bs-primary);
}

.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.2);
}

.team-overlay {
  position: absolute;
  padding: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  transition: 0.5s;
  z-index: 1;
}

.team-item:hover .team-overlay {
  background: rgba(255, 255, 255, 0.9);
}

.team-overlay p {
  letter-spacing: 1px;
}

.team-overlay .btn-dark {
  border-width: 2px;
  color: var(--bs-dark);
  background: transparent;
}

.team-overlay .btn-dark:hover {
  color: var(--bs-white);
  background: var(--bs-dark);
}

/*** Testimonial ***/
.testimonial-carousel .owl-item {
  position: relative;
}

.testimonial-carousel .owl-item::before {
  position: absolute;
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

.testimonial-carousel .owl-item img {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 1;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item span {
  letter-spacing: 2px;
}

.testimonial-carousel .owl-item.center .bg-light {
  background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .bg-light * {
  color: var(--bs-dark) !important;
}

.testimonial-carousel .owl-nav {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bs-dark);
  background: var(--bs-primary);
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-white);
  background: var(--bs-dark);
}

/*** Footer ***/
@media (min-width: 992px) {
  .footer::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: var(--bs-secondary);
  }
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn.btn-link::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.pdf-float {
  position: fixed;
  right: 25px;
  bottom: 95px;
  z-index: 9999;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* Top Offer Strip */
.offer-strip {
  background: linear-gradient(90deg, #8b6b1f, #c9a227, #f7e7a1, #c9a227, #8b6b1f);
  color: #2c1b00;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 9999;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.offer-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: offerScroll 25s linear infinite;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.offer-strip:hover .offer-marquee {
  animation-play-state: paused;
}

@keyframes offerScroll {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100vw);
  }
}

@media (max-width: 768px) {
  .offer-strip {
    font-size: 13px;
    padding: 10px 0;
  }

  .offer-marquee {
    animation-duration: 18s;
  }
}
