/* header styles start */

header {
  padding: 0 !important;
}

.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
  width: 35px;
  height: 25px;
  position: relative;
  cursor: pointer;
}

/* Hide default bootstrap icon */
.navbar-toggler .navbar-toggler-icon {
  display: block;
}

/* Create 3 lines */
.navbar-toggler span,
.navbar-toggler::before,
.navbar-toggler::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000; /* Change this color if needed */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Top line */
.navbar-toggler::before {
  top: 0;
}

/* Middle line */
.navbar-toggler span {
  top: 11px;
}

/* Bottom line */
.navbar-toggler::after {
  bottom: 0;
}

/* When expanded (X animation) */
.navbar-toggler[aria-expanded="true"]::before {
  transform: rotate(45deg);
  top: 11px;
}

.navbar-toggler[aria-expanded="true"]::after {
  transform: rotate(-45deg);
  bottom: 11px;
}

.navbar-toggler[aria-expanded="true"] span {
  opacity: 0;
}

/* Optional hover color */
.navbar-toggler:hover::before,
.navbar-toggler:hover::after,
.navbar-toggler:hover span {
  background-color: #919191; /* optional */
}

.apcer-logo {
  height: auto !important;
  padding: 0 !important;
}

nav.navbar.navbar-expand-lg.home {
  margin-bottom: 0;
}
.apcer-logo img {
  width: 11rem;
}

.apcer-logo {
  margin-right: auto !important;
  width: 100%;
  height: 5rem;
}

img.search-icon {
  width: 8rem;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 100%; */
}

.apcer-menu a.nav-link {
  font-size: 1.2rem !important;
  color: #58595b;
  text-decoration: none;
}

.apcer-menu a.nav-link.active,
.apcer-menu a.nav-link:hover {
  color: #1f6a8f;
  text-decoration: none;
}

.apcer-header .navbar {
  margin: 0;
}

.apcer-menu .menu-list {
  display: flex;
  align-items: center;
  gap: 7rem;
  list-style: none;
}

.apcer-menu {
  display: flex;
  align-items: center !important;
  justify-content: space-between;
}

.apcer-mobile-menu .navbar-header {
  display: flex;
}

.navbar-toggler {
  display: none;
}

li.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.level-one-item a.nav-link {
  font-size: 1rem !important;
  color: #58595b;
}

.nav-item-about {
  cursor: pointer;
}

.nav-item:hover > a {
  color: #1f6a8f;
  font-weight: 500;
}

ul.level-one-menu {
  display: none;
}

.nav-item-about:hover ul.level-one-menu,
.nav-item-sectors:hover ul.level-one-menu,
.nav-item-capabilities:hover ul.level-one-menu {
  display: block;
}

ul.level-two-menu {
  display: none;
}

.nav-item-pharma:hover ul.level-two-menu,
.nav-item-medical:hover ul.level-two-menu {
  display: block;
}

ul.level-one-menu {
  list-style: none;
  background: #ffffff;
  border: 1px solid #c2c2c2;
  border-bottom: 8px solid #ef5350;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  position: absolute;
  width: 12rem;
  top: 3rem;
  left: 0;
}

ul.level-two-menu {
  list-style: none;
  background: #ffffff;
  border: 1px solid #c2c2c2;
  border-bottom: 8px solid #ef5350;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  position: absolute;
  width: 12rem;
  top: -0.7rem;
  right: -12rem;
}

.nav-item-medical ul.level-two-menu {
  list-style: none;
  background: #ffffff;
  border: 1px solid #c2c2c2;
  border-bottom: 8px solid #ef5350;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  position: absolute;
  width: 12rem;
  top: -2.5rem;
  right: -12rem;
}

.level-one-item a.nav-link {
  font-size: 1rem;
}

li.level-one-item,
li.level-two-item {
  padding: 0.25rem 0;
}

.level-one-menu .nav-item a.nav-link {
  font-size: 1rem !important;
  font-weight: 400 !important;
}

.level-cap {
  padding: 0.5rem 0 !important;
}

li.nav-item-pharma,
li.nav-item-medical {
  padding: 0.5rem;
}

.level-cap li.level-one-item {
  padding: 0.25rem 1rem;
}

ul.level-one-menu.level-cap {
  width: 15rem;
}

.nav-item.nav-item-pharma,
.nav-item.nav-item-medical {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  position: relative;
  padding: 0.25rem 1rem;
  cursor: pointer;
}

.desktop-nav {
  display: block;
}

nav.navbar.visible-xs.visible-sm.apcer-mobile-menu {
  margin: 0;
  padding: 1rem 0;
}

.apcer-mobile-menu .navbar-nav li {
  padding: 0.5rem 0;
}

/* Hide 3rd level by default */
.navbar-nav .dropdown-menu .dropdown-menu {
  display: none;
}

/* Show when open */
.navbar-nav .dropdown-menu .dropdown.open > .dropdown-menu {
  display: block;
  padding-left: 15px; /* mobile indentation */
}

.apcer-mobile-menu {
  display: none;
}

.apcer-menu .menu-list {
    width: 80%;
    border: 0 !important;
    padding: 0 !important;
}

img.down-arrow, img.right-arrow {
  width: 1rem;
  height: 1rem;
}





/* header iPad styles start */

@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-toggler {
    display: block;
  }

  .apcer-menu ul.navbar-nav {
    align-items: start;
  }

  .desktop-nav {
    display: block;
  }

  .apcer-menu {
    display: flex;
    flex-direction: row;
    align-items: center !important;
    justify-content: space-between;
  }

  .apcer-menu .menu-list {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
    flex-direction: column;
    padding: 1.5rem;
  }

  .desktop-nav .ham-menu.navbar-collapse {
    display: flex !important;
  }

  .apcer-menu ul.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .apcer-mobile-menu {
    display: none;
  }

    .apcer-logo img {
    width: 10rem !important;
  }



}

/* header iPad styles end */

/* header mobile styles start */
@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }

  .apcer-mobile-menu {
    display: block;
  }

  .apcer-mobile-menu .nav .caret {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 8px;
    background-image: url("../images/down-arrow-blue.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.22s ease;
  }

  /* rotate caret when dropdown is open */
  .apcer-mobile-menu .nav li.open > a > .caret,
  .apcer-mobile-menu .nav li.dropdown.open > a > .caret {
    transform: rotate(180deg);
  }

  /* for dropdown items that themselves have a nested submenu, show a right-arrow indicator */
  .apcer-mobile-menu .navbar-collapse .nav li.dropdown > a {
    position: relative;
    padding-right: 36px; /* room for the right-arrow */
  }

  .apcer-mobile-menu .navbar-collapse .nav li.dropdown > a::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("../images/right-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.22s ease;
    opacity: 0.9;
  }

  /* when submenu is open, rotate right arrow to point down */
  .apcer-mobile-menu .navbar-collapse .nav li.dropdown.open > a::after {
    transform: translateY(-50%) rotate(90deg);
  }

  /* style nested dropdown menu for clarity */
  .apcer-mobile-menu .navbar-collapse .nav .dropdown-menu {
    padding-left: 0.75rem;
    background: transparent;
    border: 0;
  }

  /* make nested items indented and separated */
  .apcer-mobile-menu .navbar-collapse .nav .dropdown-menu li a {
    padding-left: 1.25rem;
    display: block;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  /* slightly darker caret for better contrast on white bg */
  .apcer-mobile-menu .nav .caret {
    filter: none;
  }

  .apcer-mobile-menu .navbar-toggle {
    width: 46px;
    height: 40px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    cursor: pointer;
  }

  .apcer-mobile-menu .navbar-toggle .icon-bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #242424; /* brand color */
    border-radius: 2px;
    transition:
      transform 0.28s ease,
      opacity 0.22s ease,
      background-color 0.22s ease;
    /* margin: 4px 0; */
    position: relative;
  }

  /* Support both bootstrap state patterns: collapsed class removal OR aria-expanded attribute */
  .apcer-mobile-menu .navbar-toggle:not(.collapsed) .icon-bar:nth-child(1),
  .apcer-mobile-menu
    .navbar-toggle[aria-expanded="true"]
    .icon-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .apcer-mobile-menu .navbar-toggle:not(.collapsed) .icon-bar:nth-child(2),
  .apcer-mobile-menu
    .navbar-toggle[aria-expanded="true"]
    .icon-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .apcer-mobile-menu .navbar-toggle:not(.collapsed) .icon-bar:nth-child(3),
  .apcer-mobile-menu
    .navbar-toggle[aria-expanded="true"]
    .icon-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* Slight hover effect */
  .apcer-mobile-menu .navbar-toggle:hover .icon-bar {
    /* background: #067aa0; */
  }

  .navbar {
    margin-bottom: 0;
  }

  .apcer-logo {
    align-self: center;
  }
    .apcer-logo img {
    width: 10rem;
  }

      header .logo img {
        width: 5rem;
        margin: 0 1rem;
        object-fit: contain;
    }
    header #menu-header .logo img {
        width: 5rem;
    }
        #menu-header .close-btn {
        top: -.6rem;
        right: 1rem;
    }
}

/* header mobile styles end */

/* header styles end */

/* footer styles start */

footer .footer-bg {
  background-image: url(../images/footer-bg-img.jpg);
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%;
  padding: 0 0 3rem 0;
  background-color: #080808;
}

footer h3 {
  font-size: 2.1rem;
  font-weight: 400;
  /* margin-top: 4rem; */
  text-align: center;
  font-family: Gotham-Book;
}

.foot-form input.form-control {
  border-color: transparent;
  border-radius: 0;
  box-shadow: unset;
  height: 2.85rem;
  width: 38%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

footer .foot-form input {
  display: inline-block;
  z-index: 1000;
  position: relative;
}

footer .foot-form input.btn-sub {
  background-color: #f43f27;
  padding: 0.8rem 1rem;
  border: none;
}

footer .foot-form form {
  display: inline-block;
  width: 100%;
}

footer .foot-form {
  position: relative;
}

footer .social {
  width: 20%;
  margin: auto;
  position: absolute;
  float: right;
  right: 19rem;
  bottom: 0rem;
  text-align: center;
  z-index: 0;
}

footer .social a {
  cursor: pointer;
}

footer .social img {
  width: 2.45rem;
  margin: 0 0.1rem;
  margin-top: 2rem;
  height: 2.45rem;
  object-fit: contain;
}

footer .foot-form form {
  display: inline-block;
  width: 50%;
  /* z-index: 10; */
  position: relative;
}

footer .foot-form input.form-control {
  border-color: transparent;
  border-radius: 0.7rem;
  box-shadow: unset;
  height: 2.85rem;
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 1.5rem;
  font-size: 1rem;
  float: left;
  margin: 0.3rem 0;
}

footer .foot-form input.btn-sub {
  background-color: #f43f27;
  padding: 0.45rem 2rem 0.3rem;
  border: none;
  float: left;
  border-radius: 0.7rem;
  font-size: 1.2rem;
  font-family: Gotham-Book;
  margin-top: 0.5rem;
}

footer .foot-form input.btn-sub:hover {
  background-color: #a84235;
}

footer .error {
  color: #f44336;
  float: left;
}

footer .foot-form select.form-control {
  border-color: transparent;
  border-radius: 0.7rem;
  box-shadow: unset;
  height: 2.85rem;
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 1.5rem;
  font-size: 1rem;
  float: left;
  margin: 0.3rem 0;
}

footer select option.default-opt {
  color: #999;
}

footer {
  height: 100%;
}

footer .foot-form form {
  width: 70%;
}

footer .social {
  max-width: 85.2%;
}

footer .footer-bg {
  background-size: cover;
  background-position: center;
  height: 100%;
  padding: 3rem 0 0;
}

footer h3 {
  margin-top: 2rem;
}

footer .form-group {
  margin-bottom: 0;
  padding: 0;
}

footer .form-group-2 {
  padding-right: 0.3rem;
}

footer .form-group-3 {
  padding-left: 0.3rem;
}

footer .input-group-append {
  padding: 0;
}

footer .social {
  right: 17rem;
}

footer .foot-form input.btn-sub:hover {
  background-color: #f12400;
}

footer .social a .normal-social {
  display: inline-block;
}

footer .social a .hover-social {
  display: none;
}

footer .social a:hover .hover-social {
  display: inline-block;
}

footer .social a:hover .normal-social {
  display: none;
}

.left-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-left: 2rem;
}

.helth h2 {
  color: #fff;
  width: 20rem;
  font-size: 1.6rem;
  font-weight: 400;
}

.helth h2 span {
  font-weight: 700;
}

.left-side-sec {
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-top: 4rem;
  padding-left: 2rem;
}

.footer-sec {
  background-color: #1f6b8f;
  padding-top: 2rem;
}

.footer-sec .menu-list a {
  color: #fff;
  font-family: Roboto;
  text-wrap: nowrap;
}

.footer-sec .menu-list a:hover {
  color: #ffeb3b;
  font-family: Roboto;
}

footer .foot-form input.form-control {
  border-radius: 4px;
  height: 2.5rem !important;
}

footer .foot-form input.btn-sub {
  border-radius: 4px !important;
}

footer .foot-form form#ContactForms {
  width: 38% !important;
}

.footer {
  background-color: #f4f4f4;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #333;
  padding-bottom: 0;
}

.footer p {
  font-size: 16px;
}

.footer .privacy-link {
  margin: 0px 15px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.footer .privacy-link:hover {
  text-decoration: underline;
}

.contact-section {
  background-color: #1f6b8f;
  padding: 2.5rem;
  width: 100%;
  max-width: 56.25rem;
  margin: auto;
}

.contact-section h2 {
  color: #ffeb3b;
  margin-bottom: 1.25rem;
  font-weight: normal;
  font-size: 2rem;
}

.contact-section form {
  width: 100%;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: none;
  outline: none;
  font-size: 0.875rem;
}

.contact-section textarea {
  height: 5rem;
  resize: none;
}

.contact-section button {
  background-color: #f2645a;
  color: #fff;
  border: none;
  padding: 0.5rem 3rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}

.copy-rights {
  border-top: 0.15rem solid #a89f97;
  padding: 1rem 2rem 1rem 2rem;
  margin-top: 1rem;
}

.copy-rights h5 {
  color: #fff;
  text-align: center;
}

footer .container-fluid {
  padding: 0rem;
}

.footer-sec .menu-list h3, .footer-sec .menu-list p {
    font-family: Roboto;
}

   .menu-list {
      display: flex;
      align-items: start;
      color: #fff;
      gap: 3rem;
    }

    .menu-list-1 h3,
    p {
      color: #fff;
    }

    .menu-list-1,
    .menu-list-2,
    .menu-list-3 h3,
    p {
      font-size: 1.1rem;
    }

    .menu-list-4 {
      display: none;
    }

    .menu-list h3 {
      font-size: 1.6rem !important;
      text-align: start;
    }

    .menu-list-1,
    .menu-list-2,
    .menu-list-3,
    .menu-list-4 {
      position: relative;
      width: 12rem;
      /* height: 12.5rem; */
      height: auto;
    }

    .menu-list-1::after,
    .menu-list-2::after {
      content: "";
      position: absolute;
      top: 0;
      right: -15px;
      width: 0.15rem;
      height: 100%;
      background-color: #ffeb3b;
    }

    .menu-list {
      border-bottom: 0.15rem solid #ffeb3b;
      padding-bottom: 2rem;
      width: 80%;
    }

    .insights h3 {
      margin-top: 0.8rem;
      text-align: center;
      color: #fff;
      font-size: 1.6rem;
    }



    .insights a {
      font-size: 1.6rem;
      color: #FFF;
      font-family: Roboto;
    }

    .insights {
      text-align: center;
      width: 80%;
      margin-top: 1rem;
    }


    .insights a:hover {
      font-size: 1.6rem;
      color: #ffeb3b;
      font-family: Roboto;
    }




@media (max-width: 1024px) {
  footer .social {
    right: 19.5rem;
  }

  footer .footer-bg .container {
    width: 100%;
  }
}

@media (max-width: 991px) {
  footer .social {
    right: -7rem;
    top: -4.7rem;
    max-width: 100%;
    width: 72%;
    position: relative;
  }
        .logo-img img {
        width: 12rem;
      }
}

@media (max-width: 767px) {
  footer .form-group-2 {
    padding-right: 0rem;
  }

  footer .form-group-3 {
    padding-left: 0rem;
  }

  footer .social {
    width: 100%;
    float: none;
    max-width: 75.2%;
    text-align: center;
    position: relative;
    left: 0rem;
    top: 0.3rem;
  }

  .footer-bg .row {
    position: relative;
  }

  footer .footer-bg {
    background-image: url(../images/footer-bg-img-mob.jpg);
  }

  footer .form-group-2 {
    display: block;
    width: 100%;
  }

  footer .footer-bg {
    height: 100%;
    padding: 1rem 0 2rem 0;
  }

  footer h3 {
    font-size: 1.2rem;
    margin-left: -0.25rem;
  }

  footer .foot-form input.form-control {
    width: 100%;
  }

  footer .form-group-2 input:nth-child(1) {
    margin-right: 0;
  }

  footer .form-group-2 input:nth-child(2) {
    margin-left: 0;
  }

  footer .foot-form input.btn-sub {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  footer .foot-form form {
    width: 90%;
  }

  footer .social {
    max-width: 100%;
  }

  .footer-sec {
    padding-top: 0;
  }

  .footer-sec .insights {
    display: none;
  }

  footer .foot-form form#ContactForms {
    width: 100% !important;
  }

  footer {
    padding-bottom: 0rem;
    background: #1f6b8f;
  }

  .left-content {
    display: flex;
    align-items: start;
    gap: 1rem;
    flex-direction: column;
    padding: 1.5rem;
  }

  .left-side-sec {
    padding: 1rem;
  }

  .left-side-sec {
    margin-top: 0rem;
}

    .footer-sec .menu-list a {
        color: #fff;
        font-family: Roboto;
        text-wrap: nowrap;
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }

    .left-side-sec {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-top: 0rem;
    padding-left: 2rem;
}

    .menu-list-1, .menu-list-2, .menu-list-3, .menu-list-4 {
        width: 11rem;
        height: 100%;
    }




      .logo-img img {
        width: 12rem;
      }


      .menu-list {
        display: flex;
        align-items: start;
        color: #fff;
        gap: 2rem;
        flex-direction: row;
        width: 100%;
        flex-wrap: wrap;
        /* justify-content: space-between; */
      }

      .menu-list-1::after,
      .menu-list-2::after {
        display: none;
      }

      .menu-list-1,
      .menu-list-2 {
        position: relative;
        width: unset;
      }

      .copy-rights h5 {
        color: #fff;
        text-align: start;
        font-size: 1.25rem;
      }

      .copy-rights {
        border-top: 0.15rem solid #a89f97;
        padding: 1rem 2rem 2rem 2rem;
        margin-top: 0rem;
      }

      .contact-section {
        padding: 1rem;
      }

      .menu-list h3 {
        font-size: 1.8rem !important;
        text-align: start;
        margin-top: 1rem;
      }

      .menu-list-1,
      .menu-list-2,
      .menu-list-3 h3,
      p {
        font-size: 1.3rem;
      }

      .contact-section h2 {
        margin-top: 1rem;
      }

      .menu-list-4 {
        display: block;
      }

      .menu-list-1,
      .menu-list-2,
      .menu-list-3,
      .menu-list-4 {
        width: 10rem;
      }






}

/* footer styles end */
