@font-face {
  font-family: "apex-legends-bold";
  src: url("apex-legends/Apex-Bold.ttf");
}

@font-face {
  font-family: "apex-legends";
  src: url("apex-legends/Apex-Light.ttf");
}

@font-face {
  font-family: "apex-light";
  src: url("apex-legends/Apex-ExtraLight.ttf");
}
@font-face {
  font-family: "apex-regular";
  src: url("apex-legends/Apex-Black.ttf");
}

body {
  font-family: "apex-legends-bold", sans-serif !important;
  margin: 0;
  padding: 0;
  background: #333333; /* Clean gray background */
  color: #000000; /* Strong contrast */
  letter-spacing: 2px;
  padding-top: 70px; /* Adjust based on navbar height */
}

/* 🔥 Modern Header with Gradient */
header {
  padding: 100px 0; /* Nice top and bottom padding */
  font-family: "apex-legends-bold", sans-serif; /* Default center, Bootstrap will auto-align based on screen size */
}

header h2 {
  font-size: 2.5rem; /* Responsive font size for the slogan */
  font-family: "apex-legends-bold", sans-serif;
  color: white;
  margin-bottom: 20px;
  text-align: left;
}

header button {
  margin-top: 20px;
}

header img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  box-shadow: #000000 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

header p {
  font-size: 1rem; /* Responsive font size for the lead */
  color: white;
  margin-bottom: 20px;
  text-align: left;
}

.slogan {
  padding: 10px;
  width: 100%;
  margin: auto;
  background-color: #333333;
  color: white;
  font-family: "apex-legends";
  text-align: left;
}

.lead {
  padding: 10px;
  width: 100%;
  margin: auto;
  color: white;
  font-family: "apex-legends";
}

/* 📌 Navigation Bar */
nav {
  position: fixed;
  width: 100%;
  background-color: black;
  color: white !important;
  padding: 30px 0px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.navbar-brand {
  position: absolute;
  left: 200px; /* Aligns the logo to the left */
  margin-left: auto; /* Adds spacing from the left edge */
}
.navbar-facebook {
  position: absolute;
  right: 350px; /* Aligns the logo to the left */
  margin-left: auto; /* Adds spacing from the left edge */
}
.navbar-instagram {
  position: absolute;
  right: 420px; /* Aligns the logo to the left */
  margin-left: auto; /* Adds spacing from the left edge */
  width: 30px;
  height: auto;
}

@media (max-width: 1250px) {
  /* Adjust for smaller screens */
  .contactusbut {
    position: static; /* Reset to normal flow */
    transform: none;
    margin-left: auto; /* Push to the right */
    display: none;
  }
  .navbar-brand {
    position: static; /* Reset to normal flow */
    transform: none;
    margin-left: 20px; /* Push to the right */
  }
  .navbar-facebook {
    position: static; /* Reset to normal flow */
    transform: none;
    margin-right: auto; /* Push to the right */
    display: none;
  }
  .navbar-instagram {
    position: static; /* Reset to normal flow */
    transform: none;
    margin-right: auto; /* Push to the right */
    display: none;
  }
  header {
    height: 975px;
  }

  .ourprocess-panel {
    min-height: 400px;
  }

  .service-description {
    min-height: 875px;
  }
}

@media (max-width: 1024px) {
  .service-description {
    min-height: 500px;
  }
  header {
    height: 700px;
  }
}
@media (max-width: 430px) {
  .service-description {
    min-height: 200px;
  }
  header {
    height: 920px;
  }
}
@media (max-width: 768px) {
  .service-description {
    min-height: 200px;
  }
  header {
    height: 920px;
  }
}
@media (max-width: 820px) {
  header {
    height: 920px;
  }
}
@media (max-width: 912px) {
  header {
    height: 920px;
  }
}
@media (max-width: 540px) {
  header {
    height: 940px;
  }
}
@media (max-width: 412px) {
  header {
    height: 940px;
  }
}

/* Button Styles */
.contactusbut:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.contactusbut:active {
  color: #ffffff;
}

.contactusbut:active:after {
  background: transparent;
}

.contactusbut:hover:before {
  opacity: 1;
}

.contactusbut:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #ffe9a1, #fed873);
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* 📌 Navigation with Enhanced Look */
nav ul {
  list-style: none;
  padding: 0.2rem;
  margin: 0;
  display: flex;
  justify-content: center; /* Ensures the links stay centered */
  width: 100%;
}

nav ul li {
  font-family: "apex-legends-bold", sans-serif !important;
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: white; /* Orange accent */
  text-decoration: none;
  font-size: 22px;
  transition: all 0.4s ease;
  padding: 0.5rem;
  border-radius: 12px;
}
/* Soft orange hover effect */
nav ul li a:hover {
  background: linear-gradient(to right, #ffe9a1, #fed873);
}

/*STYLING FOR THE PROBLEMS SECTION*/
#problems {
  background: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  padding-bottom: 75px;
}
.problem-heading {
  display: flex;
  justify-content: center;
  color: black;
  font-size: 30px; /* Fix incorrect font property */
  font-family: "apex-legends-bold", sans-serif !important;
  padding: 50px;
  text-align: center; /* Ensure text aligns inside */
  width: 100%; /* Ensure full width */
}
.problem-title {
  text-align: left;
  color: black;
  font-family: "apex-regular", sans-serif !important;
}

.problem-slogan {
  color: black;
  font-family: "apex-legends-bold", sans-serif !important;
  padding-bottom: 50px;
  text-align: center;
}

/* 📌 Service Section Styling */
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.service-description {
  padding: 10px;
  width: 100%;
  margin: auto;
  color: white;
  font-family: "apex-legends";
}

#services {
  color: white;
  margin-bottom: 100px;
}

/* 🔥 Service Panels with Better Contrast */

.service-heading {
  margin: 50px;
}

.service-panel {
  min-height: 370px;
  border-radius: 8px;
  padding: 20px;
  color: #000000;
  background: linear-gradient(145deg, #ffe9a1, #fed873);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  text-align: center;
  width: 100%; /* Ensures it fits Bootstrap columns */
}

.service-panel:hover {
  transform: scale(1.05);
}

.service-title {
  font-size: 25px;
  font-weight: bold;
}

.service-description {
  margin-top: 10px;
  font-size: 20px;
  color: black;
}

/* 🔥 Our Process Section */
.card {
  background: linear-gradient(145deg, #ffe9a1, #fed873);
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  width: 100%;
}
.arrow {
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#ourprocess {
  text-align: center;
  padding: 20px;
  padding-bottom: 100px;
  width: 100%;
  margin: auto;
  background: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  color: black;
  font-family: "apex-legends-bold", sans-serif !important;
}
.ourprocess-heading {
  padding: 50px;
  width: 80%;
  margin: auto;
  color: black;
}

.ourprocess-description {
  color: black;
  font-family: "apex-legends-bold", sans-serif !important;
  font-size: large;
}

#ourmission {
  text-align: center;
  padding: 50px;
  width: 90%;
  margin: auto;
  background-color: #333333;
  color: black;
}

/* 🔥 Industries Section */
#industries {
  text-align: center;
  padding: 50px;
  width: 100%;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.industry-card-title {
  padding: 20px;
  font-family: "apex-legends-bold", sans-serif !important;
}
.industry-heading {
  padding: 20px;
  font-family: "apex-legends-bold", sans-serif !important;
}
.industry-description {
  padding: 20px;
  font-family: "apex-legends-bold", sans-serif !important;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10%);
  }
}

/* 📌 Footer with Enhanced Look */
#footer {
  background-color: #333333;
  color: white;
  text-align: center;
  font-family: "apex-legends-bold", sans-serif !important;
}
.footer-logo {
  height: 1000px;
  width: auto;
}

/* 📌 Add Fading style to the website */

.fade-in {
  opacity: 0; /* Hidden by default */
  transform: translateY(20px); /* Slightly moved down */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1; /* Becomes visible */
  transform: translateY(0); /* Moves to normal position */
}

/* 📌 Contact Us Button */
.contactusbut {
  position: absolute;
  right: 200px; /* Keep it at the right edge */
  top: 50%;
  transform: translateY(-50%); /* Center it vertically */
  font-size: 20px;
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(145deg, #ffe9a1, #fed873);
}

#fd-form-67d4603d0b0b3185483fee07 {
  background-color: #ffffff;
  border-radius: 8px; /* optional for a rounded look */
}
/* 📌 Buttons with Improved Hover */
.btn {
  background: linear-gradient(145deg, #ffe9a1, #fed873);
  color: black !important;
  font-size: 20px;
  border-radius: 16px;
  padding: 16px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  font-family: "apex-legends-bold", sans-serif !important;
}

.btn:hover {
  animation: bounce 0.5s ease infinite alternate;
}
