:root {
  --primary-color: #e9b127;
  --primary-font: "Montserrat", sans-serif;
  --secondary-font: "Satisfy", cursive;

  --secondary-color: #666666;
  --accent-color: #e74c3c;
  --text-color: #333333;
  --text-main: #09253f;
  --text-content: #6c757d;
  --background-color: #f5f5f5;
  --light-gray: #ecf0f1;

  /* Shadow Variables */
  --box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --box-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --box-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: var(--primary-font);
  margin-bottom: 0 !important;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Satisfy";
  src: url("../fonts/Satisfy-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.fc-content {
  color: #666666;
}
.fc-heading {
  color: #333333;
}
.fc-heading-light {
  color: #ffffff;
}
.fc-content-light {
  color: #cccccc;
}

.satisfy-regular {
  font-family: "Satisfy", cursive;
  font-weight: 400;
  font-style: normal;
}

.flex-1 {
  flex: 1;
}

/* navbar */

.top-nav {
  background-color: #f5faff;
  color: #ccc;
  font-size: 0.9rem;
  position: relative;
  /* padding: 0.5rem; */
  /* border-bottom: 1px solid white; */
}

.top-nav i {
  margin-right: 5px;
  color: gold;
}
.top-nav::after {
  content: "";
  position: absolute;
  left: 0;
  width: 35vw;
  height: 1px;
  bottom: 0;
  background-color: #ffd700;
}
.top-nav::before {
  content: "";
  position: absolute;
  right: 0;
  width: 35vw;
  height: 1px;
  bottom: 0;
  background-color: gold;
}

/* Main navbar */
.navbar {
  background-color: #000d21;
  border-bottom: 1px solid var(--primary-color);
}
.navbar-brand {
  width: 240px;
  position: relative;
}

.navbar-brand::after {
  content: "";
  width: 288px;
  height: 150px;
  background-color: #050f18;
  /* transform: rotate(45deg); */
  position: absolute;
  top: -84px;
  z-index: 1;
  left: -24px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.navbar-brand .logo {
  position: absolute;
  top: -60px;
  z-index: 2;
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding: 0.5rem 2rem !important;
  border-bottom: 1px solid transparent;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: white;
  text-align: center;
  font-size: 1rem;
  transition: border 0.5s ease;
  position: relative;
  width: 180px;
}
.navbar-expand-lg .navbar-nav .nav-link::before {
  content: "";
  width: 0px;
  display: flex;
  height: 2px;
  position: absolute;
  bottom: 0;
  transition: width 0.3s ease-in-out;
}

.navbar-expand-lg .navbar-nav .nav-link:hover::before,
.navbar-expand-lg .navbar-nav .nav-link.active::before {
  background-color: var(--primary-color);
  width: 30px;
  left: calc(50% - 15px);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: white !important;
}

.navbar-toggler {
  background-color: var(--primary-color) !important;
}

.navbar-nav .dropdown-menu {
  width: fit-content;
}

.top-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-icon p {
  font-size: 0.75rem;
}
.top-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--secondary-color);
}

.btn-main {
  background: transparent;
  border: 2px solid var(--primary-color);
  font-size: 1.2rem;
  padding: 0.5rem 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  color: white;
  text-align: center;
  text-decoration: none;
  width: fit-content;
}

.btn-main:hover {
  background: var(--primary-color);
  transform: scale(1.05);
}

.hero-section-main {
  position: relative;
  display: flex;
}
.hero-section-main video {
  height: auto;
  width: 100%;
  object-fit: fill;
}

.bg-mid-light {
  background-color: #161616;
}

.section {
  background: linear-gradient(rgb(0 0 0 / 75%), rgb(0 0 0 / 79%)),
    url(../images/section-bg.jpg) center / contain;
}

.section .content {
  padding: 75px 0px;
  /* max-width: 1200px; */
  position: relative;
  z-index: 3;
}

.section-header {
  padding: 2rem;
  background-color: #2e2e2ead;
  position: relative;
  text-align: center;
}
.section-header .section-heading,
.section-header p {
  position: relative;
  z-index: 3;
  font-family: "Satisfy", cursive;
  font-style: normal;
}
.section-header .section-heading {
  font-weight: 500;
  font-size: 3rem;
  color: #b8860b;
}
.section-header p {
  font-size: 1.5rem;
  color: #f5f5f5;
}

.section-header::before {
  content: "";
  height: 300px;
  width: 300px;
  transform: rotate(45deg);
  background: linear-gradient(
    90deg,
    rgb(173 215 231 / 24%) 0%,
    rgb(199 206 215 / 45%) 50%,
    rgba(191, 227, 227, 0.05) 100%
  );
  position: absolute;
  left: calc(50% - 150px);
  top: 30px;
  z-index: 1;
}
.section-header::after {
  content: "";
  height: 20px;
  width: 20px;
  transform: rotate(45deg);
  background-color: var(--primary-color);
  position: absolute;
  left: calc(50% - 10px);
  z-index: 2;
  bottom: -10px;
}
.about-card {
  perspective: 1000px;
  height: 100%;
  cursor: pointer;
}

/* Inner container handles 3D flipping */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Flip on hover */
.about-card:hover .card-inner {
  transform: rotateY(180deg);
}

.about-card:hover .front {
  opacity: 0;
  transition: all 0.5s ease-in-out;
  pointer-events: none;
}

/* Front side */
.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
}

/* Keep existing styles on front */
.front {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  box-shadow: rgb(43 43 43 / 20%) 0px 7px 29px 0px;
  position: relative;
  overflow: hidden;
  background-color: #161616;
  z-index: 2;
}

.front img {
  width: 30px;
}

/* Keep your ::before working */
.about-card .front::before {
  content: "";
  height: 50px;
  width: 50px;
  transform: rotate(45deg);
  background: linear-gradient(
    90deg,
    rgb(173 215 231 / 24%) 0%,
    rgb(199 206 215 / 45%) 50%,
    rgba(191, 227, 227, 0.05) 100%
  );
  position: absolute;
  left: 20px;
  top: 30px;
  z-index: 1;
}

/* Back side */
.back {
  background-color: #ffffff81; /* plain color */
  transform: rotateY(180deg);
  z-index: 1;
  padding: 0.3rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.back img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.back::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.about-card .heading {
  font-size: 1rem;
  font-weight: 500;
}
.about-card .description {
  font-size: 0.8rem;
}

.products-tabs {
  padding: 0.5rem 2rem;
  /* border-radius: 9px; */
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  margin: auto;
  width: 100%;
  height: 100%;
}

.card-bg {
  background-image: url(../images/product-bg.jpg);
  position: relative;
}

.card-bg::before {
  content: "";
  height: 100%;
  width: 100%;

  position: absolute;
  inset: 0;
  background-color: rgb(65 66 66 / 73%);
  z-index: 1;
}
.card-bg p {
  font-size: 0.9rem;
}
.card-bg h4 {
  font-size: 1.2rem;
}
.card-bg p,
.card-bg h4,
.card-bg a,
.card-bg h3,
.card-bg svg {
  position: relative;
  z-index: 2;
}

.products-tabs button {
  position: relative;
  z-index: 2;
  padding: 0.5rem 1.5rem;
  background: #f7f7f7;
  border: none;
  /* border-radius: 50px; */
  font-size: 1.1em;
  color: #525252;
  cursor: pointer;
  border-left: 2px solid #888888;
  transition: all 0.5s, color 0.3s;
  text-align: start;
  font-weight: 500;
}

.products-tabs button.active,
.products-tabs button:hover {
  background-color: #ffffff;
  border-left: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--box-shadow-md);
}

.products-content-container {
  padding: 0 5rem;
}

.products-content {
  max-width: 1200px;
  margin: 0 auto;
}

.products-tab-content {
  display: none;
}

.products-tab-content.active {
  display: block;
}

.products-tab-content .swiper {
  padding: 3rem 0;
}

.products-content .swiper .swiper-slide {
  padding: 1rem;
  background: #191919;
  border: 2px solid gold;
  overflow: hidden;
}

.products-tab-content .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 1rem; */
}

.products-tab-content {
  position: relative;
  overflow: hidden; /* Keeps slides clipped */
}

.products-slider {
  position: relative;
  overflow: visible; /* Let buttons appear outside */
}

/* Button Styles */
.products-tab-content .swiper-button-next,
.products-tab-content .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #d4af37;
  background-color: rgba(0, 0, 0, 0.4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

/* Position buttons slightly outside the visible area */
.products-tab-content .swiper-button-prev {
  left: -50px;
}

.products-tab-content .swiper-button-next {
  right: -50px;
}

/* Optional: Add hover effect */
.products-tab-content .swiper-button-next:hover,
.products-tab-content .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.products-section .swiper-pagination {
  bottom: 10px !important;
}

.products-tab-content .swiper-slide h3 {
  font-size: 1.2em;
  margin: 10px;
  color: #333;
}

.products-tab-content .swiper-slide p {
  font-size: 1em;
  margin: 0 10px 10px;
  color: #555;
}
.mid-banner-with-image {
  background-image: url("../images/hero-img-3.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  /* margin: 4rem 0; */
  /* border-radius: 1rem; */
  overflow: hidden;
  /* min-height: 300px; */
}

.banner-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 4rem;
  text-align: center;
}

.banner-content {
  color: #fff;
  max-width: 800px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-content h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Satisfy", cursive;
}

.banner-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* .testimonials-section{
  background: linear-gradient(rgb(255 255 255 / 88%), rgb(255 255 255 / 90%)), url(../images/new.jpg) center ;
} */

.testimonial-card {
  position: absolute;
  height: 100%;
  width: calc(100% + 75px);
  right: -75px;
  /* background: rgb(95 136 155); */
  padding: 2rem 8rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  color: white;
}

.testimonial-card p,
.testimonial-card h4,
.testimonial-card button {
  position: relative;
  z-index: 2;
}
.testimonial-card h4 {
  font-size: 1.2rem;
}
.testimonial-card p {
  font-size: 0.9rem;
}

.testimonials-section .swiper-slide {
  background: #191919;
  padding: 2rem;
  /* border-radius: 1rem; */
  text-align: center;
  border: 2px solid var(--primary-color);
  transition: transform 0.3s;
  min-height: 300px;
  /* max-height: 400px; */
}

.testimonials-section .swiper-slide:hover {
  transform: translateY(-5px);
}

.testimonials-section .swiper-slide p {
  font-size: 0.9rem;
  color: #f5f5f5;
  margin-bottom: 1rem;
}

.testimonials-section .swiper-slide h4 {
  font-weight: bold;
  color: white;
  font-size: 1.2rem;
}

.testimonials-section .swiper-button-prev,
.testimonials-section .swiper-button-next {
  color: #ffd700;
  display: none;
}
.section .swiper-horizontal {
  padding: 3rem 0;
}

.testimonials-section .swiper-pagination-bullet {
  /* background: #D4AF37; */
}
.swiper-pagination-clickable .swiper-pagination-bullet {
  background: white !important;
}

.rating svg {
  width: 1em;
  color: var(--primary-color);
}

.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.73), rgba(0, 0, 0, 0.805)),
    url("../images/hero-img.jpg") no-repeat center/cover;
}

.footer-bottom a {
  font-size: 0.8rem;
  color: rgb(211, 210, 210);
  text-decoration: none;
}

.footer-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon img {
  width: 20px;
}

.footer-icon p {
  font-size: 0.85rem;
}

/*----- common hero for other pages--- */
.hero-section {
  min-height: 50vh;
  background: linear-gradient(rgb(0 0 0 / 80%), rgb(0 0 0 / 80%)),
    url(../images/hero-img-2.jpg) center center / cover no-repeat;
  position: relative;
  padding: 4rem 0;
}

.hero-heading {
  font-size: 5rem;
  font-weight: 500;
  font-family: var(--secondary-font);
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.hero-section .breadcrumb .breadcrumb-item {
  font-size: 1rem;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: white !important;
}

/*----- common hero for other pages--- */

/*-------------------------------- aboout us page ----------------------- */

.about-list {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.about-list li {
  list-style: none;
  position: relative;
  color: #ffffff;
  font-size: 0.9rem;
}
.about-list li::before {
  content: "";
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  background-color: var(--primary-color);
  position: absolute;
  /* left: calc(50% - 10px); */
  z-index: 2;
  top: calc(50% - 3px);
  left: -2rem;
}

.service-card {
  padding: 1.5rem 1rem;
  box-shadow: rgb(43 43 43 / 20%) 0px 7px 29px 0px;
  background-color: #161616;
  height: 100%;
  position: relative;
}

.service-card::before {
  content: "";
  height: 50px;
  width: 50px;
  transform: rotate(45deg);
  background: linear-gradient(
    90deg,
    rgb(173 215 231 / 24%) 0%,
    rgb(199 206 215 / 45%) 50%,
    rgba(191, 227, 227, 0.05) 100%
  );
  position: absolute;
  left: 20px;
  top: 30px;
  z-index: 1;
}

.service-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 500;
}
.service-card p {
  color: #cccccc;
  font-size: 0.85rem;
}

/*--------------- contact us page-------- */

.contact-us .card-contain {
  position: absolute;
  padding: 4rem 4rem 4rem 0rem;
  width: calc(100% + 30%);
  display: flex;
  align-items: center;
  height: 100%;
}
.card-contain .card-bg {
  width: 100%;
}

.form-card {
  background-color: #161616;
  padding: 4rem 4rem 4rem 8rem;
}

.form-label {
  color: #ffffff;
}
.form-card .form-control {
  background-color: transparent;
  border: 1px solid #4d4d4d;
  border-radius: 0;
  color: white;
}
.form-control:focus,
.form-control:hover {
  background-color: transparent !important;
  box-shadow: none !important;
  border: 1px solid gold !important;
  color: white !important;
}
.form-control::placeholder {
  color: #cccccc !important;
  font-size: 0.9rem;
}

.contact-us .card-bg svg {
  width: 1.8em;
  color: gold;
}

.contact-us .card-bg .social-icon svg {
  width: 3rem;
}

/*--------------- gallery css------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.gallery img {
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}
.gallery img:hover {
  transform: scale(1.05);
}

#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  flex-direction: column;
  transition: all 0.5s ease-in-out;
}
#lightbox-overlay img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 4px;
}
.close-btn,
.nav-btn {
  position: absolute;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  border-radius: 4px;
}
.close-btn {
  top: 20px;
  right: 20px;
}
.nav-btn.left {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-btn.right {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media only screen and (max-width: 990px) {
  .banner-content h3 {
    font-size: 2rem;
  }
  .section .content {
    padding: 3rem 0;
  }
  .navbar-brand::after {
    display: none;
  }
  .hero-card:hover .info {
    display: none;
  }
  .nav-res {
    flex-direction: row-reverse;
  }
  .testimonial-card {
    padding-right: 6rem;
  }
  .navbar-brand {
    width: 140px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 1rem !important;
    text-align: left;
  }
  .navbar-expand-lg .navbar-nav .nav-link:hover::before,
  .navbar-expand-lg .navbar-nav .nav-link.active::before {
    left: 1rem;
  }
  .form-card {
    padding: 2rem;
  }
  .contact-us .card-contain {
    position: unset;
    width: 100%;
    padding: 0;
    margin-bottom: 1rem;
  }
  .hero-heading {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .section-header .section-heading {
    font-size: 1.65rem;
  }
  .section-header p {
    font-size: 1.2rem;
  }

  .section-header::before {
    width: 200px;
    height: 200px;
    left: calc(50% - 100px);
  }
  .section .content {
    padding: 20px 0;
  }

  .products-tabs {
    flex-direction: row;
    padding: 0.5rem 1rem;
    width: 100%;
  }
  .products-tabs button {
    padding: 0.2rem 0.4rem;
    font-size: 1rem;
    font-weight: 400;
    border-left: none;
    border-bottom: 1px solid #888888;
  }
  .products-tabs button.active {
    border-left: none;
    border-bottom: 1px solid var(--primary-color);
  }

  .products-content-container {
    padding: 0 1rem;
  }

  .banner-overlay {
    padding: 2rem;
  }
  .testimonial-card {
    position: unset;
    width: 100%;
    padding: 2rem;
  }
  .top-icon svg {
    width: 1rem;
  }
  .top-icon a,
  .top-icon p {
    font-size: 0.7rem;
  }
}
