/*==============================================================
  TEMPORARY: Dark background trial to match section images
  Original theme BG: #0B192C (rgb 11, 25, 44)
  Trial BG:          #08111F (rgb 8, 17, 31)

  Also mutes blue circuit PNGs / pink curly arrow shapes that
  still show through a plain CSS variable change.

  To REVERT: remove the theme-dark-bg-trial.css <link> from
  parts/layout/top-layout.php (search for theme-dark-bg-trial).
==============================================================*/

:root {
  --techguru-black: #08111F;
  --techguru-black-rgb: 8, 17, 31;
}

html,
body {
  background-color: var(--techguru-black) !important;
}

/* Section skins that hardcode a bluer navy */
.about-two,
.about-three,
.about-four,
.why-choose-one,
.why-choose-two,
.why-choose-three,
.services-two,
.services-three,
.process-one,
.process-two,
.contact-one,
.contact-two,
.portfolio-two,
.blog-one,
.faq-one,
.team-one,
.counter-one,
.cta-one,
.page-header,
.site-footer,
.footer-one,
.main-header,
.main-header-two,
.stricky-header {
  background-color: var(--techguru-black) !important;
}

/* Home hero: keep header clear so the slider image starts at the top */
body:has(.main-slider-two) .main-header-two {
  background: transparent !important;
  background-color: transparent !important;
}

body:has(.main-slider-two) .stricky-header.stricky-fixed {
  background-color: var(--techguru-black) !important;
}

.contact-one,
.contact-two,
.newsletter-one__inner,
.pricing-one__single,
.event-one__single {
  background-color: var(--techguru-black) !important;
}

/* Hardcoded leftovers */
.main-menu .main-menu__list > li > ul,
.stricky-header .main-menu__list > li > ul,
.main-menu .main-menu__list > li > ul > li > a,
.main-menu .main-menu__list > li > ul > li > ul > li > a,
.stricky-header .main-menu__list > li > ul > li > a,
.stricky-header .main-menu__list > li > ul > li > ul > li > a {
  background-color: var(--techguru-black) !important;
}

.main-slider__img::before,
.why-choose-two__img::before {
  background: rgb(var(--techguru-black-rgb)) !important;
  background: linear-gradient(
    0deg,
    rgba(var(--techguru-black-rgb), 1) 23%,
    rgba(var(--techguru-black-rgb), 0) 100%
  ) !important;
}

.process-two__bg::before {
  background: linear-gradient(
    180deg,
    rgba(var(--techguru-black-rgb), 0.7) 0%,
    var(--techguru-black) 100%
  ) !important;
}

/* Soften blue radial blurs so they don't read as bright blue panels */
.about-two__shape-2,
.why-choose-one__shape-4,
.why-choose-one__shape-5,
.why-choose-three__shape-1,
.why-choose-three__shape-2,
.about-four__bg-shape,
.about-four__bg-shape-2,
.why-choose-three__bg-shape,
.process-one__bg-shape,
.services-details__shape-1,
.faq-one__shape-1,
.faq-one__shape-2 {
  opacity: 0.08 !important;
  filter: blur(140px) saturate(0.25) brightness(0.45) !important;
}

.why-choose-three::before,
.services-details__shape-1,
.services-details__shape-2 {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Hide decorative shapes that historically carried pink/purple tints */
.about-two__shape-3,
.why-choose-one__shape-1,
.why-choose-one__shape-2,
.why-choose-one__shape-3,
.why-choose-three__bg-shape,
.process-one__bg-shape,
.process-one__bg-shape img,
.process-two__shape-1,
.process-two__shape-2,
.process-two__bg-shape,
.about-four__bg-shape,
.about-four__bg-shape-2,
.contact-two__shape-1,
.contact-two__shape-1 img,
.portfolio-two__shape-1,
.portfolio-two__shape-2,
.portfolio-two__shape-3,
.portfolio-two__shape-4,
.services-details__shape-1,
.services-details__shape-2,
.services-four__shape-1,
.main-slider-two__shape-1,
.main-slider-two__shape-2,
.main-slider-two__shape-3,
.faq-one__shape-1,
.faq-one__shape-2,
.team-one__shape-1,
.team-one__shape-3,
.team-one__shape-5 {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

/* All CTAs / actions — brand blue only (no gold/pink sticky-hover blends) */
.thm-btn,
.thm-btn:hover,
.thm-btn:focus,
.thm-btn:focus-visible,
.thm-btn:active,
a.thm-btn,
button.thm-btn,
.contact-one__btn-box .thm-btn,
.contact-two .thm-btn,
.contact-form-validated .thm-btn,
button.thm-btn[type="submit"],
.main-slider-two__action--primary,
.main-slider-two__action--primary:hover,
.main-slider-two__action--primary:focus-visible,
.main-slider-two__action--primary:active {
  background: linear-gradient(105deg, #3D72FC 0%, #5CB0E9 100%) !important;
  background-color: #3D72FC !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 22px rgba(61, 114, 252, 0.22) !important;
  -webkit-tap-highlight-color: rgba(61, 114, 252, 0.28);
}

.thm-btn::before,
.thm-btn::after,
.thm-btn:hover::before,
.thm-btn:hover::after,
.contact-one__btn-box .thm-btn::before,
.contact-one__btn-box .thm-btn::after,
.contact-two .thm-btn::before,
.contact-two .thm-btn::after,
.contact-form-validated .thm-btn::before,
.contact-form-validated .thm-btn::after,
button.thm-btn[type="submit"]::before,
button.thm-btn[type="submit"]::after {
  background: linear-gradient(105deg, #2F5FE0 0%, #4AA3E0 100%) !important;
  background-color: #2F5FE0 !important;
}

.thm-btn:hover,
.thm-btn:focus-visible,
.contact-one__btn-box .thm-btn:hover,
.contact-two .thm-btn:hover,
.contact-form-validated .thm-btn:hover,
button.thm-btn[type="submit"]:hover,
.main-slider-two__action--primary:hover,
.main-slider-two__action--primary:focus-visible {
  color: #fff !important;
  background: linear-gradient(105deg, #2F5FE0 0%, #4AA3E0 100%) !important;
  box-shadow: 0 10px 26px rgba(61, 114, 252, 0.32) !important;
}

.main-slider-two__action--ghost,
.main-slider-two__action--ghost:hover,
.main-slider-two__action--ghost:focus-visible,
.main-slider-two__action--ghost:active {
  color: #fff !important;
  background: rgba(61, 114, 252, 0.12) !important;
  border-color: rgba(92, 176, 233, 0.55) !important;
  -webkit-tap-highlight-color: rgba(61, 114, 252, 0.28);
}

/* Kill Safari/Chrome pinkish autofill + default tap flash on controls */
input,
textarea,
select,
button,
a {
  -webkit-tap-highlight-color: rgba(61, 114, 252, 0.22);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  transition: background-color 99999s ease-out;
  box-shadow: 0 0 0 1000px #0d1828 inset !important;
}

/* Remove nav/header hairline borders */
.main-menu__wrapper:before,
.stricky-header .main-menu__wrapper:before {
  border-bottom: 0 !important;
  display: none !important;
}

.brand-two__inner,
.main-slider-two .brand-two__inner,
.main-slider-two .brand-two__inner--impact,
.brand-two__inner.brand-two__inner--impact {
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

.main-slider-two .brand-two__inner--impact {
  background: #050816 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.brand-two__left:before {
  display: none !important;
}

/* Force page-header full-bleed — no right-edge cliff */
.page-header {
  overflow: hidden !important;
}

.page-header__bg {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  z-index: 0 !important;
}

@media (max-width: 767px) {
  .page-header {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-end !important;
    min-height: 280px !important;
    padding: 96px 0 40px !important;
  }

  .page-header .container {
    width: 100% !important;
  }

  .page-header__title {
    font-size: clamp(26px, 7.5vw, 32px) !important;
    margin-bottom: 14px !important;
  }

  .page-header__bg {
    /* Show the right-side artwork from landscape banners on phones */
    background-position: 82% center !important;
  }

  .thm-breadcrumb__box {
    padding: 6px 14px 7px !important;
  }

  /* Close gap between page banner and first content section */
  .telecom-page__intro.about-four,
  .about-four.telecom-page__intro,
  .services-details,
  .about-four {
    padding: 20px 0 50px !important;
  }

  .about-four__left {
    margin-top: 0 !important;
  }

  /* About (and similar) intro art — landscape crop, no tall empty frame */
  .about-four:not(.telecom-page__intro) .about-four__img {
    max-height: 200px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  .about-four:not(.telecom-page__intro) .about-four__img picture,
  .about-four:not(.telecom-page__intro) .about-four__img img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .about-four:not(.telecom-page__intro) .about-four__img-box {
    padding-bottom: 0 !important;
  }

  .about-four:not(.telecom-page__intro) .about-four__img-2 {
    display: none !important;
  }

  .main-slider-two {
    position: relative !important;
    display: block !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
  }

  .main-slider-two .swiper-container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .main-slider-two .swiper-wrapper,
  .main-slider-two .swiper-slide {
    height: 100% !important;
  }

  .main-slider-two__bg {
    background-size: cover !important;
    background-position: center center !important;
  }

  .main-slider-two .swiper-container {
    z-index: 2 !important;
  }

  .main-slider-two .brand-two--banner-fixed {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
  }

  .main-slider-two .brand-two__spotlight-dot {
    pointer-events: auto !important;
  }

  .main-slider-two .container {
    align-items: center !important;
    justify-content: center !important;
    padding-top: calc(clamp(110px, 16vh, 150px) + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    height: 100% !important;
  }

  .main-slider-two__btns-box,
  .main-slider-two__action {
    z-index: 80 !important;
    pointer-events: auto !important;
  }

  .main-slider-two__social-box {
    bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .main-slider-two__content {
    width: 100% !important;
    padding-top: 0 !important;
  }

  .brand-two__inner--impact,
  .brand-two__spotlight {
    min-height: 88px !important;
  }

  .brand-two__spotlight {
    padding: 16px !important;
  }

  .brand-two__spotlight-stage {
    min-height: 64px !important;
  }

  .brand-two__spotlight-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .brand-two__spotlight-icon span {
    font-size: 17px !important;
  }

  .brand-two__spotlight-label {
    font-size: 15px !important;
  }

  .brand-two__spotlight-text {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .brand-two__impact-title {
    font-size: 16px !important;
  }

  /* Home about — single centered intro image on phones */
  .about-two__img-2 {
    display: none !important;
  }

  .about-two__left,
  .about-two__img-box,
  .about-two__img {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }

  .about-two__img picture,
  .about-two__img img {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 24px !important;
  }

  /* Fade slides stack — keep inactive slides from blocking CTA taps */
  .main-slider-two .swiper-wrapper {
    pointer-events: none !important;
  }

  .main-slider-two .swiper-slide {
    pointer-events: none !important;
  }

  .main-slider-two .swiper-slide-active,
  .main-slider-two .swiper-slide-duplicate-active {
    pointer-events: auto !important;
  }

  .main-slider-two__bg,
  .main-slider-two__shape-1,
  .main-slider-two__shape-2,
  .main-slider-two__shape-3 {
    pointer-events: none !important;
  }

  .main-slider-two .container,
  .main-slider-two__content,
  .main-slider-two__btns-box,
  .main-slider-two__btn-box-1,
  .main-slider-two__btn-box-2,
  .main-slider-two__action {
    pointer-events: auto !important;
    position: relative;
    z-index: 60;
  }

  .main-slider-two__btns-box {
    z-index: 70 !important;
  }

  .main-slider-two__action {
    display: inline-flex !important;
    cursor: pointer !important;
    -webkit-user-select: none;
    user-select: none;
  }

  /* Keep social clickable but below CTA stack */
  .main-slider-two__social-box {
    display: flex !important;
    position: absolute !important;
    right: 14px !important;
    bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 40 !important;
    pointer-events: auto !important;
    width: auto !important;
    max-width: 48px !important;
  }

  .telecom-page__intro.about-four {
    overflow: visible !important;
  }

  .telecom-page__intro .about-four__img {
    max-height: 180px !important;
    overflow: hidden !important;
  }

  .telecom-page__intro .about-four__img picture,
  .telecom-page__intro .about-four__img img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .telecom-page__strength-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 30px 24px !important;
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .telecom-page__strength-body {
    width: 100% !important;
  }
}

/* No framed image boxes */
.why-choose-three__img,
.why-choose-one__img,
.services-details__img-1,
.services-details__need-help-img,
.about-four__img,
.about-four__img-2,
.about-two__img,
.about-two__img-2 {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.why-choose-three__img img,
.why-choose-one__img img,
.why-choose-one__img picture img,
.services-details__img-1 img,
.services-details__need-help-img img,
.about-four__img img,
.about-four__img-2 img,
.about-two__img img,
.about-two__img-2 img {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

/* Brand lockup — Hashmark + Coded Dreams */
.main-menu-two__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-menu-two__logo-link {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.main-menu-two__logo-link img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

/* Active nav item — desktop underline already uses li.current; mobile needs color */
.mobile-nav__content .main-menu__list > li.current > a {
  color: var(--techguru-base) !important;
}

.mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mobile-nav__brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.company-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
}

.company-name {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.mobile-nav__brand .company-name {
  font-size: 20px;
}

.company-slogan {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}

.company-slogan__coded {
  color: rgba(255, 255, 255, 0.55);
}

.company-slogan__dreams {
  color: #5cb0e9;
  background: linear-gradient(90deg, #5cb0e9 0%, #3d72fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .company-name {
    font-size: 18px;
  }

  .company-slogan {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}

