:root {
  --section-padding: 100px;
  --color-black: #1c1d21;
  --color-primary: #265ea6;
  --color-primary-dark: #28335e;
  --tp-theme-primary: var(--color-primary);
}

#loading {
  background-color: white;
}

.preloader__bar-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background-image: var(--color-primary);
}

.tp-btn {
  font-size: 1rem;
}

.tp-section-subtitle {
  color: var(--color-primary);
}

.h2-title {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 1rem;

  h2 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 994px) {
  .tp-about-title-wrapper-2,
  .tp-about-title-wrapper,
  .tp-about-content-wrapper-2,
  .tp-about-content-wrapper {
    * {
      text-align: center;
      text-wrap: balance;
    }

    .tp-section-subtitle {
      display: block;
      margin-inline: auto;
    }
  }
}

header {
  .tp-header-logo {
    width: 100%;
    height: 100%;

    a {
      width: 100%;
      height: 100%;

      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }

  @media (max-width: 994px) {
    .tpoffcanvas__logo img {
      max-width: 252px;
      width: 100%;
    }
  }
}

.tp-header-black.header-sticky {
  background-color: rgba(255, 255, 255, 1) !important;

  a {
    color: black;
  }

  .tp-header-menubar {
    filter: brightness(0);
  }
}

.tp-header-black:not(.header-sticky) {
  .tp-header-logo {
    filter: brightness(0) invert(1);
  }
}

.tpoffcanvas__logo {
  a {
    width: 100%;
    height: 100%;
    display: block;

    img {
      width: 100%;
      object-fit: contain;
    }
  }
}

#home {
  position: relative;
  height: 100vh;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
    background: radial-gradient(circle, rgba(0,0,0,1) 14%, rgba(0,0,0,0) 100%);
    opacity: 0.45;
    z-index: 2;
  }

  .hero-content {
    position: relative;
    z-index: 5;

    p {
      color: white !important;
      opacity: 1 !important;
    }
  }

  .shop-slider-wrapper,
  .swiper-container {
    height: 100%;
  }

  .swiper-slide {
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(in lch, black, var(--color-primary));
      opacity: 0.5;
      z-index: 10;
    }
  }

  .tp-hero-five-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    container-type: inline-size;
    container-name: hero-container;
    z-index: 20;

    .tp-hero-five-title {
      font-size: max(3.2rem, 9.4cqw);
      line-height: max(calc(3.2rem * 1.3), calc(9.4cqw * 1.3));
      font-weight: 400;
    }
  }

  .tp-hero-five-bg {
    padding-block: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
  }

  @media only screen and (min-width: 768px) and (max-width: 991px),
    only screen and (min-width: 576px) and (max-width: 767px),
    (max-width: 575px) {
    .tp-hero-five-arrow-box button {
      top: auto;
      transform: translateY(-50%);
      bottom: 50%;
      width: 40px;
      height: 40px;
      font-size: 22px;
      line-height: 42px;
    }
  }

  .tp-hero-five-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1);
    animation: zoomInOut 20000ms ease-in-out infinite;
  }

  @keyframes zoomInOut {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.1);
    }

    100% {
      transform: scale(1);
    }
  }
}

#about {
  position: relative;
  padding-block: var(--section-padding);

  .logo-decoration {
    position: absolute;
    width: 700px;
    height: 700px;
    top: 0;
    right: 0;
    z-index: -1;
    /* filter: grayscale(1) brightness(1); */
    opacity: 0.09;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .tp-about-thumb-wrap {
    img {
      height: 550px;
      object-fit: cover;
    }
  }

  .mobile-image {
    display: none;
  }

  @media (max-width: 994px) {
    .tp-about-thumb-wrap {
      margin-bottom: 2rem;
    }

    .tp-about-btn-wrap {
      justify-content: center;
      align-items: center !important;
    }
  }

  @media (max-width: 576px) {
    .tp-about-thumb-wrap {
      .col-lg-6 {
        display: none;
      }

      .mobile-image {
        display: block;
        height: auto !important;
        width: 100%;
        object-fit: contain;
      }
    }
  }

  .tp-about-btn-2 .tp-about-link {
    font-size: 1rem !important;
  }
}

#counters {
  position: relative;
  padding-block: var(--section-padding);
  background: url(./../images/bg/counters.jpg);
  background-size: cover;
  background-attachment: fixed;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 10;
  }

  * {
    color: white;
  }

  .tp-funfacts-count {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 20;
    position: relative;
    text-align: center;
  }

  @media (max-width: 994px) {
    .tp-funfacts-count {
      margin-bottom: 2rem;
    }
  }

  @media (max-width: 576px) {
    .tp-funfacts-count {
      margin-bottom: 3rem;
    }
  }
}

#solutions {
  padding-block: var(--section-padding);

  @media (max-width: 994px) {
    .tp-about-title-para {
      margin-bottom: 3rem;
    }

    .tp-about-two-more {
    }
  }

  .tp-about-two-thumb {
    border: solid 50px white;

    @media (max-width: 994px) {
      border: none;
    }

    img {
      padding-left: 0;
    }
  }
}

#program-management-banner {
  padding-top: var(--section-padding);
  position: relative;
  height: 450px;

  * {
    color: white !important;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 10;
  }

  .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

#program-management {
  background-color: #f5f5f5;

  .services-swiper {
    z-index: 40;
    position: relative;
  }

  .tp-service-five-item {
    position: relative;
    z-index: 30;
    container: service-box / inline-size;

    .tp-about-link {
      font-size: 3cqw;
    }

    p {
      margin-bottom: 0;
      height: 85px;
    }

    /* .tp-service-five-title {
            color: var(--color-primary);
        } */

    .tp-service-five-icon {
      width: 15cqw;
      aspect-ratio: 1;
      background-color: var(--color-primary);
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 80%;
        height: 80%;
        object-fit: contain;
        filter: brightness(0) invert(1);
      }
    }

    /* &:hover {
            .tp-service-five-icon {
                filter: grayscale(1) invert(1);

                img {
                    filter: brightness(0);
                }
            }
        } */
  }

  .services-swiper {
    width: 100%;
    height: 400px;
  }
}

#portfolio {
  padding-block: var(--section-padding);

  .tp-portfolio-wrapper {
    cursor: pointer;
    margin-bottom: 3rem;

    .tp-portfolio-thumb {
      margin-bottom: 1rem;
      height: 400px;

      img {
        height: 100%;
        object-fit: cover;
      }
    }

    .tp-portfolio-title {
      font-size: 24px;
    }
  }

  @media (max-width: 994px) {
    /* .tp-section-title-wrapper {
            display: flex;
            justify-content: center;
        } */

    .tp-section-content p {
      font-size: 18px;
      text-align: center;
    }
  }
}

#contact {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-padding);

  .logo-decoration {
    position: absolute;
    width: 1100px;
    height: 1100px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    filter: grayscale(1) brightness(1);
    opacity: 0.09;

    img {
      width: 100%;
      height: 100%;
    }
  }
}

footer {
  .tp-footer-bottom {
    background-color: var(--color-primary);
    padding: 1rem;

    * {
      color: white !important;
    }
  }
}

#solutions {
  padding-block: var(--section-padding);
  background: #80808014;
  .tp-about-two-thumb {
    border: solid 50px #f5f5f5;
  }
}

.hero-content {
  container: hero-container / inline-size;
}

h1 {
  font-size: clamp(2.3rem, 6.5cqw, 4rem) !important;
  line-height: calc(clamp(2.3rem, 6.5cqw, 4rem) * 1.3) !important;
  max-width: max(50cqw, 450px);
  margin-inline: auto;
}


#portfolio {
  background-color: rgb(250, 250, 250);
  padding-top: 100px !important;
}
