* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-background: #faf3dd;
  --primary-text: #00548a;

  --primary-font-family: "Poppins", sans-serif;
  --secondary-font-family: "Metrophobic", sans-serif;

  --title-font-size: 48px;
  --subtitle-font-size: 32px;
  --header-font-size: 24px;
  --body-font-size: 16px;

  --font-weight-bold: 700;
  --font-weight-regular: 400;
}

/* navbar css */

.navbar-brand .brand_logo {
  width: 80px;
  height: 60px;
}

.hide_brand {
  display: none;
}

.hide_stay_tuned {
  display: none;
}

.navbar_css {
  background-color: var(--primary-background);
  justify-content: space-around;
  border-radius: 50px;
}

.nav-item .nav-link {
  font-family: var(--secondary-font-family);
  font-weight: var(--font-weight-bold);
}

.nav-item {
  width: 100px;
}

.slider_container {
  margin-top: 80px !important;
}

.slide_item {
  color: black;
}

.slide_item h1 {
  font-family: var(--primary-font-family);
}

.slide_item p {
  font-family: var(--secondary-font-family);
}

.slide_detail img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.navbar_item_css {
  background-color: var(--primary-background);
  justify-content: space-around;
  border-radius: 38px;
  padding: 4px;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -8.6px;
  left: 50%;
  width: 0;
  height: 4px;
  background-color: #ffa500;
  transition: width 0.4s ease, left 0.4s ease;
}

.nav-item:hover::after {
  width: 100%;
  left: 0;
}

.nav-item {
  position: relative;
  height: 70px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 760px) {
  .get_in_touch {
    display: none;
  }

  .navbar_css {
    border-radius: 0px;
    position: fixed;
    top: 0;
  }

  .nav_css {
    background-color: var(--primary-background);
  }

  .navbar-collapse {
    margin-top: 20px;
  }

  .navbar_item_css {
    border-radius: 0px;
  }

  .service_menu {
    width: 70%;
    transform: translate3d(68px, 45.5px, 0px) !important;
  }

  .services_button {
    width: 150px;
  }

  .header_containt {
    margin-top: 100px;
  }

  /* contact css */
  .feedback_form {
    margin-top: 50px !important;
  }

  /* footer css */
  .footer_section {
    text-align: center !important;
  }
}

button {
  background-color: var(--primary-background) !important;
  color: black !important;
  border: none !important;
}

.get_in_touch .btn {
  background: orange !important;
  color: white !important;
}

.button .join-btn {
  background: orange !important;
  color: white !important;
}

.nav_nav {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* scrool changes */

.fixed-top {
  position: fixed;
  top: 0;
}

/* slider css */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
    /* Start from 30px below */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    /* End at the original position */
  }
}

.slide_item h1 {
  animation: fadeInUp 1s ease-in-out 0s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.slide_item p {
  animation: fadeInUp 1s ease-in-out 0.2s;
  /* 0.2s delay for p */
  opacity: 0;
  animation-fill-mode: forwards;
}

.slide_item button {
  animation: fadeInUp 1s ease-in-out 0.4s;
  /* 0.4s delay for button */
  opacity: 0;
  animation-fill-mode: forwards;
}

.slide_detail {
  animation: fadeInUp 1s;
  /* Adds a 0.5s delay before starting */
  opacity: 0;
  animation-fill-mode: forwards;
}

.slider_contents div {
  display: none;
}

/* title portion */

.section_title {
  position: relative;
  font-family: var(--primary-font-family);
  font-weight: var(--font-weight-bold);
}

.section_title h1 {
  display: inline-block;
}

.title_border {
  display: flex;
  justify-content: center;
}

.title_border::before {
  content: "";
  width: 300px;

  height: 3px;

  background-color: var(--primary-background);

  border-radius: 50px;
}

.carousel_slider img {
  width: 350px;
  height: 150px;
  object-fit: cover;
}

.carousel_slider {
  overflow-x: hidden;
}

.cycle-tab-container a {
  color: #173649;
  font-size: var(--body-font-size);
  font-family: var(--primary-font-family);
  text-align: center;
}

.tab-pane {
  margin: 30px auto;
  max-width: 100%;
}

.fade:not(.show) {
  opacity: 1 !important;
}

.cycle-tab-item {
  width: 180px;
}

.cycle-tab-item:after {
  display: block;
  content: "";
  border-bottom: solid 3px orange;
  transform: scaleX(0);
  transition: transform 300ms ease-out;
}

.cycle-tab-item.active:after {
  transform: scaleX(1);
  transform-origin: 0% 50%;
  transition: transform 300ms ease-in-out;
}

.nav-link:focus,
.nav-link:hover,
.cycle-tab-item.active a {
  border-color: transparent !important;
  color: orange !important;
}

.cycle-tab-item.active a {
  height: 65.5px;
  color: orange !important;
}

.service_image a img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.services {
  margin-bottom: 50px;
}

.service_details {
  width: 100%;
  height: 400px;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.service_details h2 {
  text-align: center;
  font-family: var(--primary-font-family);
}

.service_details *:not(h2) {
  font-family: var(--secondary-font-family);
}

.service_details::-webkit-scrollbar {
  display: none;
  /* Hide the scrollbar */
}

.contact_map {
  padding: 8px;
}

.feedback_form h2 {
  padding-left: 16px;
  border-left: 3px solid var(--primary-background);
}

.submit_btn button {
  font-size: 18px;
  font-family: var(--secondary-font-family);
}

.nav-link {
  transition: background-color 0.3s;
}

.card {
  height: 550px !important;
}

.card img {
  height: 260px;
  object-fit: cover;
}

.footer_section {
  background-color: #faf3dd;
  /* Dark Background */
  color: #000000;
  padding: 60px 0;
}

.footer_section h5 {
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer_section p {
  font-size: 14px;
  color: #d4d4d4;
}

.contact_list li {
  font-size: 14px;
  margin-bottom: 10px;
}

.contact_list li i {
  color: #007bff;
}

.footer_section a {
  color: #007bff;
  text-decoration: none;
}

.footer_section a:hover {
  text-decoration: underline;
}

.footer_section .fab {
  font-size: 20px;
}

.footer_section .fab:hover {
  color: #007bff;
}

.footer_section .text-white {
  color: #fff;
}

.footer_section .facebook_embad {
  text-align: center;
}

.footer_section p {
  margin-bottom: 0;
  font-size: 14px;
  color: #999;
}

.footer_section .container {
  max-width: 1200px;
}

.footer_section .row > div {
  margin-bottom: 30px;
}

.about-us {
  background-color: #f5f5f5;
}

.about_us_content {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about_us_content img {
  height: 450px;
  border-top-right-radius: 36px;
  border-bottom-left-radius: 36px;
  object-fit: cover;
}

.about_us_readmore {
  text-decoration: none;
}

.about_company p {
  height: 150px;
  overflow: hidden;
}

.join_company {
  border-top-right-radius: 36px;
  border-bottom-left-radius: 36px;
  background: var(--primary-background);
  font-family: var(--primary-font-family);
}

.join_company {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.join_company h2 {
  margin-bottom: 20px;
  /* Add space between heading and button */
}

.join_company .btn {
  color: whitesmoke !important;
  background-color: orange !important;
  width: 150px;
  padding: 10px 20px;
  font-size: 16px;
}

.staff_grid .card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.staff_grid .card:hover {
  transform: translateY(-10px);
}

.staff_grid .card-img-top {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 0 auto;
  margin-top: 15px;
}

.staff_grid .card-title {
  font-size: 20px;
  margin-top: 10px;
  color: #007bff;
}

.staff_grid .card-text {
  font-size: 16px;
  color: #666;
}

.social-media-1:hover {
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .company_description p {
    font-size: 16px;
  }
}

/* Pop-up modal styling */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
}

.popup-content {
  background-color: white;
  margin: 120px auto;
  /* padding: 20px; */
  border: 1px solid #888;
  width: 100%;
  max-width: 1100px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-image {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -42px;
  z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Style for the back-to-top button */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99; /* Stay on top */
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%; /* Make it a circle */
  opacity: 1;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#backToTopBtn:hover {
  background-color: #333; /* Darker background on hover */
}

/* Styling for the up arrow */
.uparrow {
  font-size: 18px; /* Adjust the font size if needed */
  display: inline-block;
  line-height: 1;
}

.join_company {
  text-align: center;
  margin-top: 100px;
}

.join-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.join-btn:hover {
  background-color: #0056b3;
}

/* Popup Styles */

.interest-form {
  display: flex;
  flex-direction: column;
}

.interest-form label {
  text-align: left;
  margin-top: 10px;
}

.interest-form input,
.interest-form textarea {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.interest-form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.interest-form button:hover {
  background-color: #0056b3;
}

.career_popup_content {
  /* width: 85% !important; */
  border-radius: 24px;
  width: 630px !important;
  height: 630px;
  padding: 50px !important;
  background-color: whitesmoke;
  position: fixed;
  display: none;
  z-index: 101;
  top: 100px;
  left: 30%;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.75);
  /* top: -600px; */
}

.career_pop_close {
  position: relative;
  margin-left: 100% !important;
  margin-top: -50px !important;
}

.careers {
  position: relative !important;
}

.product-btn {
  color: whitesmoke !important;
  background-color: orange !important;
  width: 150px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 10px;
}

/* Chatbot container */
#chatbotContainer {
  position: fixed;
  bottom: 170px; /* Positioned above the chatbot button */
  right: 20px;
  width: 300px;
  max-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  background-color: #fff;
  transition: all 0.3s ease; /* Smooth transition */
  z-index: 1000;
}

/* Expanded chat box */
#chatbotContainer.expanded {
  width: 400px; /* Larger width */
  max-height: 600px; /* Larger height */
}

/* Chat header */
#chatHeader {
  background-color: #faf3dd;
  color: #000000;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}

/* Chat body */
#chatBody {
  flex: 1;
  padding: 20px; /* Increased padding for more space */
  overflow-y: auto;
  max-height: 500px;
  font-size: 16px; /* Larger font size for messages */
}

/* Message input */
#messageInput {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 10px;
}

#messageInput input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#messageInput button {
  margin-left: 5px;
  padding: 5px 10px;
  background-color: #007bff;
  border: none;
  color: #fff;
  border-radius: 5px;
}

/* Toggle button */
#chatToggleBtn {
  position: fixed;
  bottom: 100px;
  right: 35px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 24px;
  z-index: 30; /* Ensures it stays above other elements */
}

/* Chat bubbles */
.chat-bubble {
  margin-bottom: 10px;
  padding: 12px 15px;

  border-radius: 15px;
  max-width: 80%;
}

.user-message {
  background-color: orange;
  color: #fff;
  align-self: flex-end;
  text-align: right;
}

.bot-message {
  background-color: #f1f1f1;
  color: #333;
  align-self: flex-start;
  text-align: left;
}

/* Pop-up modal styling */
.popupp {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
}

.popupp-content {
  background-color: #faf3dd;
  margin: 120px auto;
  /* padding: 20px; */
  border: 1px solid #888;
  height: 70vh;
  width: 100%;
  max-width: 1100px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popupp-image {
  width: 100%;
  height: 70vh;
  max-width: 50%;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -42px;
  z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Define the fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initially hide the cards */
.card {
  opacity: 0;
  transform: translateY(20px); /* Optional offset */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Style for cards when they are in view */
.in-view {
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.5s ease-in forwards;
}

.no-underline {
  text-decoration: none;
}
