/*
============================
Name: TechXen Technology & It Solution Template
Version: 1.0.1
Description: TechXen Technology & It Solution Template
Author: vikinglab
Author URI: https://themeforest.net/user/vikinglab/portfolio
Location:
============================
*/

/* Hosting-focused hero treatment */
.hero1 {
  position: relative;
  overflow: hidden;
  min-height: 900px;
  background-color: #f7fbff !important;
  background-image: radial-gradient(circle at 78% 42%, rgba(103, 164, 255, .22), transparent 28%), linear-gradient(135deg, #fff 0%, #f4f9ff 58%, #e8f2ff 100%) !important;
}

/* Float the benefit card across the lower edge of the hero. */
.hero-bottom-area {
  position: relative;
  z-index: 2;
  margin: -208px 0 80px !important;
}

.benefit-domain-search {
  max-width: 780px;
  margin: 42px auto 0;
  text-align: center;
}
.benefit-domain-search label {
  display: block;
  margin-bottom: 14px;
  color: #062a75;
  font-size: 20px;
  font-weight: 700;
}
.benefit-domain-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 20px;
  border: 1px solid #d8e4f7;
  border-radius: 999px;
  background: #f8fbff;
}
.benefit-domain-search__field > i { color: #1661d8; }
.benefit-domain-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #152653;
}
.benefit-domain-search button {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: #062a75;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.benefit-domain-search button:hover { background: #0b3d98; }

.hero1::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 190px;
  left: -10%;
  bottom: -120px;
  border-radius: 50% 50% 0 0;
  background: rgba(210, 229, 255, .55);
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero1 > .container { position: relative; z-index: 1; }
.hero1 .main-headding { padding-top: 70px; }
.hero1 .main-headding span.span { color: #062a75; text-transform: uppercase; letter-spacing: .04em; }
.hero1 .main-headding h1 { max-width: 650px; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.035em; }
.hero1 .main-headding p { max-width: 560px; font-size: 18px; line-height: 1.7; }
.hero1 .theme-btn1 { background-color: #062a75; border-radius: 999px; padding: 18px 28px; }
.hero1 .buttons .play-btn,
.hero1 .buttons .compare-plans-link { color: #062a75; }
.hero1 .buttons .compare-plans-link { margin-left: 30px; }

.hero1 .hero1-all-images { height: 690px; }
.hero1 .hero1-all-images .hero-person {
  position: absolute;
  z-index: 2;
  right: 80px;
  bottom: 0;
  width: 430px;
  height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero1 .hero1-all-images .hero-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 20px rgba(6,42,117,.16));
}
.hero1 .hero1-all-images::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  top: 100px;
  right: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(166,204,255,.5));
  box-shadow: 0 30px 80px rgba(6,42,117,.12);
}

.hero-service-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 15px 35px rgba(6,42,117,.13);
  color: #062a75;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-service-card:hover { color: #062a75; transform: translateY(-4px); box-shadow: 0 20px 40px rgba(6,42,117,.2); }
.hero-service-card > span { flex: 1; color: #101b45; white-space: nowrap; }
.hero-service-card > i:first-child { font-size: 22px; color: #1661d8; }
.hero-service-card > i:last-child { font-size: 13px; }
.hero-service-card-domain { left: 0; top: 220px; color: #fff; background: #062a75; }
.hero-service-card-domain > span, .hero-service-card-domain > i:first-child { color: #fff; }
.hero-service-card-domain:hover { color: #fff; background: #0b3d98; }
.hero-service-card-hosting { right: 120px; top: 40px; }
.hero-service-card-email { right: -10px; top: 145px; }
.hero-service-card-site { right: -30px; top: 290px; }

/* Cycle each service card through the four hero positions. */
.hero1 .hero-service-card { right: auto; animation-duration: 16s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.hero1 .hero-service-card-domain { animation-name: service-card-domain-cycle; }
.hero1 .hero-service-card-site { animation-name: service-card-site-cycle; }
.hero1 .hero-service-card-email { animation-name: service-card-email-cycle; }
.hero1 .hero-service-card-hosting { animation-name: service-card-hosting-cycle; }

@keyframes service-card-domain-cycle {
  0%, 100% { left: 0; top: 220px; }
  25% { left: calc(100% - 190px); top: 290px; }
  50% { left: calc(100% - 230px); top: 145px; }
  75% { left: calc(100% - 340px); top: 40px; }
}
@keyframes service-card-site-cycle {
  0%, 100% { left: calc(100% - 190px); top: 290px; }
  25% { left: calc(100% - 230px); top: 145px; }
  50% { left: calc(100% - 340px); top: 40px; }
  75% { left: 0; top: 220px; }
}
@keyframes service-card-email-cycle {
  0%, 100% { left: calc(100% - 230px); top: 145px; }
  25% { left: calc(100% - 340px); top: 40px; }
  50% { left: 0; top: 220px; }
  75% { left: calc(100% - 190px); top: 290px; }
}
@keyframes service-card-hosting-cycle {
  0%, 100% { left: calc(100% - 340px); top: 40px; }
  25% { left: 0; top: 220px; }
  50% { left: calc(100% - 190px); top: 290px; }
  75% { left: calc(100% - 230px); top: 145px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero1 .hero-service-card { animation: none; }
}

.hero-trust-row {
  position: absolute;
  z-index: 6;
  right: 10px;
  bottom: 35px;
  display: flex;
  gap: 12px;
}
.hero-trust-row span { display: grid; grid-template-columns: 30px auto; column-gap: 9px; align-items: center; min-width: 115px; padding: 13px 15px; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(6,42,117,.1); color: #062a75; }
.hero-trust-row i { grid-row: span 2; font-size: 22px; color: #18ad88; }
.hero-trust-row b { font-size: 15px; line-height: 1; }
.hero-trust-row small { color: #7182a7; font-size: 11px; }

@media (max-width: 991px) {
  .hero1 { min-height: 0; padding-bottom: 40px; }
  .hero-bottom-area { margin: 40px 0 56px !important; }
  .benefit-domain-search { margin-top: 28px; }
  .hero1 .main-headding { padding-top: 20px; }
  .hero1 .hero1-all-images { margin-top: 30px; }
  .hero1 .hero1-all-images .hero-person { right: 50%; transform: translateX(50%); }
}
@media (max-width: 767px) {
  .hero1 { padding-top: 0; }
  .hero1 .main-headding { padding-top: 18px; }
  .hero1 .main-headding h1 { font-size: 38px; line-height: 1.12; }
  .hero1 .main-headding p { font-size: 17px; line-height: 1.65; }
  .hero1 .buttons .compare-plans-link {
    display: block;
    width: fit-content;
    margin: 18px 0 0;
  }
  .hero1 .hero-service-card { animation: none; right: auto; }
  .hero1 .hero-service-card-hosting { left: 80px; top: 25px; }
  .hero1 .hero-service-card-domain { left: -10px; top: 165px; }
  .hero1 .hero-service-card-email { left: calc(100% - 155px); top: 110px; }
  .hero1 .hero-service-card-site { left: calc(100% - 145px); top: 245px; }
  .hero1 .hero1-all-images { height: 520px; transform: scale(.82); transform-origin: top center; margin-top: 12px; margin-bottom: -45px; }
  .hero1 .hero1-all-images .hero-person { width: 350px; height: 520px; right: 50%; transform: translateX(50%); }
  .hero-service-card { min-width: 175px; padding: 12px 13px; gap: 8px; font-size: 12px; }
  .hero-service-card-hosting { right: 80px; top: 25px; }
  .hero-service-card-domain { left: -10px; top: 165px; }
  .hero-service-card-email { right: -20px; top: 110px; }
  .hero-service-card-site { right: -30px; top: 245px; }
  .hero-trust-row { right: 0; bottom: 15px; gap: 6px; }
  .hero-trust-row span { min-width: 90px; padding: 10px 8px; grid-template-columns: 23px auto; column-gap: 4px; }
  .hero-trust-row i { font-size: 17px; }
  .benefit-domain-search__field { padding-left: 14px; gap: 8px; }
  .benefit-domain-search button { padding: 13px 15px; }
}
