/* =========================================
   COMMON BANNER
========================================= */

.Common_About_Banner {
  --banner-image: url("/assets/images/about_us/building.jpeg");

  position: relative;
  width: 100%;
  height: 650px;
  min-height: 500px;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background-image: var(--banner-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  isolation: isolate;
}

/* =========================================
   IMAGE ZOOM EFFECT
========================================= */

.Common_About_Banner::before {
  content: "";
  position: absolute;
  inset: -20px;

  background-image: var(--banner-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  z-index: -2;

  animation: bannerZoom 12s ease-in-out infinite alternate;
}

@keyframes bannerZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* =========================================
   OVERLAY
========================================= */

.common_banner_overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.25) 100%
    );

  z-index: -1;
}

/* =========================================
   CONTENT
========================================= */

.common_banner_content {
  width: 100%;
  max-width: 1600px;

  padding: 0 60px;

  color: #ffffff;

  position: relative;
  z-index: 2;

  animation: bannerContent 1s ease forwards;
}

@keyframes bannerContent {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   TITLE
========================================= */

.common_banner_content h1 {
  margin: 0;

  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;

  font-weight: 700;
  letter-spacing: -3px;

  text-transform: uppercase;
}

.common_banner_content h1 span {
  display: inline-block;

  font-weight: 300;

  color: transparent;

  -webkit-text-stroke: 1px #ffffff;

  transition: all 0.4s ease;
}

.common_banner_content h1 span:hover {
  color: #ffffff;
  -webkit-text-stroke: 0;
}

/* =========================================
   SUBTITLE
========================================= */

.common_banner_content h2 {
  margin: 25px 0 0;

  font-size: clamp(18px, 2vw, 28px);

  font-weight: 400;

  letter-spacing: 8px;

  text-transform: uppercase;
}

/* =========================================
   DIVIDER
========================================= */

.common_banner_divider {
  width: 90px;
  height: 2px;

  margin-top: 30px;

  background: #ffffff;

  position: relative;

  overflow: hidden;
}

.common_banner_divider::after {
  content: "";

  position: absolute;
  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background: #000000;

  animation: dividerAnimation 2.5s ease-in-out infinite;
}

@keyframes dividerAnimation {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
  .Common_About_Banner {
    height: 560px;
    min-height: 450px;
  }

  .common_banner_content {
    padding: 0 40px;
  }

  .common_banner_content h1 {
    letter-spacing: -2px;
  }

  .common_banner_content h2 {
    letter-spacing: 5px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .Common_About_Banner {
    height: 480px;
    min-height: 400px;

    background-position: center;
  }

  .common_banner_content {
    padding: 0 25px;
  }

  .common_banner_content h1 {
    font-size: clamp(40px, 12vw, 65px);
    line-height: 1;
    letter-spacing: -1.5px;
  }

  .common_banner_content h1 span {
    -webkit-text-stroke: 0.8px #ffffff;
  }

  .common_banner_content h2 {
    margin-top: 20px;

    font-size: 16px;

    letter-spacing: 4px;
  }

  .common_banner_divider {
    width: 65px;
    margin-top: 25px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
  .Common_About_Banner {
    height: 420px;
    min-height: 350px;
  }

  .common_banner_content {
    padding: 0 20px;
  }

  .common_banner_content h1 {
    font-size: 38px;
  }

  .common_banner_content h2 {
    font-size: 13px;
    letter-spacing: 3px;
  }
}