/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for the Astra WordPress theme.
Author: Ahtisham
Template: astra
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* Add your custom styles below */

@font-face {
    font-family: 'TestDomaineDisplay';
    src:
        url('./fonts/domaine-display-medium.woff2') format('woff2'),
        url('./fonts/domaine-display-semibold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
h1,.newsletter-heading h2 {
    font-family: 'TestDomaineDisplay', serif !important;
}

.logo-text a {
  font-family: 'TestDomaineDisplay', serif !important;
}

.elementor-647 .elementor-element.elementor-element-09ff471 .elementor-heading-title{
	font-family:'Inter' !important;
}
.hero-section-title {
  font-size: 96px;
  font-weight: 500;
  color: #000000;
}
.main-description {
  font-size: 28px;
  font-weight: 500;
  font-family: 'Inter';
  color: #000000CC;
}
.hero-section-img img {
  border-radius: 25px;
}

.about-us-home h4, .media-section h4, .products-section h4, .blog-section h4, .about-us-main h4{
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-us-home h4::before, .media-section h4::before, .products-section h4::before, .blog-section h4::before, .about-us-main h4::before {
  content: '';
  width: 40px;
  height: 2px;
  background: #000;
  position: relative;
}

.about-us-home .elementor-swiper-button-prev {
  position: absolute;
  bottom: -35%;
  top: unset !important;
  left: unset !important;
  right: 18%;
  border-radius: 50%;
  border: 1px solid #00000029;
  padding: 15px;
}
.about-us-home .elementor-swiper-button-next{
  bottom: -35%;
  top: unset !important;
  left: unset !important;
  right: 25%;
  border-radius: 50%;
  border: 1px solid #00000029;
  padding: 15px;
}
.about-us-home .elementor-swiper-button-prev svg, .about-us-home .elementor-swiper-button-next svg{
  fill: #000 !important;
}
.about-us-home .swiper-slide-image {
  height: 450px;
  width: 100%;
  object-fit: cover
}
.about-us-button .icon.icon-arrow-right {
  color: #fff;
  background: #F2E4CE;
  transform: rotate(-40deg);
  height: 36px;
  width: 37px;
  text-align: center;
  line-height: 37px;
  border-radius: 50%;
}
.about-us-button .elementor-button-content-wrapper {
  align-items: center;
  padding: 0 !important;
}
.about-us-button .elementor-button {
  padding: 5px 5px 5px 15px !important
}

.home .blog-section .hfe-post-image {
  padding: 10px;
  border-radius: 20px;
}
.home .blog-section .hfe-post-image img{
  border-radius: 16px !important;
}
.home .blog-section .hfe-post-title a {
  text-decoration: none !important;
}

.blog-section .hfe-post-card .hfe-post-content{
  display: flex;
  flex-direction: column;
  padding-bottom: 40px !important;
}
.blog-section .hfe-post-card .hfe-post-meta {
  order: 1;
}
.blog-section .hfe-post-card .hfe-post-title{
  order: 2;
}
.blog-section .hfe-post-card .hfe-read-more{
  order: 3;
  text-decoration: none;
  padding-bottom: 10px;
  border-bottom: 1px solid #00000029; 
  width: 23%;
}
.home .products-section {
  height: 2350px;
}
.home .products-section .product-main {
  position: sticky;
  top: 70px;
}
.home .products-section .product-main:not(:first-child){
  box-shadow: 0 -16px 24px rgba(0,0,0,.06),0 -2px 6px rgba(0,0,0,.04),0 0 1px rgba(0,0,0,.04);
}

.wp-singular .ast-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.elementor-location-single {
  padding: 0 !important;
}

#primary {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container {
  position: absolute;
  top: 40px;
  width: 103vw;
  height: 100vh;
  left:  -84vw !important;
  
}

@media(max-width:767px){
	
#theme-toggle {
  width: 100%;
  padding: 10px;
  position: fixed;
  margin: 0 !important;
  left: 5px;
  bottom: 20%;
}
.menu-item.menu-item-theme-toggle {
  position: fixed;
  width: 100%;
  bottom:  50% !important;
}
.ctt-knob {
  width: 200px !important;
  left:5px !important;
  height: 42px;
}
.dark-mode .ctt-knob {
  left: 5px !important;
  height: 42px !important;
}
.dark-mode .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  background: #020256;
}
.dark-mode .elementor-element.elementor-element-f7200d9.e-con-full.e-flex.e-con.e-child {
  background: #020256;
  border: 1px solid #FFFFFF3D;
}
.dark-mode .elementor-menu-toggle__icon--open.e-font-icon-svg.e-eicon-menu-bar {
  fill: #fff !important;
}
	
.dark-mode .elementor-menu-toggle__icon--close.e-font-icon-svg.e-eicon-close {
  fill: #fff !important;
}
.ctt-track {
  width: 100%;
  padding: 25px 0;
}
}

.elementor-element.elementor-element-d1554da.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
  background: #f7f5f2;
}
#primary {
  margin: 0 !important;
  padding: 0 !important;
}
.category-main-post img {
  width: 100%;
}

.about-us-main .elementor-icon-list-item::before {
  content: "";
  position: absolute;
  height: 7px;
  width: 7px;
  background: #000;
  border-radius: 50%;
  margin-left: -20px;
  top: 14px;
}
  margin-left: 20px;
}
.dark-mode .about-us-main .elementor-icon-list-item::before{
  background: #fff !important;
}

.newsletter-form .wpforms-submit-container {
  margin-top:  5px !important;
}
.newsletter-form #wpforms-331-field_1 {
  padding: 23px;
}
.newsletter-form #wpforms-submit-331 {
  padding: 23px;
  line-height: 1px;
}

a, a:focus, a:hover, a:visited {
  text-decoration: none !important;
  outline: none !important;
}
.ctt-inline {
  margin-left: 15px;
}
.main-blog-top .eael-post-elements-readmore-btn::after, .blogs-section .eael-post-elements-readmore-btn::after {
  content: '';
  display: inline-block;
  height: 20px;
  width: 20px;
  background: url('./assets/icons/arrow-right-blog.png');
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 5px;
  margin-left: 20px; 
}

@media(max-width:728px){
.about-us-home .elementor-swiper-button-prev, .about-us-home .elementor-swiper-button-next{
  bottom: -25% !important;
}
.main-blog-top .eael-grid-post-holder-inner {
  flex-direction: column !important;
}
.main-blog-top .eael-entry-media {
  width: 100% !important;
  order: 2;
}

.home .products-section {
  	height: 3850px;
}
.blog-section .hfe-post-card .hfe-read-more{
	width:50% !important;
}
	
.home .blog-section .hfe-post-image {
  	padding: 10px !important;
}
	
.elementor-nav-menu--dropdown .menu-item a {
  border-bottom: 1px solid #33373d;
  padding: 20px;
}
	
body.dark-mode .moon-active {
  left: 70px;
}
body.light-mode .moon-inactive {
  left: 70px;
}
body.light-mode .sun-active {
  left:   -70px;
}
body.dark-mode .sun-inactive {
  left: -75px;
}
}

.single-post .highligted-text p {
  background: #F2E4CE;
  width: 100%;
  padding: 32px;
  margin-bottom: 40px !important;
  border-radius: 16px;
  font-size: 32px;
}
.dark-mode .single-post .has-text-color {
  color: #fff !important;
  font-size: 20px !important;
}

.dark-mode .single-post p.has-text-color {
  color: #fff !important;
  font-size: 20px !important;
}
.dark-mode .single-post p {
  font-size: 18px !important;
  color: #FFFFFFCC !important;
}
.hfe-read-more{
  position: relative;
}
.hfe-read-more::after {
  content: '';
  width: 25px;
  height: 15px;
  position: absolute;
  right: 0;
  background: url('./assets/icons/arrow-right.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  top:10px;
}
.dark-mode .main-blog-top .eael-post-elements-readmore-btn::after, .dark-mode .blogs-section .eael-post-elements-readmore-btn::after, .dark-mode .hfe-read-more::after{
  background: url('./assets/icons/arrow-right-dark.png');
  background-repeat: no-repeat;
  top: 7px;
}
@media(min-width:768px) and (max-width:1024px){
	
.header-menu  {
  width: 7.5% !important;
}
.header-main .elementor-element-f7200d9 {
  border-radius: 50%;
  border-color: transparent;
  border-width: 1px;
  width: 100%;
}
}


.contact-form-main .wpforms-confirmation-container-full {
  background: transparent !important;
  border: none !important;
  text-align: center;
}
.contact-form-main .wpforms-confirmation-container-full p {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-form-main .wpforms-confirmation-container-full p::before{
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  content: "\f00c";
  font-size: 20px;
  height: 50px;
  width: 50px;
  background: #000;
  text-align: center;
  color: #fff;
  line-height: 50px;
  border-radius: 50%;
}

.dark-mode .contact-form-main .wpforms-confirmation-container-full p::before{
  background: #fff !important;
  color: #030336;
}

.custom-about-form-wrapper {
    position: fixed;
  right: 10%;
  bottom: 20%;
  width: 525px;
  max-width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 999999;
  transition: all 0.3s ease;
}

.custom-about-form-close {
position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  background: none;
  box-shadow: none;
}
.custom-about-form-close:hover{
	background:none !important;
}
.custom-about-form-wrapper {
    display: none;
}

.dark-mode .hero-section-icons svg:hover path {
  fill: rgba(255, 255, 255, 0.6) !important;
}

.dark-mode .footer-icon svg:hover path {
  fill: rgba(255, 255, 255, 0.6);
}

.dark-mode .legal-top {
  background: #030336 !important;
}

.light-mode .hero-section-icons svg:hover path, .light-mode .footer-icon svg:hover path {
  fill: #595959 !important;
}

.blog-top .eael-entry-wrapper {
  padding: 24px;
}


.about-us-button:hover .elementor-button-text {
  opacity: 0.6;
}
.dark-mode .about-us-button .elementor-button-link:hover .icon.icon-arrow-right {
  background: #8181c3 !important;
}

.dark-mode .menu-item.current-menu-item {
  background: #030387;
  border-radius: 50px;
}
.light-mode .menu-item.current-menu-item{
  background: #f2e4ce;
  border-radius: 50px;
}

.light-mode .hero-section-icons svg path {
  fill: #000;
}

.dark-mode .dim-color, .dark-mode .dim-color h2, .dark-mode .dim-color h3, .dark-mode .dim-color h4, .dark-mode .dim-color h5, .dark-mode .dim-color h6, .dark-mode .dim-color p, .dark-mode .dim-color li span{
  color: #FFFFFFCC !important;
}
.dark-mode .about-us-main .elementor-icon-list-item::before{
	background: #fff;
}

.dark-mode .elementor-divider-separator {
  border-color: #FFFFFF3D !important;
}

.light-mode .hfe-nav-menu .hfe-menu-item:hover {
  background: #f2e4ce;
  border-radius: 50px;
}
.dark-mode .hfe-nav-menu .hfe-menu-item:hover{
  background:#030387;
  border-radius: 50px;
}
.hfe-nav-menu .hfe-menu-item{
  padding: 10px !important;
}
.hfe-nav-menu li{ 
  margin-left: 20px !important;
}


.cky-notice-des p {
  color: #000 !important;
}
.cky-title {
  color: #212121 !important;
}

.elementor-button-content-wrapper:hover {
  opacity: 0.6;
}
.hfe-read-more:hover {
  opacity: 0.6;
}

.cky-modal p {
  color: #000 !important;
}

.wpforms-submit:hover {
  opacity: 0.6;
}

#wpforms-confirmation-331 {
  background: transparent;
  border: none !important;
}

#wpforms-confirmation-331 p {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -.2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
#wpforms-confirmation-331 p::before{
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  content: "\f00c";
  font-size: 20px;
  height: 50px;
  width: 50px;
  background: #000;
  text-align: center;
  color: #fff;
  line-height: 50px;
  border-radius: 50%;
}
.dark-mode #wpforms-confirmation-331 p::before{
  background: #fff !important;
  color: #030336;
}

#wpforms-submit-331:hover {
  background: #f2e4ce !important;
}