* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}
a {
  list-style: none;
  text-decoration: none;
  cursor: pointer;
}
.Flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* Switch styling Starts Here */

.checkbox_item.citem_1 p {
  margin: 0;
  font-size: 14px;
  color: var(--text-color);
}
.checkbox_item.citem_1 .checkbox_wrap {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox_item.citem_1 .checkbox_wrap .checkbox_inp {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 1;
}

.checkbox_item.citem_1 .checkbox_wrap .checkbox_mark {
  display: inline-block;
  width: 60px;
  height: 31px;
  background: #f0f0f0;
  border-radius: 25px;
  padding: 2px;
  transition: background 0.3s ease;
}

.checkbox_item.citem_1 .checkbox_wrap .checkbox_mark:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 25px;
  height: 25px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.checkbox_item.citem_1 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark {
  background: #1e1e1e;
}

.checkbox_item.citem_1
  .checkbox_wrap
  .checkbox_inp:checked
  ~ .checkbox_mark:before {
  left: 32px;
}
/* Switch styling Ends Here */

/* Default Light Mode */
:root {
  --primary-color: #9f413c;
  --span-color: #9f413c;
  --box-theme-color: #ffff;
  --hover-color: black;
  --bg-color: #f8f9fa;
  --text-color: #333;
}

/* Dark Mode */
.dark-mode {
  --span-color: #9f413c;
  --hover-color: #9f413c;
  --bg-color: #161616;
  --text-color: #ffffff;
  --primary-color: #161616;
  --box-theme-color: #1f1f1f;
}

body {
  background-color: var(--bg-color);
  font-family: "Jost";
  font-style: normal;
  color: var(--text-color);
  font-optical-sizing: auto;
  transition: background-color 0.3s, color 0.3s;
}

/* Navbar Toggler Reset */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 10px;
  outline: none;
  transition: transform 0.3s ease-in-out;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 25px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/* When navbar is expanded */
.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Dark Mode */
body.dark-mode .menu-icon span {
  background-color: white;
}

.navbar-top,
.footer {
  background-color: var(--box-theme-color);
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: var(--text-color);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.theme-toggle-icon {
  cursor: pointer;
  size: 24px;
}

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  top: 0;
  left: 0;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid var(--primary-color); /* Change to your theme color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
/* Preloader Styles */

/* Keyframe Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media only screen and (max-width: 568px) {
  .devis-btn {
    margin-bottom: 20px;
    margin-top: 10px;
  }
}

/* Navbar Css Starts here */

/* Apply animation when loaded */
.navbar-loaded {
  animation: dropIn 0.9s ease-out forwards;
}

/* Responsive Adjustments */
@media only screen and (max-width: 992px) {
  .navbar-collapse {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  .checkbox_item {
    margin: 0 !important;
  }
}

@media only screen and (max-width: 768px) {
  .navbar-top {
    padding: 0.5rem 0rem !important;
    flex-direction: column;
  }
  .navbar-bottom {
    padding: 0.1rem 2rem !important;
  }
  .icons-section {
    display: none;
  }
  .navbar-bottom .navbar-nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .navbar-toggler {
    margin-left: auto;
  }
  .dropdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background-color: var(--primary-color);
  padding: 0.5rem 5rem;
}

.navbar-top .fa-solid {
  color: var(--text-color);
  font-size: 0.9rem;
}
.navbar-top ul {
  padding: 0;
  margin: 0;
}
.navbar-top ul li a {
  color: white;
  text-decoration: none;
}
.navbar-top ul li {
  font-size: 0.9rem;
  text-decoration: none;
  list-style: none;
  padding: 0;
  color: white;
}

li {
  cursor: pointer;
}
.icons-section img {
  width: 1.2rem;
  height: 1.2rem;
}
@keyframes dropIn {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Initially hide the navbar */
.navbar-bottom {
  position: fixed;
  top: 40px; /* Start hidden */
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.1rem 5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: var(--box-theme-color) !important;
  transition: top 0.6s ease-in-out; /* Smooth transition */
}

/* Show navbar when scrolling down */
.navbar-show {
  top: 0;
}
.navbar-bottom .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-bottom .logo {
  width: 12rem;
  height: 5rem;
}
.navbar-bottom .navbar-nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 1.8rem;
}

.navbar-bottom .checkbox_item {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s;
  padding: 0.4rem 1rem !important;
  border-radius: 5px;
}

.dropdown-menu {
  background-color: var(--box-theme-color);
}
.navbar-nav .nav-link:hover {
  color: white;
  background-color: #9f413c;
}
.dropdown-toggle:hover {
  color: var(--primary-color);
}
.dropdown-item:hover {
  color: var(--primary-color);
}

.dropdown:hover > .dropdown-menu {
  display: block;
  transition: 0.3s ease-in-out;
}

.dropdown > .dropdown-toggle:active {
  pointer-events: none;
}
/* Navbar Css Ends here */

/* Footer Css Starts here */
@media only screen and (max-width: 568px) {
  .footer {
    flex-direction: column;
    padding: 1rem 1rem !important;
    gap: 20px;
  }
}
.footer {
  display: flex;
  color: white;
  text-align: center;
  align-items: center;
  margin-top: 100px;
  padding: 1.2rem 3rem;
  justify-content: space-between;
  background-color: var(--primary-color);
}
.footer ul li {
  font-size: 1rem;
  font-weight: 500;
}
.footer ul li a {
  text-decoration: none;
  color: white;
}
.footer ul li:hover {
  color: var(--hover-color);
}
.footer ul li a:hover {
  color: var(--hover-color);
}
.blink {
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
/* Footer Css Ends here */

/* Hero Section Css Starts Here */
@media only screen and (max-width: 568px) {
  .carousel-item img {
    height: 400px !important;
  }
  .display-2 {
    font-size: 1.6rem !important;
  }
}
.hero-section {
  position: relative;
  max-height: 800px;
  width: 100%;
  overflow: hidden;
  margin-top: 5rem;
}
.btn {
  background: #9f413c;
  border: none;
  color: white;
}
.btn:hover {
  background: #1f1f1f;
  color: white;
}
.display-2 {
  font-size: calc(1.275rem + 2vw);
  font-weight: 600;
  line-height: 1.2;
}
.carousel-item img {
  height: 100vh;
  height: 100vh;
  object-fit: cover;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: start;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: start;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.carousel-caption h2 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

.title-section {
  margin-bottom: 50px;
}

.title-section h2 {
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.title-section span {
  display: block;
  width: 70px;
  height: 4px;
  background: var(--span-color);
  margin: 0 auto;
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-slide {
  opacity: 0;
  animation: slideIn 1.5s ease-in-out 1s forwards;
}
.animated-text {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out 1s forwards;
}

.animated-btn {
  opacity: 0;
  animation: fadeUp 1.5s ease-in-out 1s forwards;
}

@media only screen and (max-width: 568px) {
  .carousel-control-prev,
  .carousel-control-next {
    top: 85% !important;
  }
}
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5); /* Dark transparent look */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1); /* Makes the icons white */
  width: 20px;
  height: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(129, 129, 129, 0.8);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(1) invert(0); /* Makes the icons dark on hover */
}

/* Hero Section Css Ends Here */

/* Secvice Section Css Starts Here */
#services {
  padding-top: 80px;
  background-color: var(--bg-color);
}
.service-item {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--box-theme-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.service-item:hover .service-text::before {
  height: 100%;
  opacity: 0.9;
}
.service-item:hover .service-text h5,
.service-item:hover .service-text p,
.service-item:hover .service-text a {
  color: white;
  transform: translateY(-5px);
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-text {
  position: relative;
  z-index: 1;
  padding: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.service-text a {
  position: relative;
  z-index: 2;
  color: #9f413c;
}

.service-item:hover {
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Soft shadow for a cool effect */
}

.service-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: #9f413c;
  opacity: 0;
  transition: 0.5s;
}

/* Initial hidden state */
.animated-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-slide-bottom {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible when scrolled */
.animate-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Initial hidden state of services*/
.animated-service {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Visible when scrolled */
.animate-visible {
  opacity: 1;
  transform: translateY(0);
}
.view-more {
  padding: 12px;
}
/* Secvice Section Css Ends Here  */

/* About Section Starts Here */
.about-content {
  padding: 80px 0;
  background-color: var(--box-theme-color);
  text-align: center;
}

.experience-container {
  background: #4c4668;
}
.secondary-color {
  color: #4c4668;
}

.about-bg {
  background: var(--box-theme-color);
}

/* Fade-in Animation on Scroll */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media only screen and (max-width: 768px) {
  .about-box {
    padding: 20px;
    text-align: left;
  }
  .about-main-image {
    left: 50px !important;
  }
  .experience-container-parent {
    width: 160px !important;
    height: 160px !important;
  }
}
/* About Section Ends Here */

/* Contact Section Starts Here */
.contact-content {
  padding: 60px 0;
  text-align: center;
}
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.contact-details {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2em;
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out;
}

.contact-item i {
  font-size: 1.5em;
  color: var(--span-color);
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item a,
.contact-item p {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--hover-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Success Message */
.hidden {
  display: none;
  color: green;
  margin-top: 10px;
}

/* Google Maps */
/* .contact-map {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
} */

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 400px;
  background: var(--box-theme-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  background: var(--box-theme-color);
  color: var(--text-color);
}

.contact-form textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 10px;
  background: var(--primary-color);
  color: #fff;
  border: 1px solid var(--box-theme-color);
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
  transition: background 0.3s ease-in-out;
}

.btn-submit:hover {
  background: var(--hover-color);
}
.social-icon-contact a {
  color: var(--span-color);
  font-size: 32px;
}

/* Success Message */
.success-message {
  color: green;
  margin-top: 10px;
  display: none;
}

@media only screen and (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    text-align: left;
  }
  .contact-form {
    min-width: 330px !important;
  }
}

/* Contact Section Ends Here*/

/* Card styles Starts Here */
.access-control-container {
  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
  padding: 40px;
}

.section-title {
  text-transform: capitalize;
  text-align: left;
  font-size: 32px;
  margin-bottom: 10px;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 50%;
}

.text-content h5 {
  text-transform: capitalize;
  font-size: 28px;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 16px;
  line-height: 1.5;
}

.image-container {
  flex: 1;
  max-width: 50%;
}

.access-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #9f413c;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: var(--box-theme-color);
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
  width: 100%;
}

.contact-button-a {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .text-content,
  .image-container {
    max-width: 100%;
  }
}
/* Card styles Ends Here */

/* Facts starts */
.img-fluid {
  max-width: 100%;
  height: auto;
}
.facts-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
}
.facts-overlay h1 {
  font-size: 120px;
  color: transparent;
  -webkit-text-stroke: 2px var(--span-color);
}
.display-1 {
  font-size: calc(1.625rem + 4.5vw);
  font-weight: 700;
  line-height: 1.2;
}
/*  Facts Ends */

/* Facts starts */
.img-fluid {
  max-width: 100%;
  height: auto;
}
.facts-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
}
.facts-overlay h1 {
  font-size: 120px;
  color: transparent;
  -webkit-text-stroke: 2px var(--span-color);
}
.display-1 {
  font-size: calc(1.625rem + 4.5vw);
  font-weight: 700;
  line-height: 1.2;
}
/*  Facts Ends */

/* Cateloge */
iframe {
  width: 100%;
  height: 100vh;
  border: none;
}

/* Prevent PDF overflow on small screens */
.catelog-section {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* For devices with small screen width */
@media only screen and (max-width: 768px) {
  iframe {
    height: 80vh; /* Adjust the height for mobile */
  }
}

/* Cateloge */
