/* COLOR SCHEME */

:root {
  --main: #232428;
  --accent: #63638d;
  --accent-hover: #59597f;

  --bg-gray: #e9e9e9;

  --text-light: #fff;
  --text-dark: #3d3a3a;
}

/* GENERAL */

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-dark:focus,
.btn-primary:hover {
  background-color: var(--accent-hover) !important;
  border-color: var(--main) !important;
  color: var(--text-light) !important;
}

.btn {
  background-color: var(--accent);
  color: var(--text-light);
  border: none;
}

.btn-light {
  background-color: var(--text-light);
  color: var(--main);
  border: none;
}

.btn:hover {
  background-color: var(--accent-hover);
  transition: color 0.3s;
}

.btn-light:hover {
  background-color: #e6e6e6;
  transition: color 0.3s;
}

.icon
  > img:is([src*="bell"], [src*="icon-arrow-next-dark"], [src*="icon-follow"]) {
  filter: invert(41%) sepia(6%) saturate(2479%) hue-rotate(202deg)
    brightness(94%) contrast(87%);
  }

.icon
  > img:is([src*="icon-shipping-light"], [src*="icon-phone-light"]) {
  filter: invert(100%);
}

.icon
  > img:is(
    [src*="icon-direction"],
    [src*="icon-long-arrow"]
  ) {
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(40deg)
    brightness(108%) contrast(101%);
}

.fb-text {
  font-size: 2.2rem;
}

@media (max-width: 500px) {
  .fb-text {
    font-size: calc(1.375rem + 1.5vw);
  }
}

/* HERO */

.row-flex {
  display: flex;
  align-items: center;
}

.slider-hero .glide__bullets {
  display: flex;
}

.glide__bullet:after {
  background-color: #fff;
}

/* FIXES */

/* Logo in header */

.header-middle {
  min-height: 100px;
  height: 100%;
}

.slider-hero {
  padding-top: 3.1rem;
  padding-bottom: 3.1rem;
}

/* HEADER */

.header-top svg {
  filter: invert(100%);
}

header .header-top,
header .header-middle,
header .header-bottom {
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.header-menu:last-child {
  background-color: rgba(99, 99, 141, 0.15);
}

.header-middle {
  height: unset;
  .custom-logo {
    max-width: 90%;
  }
  .hamburger-inner {
    background-color: black;
    &::after {
      background-color: black;
    }
    &::before {
      background-color: black;
    }
  }
  .hover-dropdown {
    svg {
      stroke: black;
      path {
        stroke: black;
      }
    }
  }
  svg {
    fill: black;
    path {
      fill: black;
    }
  }
}

/* ABOUT US PAGE */

.section-about-us {
  background-color: var(--bg-gray);
}

.about-bg {
  margin: 9rem auto;
  padding: 4rem;
}

.about-flex {
  display: flex;
  gap: 1rem;
}

.about-content {
  max-width: 60%;
  padding: 0 1rem;
}

.about-img {
  width: 40%;
  height: auto;
}

.about-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(233, 233, 233, 0.5);
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.section-title-underline {
  width: 4rem;
  height: 0.5rem;
  background-color: var(--accent);
}

.section-title {
  margin-bottom: 4rem;
}

.section-title h3 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2rem;
}

.about-box {
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  margin-bottom: 4rem;
}

.about-box h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-box p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.about-middle-part {
  display: flex;
  align-items: center;
  width: 35%;
  margin: 0 auto;
  height: auto;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  margin-bottom: 4rem;
}

.about-middle-part p {
  font-size: 1.2rem;
  line-height: 1.6;
  padding: 0 4rem;
}

@media (max-width: 1200px) {
  .about-box h2 {
    font-size: 2rem;
  }

  .about-box p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 1000px) {
  .about-flex {
    flex-direction: column;
  }

  .about-content {
    max-width: 100%;
  }

  .about-img {
    width: auto;
    align-self: center;
  }

  .about-img img {
    width: 100%;
    height: auto;
    display: inline-block;
  }

  .about-middle-part {
    flex-direction: column;
  }

  .about-middle-part p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .section-title h3 {
    font-size: calc(1.35rem + 1.2vw);
  }

  .section-title-underline {
    width: 2rem;
    height: 0.25rem;
  }

  .about-bg {
    margin: 4.5rem auto;
    padding: 2rem;
  }

  .about-content {
    padding: 0;
  }

  .about-box h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 468px) {
  .section-title {
    margin-bottom: 1.5rem;
  }

  .about-middle-part img {
    width: 100px;
    height: 100px;
  }

  .about-bg {
    margin: 2rem auto;
    padding: 0.75rem;
  }

  .about-box p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .about-middle-part {
    width: 100%;
  }

  .about-middle-part p {
    font-size: 0.875rem;
    padding: 0;
  }
}

/* CONSULTING & EDUCATION */

.education{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-height: 16rem;
  height: 100%;
}

.education-text{
  max-width: 55%;
  width: 100%;
}

.education-img{
  width: 40%;
}

.education-titles {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
}

.section-education .section-title {
  display: flex;
  flex-direction: column;
}

.section-education .education-column:last-child .section-title {
  align-items: flex-end;
}

.section-education .section-title:last-child {
  align-items: flex-end;
}

.education-flex {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.education-arrow {
  align-self: center;
}

.education-element {
  max-width: 30rem;
  width: 100%;
  height: 20rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 9px;
}

.education-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width:1200px){
  .education-text{
    font-size: 1rem !important;
    max-width: 58%;
  }

  .education-flex{
    gap:2%;
  }

  /* .education-element{
    width: 25rem;
  } */

  .education-arrow{
    display: none;
    visibility: hidden;
  }
}

@media (max-width:768px){
  .education{
    flex-direction: column;
    max-height: 100%;
    align-items: center;
  }

  .education-text{
    max-width: 100%;
  }

  .education-img{
    width: 80%;
  }

  .education-flex{
    flex-direction: column;
  }

  .education-element{
    height: 15rem;
    padding: 1rem !important;
  }

  .section-education .education-column:last-child .section-title {
    margin-top: 2rem;
  }
}

@media (max-width:360px){
  .education-img{
    width: 100%;
  }

  .education-element{
    height: 16rem;
  }
}

/* MOBILE */

.mobile-menu__header {
  background-image: url(/media/pdfs/upload/banner.webp);
}
