/* Navbar styles */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 25px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  background-color: var(--white);
  z-index: 1000;
  transition: all 0.3s ease;
  z-index: 1000;
  position: fixed;
  width: 100%;
}

.navbar-container {
  display: flex;
  width: 100%;
  max-width: var(--min-width);
  justify-content: space-between;
  align-items: center;
}

.navbar-container img {
  max-width: 240px;
}

.brand_logo {
  width: auto;
  height: 100%;
}

@media (max-width: 500px) {
  .navbar-container img {
    max-width: 160px;
  }
}

/* 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);
}

@media (max-width: 500px) {
  .hamburger span {
    width: 15px;
    height: 2px;
  }
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: start;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}



.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(--normal-font-size);
  color: var(--black);
  line-height: 33px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 500px) {
  .nav-menu {
    top: 74px !important;
  }

}

/* Underline on hover */
.underline {
  display: block;
  height: 3px;
  background-color: var(--primary-color);
  width: 0%;
  transition: width 0.3s ease;
}

.nav-item:hover .underline {
  width: 100%;
}

.active_nav .underline {
  width: 100%;
}

/* CTA Buttons */
.cta-buttons a {
  display: flex;
  align-items: center;
  gap: 13px;
}

.btn {
  padding: 10px 22px;
  border-radius: 40px;
  line-height: 25px;
  text-decoration: none;
  text-align: center;
  max-width: max-content;
}

.book_now_btn {
  color: var(--white);
  display: inline-block;
  position: relative;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.50);
  background: var(--primary-color);
  box-shadow: 0 100px 80px 0 rgba(0, 0, 0, 0.04), 0 41.778px 33.422px 0 rgba(0, 0, 0, 0.03),
    0 22.336px 17.869px 0 rgba(0, 0, 0, 0.02), 0 12.522px 10.017px 0 rgba(0, 0, 0, 0.02),
    0 6.65px 5.32px 0 rgba(0, 0, 0, 0.02), 0 2.767px 2.214px 0 rgba(0, 0, 0, 0.01);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  overflow: hidden;
  transition: all .4s ease;
}

.book_now_btn:hover {
  color: var(--primary-color);
  background-color: transparent;
  /* display: inline; */
  position: relative;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.book_now_btn p {
  transition: opacity .3s ease;
  font-weight: 600;
}

.book_now_icon {
  display: flex;
  max-width: 32px;
  max-height: 32px;
  padding: 7px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--white);
  transition: transform .4s ease;
}

.book_now_btn:hover .book_now_btn p {
  opacity: 0;
}

.book_now_btn:hover .book_now_icon {
  transform: translateX(90px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-primary p {
  color: var(--white);
  font-weight: 600;
  padding: 0;
  margin: 0;
}

.btn-primary:hover {
  background-color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover p {
  color: var(--primary-color);
}


.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  min-width: 164px;
}

.btn-secondary p {
  color: var(--primary-color);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover p {
  color: var(--white);
}


.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::before {
  opacity: 1;
}

@media (max-width: 500px) {

  .btn-secondary {
    min-width: 140px;
  }

  .btn {
    padding: 8px 12px;
  }

  .btn-secondary p {
    font-size: 14px;
  }

}

.solutions-submenu {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  position: absolute;
  top: 87px;
  width: max-content;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  max-width: 220px;
}

.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: 0px;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1);
  top: 65px;
  overflow: hidden;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.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;
  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-item {
  display: flex;
  width: 100%;
  padding: 4px 22px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  justify-content: center;
  border-bottom: 1px solid #d4d4d4;
  /* transition: all 0.3s ease; */
}

.dropdown-item:hover {
  background: #e7e7e7;
}

.dropdown_active {
  border-left: 6px solid var(--primary-color);
  background: #e7e7e7;
  padding-left: 16px;
  padding-right: 16px;
}

.dropdown_active .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;
    justify-content: start;
  }

  .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: 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;
  }

  .home-first-section .desktop-cta {
    display: unset;
  }

  .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%;
  }
}

/* footer css */
footer {
  padding: 54px 52px;
  border-top: 1px solid #8681FF;
  background: #F5F5FF;

}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  max-width: var(--min-width);
  gap: 20px;
}

footer .brand_info img {
  margin-bottom: 30px;
}

footer .brand_info_points ul {
  margin-left: 18px;
}

footer .brand_info_points h6 {
  color: var(--black);
  font-family: var(--normal-font-family);
  font-size: var(--normal-font-size);
  font-weight: 600;
  line-height: 137%;
}

footer .brand_info_points li {
  color: var(--black);
  font-family: var(--normal-font-family);
  font-size: var(--normal-font-size);
  font-weight: 400;
  line-height: 137%;
}

.footer_column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.footer-column,
.column-title {
  color: var(--primary-color);
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 108%;
  text-transform: capitalize;
}

.footer-links {
  display: flex;
  flex-direction: column;
  color: var(--black);
  font-weight: 500;
  font-size: var(--normal-font-size);
  line-height: 26px;
  font-family: var(--normal-font-family);
  text-transform: capitalize;
  gap: 16px;
}


.social_link .footer-links {
  text-decoration: unset;
}


.footer-links a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: start;
}

.footer-links a:hover {
  text-decoration: underline;

  text-underline-position: under;
  color: var(--primary-color);
}

.footer_column_part {
  display: flex;
  gap: 44px;
}

.social_link .footer-links a {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5px;
}

.app_bottom {
  border-top: 1px solid #6C6C6C;
  border-bottom: 1px solid #8681FF;
  padding: 14px;
  background-color: #F5F5FF;
}

.app_bottom p {
  text-align: center;
  color: #000;
  font-family: var(--normal-font-family);
  font-size: var(--normal-font-size);
  font-weight: 500;
  line-height: 137%;
}

@media (max-width: 1024px) {
  footer .container {
    flex-direction: column;
  }

  .brand_info {
    display: flex;
    width: 100%;
    gap: 40px;
    justify-content: space-between;
  }

  .brand_info {
    display: flex;
    width: 100%;
    gap: 40px;
    justify-content: space-between;
  }

  .footer_column_part {
    gap: 20px;
  }

}

@media (max-width: 768px) {
  footer {
    padding: 40px 20px 20px 20px;
  }

  .brand_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  footer .brand_info img {
    max-width: 140px;
    margin: auto;
  }

  .footer_column_part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer_column_part>div:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  footer .brand_info_points li {
    font-size: 14px;
  }

  .footer_column {
    gap: 10px;
  }

  .footer-links {
    gap: 5px;
  }

  .app_bottom p {
    font-size: 14px;
  }

  .app_bottom {
    padding: 10px 7px;
  }

  .footer-links a {
    font-size: 14px;
  }

}