body {
  font-family: 'Lexend', sans-serif;
  overflow-x: hidden;
}

.main{
  overflow: hidden;
}
/* .navbar {
  font-size: 16px;
  background-color: transparent;
}
#navbarNav #active{
  color: #1E97C6;
}
#navbarNav a:hover,
#navbarNav a:active{
  color: #1E97C6;
}
.navbar-nav .nav-item .nav-link {
  color: #1E1E1E;
  height: auto;
  font-size: 18px;
  font-style: "Medium";
  font-family: "Lexend";
  font-weight: 600;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;

}
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
  color: #1E97C6;
} */

/* Ensure the navbar and logo are aligned */

.VIpgJd-ZVi9od-ORHb-OEVmcd{
  visibility: hidden !important;
}

.navbar {
  padding: 0 15px; 
  font-size: 16px;
  background-color: transparent;
}
#navbarNav #active{
  color: #1E97C6;
}
#navbarNav a:hover,
#navbarNav a:active{
  color: #1E97C6;
}
.navbar-brand .logo {
  height: auto; 
  width: 80%;
}

.navbar-nav .nav-item .nav-link {
  color: #1E1E1E;
  height: auto;
  font-size: 18px;
  font-style: "Medium";
  font-family: "Lexend";
  font-weight: 600;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;

}
/* Space out the nav items */
.navbar-nav {
  display: flex;
  flex-direction: row;
}

.navbar-nav .nav-item {
  margin: 0 15px; 
  color: #1E1E1E;
  height: auto;
  font-size: 18px;
  font-style: "Medium";
  font-family: "Lexend";
  font-weight: 600;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;
}

.nav-link {
  padding: 10px 15px; /* Adjust padding for nav links */
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
  color: #1E97C6;
}

/* Ensure the navbar collapses properly on smaller screens */
@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;
  }

  .navbar-nav .nav-item {
    margin: 5px 0; /* Adjust spacing for mobile view */
  }
}


.workbutton{
background-color: transparent;
border: 3px solid;
border-image: linear-gradient(90deg, #1E97C6 0%, #22356F 100%);
border-image-slice: 1;
color: #1E1E1E;
  height: auto;
  font-size: 18px;
  font-style: "Medium";
  font-family: "Lexend";
  font-weight:600;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;
  /* padding: 5px;
  width: 110%; */
}
.workbutton:hover{
  color: #1E97C6;
}
.heropage1{
  position: relative;
}
.logo{
  width: 60%;
  height: auto;
}

.arrowani1 {
  width: 10%;
  height: auto;
  animation: slideLeft 1s ease-in-out infinite alternate; /* Define animation */
}

@keyframes slideLeft {
  0% {
    transform: translateX(0); /* Start position */
  }
  100% {
    transform: translateX(30%); /* End position */
  }
}

.hero-container {
  position: relative;
  display: inline-block; /* Ensures the container fits the image */
  width: 100%; /* Ensures the container scales with the screen */
}

.hero-container img {
  display: block;
  width: 100%; /* Ensures the image scales with the container */
}

.hero-container h1 {
  position: absolute;
  top: 30%; /* Adjusts vertical alignment */
  left: 52%; /* Centers the text horizontally */
  transform: translate(-50%, -40%); /* Centers the text within its container */
  color: white; /* Text color */
  text-align: left;
  font-size: 65px; /* Large font for larger screens */
  font-weight: 600; /* Semi-bold */
  margin: 0;
  width: 100%;
  text-align: justify;
  font-family: "Lexend", sans-serif; /* Ensure fallback font */
}


.hero-container .arrow {
  position: absolute;
  bottom: -10px; /* Moves the arrow 10px from the top of the container */
  right: 10px; /* Positions the arrow at the right end */
  transform: translateX(0); /* No need to translate horizontally when at the right end */
  animation: moveUpDown 2s infinite ease-in-out;
  width: 50px; /* Adjust width of the arrow */
  height: auto;
}

@keyframes moveUpDown {
  0%, 100% {
      transform: translate(-50%, 0); /* Start and end at the same position */
  }
  50% {
      transform: translate(-50%, 10px); /* Move down 10px at 50% of the animation */
  }
}
@media (max-width: 768px) {
  .hero-container .arrow {
    width: 40px; /* Reduce arrow size for smaller screens */
    right: 5px; /* Adjust right position for smaller screens */
   /* Adjust top position for smaller screens */
  }
}

@media (max-width: 576px) {
  .hero-container .arrow {
    width: 30px; /* Further reduce arrow size for extra small screens */
    right: 5px; /* Keep it close to the right edge on small screens */
     /* Adjust top position for extra small screens */
  }
}
/* Small screens (landscape phones) */
@media (max-width: 768px) {
  .hero-container h1 {
      font-size: 30px; /* Adjust font size for small screens */
      top: 35%; /* Adjust vertical alignment */
      left: 55%; /* Center text horizontally */
      transform: translate(-50%, -35%); /* Adjust centering */
  }
}

/* Small screens (landscape phones) */
@media (max-width: 992px) {
  .hero-container h1 {
      font-size: 40px; /* Adjust font size for small screens */
      top: 35%; /* Adjust vertical alignment */
      left: 55%; /* Center text horizontally */
      transform: translate(-50%, -35%); /* Adjust centering */
  }
}

/* Extra small screens (portrait phones) */
@media (max-width: 576px) {
  .hero-container h1 {
      font-size: 20px; /* Adjust font size for extra small screens */
      top: 30%; /* Adjust vertical alignment */
      left: 55%; /* Center text horizontally */
      transform: translate(-50%, -30%); /* Adjust centering */
  }
}



/************************************************ what we do  **************************************************/
.whatwedo{
  overflow: hidden;
}
.whatwedo h2{
  text-transform: uppercase;
  font-size: 40px;
  color: #22356F;
  font-weight: 700;
}
.whatwedo .what_heading1{
  font-size: 38px;
  color: #1E97C6;
}
.whatwedo .what_heading2{
  font-size: 20px;
  text-align: justify !important;

}
@media (max-width: 992px) { /* Tab view adjustments */
  .whatwedo .col-md-6 {
      margin-bottom: 20px;
  }
}

/************************************************ how we do  **************************************************/
.howdo{
  background: linear-gradient(to right, #E7F8FF, #C8E1FF)
}
.howdo h3{
 color: #22356F;
 font-size: 32px;
}

.howdo p{
  font-size: 20px;
}
.custom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 15px;
  text-align: left;
}

.custom-image {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
}

.custom-text {
  margin-top: 15px;
}

.custom-text h3 {
  margin: 0;
}

.custom-text p {
  margin-top: 15px;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .custom-row {
      flex-direction: column;
  }

  .custom-text {
      text-align: center;
  }
}
@media (max-width: 992px) { /* Tab view adjustments */
  .howdo .col-md-6 {
      width: 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 20px;
      text-align: center !important;
  }
}

/*************************************************************** focus on safety  ***********************************/
.custom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.focus h3{
  color: #22356F;
  font-size: 32px;
 }
 .focus p{
  font-size: 20px;
}
.home1 {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
}
.custom-text {
  text-align: center;
  margin-top: 15px;
}
.custom-text h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
}
.custom-text p {
  margin-top: 15px;
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
}
@media (max-width: 767.98px) {
  .custom-row {
      flex-direction: column;
      text-align: center;
  }
}
@media (max-width: 992px) { /* Tab view adjustments */
  .focus .col-md-4,
  .focus .col-md-8 {
      width: 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  .focus .col-md-4 {
      margin-bottom: 20px;
       /* Space between text and image */
  }
  .custom-text h3{
    text-align: center !important;
  }
  .focus .custom-text, 
  .focus .custom-image {
      text-align: center; /* Center-align text and image */
  }
}

/* <!--*********************************** expert solutions  *******************************************--> */

.expert{
  background: linear-gradient(to right, #E7F8FF, #C8E1FF)
}

.expert h3{
  color: #22356F;
  font-size: 32px;
 }
.custom-section {
  padding: 15px;
  text-align: center;
}
.custom-text-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}
.custom-text-row h3 {
  margin: 0 15px 0 0;
  font-size: 1.5rem;
  font-weight: bold;
}
.custom-text-row p {
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
}
.custom-images-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}
.custom-images-row img {
  margin: 5px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 992px) { /* Tab view adjustments */
  .expert .custom-text-row,
  .expert .custom-images-row {
      flex-direction: row;
  }

  .expert .custom-text-row .col-md-4,
  .expert .custom-text-row .col-md-8,
  .expert .custom-images-row .col-md-4 {
      width: 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 20px; /* Space between rows */
  }
  .custom-text-row h3 {
    text-align: center !important;
}
}

/* <!--************************************ certificate  ******************************************--> */

.certificate{
  background-image: url(../images/index/homebg.png);
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
}
.certificate img {
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.5);
}

.certificate h4{
  font-family: "Lexend";
  font-style: "SemiBold";
  font-size: 32px;
  color: #22356F;
}
.certificate p{
  font-family: "Lexend";
  font-style: "Regular";
  font-size: 32px;
  color: #1E1E1E;
}
.certificate h4, .certificate p {
  text-align: center;
}


/************************************************ Modal Styling **************************************/
.modal-dialog {
  max-width: 90%; /* Default to 90% width for smaller screens */
  margin: 1.75rem auto; /* Center the modal horizontally */
}

.modal-dialog.modal-lg {
  max-width: 30%; /* Larger width for larger screens */
}

.modal-content {
  border: none;
  border-radius: 0;
}

.modal-body {
  padding: 0;
  overflow: hidden; /* Ensure no scroll bars */
}

#modalImage {
  width: 100%; /* Adjust width to 100% of the modal for better responsiveness */
  height: auto;
  object-fit: contain;
}

/* Media Queries */
@media (min-width: 576px) { /* Small devices (tablets) */
  .modal-dialog {
    max-width: 80%;
  }
}

@media (min-width: 768px) { /* Medium devices (tablets in landscape, small desktops) */
  .modal-dialog {
    max-width: 70%;
  }
}

@media (min-width: 992px) { /* Large devices (desktops) */
  .modal-dialog {
    max-width: 60%;
  }
}

@media (min-width: 1200px) { /* Extra large devices (large desktops) */
  .modal-dialog {
    max-width: 50%;
  }
}

/* Default styles for image margin */
.col-md-3 img {
  margin-bottom: 15px; /* Adds space between images */
}

/* Responsive adjustment for mobile view */
@media (max-width: 576px) {
  .col-md-3 img {
    margin-bottom: 15px; /* Adds space between images on mobile view */
  }
}




/* <!--******************************************* footer  ****************************************--> */


.footer-distributed {
  background-color: #F3F3F3;
  align-items: center;


}

.footer-distributed  .footer-center-text p{
  font-size: 18px;
}
.footer-distributed  .footer-center-text img{
  width: 30px;

}


.footer-logo {
  max-width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px; /* Space between social icons */
}

.footer-social-icon {
  width: 24px; /* Adjust size of social icons */
  height: auto;
}

.footer-company-name {
  font-size: 14px;
  color: #777; /* Lighter grey text color */
}

.footer-item {
  display: flex;
  align-items: center;
}

.footer-icon {
  width: 24px; /* Adjust size of icons */
  height: auto;
}

.footer-text {
  margin: 0;
}


.footer-company-about {
  text-align: center;
  border-radius: 8px;
}

.footermap {
  max-width: 100%;
  height: auto;
}

.footer-designed {
  font-size: 14px;
}

.fistologo {
  width: 50px; /* Adjust size of logo */
  height: auto;
  margin-left: 5px;
}

@media screen and  (max-width: 767px) {
  .footer-center-item {
     align-items: center !important; 
  }
  .footer-item ,.footer-text {
    align-items: left !important; 
  }
}

.footer-icons {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Center text inside the flex container */
}



/*=========================== Back to Top Button Styling ==========================*/

/* Back to Top Button */
#backToTop {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100; /* Make sure it is on top of other elements */
  cursor: pointer;
  border-radius: 50%;
  padding: 15px; /* Adjust padding for better spacing */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
  animation: smooth-move 3s ease-in-out infinite; /* Smooth up and down animation */
}

/* Styling for the Font Awesome arrow icon */
#backToTop i {
  font-size: 50px;
  color: #1E97C6; /* Arrow color */
  height: auto;
}

/* Show button when scrolled down */
body.scrolled #backToTop {
  display: block;
}

/* Smooth up and down animation keyframes */
@keyframes smooth-move {
  0%, 100% {
    transform: translateY(0); /* Starting and ending position */
  }
  50% {
    transform: translateY(-10px); /* Move up smoothly */
  }
}

/* .footer-company-about  iframe {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  border: 2px solid gray;
  border-radius: 8px;
  width: 100%;
  height: auto;
} */

