/**
 * Theme Name:     Astra Child
 * Author:         Brainstorm Force
 * Template:       astra
 * Text Domain:	   astra-child
 * Description:    The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
 */


.cd-services-item:after {
    width: 100px;
    height: 100px;
    position: absolute; 
    content: '';
    background-color: #4f4f4f; 
    bottom: -21px;
    right: -12px;
    border-radius: 50% 50% 0% 50%;
    transition: .3s;
    z-index: 0;
}

.cd-services-item, .cd-about-item {
    position: relative;
    overflow: hidden;
}
.cd-services-item:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 0;
    right: 0;
    bottom: 0;
}
.cd-services-item:hover .elementor-widget-container p {
    color: #fff !important;
	z-index: 2;
    position: relative;
	transition: .2s;
}
.cd-services-item:hover h2.elementor-heading-title {
    color: #fff !important;
    z-index: 2;
    position: relative;

}
.cd-about-item :hover h2.elementor-heading-title {
    color: #fff !important;
    z-index: 2;
    position: relative;
}
.cd-about-item :hover .elementor-widget-container p{
    color: #fff !important;
    z-index: 2;
    position: relative;

} 
.cd-about-item:hover h2.elementor-heading-title {
    color: #fff !important;
    z-index: 2;
    position: relative;

}
.cd-about-item:after {
    width: 10px;
    height: 100%;
    position: absolute;
    content: '';
    background-color: #1d7e96;
    bottom: 0;
    right: 0;
    border-radius: 0;
    transition: .4s;
    z-index: 0;
}
.cd-about-item:hover:after {
    width: 100%;
}
.cd-logo-border img	{
	position:relative;
}
@keyframes borderMove {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.cd-logo-border .elementor-widget-container:before {
    content: '';
    position: absolute;
    width: 157px;
    height: 157px;
    top: -84px;
    left: -84px;
    z-index: 0;
    border-radius: 50%;
    border: 4px dashed #1d7e96;
	animation: borderMove 15s linear infinite;
}


.header_sec .e-con-inner {
    grid-template-columns: auto max-content !important;
    justify-content: space-between !important;
    grid-gap: 20px;
    align-items: center;
    display: flex !important;
    flex-flow: unset !important;
}
.header_right ul {
    align-items: center;
    display: flex !important;
    flex-flow: wrap !important;
    grid-gap: 25px;
}
.header_right ul::before,.header_right ul::after{
  display: none;
}
header#masthead{
  position: sticky !important;
  top: 0px;
}
header#masthead .hfe-site-logo {
    position: relative;
    z-index: 2;
}
header#masthead.sticky {
    background-color: #4f4f4f;
}
div#wpadminbar ~ div#page header#masthead{
  top: 32px;
}
.orange_btn a {
    height: 40px;
    width: 129px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*--------------------------------------------------------------
 # Toggle Btn css
--------------------------------------------------------------*/
 .ham {
     cursor: pointer;
     -webkit-tap-highlight-color: transparent;
     transition: transform 400ms;
     -moz-user-select: none;
     -webkit-user-select: none;
     -ms-user-select: none;
     user-select: none;
     max-width: 50px;
}
 .hamRotate.active {
     transform: rotate(45deg);
}
 .hamRotate180.active {
     transform: rotate(180deg);
}
.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #000;
    stroke-width: 3px;
    stroke-linecap: round;
}
 .ham7 .top {
     stroke-dasharray: 40 82;
}
 .ham7 .middle {
     stroke-dasharray: 40 111;
}
 .ham7 .bottom {
     stroke-dasharray: 40 161;
}
 .ham7.active .top {
     stroke-dasharray: 17 82;
     stroke-dashoffset: -62px;
}
 .ham7.active .middle {
     stroke-dashoffset: 23px;
}
 .ham7.active .bottom {
     stroke-dashoffset: -83px;
}
 .toggle_btn{
     display: none;
     position: relative;
     z-index: 9;
}



@media(max-width: 991px){
   .toggle_btn{
       display: block;
        margin-top: -8px;
      margin-right: -8px;
  }
  #masthead{
    overflow-x: hidden;
  }
/*   #masthead .header_right ul {
      position: fixed;
      top: 0px;
      width: 100%;
      left: 0px;
      background: var(--white);
      min-height: 103vh;
      display: flex;
      transform: translateX(-100%);
      padding: 75px 15px 40px;
      transition: all 0.4s;
       display: block !important;
  }
	 */
.header_right ul {
    align-items: center;
    display: flex !important;
    flex-flow: wrap !important;
    grid-gap: 25px;
    position: fixed;
    top: 70px;
    width: 100%;
    left: 0px;
    background: var(--white);
    min-height: 103vh;
    display: flex;
    transform: translateX(-100%);
    padding: 30px 15px 40px;
    transition: all 0.4s;
    display: block !important;
}
	
	
	
  #masthead .header_right ul li {
      width: 100%;
  }
  #masthead .header_right ul li a {
      padding: 15px 0px;
      border-bottom: 1px solid var(--grey);
  }
  #masthead .header_right ul li:last-child a {
      background: transparent;
      border-radius: unset !important;
      color: var(--grey);
      width: 100% !important;
  }
  #masthead .header_right ul li.current-menu-item:last-child a {
    color: var(--black);
  }
.show .header_right ul {
    transform: translateX(0%);
    background-color: #ffffff;
}
  .header_right {
      max-width: fit-content;
  }
  .header_left {
      display: contents;
  }
  .header_sec .e-con-inner{
    padding-bottom: 8px !important;
  }
  .header_left a {
    position: relative;
    z-index: 9;
    }
}

.testi-slider [type=button], .testi-slider button {
    display: inline-block;
    font-weight: 400;
    color: #0000;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    background-color: #3f3f3f;
    border: 0px solid #ffffff;
    padding: 7px;
    font-size: 1.2rem;
    border-radius: 3px;
    transition: all .3s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.testi-slider .slick-next:before, .testi-slider .slick-prev:before {
    font-family: unset;
    font-size: 36px;
    line-height: 0;
    opacity: 1;
    color: #fff;
    /* -webkit-font-smoothing: antialiased; */
    -moz-osx-font-smoothing: grayscale;
}

.testi-slider  .slick-slide {
    box-shadow: none;
    margin: 8px;
    background-color: #fff;
    border-radius: 10px;
}
.testi-slider button.slick-prev.slick-arrow {
    position: absolute;
    right: 70px;
    bottom: -90px !important;
    top: unset;
    left: unset;
}
.testi-slider button.slick-next.slick-arrow {
    right: 12px;
    top: unset;
    bottom: -90px;
}

.testi-slider [type=button]:focus, .testi-slider [type=button]:hover, .testi-slider [type=submit]:focus, .testi-slider [type=submit]:hover, .testi-slider button:focus, .testi-slider button:hover {
    color: #ffffff00;
    background-color: #0c0d0e;
    text-decoration: none;
}

ul.slick-dots {
    bottom: 10px;
}
.slick-dots li button:before {
    font-size: 15px !important;

}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #ffffff;
    font-size: 15px !important;
}
.slick-dots li {
    width: 20px;
    height: 20px;
    margin: 0 0px;
}
.hero-banner-slider [type=button]:focus, .hero-banner-slider [type=button]:hover, .hero-banner-slider [type=submit]:focus, .hero-banner-slider [type=submit]:hover, .hero-banner-slider button:focus, .hero-banner-slider button:hover {
    color: #fff  !important;
    background-color: #ffffff00  !important;
    text-decoration: none  !important;
}

/* Style the Contact Form 7 container */
.wpcf7-form {
    width: 100%;
    padding: 0;
    background: #d70006;
    border-radius: 0;
}
span.wpcf7-spinner {
    position: absolute;
}

/* Use flexbox for two-column layout */
.wpcf7-row {
    display: flex;
    gap: 10px;
}

.wpcf7-row .wpcf7-half {
    width: 50%;
}

/* Full width inputs */
.wpcf7-full {
    width: 100%;
}

/* Style labels */
.wpcf7-form label {
    color: #fff;
}
.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 15px;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 16px;
    background: #f8f8f8;
    margin-top: 12px;
}

/* Style input fields, textareas, and select */


/* Focus effect */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #007b8f;
    box-shadow: 0 0 5px rgba(0, 123, 143, 0.3);
}

/* Textarea styling */
.wpcf7-form textarea {
    height: 100px;
    resize: vertical;
}

/* Style submit button */
.wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 12px;
    background: #3f3f3f !important;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 0 !important;
}

/* Hover effect */
.wpcf7-form .wpcf7-submit:hover {
    background: #000000 !important;
}


.contact-from-common {
    box-shadow: 0px 0px 2px #cfcfcf !important;
    padding: 40px;
    border-radius: 10px;
}


label {
    width: 100%;
    text-transform: capitalize;
    font-family: 'Cabin';
}
.contact-from-common .cd-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-flow: wrap;
}
.cd-column-2 {
    width: calc(50% - 10px );
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: 100%;
    border: 1px solid #e5e5e5;
    padding: 11px;
    transition: all .3s;
    border-radius: 10px;
    margin-top: 10px;
    text-transform: capitalize;
}
textarea {
    height: 120px;
    margin-bottom: 10px;
}
[type=submit] {
    background-color: #20231b !important;
    padding: 13px;
    width: 150px;
    color: #fff;
    font-family: 'Cabin';
    font-weight: 600;
    text-transform: uppercase;
    border: 0;
}
label span {
    color: red;
}
.testi-item.e-flex.e-con.e-child {
    padding: 20px;
}

.testi-item  .elementor-element {
    margin-bottom: 10px !important;
}
.services-list .elementor-widget-container:hover {
    background-color: #3f3f3f !important;
    transition: .2s;
}
.services-list:hover h3.elementor-icon-box-title a {
    color: #fff;
}
.slick-dotted.slick-slider.hero-banner-slider {
    margin-bottom: 0;
}
@media only screen and (max-width:767px){
.contact-from-common .cd-row {
    display: flex;
    justify-content: space-between;
    gap: 0;
    flex-flow: wrap;
    flex-direction: column;
}
.cd-column-2 {
    width: calc(100% - 0px );
}
.contact-from-common {
    padding: 20px;
    border-radius: 10px;
}
}
.wpcf7-form {
    width: 100%;
    padding: 0;
    background: #000000;
    border-radius: 0;
}

/*--------------------------------------------------------------
 # Custom WooCommerce Cart Icon & Badge Styling
 --------------------------------------------------------------*/
.cw-cart-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    color: #3f3f3f; /* theme primary dark */
    transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cw-cart-icon-wrapper:hover {
    color: #d70006; /* theme accent red */
    transform: scale(1.05);
}

.cw-cart-icon-container {
    position: relative;
    display: inline-block;
}

.cw-icon-svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cw-cart-icon-wrapper:hover .cw-icon-svg {
    transform: rotate(-8deg) scale(1.05);
}

.cw-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: linear-gradient(135deg, #d70006 0%, #ff3b30 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 14px; /* adjusted for absolute alignment */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(215, 0, 6, 0.3);
    border: 2px solid #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.cw-cart-icon-wrapper:hover .cw-cart-count {
    transform: scale(1.2) translateY(-2px);
    box-shadow: 0 5px 10px rgba(215, 0, 6, 0.4);
}

/* Smooth hide/show for empty state if enabled */
.cw-cart-count.cw-cart-count-hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}



