body.light-mode {
  --primary-color: #ffffff;
  --secondary-color: #000000;
  background-color: rgb(255, 255, 255);
  --nav-bg: rgb(0, 0, 0, 1); /* Light mode nav background */
  --nav-li: #f39c12;
  --box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  --spirit-bg: #feefef;
  --spirit-c: black;
}

/* DARK MODE */
body.dark-mode {
  --primary-color: rgb(0, 0, 0);
  --secondary-color: rgb(255, 255, 255);
  background-color: black;
  --nav-bg: rgba(225, 225, 225, 1); /* Dark mode nav background */
  --nav-li: #721c24;
  --box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2),
    0 6px 20px 0 rgba(255, 255, 255, 0.19);
  --spirit-bg: #413f3f;
  --spirit-c: white;
}

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  color: var(--secondary-color);
}

/* Video Background */
/* Video Background */
#banner {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen */
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures full coverage */
  z-index: -1; /* Keeps video behind other content */
}

/* Position the wave image at the bottom */
.bottom-img {
  /* background-image: var(--part-1); */
  position: absolute;
  /* bottom: 0; */
  top: 81%;
  left: 0;
  width: 100%;
  z-index: 1; /* Ensures it's above the video */
}

.full-height {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

#nav-bar {
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 10; */
  margin-top: 15px;
  /* position: fixed; */

  position: fixed; /* Fix the nav bar at the top */
  padding: 10px;
  top: 0px; /* Align to top */
  left: 0; /* Align to left */
  width: 100%; /* Span full width */
  z-index: 9999; /* Ensure it overlays other elements */
  margin-top: 0; /* Remove extra top margin */
  background: none; /* Optional: add a semi-transparent background for better readability */
  /* background: rgba(0, 0, 0, 0.8);  Optional: add a semi-transparent background for better readability */
}

.navbar {
  background: none;
  padding: 0 !important;
}
.navbar-nav li {
  padding: 5px 17px;
}
.navbar-nav li a {
  color: var(--nav-li) !important;
  font-weight: 600;
  float: right;
  text-align: left;
}

.fa-bars {
  color: #fff;
  font-size: 30px;
}
.navbar-toogler {
  outline: none !important;
}
#nav-bar {
  /* position: fixed; */
}
#nav-darkmode-slider {
  padding-top: 12px;
}

.promo-title {
  /* font-size: 88px; */
  /* font-weight: 600; */
  font-family: "Emblema One", system-ui;
  font-weight: 400;
  font-style: normal;

  margin-top: 15%;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.promo-title-part2 {
  /* font-size: 20px; */
  /* font-weight: 400; */
  /* margin-top: 100px; */
  font-family: "Ephesis", cursive;
  font-weight: 400;
  font-style: normal;

  color: white;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.play-btn {
  width: 45px;
  margin: 20px;
}
#banner a {
  color: #fff;
  text-decoration: none;
}
.bottom-img {
  /* height: 232px; */

  width: 100%;
}
#services {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}
.service-img {
  height: 100px;
  margin-top: 20px;
}
.services {
  padding: 20px;
}
.services h4 {
  padding: 5px;
  margin-top: 25px;
}
.col-md-4:hover {
  cursor: pointer;
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
  box-shadow: var(--box-shadow);
}

.col-md-4 h4 {
  font-family: "Eagle Lake", serif;
  font-weight: 400;
  font-style: normal;
}

.col-md-4 p {
  text-align: justify;
}

.col-md-z h4 {
  font-family: "Eagle Lake", serif;
  font-weight: 400;
  font-style: normal;
}

.col-md-z:hover {
  cursor: pointer;
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
  box-shadow: var(--box-shadow);
}
.col-md-z i {
  font-size: 20px;
}

.clients {
  padding: 10px;
}
.clients h4 {
  padding: 5px;
  margin-top: 15px;
}

#clients {
  margin-top: 50px;
  /* justify-items: center; */
}

.title {
  /* font-family: "Charm", cursive;
  font-weight: 700;
  font-style: normal; */
}

.title:hover {
  color: var(--nav-li);
  cursor: pointer;
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

.title::before {
  content: "";
  background-color: #37b77e;
  height: 5px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transform: translateY(63px);
}
#services .btn-primary {
  box-shadow: none;
  padding: 8px 25px;
  border: none;
  border-radius: 20px;
  background-color: #37b77e;
}
#about-us {
  background: none;
  /* background: var(--primary-color); */
  color: var(--secondary-color);
  /* color: rgb(0, 0, 0); */
  padding-bottom: 50px;
  padding-top: 50px;
}

.about-title {
  font-size: 40px;
  font-weight: 600;
  margin-top: 8%;
  text-align: center;
}
#about-us ul li {
  margin: 10px 0;
  text-align: justify;
}
#about-us ul {
  margin-left: 25px;
}
#testimonials {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  /* margin: 100px 0; */
  padding: 90px 50px 90px 50px;
  border-left: 8px solid #37b77e;
}
.testimonials {
  border-left: 4px solid #37b77e;
  margin-top: 50px;
  margin-bottom: 50px;
}

.row {
  /* margin-left: 10.33%; */
}

.testimonials img {
  height: 60px;
  border-radius: 50%;
  margin: 0 10px;
}
.user-details {
  display: inline-block;
  font-size: 12px;
}
#social-media {
  /* background: var(--primary-color);
  color: var(--secondary-color); */
  /* padding: 100px 0; */
}
#social-media p {
  font-size: 32px;
  font-weight: 500;
  margin-top: 28px;
}
#social-media {
  text-align: center;
}
.social-icons {
  text-align: center;
}
.social-icons img {
  padding: 0 10px 0 10px;
  width: 70px;
  transition: 0.1s;
}
.social-icons a:hover img {
  transform: translateY(-10px);
}
#footer {
  background-color: #37b77e;
  color: black;
}

.footer-img {
  width: 100%;
  margin-top: -1px;
}
.footer-box {
  padding: 20px;
}
.footer-box img {
  width: 120px;
  margin-bottom: 20px;
}
.footer-box p {
  font-size: 19px;
  font-weight: 600;
}
.footer-box .fa {
  margin-right: 8px;
  font-size: 25px;
  /* height: 40px; */
  width: 40px;
  text-align: center;
  padding-top: 7px;
  border-radius: 2px;
}
.footer-box a {
  color: rgb(0, 0, 0);
}

hr {
  margin-left: 10% !important;
  width: 80%;
  background-color: var(--primary-color);
}
.copyright {
  margin-bottom: 0;
  padding-bottom: 20px;
  text-align: center;
}

.row1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
}

.offset-0 {
  padding: 50px 0px 0px 0px;
  align-items: center;
}

/* Container adjustments for the flip cards */
.profile-card {
  width: 260px;
  height: 340px; /* Set a fixed height for consistency */
  perspective: 1000px; /* Enables the 3D effect */
  margin: 10px 35px;
}

/* The inner card that will be flipped */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Flip the card when hovering over the container */
.profile-card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Both sides of the card */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}

/* Front side styling */
.card-front {
  background-color: var(--spirit-bg);
  color: var(--spirit-c);
}

.profile-image img {
  padding: 13px 0 10px 0;
  width: 80%;
  border-radius: 50%;
  /* margin-bottom: 15px; */
}

.profile-name {
  font-size: 1.5em;
  margin: 10px 0 10px;
}

.profile-designation {
  font-size: 1em;
  color: #777;
  margin: 0;
}

/* Back side styling */
.card-back {
  background-color: var(--spirit-bg);
  color: var(--spirit-c);
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-back-content p {
  font-size: 0.9em;
  margin: 0;
}

/* From Uiverse.io by andrew-demchenk0 */
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 64px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #73c0fc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  border-radius: 20px;
  left: 2px;
  bottom: 2px;
  z-index: 2;
  background-color: #e8e8e8;
  transition: 0.4s;
}

.sun svg {
  position: absolute;
  top: 6px;
  left: 36px;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.moon svg {
  fill: #73c0fc;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  width: 24px;
  height: 24px;
}

/* .switch:hover */
.sun svg {
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* .switch:hover */
.moon svg {
  animation: tilt 5s linear infinite;
}

@keyframes tilt {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.input:checked + .slider {
  background-color: #183153;
}

.input:focus + .slider {
  box-shadow: 0 0 1px #183153;
}

.input:checked + .slider:before {
  transform: translateX(30px);
}
