/* Navbar styles */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 21px 25px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  background-color: var(--white);
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
  z-index: 1000;
  position: fixed;
  width: 100%;
}

.navbar-container {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand_logo {
  width: auto;
  height: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: start;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  position: relative;
}

.nav-link {
  font-family: var(--normal-font-family);
  font-weight: 500;
  font-size: var(--large-font-size);
  color: #484848;
  line-height: 33px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Underline on hover */
.underline {
  text-decoration-line: underline;
  width: 100%;
  height: 3px;
  background-color: rgba(24, 176, 210, 0);
  transition: background-color 0.3s ease;
}

.nav-item:hover .underline {
  background-color: var(--primary-color);
}

.active_nav .underline {
  background-color: var(--primary-color);
}


/* CTA Buttons */
.cta-buttons {
  display: flex;
  align-items: center;
  gap: 13px;
}

.btn {
  padding: 10px 22px;
  border-radius: 40px;
  line-height: 25px;
  text-decoration: none;
  text-align: center;
}

.btn-outline {
  color: var(--primary-color);
  background-color: var(--white);
  display: inline-block;
  position: relative;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  padding: 1.5px;
  background: linear-gradient(91deg, #6367ff 23.65%, #0f9dfc 75.34%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-outline:hover {
  color: var(--white);
  background-color: transparent;
  display: inline-block;
  position: relative;
  background: linear-gradient(95deg, #6367ff 6.47%, #0f9dfc 100.17%);
}

.btn-primary {
  background: linear-gradient(95deg, #6367ff 6.47%, #0f9dfc 100.17%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(91deg, #6367ff 23.65%, #0f9dfc 75.34%);
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 40px;
}

.btn_book_erp {
  border: 1px solid var(--black);
  display: flex;
  padding: 10px 22px;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  color: var(--black);
}

.btn_book_erp:hover {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background: #fff;
  color: #6367ff;
}

.btn-primary:hover::before {
  opacity: 1;
}

.solutions-submenu {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  position: absolute;
  top: 87px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.dropdown.open+.solutions-submenu {
  display: block;
}

.nav-item.dropdown:hover+.solutions-submenu,
.nav-item.dropdown.active+.solutions-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-item.dropdown:hover .dropdown-icon-wrapper img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.dropdown-icon-wrapper img {
  transition: transform 0.3s ease;
}

.submenu-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.submenu-item {
  text-align: center;
}

.submenu-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.submenu-item p {
  font-size: 14px;
  color: #555;
}

.institutional-services {
  background-color: rgba(247, 247, 247, 1);
  display: flex;
  padding: 40px 70px;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services-container {
  display: flex;
  align-items: start;
  gap: 40px 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--max-width);
}

.services-intro {
  min-width: 240px;
  width: 288px;
}

.services-title {
  color: var(--primary-color);
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-weight: 600;
  line-height: 29px;
  margin: 0;
  letter-spacing: 0.7px;
}

.services-description {
  color: #484848;
  font-family: var(--normal-font-family);
  font-size: var(--normal-font-size);
  font-weight: 400;
  margin-top: 14px;
  margin-bottom: 0;
}

.services-dropdown-list {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  align-items: stretch;
  font-family: var(--normal-font-family);
  font-size: var(--large-font-size);
  color: #111110;
  font-weight: var(--light-font-weight);
  line-height: 33px;
  justify-content: center;
  width: 437px;
}

.inside-menu {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  z-index: 999;
}

.dropdown-container {
  width: 100%;
  max-width: 437px;
}

.dropdown-item {
  display: flex;
  width: 100%;
  padding: 4px 22px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  justify-content: start;
  border-bottom: 1px solid #d4d4d4;
  /* transition: all 0.3s ease; */
}

.dropdown-item:hover {
  border-left: 6px solid var(--primary-color);
  background: #e7e7e7;
  padding-left: 16px;
  padding-right: 16px;
}

.dropdown_active {
  border-left: 6px solid var(--primary-color);
  background: #e7e7e7;
  padding-left: 16px;
  padding-right: 16px;
}

.dropdown-content {
  align-self: stretch;
  display: flex;
  min-width: 397px;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  align-items: center;
  gap: 40px 100px;
  justify-content: space-between;
}

.dropdown_active .dropdown-content {
  min-width: 400px;
}

.dropdown-item:hover .dropdown-content {
  min-width: 400px;
}

.dropdown-text {
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
  font-family: var(--normal-font-family);
  font-size: var(--normal-font-size);
  font-weight: 400;
  color: var(--black);
}

.dropdown-icon {
  width: auto;
}

/* CTA section */
.cta-container {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  width: 287px;
}

.cta-title {
  color: var(--primary-color);
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.cta-image {
  margin-top: 14px;
  width: 100%;
}

.cta-button {
  width: 100%;
  border: none;
  border-radius: 40px;
  background: linear-gradient(95deg, #6367ff 6.47%, #0f9dfc 100.17%);
  margin-top: 14px;
  padding: 10px 22px;
  gap: 5px;
  overflow: hidden;
  font-family: var(--normal-font-family);
  font-size: var(--normal-font-size);
  color: rgba(248, 248, 248, 1);
  font-weight: 700;
  cursor: pointer;
}

/* Media queries for responsive design */
@media (max-width: 1321px) {
  .institutional-services {
    padding-left: 20px;
    padding-right: 20px;
    transition: all 0.3s ease;
  }

  .services-container {
    max-width: 100%;
    transition: all 0.3s ease;
  }

  .dropdown-container {
    max-width: 100%;
    transition: all 0.3s ease;
  }

  .dropdown-item {
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    transition: all 0.3s ease;
  }

  .services-dropdown-list {
    max-width: 100%;
    transition: all 0.3s ease;
  }

  .cta-button {
    padding-left: 20px;
    padding-right: 20px;
    transition: all 0.3s ease;
  }

  .dropdown-content {
    gap: 50px;
    transition: all 0.3s ease;
  }

  .solutions-submenu {
    display: none;
    transition: all 0.3s ease;
  }

  .inside-menu {
    display: block;
    transition: all 0.3s ease;
  }

  .services-intro {
    display: none;
    transition: all 0.3s ease;
  }

  .cta-container {
    display: none;
    transition: all 0.3s ease;
  }

  .institutional-services {
    padding: 0px 0px;
    transition: all 0.3s ease;
  }

  .dropdown:hover .inside-menu {
    display: block;
    position: relative;
    z-index: 10;
    background-color: #fff;
    width: 100%;
    transition: all 0.3s ease;
  }

  .inside-menu {
    display: none;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    transition: all 0.3s ease;
  }

  .nav-item {
    position: relative;
    width: 100%;
    text-align: left;
    align-items: start;
    transition: all 0.3s ease;
  }

  .dropdown-toggle {
    display: flex;
    align-items: start;
    gap: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
  }

  .dropdown-icon {
    display: none;
    transition: all 0.3s ease;
  }
}

@media (max-width: 1321px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: start;
    background: #fff;
    padding: 20px 40px;
    position: fixed;
    top: 81px;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .desktop-cta {
    display: none;
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .cta-buttons {
    align-items: start;
  }

  /* .btn-primary {
      width: 100%;
    } */
}

@media (min-width: 1322px) {
  .mobile-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .cta-buttons {
    gap: 10px;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* app footer start */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  background: linear-gradient(98deg, #2e2e2e 0.77%, #111110 44.5%);
  color: var(--white);
  font-family: var(--normal-font-family);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-bottom: 53px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.column-title {
  color: #109cfb;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.title-underline {
  text-decoration-line: underline;
  width: 90px;
  height: 2px;
  background: linear-gradient(270deg, #6367ff 6.33%, #0f9dfc 61.08%);
}

.footer-links {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-weight: var(--light-font-weight);
  font-size: var(--normal-font-size);
  line-height: 26px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #109cfb;
}

.social-icons {
  display: flex;
  flex-direction: row;
}

.social-icon {
  width: 23px;
  height: 23px;
  margin-right: 23px;
}

.contact-info {
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.contact-details {
  color: var(--white);
  font-weight: var(--light-font-weight);
  font-size: var(--normal-font-size);
  line-height: 26px;
  display: flex;
  flex-direction: column;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  align-items: flex-end;
}

.company_desk {
  width: auto;
}

.logo-image {
  width: auto;
  height: 100%;
}

.company-description {
  width: 416px;
  color: var(--white);
  font-weight: 400;
  font-size: var(--normal-font-size);
  line-height: 26px;
  margin: 0;
  margin-top: 20px;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 400;
  font-size: 20px;
}

.copyright-icon {
  width: 23px;
  height: 22px;
}

/* Media Queries */
@media (max-width: 991px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
  }

  .footer-column:nth-child(1) {
    order: 1;
  }

  .footer-column:nth-child(2) {
    order: 2;
  }

  .footer-column:nth-child(3) {
    order: 4;
  }

  .footer-column:nth-child(4) {
    order: 3;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }

  .company-description {
    text-align: start;
    width: 100%;
  }

  .copyright {
    justify-content: center;
    width: 100%;
  }

}


@media (max-width: 500px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo-image {
    width: 130px;
    height: 100%;
  }

  .company-description {
    text-align: start;
    width: 100%;
    line-height: 160%;
    margin-top: 16px;
  }

  .copyright {
    font-size: 16px;
  }

  .contact-item img {
    height: auto;
    max-width: 24px;
    ;
  }

  .btn {
    padding: 10px 12px;
    font-size: 12px;
    line-height: normal;
  }
}



#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  font-size: 20px;
  border: none;
  background: var(--white);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  width: 65px;
  height: 65px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



.fab-container {
  position: fixed;
  bottom: 130px;
  right: 40px;
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fab-main {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: none;
  background-color: #007bff;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.fab-btn {
  width: 65px;
  height: 65px;
  margin-top: 20px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid #D4D4D4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.fab-btn.show {
  opacity: 1;
  transform: translateY(-10px);
  pointer-events: auto;
}

.fab-btn:hover {
  border: 1px solid var(--primary-color);
}

/* Chat Card Styling */
#chatCard {
  position: fixed;
  bottom: 130px;
  right: 120px;
  width: 429px;
  height: 537px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 102;
  overflow: hidden;

}

#chatCard .botacrd_header {
  display: flex;
  width: auto;
  padding: 16px 26px 15px 27px;
  justify-content: start;
  align-items: center;
  background: #3489FD;
}

#chatCard .botacrd_header h4 {
  color: #FFF;
  font-family: "Rethink Sans";
  font-size: 20px;
  font-weight: 600;
}



#chatCard.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#chatCard .close-btn {
  background: none;
  border: none;
  font-size: 20px;
  position: absolute;
  top: 12px;
  right: 22px;
  cursor: pointer;
}

#chatCard .botcard_msg {
  position: absolute;
  bottom: 0;
  display: flex;
  width: 100%;
  height: auto;
  padding: 19px 31px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #D4D4D4;
  background: #FFF;
}

#chatCard .botcard_msg input {
  height: 100%;
  width: 320px;
  color: var(--gray);
  font-family: var(--normal-font-family);
  font-size: 18px;
  font-weight: 400;
  border: 0;
}
#chatCard .bot_msg_container{
  height: 346px;
  width: auto;
  padding: 23px 25px 11px 17px;
}