/*
 Theme Name:   Crest Child
 Theme URI:    https://wdtcrest.wpengine.com/
 Description:  Crest Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     crest
 Text Domain:  crest-child
 Version:      1.0.0
 Tested up to: 6.8
 Requires PHP: 7.4
 Tags:  E-Commerce, Blog, portfolio
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.
 Copyright (C) 2025 venusweb. All rights reserved.
*/

/* Global font for body text */
body {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 400;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 600; /* adjust for boldness */
}

/* Buttons */
button,
.elementor-button {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 500;
}

.testimonial-item {
  padding: 10px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 40px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
}

.stars {
  color: #ffc107;
  margin-bottom: 12px;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 12px;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-card.expanded p {
  display: block;
  -webkit-line-clamp: unset;
}

.read-more {
  margin-top: auto;
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #5a67ff;
  cursor: pointer;
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.testimonial-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
}

.testimonial-author span {
  font-size: 12px;
  color: #888;
}

/* Tiny Slider cleanup */
.tns-controls,
.tns-nav {
  display: none;
}

/* Custom nav bar */
.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.slider-nav span {
  width: 40px;
  height: 4px;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-nav span.active {
  background: #3b49ff;
}
button.read-more {
  padding: 0 !important;
  background: unset !important;
  color: #24318b !important;
  text-align: left !important;
}

.testimonial-slider,
.tns-slider {
  display: block !important;
}

.tns-item {
  display: inline-block !important;
}

/* From Customizer styles and mobile navigation */

body.no-scroll {
  overflow: hidden !important;
  height: auto !important;
}

.elementor-button.elementor-button-link.elementor-size-sm {
  margin: 0;
}
#header-wrapper {
  margin: 0;
}

.wdt-content-item .wdt-content-title-group.below span:before {
  display: none;
}

.swiper-slide.swiper-slide-visible,
.swiper-slide.swiper-slide-next {
  /*     min-height: 481px; */
}

#landingServices .wdt-content-media-group,
#landingServices .wdt-content-image-wrapper,
#landingServices .wdt-content-image,
#landingServices img {
  width: 100% !important;
  object-fit: cover;
}

.inputGroup p {
  display: flex;
  gap: 10px;
}

.inputGroup {
  margin-bottom: 10px;
}

@media screen and (max-width: 1024px) {
  .inputGroup p {
    display: block;
    margin-bottom: 0;
  }
  .inputGroup {
    margin-bottom: 0 !important;
  }
  .inputGroup p span {
    margin-bottom: 20px !important;
  }
}

.inputGroup p input,
textarea {
  background: #f6f3f4;
}

::placeholder {
  color: #000000;
  opacity: 1; /* fixes Safari default opacity */
  font-weight: 700;
  font-size: 18px;
}

.formBtn input[type="submit"] {
  padding: 16px 29px;
  font-size: 18px;
}

textarea {
  height: 200px;
}

#ctaBg {
  background: white;
}
@media screen and (max-width: 1024px) {
  #ctaBg {
    background: #062a7e;
  }
}

/* Crest mobile menu full width */
.mobile-menu {
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0;
  right: 0;
}

/* When menu is visible */
.mobile-menu.nav-is-visible {
  transform: translateX(0) !important;
}

.mobile-nav-container .menu-trigger {
  color: white;
}
.mobile-nav-container .menu-trigger i,
.mobile-nav-container .menu-trigger i:before,
.mobile-nav-container .menu-trigger i:after {
  width: 30px;
  border-radius: 10px;
  height: 3px;
}
/* Mobile menu background */
.mobile-menu .wdt-primary-nav,
.mobile-menu .wdt-primary-nav .sub-menu {
  background: #062a7e !important;
}

.mobile-menu #menu-primary {
  padding: 21px 41px;
}

.mobile-menu #menu-primary a {
  font-size: 24px;
}

/* All menu links */
.mobile-menu .wdt-primary-nav a {
  color: white !important;
  font-size: 24px;
}

/* Hover */
.mobile-menu .wdt-primary-nav a:hover {
  color: #062a7e !important;
}

/* Sub-menu styling */
.mobile-menu .wdt-primary-nav .sub-menu {
  padding-left: 20px;
}

.mobile-menu .wdt-primary-nav .sub-menu a {
  font-size: 20px;
}

/* Close button */
.mobile-menu ul li.close-nav {
  align-items: center;
  height: 68px;
  margin-bottom: 50px;
  position: relative;
}

/* Close icon color */
.mobile-menu ul li.close-nav a:before,
.mobile-menu ul li.close-nav a:after {
  background-color: white !important;
}

/* Logo before close */
.mobile-menu .wdt-primary-nav > li.close-nav::before {
  content: "";
  position: absolute;
  background-image: url("https://furber.theprogressteam.com/wp-content/uploads/2025/12/furber-white.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  width: 189px !important;
  height: 70px !important;
  left: 15px;
  z-index: 99;
}

.go-back {
  /* 	display:none !important; */
}

.mobile-menu ul ul li.close-nav {
  width: 100% !important;
}

.mobile-menu ul ul li.close-nav::before {
  content: "" !important;
  position: absolute;
  background-image: url("https://furber.theprogressteam.com/wp-content/uploads/2025/12/furber-white.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  width: 189px !important;
  height: 70px !important;
  left: 15px;
  z-index: 99;
}

.mobile-menu .sub-menu {
  padding: 21px 41px !important;
}

.mobile-menu .sub-menu .see-all {
  display: none !important;
}

/* Mobile Navigation adjustment */

.custom-mobile-nav {
  padding-inline: 2rem;
  padding-block: 1.5rem;
  background: transparent linear-gradient(180deg, #24318b 0%, #0082c9 100%) 0% 0% no-repeat padding-box;
  position: relative;
}

.top-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mobile-logo {
  max-width: 190px !important;
}

.mobile-menu-toggle {
  margin-top: 0;
  padding: 0;
  background: none;
  all: unset;
  cursor: pointer;
}

.mobile-menu-toggle:hover,
.submenu-toggle:hover {
  background: none;
}

.mobile-menu-toggle i {
  font-size: 28px;
  color: #fff;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.mobile-menu-toggle.is-open i {
  transform: rotate(90deg) scale(1);
}

.fr-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  background: #062a7e;
  transition: 0.3s;
  transform: translateX(-2000px);
}

.fr-mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 8rem;
  padding-left: 2rem;
}

.mobile-menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list a {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  position: relative;
}

.link-style a {
  position: relative;
}

.link-style a:after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition:
    width 0.3s,
    left 0.3s;
  position: absolute;
  left: 50%;
  bottom: -4px;
}

.link-style a:hover:after {
  width: 100%;
  left: 0;
}

.link-style.blue a:after {
  background-color: #062a7e;
}

.wdt-primary-nav li:not(.menu-item-has-children) > a span {
  position: relative;
}

.mobile-menu-list a:after,
.wdt-primary-nav li.menu-item-depth-0:not(.menu-item-has-children) > a span::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition:
    width 0.3s,
    left 0.3s;
  position: absolute;
  left: 50%;
  bottom: -4px;
}

.mobile-menu-list a:hover:after,
.mobile-menu-list .current-menu-item > a:after,
.wdt-primary-nav li.menu-item-depth-0:not(.menu-item-has-children) > a:hover span::after,
.wdt-primary-nav li.menu-item-depth-0:not(.menu-item-has-children).current-menu-item > a span::after {
  width: 100%;
  left: 0;
}

/* Submenu Toggle */

.submenu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  margin-left: 10px;
  cursor: pointer;
  vertical-align: middle;
  padding: 0;
  margin: 0;
}

.submenu-toggle i {
  transition: transform 0.25s ease;
  position: relative;
  top: -4px;
  font-size: 16px;
  left: 6px;
}

li.submenu-open > .submenu-toggle i {
}

.mobile-menu-list .sub-menu {
  display: none; /* hidden by default */
  padding-left: 1.5rem;
  margin-top: 0;
}

.mobile-menu-list .sub-menu a {
  font-size: 20px;
}

@media (min-width: 1024px) {
  .services-carousel {
    max-width: 1300px !important;
    margin-inline: auto !important;
  }
}

.services-carousel .wdt-swiper-pagination {
  display: none !important;
}

/* Home Hero Adjustment */

.home-feature {
  transition: 0.3s;
}

.home-feature:hover {
  transform: translateY(-10px);
}

.p-mb-0 p {
  margin-bottom: 0;
}

.wpcf7-submit {
  border: 1px solid transparent !important;
}

.wpcf7-submit:hover {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #062a7e !important;
}

/* Footer */

.footer-link a:hover {
  color: #000 !important;
}

.strip-logos .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Inner Pages */

.main-title-section-wrapper {
  border-radius: 0;
}

/* Responsive */

@media (max-width: 767px) {
  .hero-heading h2 {
    margin-bottom: 8px !important;
  }
}

.logo-header-desktop img {
  width: fit-content;
}

/* Hide Header Desktop */

.header-desktop {
  display: none !important;
}

.mobile-nav-container-mt {
  display: block !important;
}

@media (min-width: 1510px) {
  .header-desktop {
    display: flex !important;
  }

  .mobile-nav-container-mt {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mobile-menu-list {
    padding-top: 9rem;
  }
}
