/********** Template CSS **********/
:root {
  --primary: #245193;
  --secondary: #9b9b9b;
  --light: #f5f5f5;
  --dark: #161616;
}

* {
  ::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  /* Hide scrollbars for Firefox */
  html {
    scrollbar-width: none;
  }

  p {
    text-align: justify !important;
  }
}

.hover-box {
  transition: all 0.5s;
}

.hover-box:hover {
  background-color: #f1f1f1;
  transition: all 0.5s;
}

.hero-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 50px;
  flex-wrap: wrap;
  background: url(/img/hero-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  display: flex;
  align-items: center;
}

.hero h1 {
  text-align: left;
  font-family: Lato, sans-serif;
  font-weight: 700;
  margin: 1rem 0 1rem 2rem;
  color: var(--primary);
  font-family: "Courier New", Courier, monospace;
  font-size: 2.5vw;
}

.hero a {
  margin-left: 30px;
}

.hero_img {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero_img img {
  width: 600px;
  /* margin-left: 20%; */
  /* border-radius: 50% 50% 50% 0; */
  /* border: 5px solid var(--primary);
  box-shadow: #161616 10px 10px 10px; */
}

/* Typewriter effect 1 */
@keyframes typing {
  0.0000%,
  27.3488% {
    content: "";
  }
  1.1395%,
  26.2093% {
    content: "E";
  }
  2.2791%,
  25.0698% {
    content: "En";
  }
  3.4186%,
  23.9302% {
    content: "End";
  }
  4.5581%,
  22.7907% {
    content: "Ende";
  }
  5.6977%,
  21.6512% {
    content: "Endea";
  }
  6.8372%,
  20.5116% {
    content: "Endeav";
  }
  7.9767%,
  19.3721% {
    content: "Endeavo";
  }
  9.1163%,
  18.2326% {
    content: "Endeavor";
  }
  10.2558%,
  17.0930% {
    content: "Endeavors";
  }

  30.7674%,
  51.2791% {
    content: "";
  }
  31.9070%,
  50.1395% {
    content: "T";
  }
  33.0465%,
  49.0000% {
    content: "Tr";
  }
  34.1860%,
  47.8605% {
    content: "Tre";
  }
  35.3256%,
  46.7209% {
    content: "Trea";
  }
  36.4651%,
  45.5814% {
    content: "Treas";
  }
  37.6047%,
  44.4419% {
    content: "Treasu";
  }
  38.6047%,
  43.4419% {
    content: "Treasur";
  }
  39.6047%,
  42.4419% {
    content: "Treasure";
  }
  40.6047%,
  41.4419% {
    content: "Treasures";
  }

  54.6977%,
  75.2093% {
    content: "";
  }
  55.8372%,
  74.0698% {
    content: "P";
  }
  56.9767%,
  72.9302% {
    content: "Pe";
  }
  58.1163%,
  71.7907% {
    content: "Peo";
  }
  59.2558%,
  70.6512% {
    content: "Peop";
  }
  60.3953%,
  69.5116% {
    content: "Peopl";
  }
  61.5349%,
  68.3721% {
    content: "People";
  }

  78.6279%,
  96.8605% {
    content: "";
  }
  79.7674%,
  95.7209% {
    content: "A";
  }
  80.9070%,
  94.5814% {
    content: "As";
  }
  82.0465%,
  93.4419% {
    content: "Ass";
  }
  83.1860%,
  92.3023% {
    content: "Asse";
  }
  84.3256%,
  91.1628% {
    content: "Asset";
  }
  85.3256%,
  90.1628% {
    content: "Assets";
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typewriter {
  --caret: currentcolor;
}

.typewriter::before {
  content: "";
  animation: typing 13.5s infinite;
  text-transform: uppercase;
  color: #da2f30;
  text-shadow: #161616 5px 5px 5px;
  font-size: 5.5vw;
  font-weight: bolder;
}

@media screen and (max-width: 1000px) {
  .hero-wrapper {
    padding-left: 10px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .typewriter::before {
    font-size: 8vw;
  }
}

@media (prefers-reduced-motion) {
  .typewriter::after {
    animation: none;
  }

  @keyframes sequencePopup {
    0%,
    100% {
      content: "People";
    }
    25% {
      content: "Treasures";
    }
    50% {
      content: "Endeavors";
    }
    75% {
      content: "Assets";
    }
  }

  .typewriter::before {
    content: "People";
    animation: sequencePopup 12s linear infinite;
  }
}

.hero_content h1 {
  font-family: "Courier New", Courier, monospace;
}

.carousel .flickity-page-dots {
  display: none;
}

.carousel-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 300px;
}

.carousel-cell p {
  width: 400px;
  /* max-height: 300px; */
  overflow-y: scroll;
  text-wrap: wrap;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.floating-phone {
  position: fixed;
  left: 45px;
  bottom: 45px;
  z-index: 99;
}

.fixed-top {
  background-color: #001636;
}

.fixed-top .owl-dots {
  display: none !important;
}

.fixed-top .owl-carousel {
  width: 100vw !important;
  background-color: #001636 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-brand {
  height: 75px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--primary);
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #da2f30;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.navbar .btn:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
}

/*** Header ***/
.header-carousel .carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: rgba(22, 22, 22, 0.7);
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    /* min-height: 500px; */
  }

  /* .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */

  .header-carousel .owl-carousel-item h5,
  .header-carousel .owl-carousel-item p {
    font-size: 3vw !important;
    font-weight: 400 !important;
  }

  .owl-carousel-item a {
    font-size: 2vw !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 4vw;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  width: 200px;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.header-carousel .owl-dots {
  position: absolute;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 15px;
  transition: 0.5s;
}

.header-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 4px;
  left: 4px;
  background: #ffffff;
  border-radius: 5px;
}

.header-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(22, 22, 22, 0.7), rgba(22, 22, 22, 0.7)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Service ***/
.service-row {
  gap: 10px;
  display: flex;
  justify-content: center;
}

.service-item {
  background-color: #f8f8f8;
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-item .btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 38px;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.5s;
}

.service-item:hover {
  box-shadow: #161616 0 0 45px;
  transition: all 0.5s;
  border: none !important;
}

.service-item:hover .btn {
  width: 140px;
}

/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Project Portfolio ***/
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-inner {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.portfolio-inner img {
  transition: 0.5s;
}

.portfolio-inner:hover img {
  transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -50px;
  opacity: 0;
  transition: 0.5s;
}

.portfolio-inner:hover .portfolio-text {
  bottom: 0;
  opacity: 1;
}

/*** Quote ***/
@media (min-width: 992px) {
  .container.quote {
    max-width: 100% !important;
  }

  .quote-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .quote-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .quote-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Team ***/
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.team-item div {
  transition: 0.5s;
}

/* .team-item:hover div {
  transform: scale(1.1);
} */

.team-item .team-social {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 22, 22, 0.7);
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-social {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 1;
}

.team-item .team-social .btn {
  opacity: 0;
}

.team-item:hover .team-social .btn {
  opacity: 1;
}

/*** Testimonial ***/
.testimonial-carousel {
  display: flex !important;
  flex-direction: column-reverse;
  max-width: 700px;
  margin: 0 auto;
}

#testimonials .testimonial-item p {
  max-height: 150px;
  overflow-y: scroll;
}

.testimonial-carousel .owl-dots {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
  transition: 0.5s;
  opacity: 0;
  display: none;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
  opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
  border-radius: 60px;
  opacity: 0.4;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

#testimonials .owl-dots {
  display: none;
}

/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--secondary);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer {
  background-color: #001636 !important;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.img-circular {
  border-radius: 50%;
}

.img-height-fixed {
  height: 50vw;
  object-fit: cover;
}

.color-red {
  color: #da2f30 !important;
}

.color-blue {
  color: var(--primary) !important;
}

.shadow-box {
  transition: all 0.5s;
}

.shadow-box:hover {
  box-shadow: #161616 0 0 45px;
  transition: all 0.5s;
  border: none !important;
}

.rate {
  float: left;
  height: 46px;
  padding: 0 10px;
}
.rate:not(:checked) > input {
  position: absolute;
  top: -9999px;
}
.rate:not(:checked) > label {
  float: right;
  width: 1em;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 30px;
  color: #ccc;
}
.rate:not(:checked) > label:before {
  content: "★ ";
}
.rate > input:checked ~ label {
  color: var(--primary);
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: var(--primary);
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: var(--primary);
}
.rate:not(:checked) > input:focus {
  position: static;
  display: none;
}

.card {
  border-radius: 10px;
  filter: drop-shadow(0 5px 10px 0 #ffffff);
  height: 180px;
  background-color: #ffffff;
  padding: 20px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: 0.6s ease-in;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -15px;
  right: -15px;
  background: #da2f30;
  height: 220px;
  width: 25px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.card:hover::before {
  transform: scale(100);
}

.card:hover p {
  color: #ffffff !important;
  transition: all 0.5s;
}

.card:hover h4 {
  color: #ffffff !important;
  transition: all 0.5s;
}

.card p {
  padding: 10px 0;
}

.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #fff;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(20);
  -ms-transform: scale(20);
  transform: scale(20);
}
.ag-courses-item_title {
  min-height: 87px;
  overflow: hidden;
  font-weight: bold;
  font-size: 24px;
  color: rgb(22, 22, 22);
  z-index: 2;
  position: relative;
}
.ag-courses-item_desc-box {
  font-size: 16px;
  color: #9b9b9b;
  z-index: 2;
  position: relative;
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: var(--primary);
  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;
  border-radius: 50%;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.ag-courses_item:hover h4 {
  color: white !important;
  transition: all 0.5s;
}

.ag-courses_item:hover .ag-courses-item_desc-box {
  color: white !important;
  transition: all 0.5s;
}

.divider {
  width: 100%;
  height: 2px;
  background-color: #9b9b9b64;
}

/* .bg-img-index {
  background: url(/img/bgs/2.png);
  background-position: right;
}
.bg-img-index-2 {
  background: url(/img/bgs/6.png);
  background-position: top left;
}

.bg-img-index-3 {
  background: url(/img/bgs/8.png);
  background-position: center;
  background-repeat: space;
}

.bg-img-index-4 {
  background: url(/img/bgs/3.png);
  background-position: center;
  background-repeat: space;
}

.bg-img-index-5 {
  background: url(/img/bgs/13.png);
  background-repeat: space;
}

.bg-img-index-6 {
  background: url(/img/bgs/15.png);
  background-repeat: space;
} */
