/*!
Theme Name: Themex Child
Template: gardenworxli
Theme URI: 
Author: Themex
Author URI: 
Description: 
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: themex
Tags: custom-background, custom-logo, custom-menu, featuprimary-images, threaded-comments, translation-ready

*/

/* ==========================
	GLOBAL STYLES START  
=============================*/

:root {
  --primary: #008001;
  --secondary: #d3232c;
  --black: #000;
  --light-black: #222222;
  --gray: #616368;
  --light-gray: #f6f6f6;
  --white: #fff;
  --error: #ff0000;
  --success: #4caf50;
  --transition: all 0.3s ease-in-out;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}
p {
  margin: 0 0 1rem;
  line-height: 22px;
}
body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

body::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
}

.goto-top {
  display: inline-block;
  position: fixed;
  bottom: -100px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white) !important;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
  -webkit-transition: var(--transition);
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  z-index: 2000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.goto-top:hover {
  background: var(--secondary);
}

.goto-top.visible {
  opacity: 1;
  visibility: visible;
  bottom: 30px;
}

/* ==========================
	GLOBAL STYLES START  
=============================*/

/* ===============================
	HEAD & BUTTON STYLES START  
==================================*/

.section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .contact-us-cta > a {
      background: var(--secondary);
      color: var(--white) !important;
      padding: 1rem 3rem !important;
      border-radius: 50px;
    }
    
    .contact-us-cta > a:hover {
      background: var(--primary);
    }

}
.primary-heading h2 {
    font-weight: 400;
    margin: 0 0 1.5rem;
}

.primary-heading h2>span {
    font-weight: bold;
}
/* ===============================
	HEAD & BUTTON STYLES END  
==================================*/

/* ===============================
	HOME SECTION 3 STYLES START  
==================================*/

#home-s3 .home-tabs .e-n-tabs-heading {
    border: 1px solid #ADADAD;
    border-radius: 50px;
    width: fit-content;
    margin: auto;
    padding: .5rem;
}

#home-s3 .home-tabs .e-n-tabs-heading>button {
    text-shadow: unset !important;
    cursor: pointer;
}

#home-s3 .product-box-grid .elementor-image-box-wrapper,
#home-s3 .product-box-grid .elementor-image-box-wrapper * {
    transition: all .3s ease-in-out;
}

#home-s3 .product-box-grid .elementor-image-box-wrapper {
    border-radius: 20px;
    overflow: hidden;
}

#home-s3 .product-box-grid .elementor-image-box-wrapper:hover {
    background: var(--secondary);
}
#home-s3 .product-box-grid .elementor-image-box-wrapper:hover * {
    color: var(--white) !important;
}
#home-s3 .product-box-grid .elementor-image-box-wrapper .elementor-image-box-content {
    padding: 0 2rem 2rem;
}


/* ===============================
	HOME SECTION 3 STYLES END  
==================================*/

/* ===============================
	FOOTER SECTION STYLES START  
==================================*/


.newsletter-form .elementor-form-fields-wrapper {
    position: relative;
}
.newsletter-form .elementor-field-type-email input {
    padding: 1.5rem;
}

.newsletter-form .elementor-form-fields-wrapper .elementor-field-type-submit {
    position: absolute;
    width: fit-content;
    height: 100%;
    top: 0;
    right: 5px;
    display: flex;
    align-items: center;
}

.newsletter-form .elementor-form-fields-wrapper .elementor-field-type-submit button {
    background: var(--primary);
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.newsletter-form .elementor-form-fields-wrapper .elementor-field-group {
    margin: 0 !important;
}

.newsletter-form .elementor-form-fields-wrapper .elementor-field-type-submit button:hover {
    background: var(--secondary);
}

.newsletter-form .elementor-form-fields-wrapper .elementor-field-type-submit button svg {
    font-size: 1.5rem;
}

.footer-social-icons .elementor-icon-list-item>a {
    flex-direction: column;
    gap: 1rem;
}

/* ===============================
	FOOTER SECTION STYLES END  
==================================*/

@media (max-width: 767px) {
    .section {
      padding-top: 3rem !important;
      padding-bottom: 3rem !important;
    }
    .e-con-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    div#home-s2 {
        padding-bottom: 1.5rem !important;
    }
    #home-s3 .home-tabs .e-n-tabs-heading {
        border-radius: 10px;
    }
    
    #home-s3 .home-tabs .e-n-tabs-heading>button {
        flex: 1;
          border-radius: 10px;
    }
    .footer-social-icons>ul>li {
        flex: 50%;
        margin: 0 !important;
    }
    
    .footer-social-icons>ul {
        grid-row-gap: 2rem;
    }
    
    .footer-menu.footer-menu-1 .elementor-nav-menu {
        flex-direction: column;
        width: 100%;
    }


}
