.hero-section {
  width: 100vw;
  background-image: url('media/healthcare-professional-recruitment.webp');
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 280px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section {
    min-height: 600px;
  }
}

@media (min-width: 1025px) {
  .hero-section {
    height: calc(100vh - 90px);
    background-position: 30% 10%;
  }
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.1);
}

.hero-section h1 {
  font-size: 3em;
  margin: 30px;
  letter-spacing: 3px;
  text-align: center;
  font-weight: 600;
}

.hero-section h3 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.6em;
    margin: 20px 10px;
    letter-spacing: normal;
  }

  .hero-section h3 {
    font-size: 1.3em;
  }
}

.hero-section span {
  color: var(--color-logo);
  font-weight: 600;
}

.hero-button {
  margin-top: 50px;
  padding: 10px 20px;
  background-color: var(--color-dark);
  outline: none;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: var(--color-logo);
  color: var(--color-dark);
}

@media (max-width: 1024px) {
  .hero-button {
    display: none;
  }
}


.what-we-offer h2 {
  color: var(--color-dark);
}

.what-we-offer-wrapper {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 30px;
  margin: 0px auto 40px;
  padding: 0px 20px;
}

@media (min-width: 769px) {
  .what-we-offer-wrapper {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    padding: 0 40px;
  }
}

.what-we-offer-content {
  background-color: var(--color-light);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 6px;
  padding-bottom: 0;
}

@media (min-width: 769px) {
  .what-we-offer-content {
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .what-we-offer-content.active {
    padding-bottom: 20px;
  }
}


.what-we-offer-caption {
  background-color: var(--color-dark);
  text-align: center;
  cursor: pointer;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  padding: 20px 20px;
  font-weight: 500;
  font-size: 1.1em;
}

@media (min-width: 769px) {
  .what-we-offer-caption {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    pointer-events: none;    
  }
}

@media (max-width: 768px) {
  .what-we-offer-caption.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}


.what-we-offer-description {
  padding: 8px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
}

@media (min-width: 769px) {
  .what-we-offer-description {
    display: flex;
  }
}

@media (max-width: 768px) {
  .what-we-offer-description.active {
    display: flex;
  }
}


.what-we-offer-description p {
  text-align: justify;
  padding: 5px;
}

@media (min-width: 1200px) {
  .what-we-offer-description p {
    padding: 10px 40px;
  }
}

.what-we-offer-description ul {
  margin-top: 10px;
}

.what-we-offer-description li {
  list-style-type: square;
  text-align: start;
  line-height: 24px;
  list-style-position: inside;
  color: var(--color-dark);
}

.what-we-offer-button {
  display: none;
  justify-content: center;
}

@media (min-width: 769px) {
  .what-we-offer-button {
    display: flex;
  }
}

@media (max-width: 768px) {
  .what-we-offer-button.active {
    display: flex;
  }
}


.what-we-offer-button a{
  color: var(--color-dark);
  background-color: var(--color-white);
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.what-we-offer-button a:hover {
  background-color: var(--color-logo);
}

.training-wrapper {
  width: 100vw;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .training-wrapper {
    flex-direction: row;
    grid-template-columns: 45% calc(55% - 50px);
    grid-template-rows: 450px;
    gap: 40px;
  }
}

@media (min-width: 1025px) {
  .training-wrapper {
    grid-template-columns: 45% calc(55% - 50px);
    grid-template-rows: 1fr;
    gap: 50px;
  } 
}

.training-image-wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.training-image {
  width: 100%;
  object-fit: cover;
}

.training-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 30px 20px 30px;
}

@media (min-width: 769px) and (max-width: 1024px){
  .training-content {
    padding: 30px 8px 20px 0;
  }
}

@media (min-width: 1024px) {
  .training-content {
    padding: 40px 30px 20px 0;
  }
}


.training-content-heading {
  padding: 0 0 8px;
  margin-bottom: 15px;
  text-align: start;
  border: none;
  border-bottom: 2px solid gray;
  color: var(--color-white);
  font-weight: 500;
  font-size: 1em;
}

.training-content-description {
  font-size: 0.9em;
  font-weight: 400;
}

.training-content-description,
.screening-process-description {
  display: none;
  margin-bottom: 20px;
}

.training-content-description.active,
.screening-process-description.active {
  display: block;
}

.down-arrow,
.down-arrow-caption {
  font-size: 0.8em;
  font-weight: 600;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

@media (min-width: 769px) {
  .down-arrow-caption {
    display: none;
  }
}

.screening-process-wrapper {
  width: 100vw;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 400px;
  gap: 10px;

}

@media (min-width: 769px) {
  .screening-process-wrapper {
    grid-template-columns: 50% calc(50% - 10px);
  }
}

.screening-process-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0 20px;
}

@media (min-width: 769px) and (max-width: 1024px){
  .screening-process-content {
    margin-left: 6%;
    justify-content: center;
  }
}

@media (min-width: 1025px) {
  .screening-process-content {
    margin-left: 20%;
    justify-content: center;
  }
}

.screening-process-heading {
  color: var(--color-dark);
  background-color: gainsboro;
  margin: none;
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  line-height: 1.3em;
  font-weight: 600;
  outline: none;
  border: none;
  text-align: left;
}

.screening-process-heading:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.screening-process-heading.active {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.screening-process-description {
  color: var(--color-dark);
}

@media (min-width: 1025px) {
  .screening-process-description {
    width: 75%;
  }
}

.screening-process-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.screening-process-image {
  width: 100%;
  object-fit: contain;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .screening-process-image {
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .screening-process-image {
    height: 400px;
    width: auto;
  }
}

.explore-systems {
  color: var(--color-dark);
  text-align: center;
  padding: 10px;
  background-color: var(--color-light);
  vertical-align: middle;
}

.service-countries-wrapper {
  width: 100vw;
}

#downArrow {
  color: var(--color-dark);
}

.countries-wrapper {
  width: 80%;
  margin: auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(2, 40vw);
  row-gap: 50px;
  column-gap: 20px;
}

@media (min-width: 769px) {
  .countries-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

.country {
  justify-self: center;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.2ch;
  font-weight: 400;
}

.country-flag-img {
  height: 40px;
}