/**
 * ICIMS External Header Footer Styles
 * Author: Pankaj Kankonkar
 * Version: 1.3
 * Description:
 * Styles for ICIMS header and footer layout and appearance 
 */

/* montserrat-500 */
@font-face {
  font-family: "Montserrat-Medium";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"),
    url("../fonts/Montserrat-Medium.woff") format("woff");
}

/* montserrat-800 */
@font-face {
  font-family: "Montserrat-ExtraBold";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Montserrat-ExtraBold.woff2") format("woff2"),
    url("../fonts/Montserrat-ExtraBold.woff") format("woff");
}

body {
  margin: 0;
  font-family: "Montserrat-Medium";
  background-color: #fff;
  color: #fff;
}

/* Header Styles Start */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #d8d5e6;
  position: sticky;
  padding: 0 64px;
  height: 100px;
  top: 0;
  z-index: 99;
}

.navbar {
  display: flex;
  justify-content: space-evenly;
  position: relative;
  color: #000;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  z-index: 6;
  font-size: 14px;
  padding: 0 16px;
  transition: color 0.3s ease;
  height: 100%;
}

.nav-item a {
  color: #000;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-item a::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: calc(100% - 32px);
  height: 7px;
  bottom: 0;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.nav-item:hover a::before,
.nav-item.active a::before {
  opacity: 1;
}

.navbar.dropdown-active .nav-item,
.navbar.dropdown-active .nav-item a {
  color: #fff;
}

.external-link path {
  fill: #000;
  transition: color 0.3s ease;
}

.nav-item span.arrow svg {
  margin-left: 4px;
  margin-top: 2px;
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.navbar.dropdown-active .nav-item span.arrow svg path,
.dropdown-card svg path,
#getToKnowUsDropdown svg path,
.see-all-jobs svg path,
.navbar.dropdown-active .external-link path {
  fill: #fff;
}

.nav-item.active span.arrow svg {
  transform: rotate(180deg);
}

.dropdown {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  width: 1050px;
  background-color: #0d0914;
  padding: 154px 54px 64px;
  z-index: 5;
  align-items: flex-start;
  visibility: hidden;
  transform-origin: top right;
  transform: scale(0) translateY(-10px);
  transition:
    transform 0.3s cubic-bezier(.48, .01, .5, .99),
    visibility 0s linear 0.3s;
}

.dropdown.show {
  visibility: visible;
  transform: scale(1) translateY(0);
  transition-delay: 0s, 0s;
}

/* Inner content base (fade out immediately) */
.dropdown > div {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Inner content fade in with delay */
.dropdown.show > div {
  opacity: 1;
  transition-delay: 0.3s;
}

.header::before {
  content: "";
  height: 1px;
  width: 100%;
  position: absolute;
  background: #c4c4c4;
  top: 99px;
  left: 0;
  z-index: 10;
}


/* FIND JOBS Grid */
#findJobsDropdown .dropdown-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(25%, 1fr));
  gap: 10px 10%;
}

#careersDropdown,
#getToKnowUsDropdown,
.dropdown-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#exploreRolesDropdown .dropdown-wrap {
    flex-direction: column;
}

.dropdown-wrap {
  width: 100%;
}

#careersDropdown .dropdown-list,
#getToKnowUsDropdown .dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown h4 {
  margin: 0 0 5px;
}

#exploreRolesDropdown {
  display: block;
}

#exploreRolesDropdown ul {
  padding-left: 30px;
  margin: 10px 0 20px;
}

#exploreRolesDropdown ul li {
  list-style: none;
  margin: 3px 0;
  font-size: 14px;
}

#exploreRolesDropdown .column {
  width: 33%;
}

.dropdown-list a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.dropdown ul li a {
  font-size: 14px;
}

.dropdown-list a:hover,
.region-portals a:hover {
  text-decoration: underline;
}

.dropdown-card {
  max-width: 320px;
  text-align: left;
  transition: transform ease-in-out 0.3s;
  transform: translateX(0);
}

.dropdown-card:hover {
  transform: translateY(-8px);
}

.dropdown-card svg,
.see-all-jobs svg {
  width: 15px;
  margin: 5px 5px 0;
  position: absolute;
}

.see-all-jobs svg {
  margin: 3px 5px 0;
}

.external-link {
  width: 12px;
}

.dropdown-card img {
  width: 100%;
  border-radius: 4px;
}

.dropdown-card p {
  margin: 12px 0 0;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.6;
}

.dropdown-card a,
.region-portals a,
.explore-jobs-by-industry .see-all-jobs:hover {
  color: #fff;
  text-decoration: none;
}

.columns-3 {
  display: flex;
  justify-content: space-between;
  color: #fff;
}

.dropdown-heading {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1.2px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
}

.country-portals {
  width: 75%;
  border-right: 2px solid #fff;
}

.region-portals {
  width: 25%;
  margin-left: 6%;
}

.region-portals>div {
  display: grid;
  gap: 10px;
}

.explore-jobs-by-industry {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.explore-jobs-by-industry .see-all-jobs {
  text-transform: uppercase;
  font-size: 15px;
  font-family: 'Montserrat-ExtraBold';
  line-height: 1.4;
  letter-spacing: 3px;
  position: relative;
}

.explore-jobs-by-industry .see-all-jobs::before {
  position: absolute;
  top: calc(50% - 40px);
  left: -22px;
  width: 61px;
  height: 61px;
  content: "";
  background-color: #805ce5;
  border-radius: 50% 0 50% 50%;
  transition: background-color ease-in-out .3s;
  z-index: -1;
}

.explore-jobs-by-industry .see-all-jobs:hover:before {
  background-color: #6846c6;
}

.explore-jobs-by-industry .see-all-jobs svg {
  transform: translateX(0);
  transition: transform ease-in-out .3s;
}

.explore-jobs-by-industry .see-all-jobs:hover svg {
  transform: translateX(5px);
}

.gg-language-fr-fr .nav-item,
.gg-language-de-de .nav-item {
  font-size: 13px;
}

.gg-language-fr-fr .dropdown,
.gg-language-de-de .dropdown {
  width: 1100px;
}

.language-dropdown {
  margin: 0;
  padding: 0;
}

.language-selector {
  display: none;
  position: absolute;
  border-top: 7px solid #0c0814;
  width: 250px;
  box-shadow: 0 0 10px 0 rgba(43, 29, 72, .4);
  background: #0c0814;
  top: 107px;
  right: 10px;
}

.language-selector::before {
  width: 9px;
  height: 9px;
  position: absolute;
  top: -11px;
  right: 20px;
  content: '';
  background-color: #0c0814;
  transform: rotate(45deg);
}

.language-selector li {
  list-style: none;
}

.language-selector li a {
  padding: 8px 16px;
  color: #fff;
  line-height: 1.6;
  display: block;
}

.language-selector li a:hover {
  text-decoration: underline;
}

.language-selector.show {
  display: block;
}

.nav-item.language-toggle a::before {
  display: none;
}


@media (max-width: 1600px) {
  .gg-language-en-gb .nav-item {
      padding: 0 10px;
      font-size: 13px;
  }
  .gg-language-fr-fr .nav-item, .gg-language-de-de .nav-item {
      padding: 0 8px;
      font-size: 12px;
  }
}

@media only screen and (max-width: 1480px) {
  .gg-language-en-gb .nav-item {
      padding: 0 8px;
      font-size: 12px;
  }
  .dropdown-list a {
      font-size: 14px;
  }
  .gg-language-ca-fr .nav-item, .gg-language-fr-fr .nav-item {
      padding: 0 8px;
      font-size: 10px;
  }
  .gg-language-de-de .nav-item {
      font-size: 10px;
      padding: 0 6px;
  }
  .gg-language-de-de .nav-item span.arrow svg,
  .gg-language-fr-fr .nav-item span.arrow svg {
     margin-top: 0px;
     width: 12px;
     height: 13px;
  }
  .gg-language-de-de .external-link,
  .gg-language-fr-fr .external-link {
      width: 8px;
  }
  .gg-language-en-gb .external-link {
      width: 10px;
  }
}

@media only screen and (max-width: 1350px) {
    .gg-language-fr-fr .nav-item, .gg-language-de-de .nav-item {
      font-size: 9px;
    }
     .gg-language-ca-fr .nav-item {
        font-size: 8px;
    }
    .gg-language-en-gb .nav-item {
      font-size: 9.5px;
    }
   
}


@media (max-width: 1200px) {
  .nav-item a::before {
      width: calc(100% - 20px);
  }
  .gg-language-de-de .dropdown, .gg-language-fr-fr .dropdown, .gg-language-en-gb .dropdown {
      width: 810px;
  }
}

/* Header Styles End */

/* Main Container Styles */
.main-container {
    max-width:1140px;
    margin: 90px auto;
}

.find-out-more-link a {
    color: #6846c7;
    text-decoration: none;
    margin: 60px auto;
    display: block;
    text-align: center;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}
.find-out-more-link a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
  .main-container {
      max-width: 880px;
  }
}


/* Footer Styles Start */
.footer {
  padding: 40px 0px;
  background-color: #0e0b14;
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-about {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-about-wrap {
  max-width: 70%;
}

.footer-about h3 {
  font-family: "Montserrat-ExtraBold";
  color: #6846c6;
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 0;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 26px;
}

.footer-social svg {
  fill: #fff;
  transition: fill ease-in-out 0.3s;
}

.footer-social a:hover svg {
  fill: #6846c6;
}

.footer-logo {
  padding: 0 0 40px 30px;
  display: flex;
  align-items: center;
  width: 70%;
}

.footer-logo img {
  width: 40px;
  height: auto;
  padding-right: 32px;
}

.footer-logo h2 {
  font-family: "Montserrat-ExtraBold";
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #959595;
  padding-top: 20px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  width: 80%;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color ease-in-out 0.3s;
  padding: 0 24px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.footer-links a::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 1px;
  background-color: #fff;
  margin-right: 12px;
  right: 0;
  bottom: auto;
  height: 65%;
}

.footer-links a:hover {
  text-decoration: none;
  color: #6846c6;
}

@media only screen and (max-width: 1024px) {
    .footer-container {
        max-width: 880px;
    }
  .footer-logo {
    padding: 20px 0 32px;
    width: 100%;
  }
  .footer-about-wrap {
    max-width: 100%;
  }
  .footer-top {
    justify-content: flex-end;
  }
}
