/**
Theme Name: Essex ground maintenance
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: essex-ground-maintenance
Template: astra
*/

/*---- Global CSS ---*/

html, body {
  overflow-x: hidden;
}

.ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
 
.ast-article-single{
  padding: 0 !important;
}
 
.ast-separate-container #primary{
	margin: 0 !important;
	padding: 0 !important;
}
 
#ast-scroll-top {
    background-color: #374836 !important;
    border: 1px solid #fff !important;
}

.hover-effect-menu .menu-item a{
    transition: 0.3s ease-in-out;
}

.hover-effect-menu .menu-item a:hover{
    transform: translateY(-2px)
}

/*---- Header ----*/

.header-container{
    backdrop-filter: blur(12px);
}

.global-btn{
	line-height: 0 !important;
}

.global-btn .elementor-button {
	position: relative;
	overflow: hidden;
}

.global-btn .elementor-button-content-wrapper{
	position: relative;
	z-index: 1 !important;
	align-items: center;
}

.global-btn .elementor-button::after{
	content: "";
	position: absolute;
	width: 0%;
	height: 100%;
	background-color: #374836;
	top: 0;
	left: 0;
	transition: 0.3s ease-in-out;
	opacity: 0;
}

.global-btn .elementor-button:hover:after{
	width: 100%;
	opacity: 1;
}

.global-btn .elementor-button .elementor-button-icon svg{
	width: 20px !important;
	transition: 0.5s ease-in-out;
}

.global-btn .elementor-button:hover .elementor-button-icon svg{
	transform: rotate(-45deg);
}

.grew-up-arrow .elementor-button {
	position: relative;
	overflow: hidden;
}

.grew-up-arrow .elementor-button-content-wrapper{
	position: relative;
	z-index: 1 !important;
	align-items: center;
}

.grew-up-arrow .elementor-button::after{
	content: "";
	position: absolute;
	width: 0%;
	height: 0%;
	background-color: #374836;
    border-radius: 50%;
	top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
	margin: 0 auto;
	transition: 0.3s ease-in-out;
	opacity: 0;
}

.grew-up-arrow .elementor-button:hover:after{
	width: 101%;
	height: 101%;
	opacity: 1;
}

#carousel-next .elementor-button-content-wrapper{
	position: relative;
	z-index: 1 !important;
	align-items: center;
}

#carousel-next .elementor-button::after{
	content: "";
	position: absolute;
	width: 0%;
	height: 0%;
	border: 1px solid #FFF;
    border-radius: 50%;
	top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
	margin: 0 auto;
	transition: 0.3s ease-in-out;
	opacity: 0;
	pointer-events: none;
}

#carousel-next .elementor-button:hover:after{
	width: 101%;
	height: 101%;
	opacity: 1;
}

#carousel-prev .elementor-button-content-wrapper{
	position: relative;
	z-index: 1 !important;
	align-items: center;
}

#carousel-prev .elementor-button::after{
	content: "";
	position: absolute;
	width: 0%;
	height: 0%;
	border: 1px solid #FFF;
    border-radius: 50%;
	top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
	margin: 0 auto;
	transition: 0.3s ease-in-out;
	opacity: 0;
	pointer-events: none;
}

#carousel-prev .elementor-button:hover:after{
	width: 101%;
	height: 101%;
	opacity: 1;
}

#carousel-next .elementor-button, #carousel-prev .elementor-button{
	cursor: pointer;
}

.grew-up-arrow .elementor-button .elementor-button-icon svg{
	transition: 0.5s ease-in-out;
}

.grew-up-arrow .elementor-button:hover .elementor-button-icon svg{
	transform: rotate(45deg);
}

.main-heading h1.elementor-heading-title {
    line-height: 1.1em;
}

.main-heading span{
    font-size: 52px;
    font-weight: 400;
}

.custom-icon .elementor-icon-wrapper{
	line-height: 0 !important;
}

.custom-image{
	line-height: 0 !important;
}

/*----- Footer ------*/

.contact-us-form input[type="text"], .contact-us-form input[type="tel"], .contact-us-form input[type="email"] {
  	height: 55px !important;
	min-height: 55px !important;
}

.location-tab .e-n-tabs-heading{
	flex-direction: row !important;
	row-gap: 55px !important;
	align-items: center !important;
}

.location-tab .e-n-tab-title {
	position: relative;
	overflow: hidden;
}

.location-tab .e-n-tab-title::after{
	content: "";
	position: absolute;
	width: 0%;
	height: 100%;
	background-color: #ffffff;
	top: 0;
	left: 0;
	transition: 0.3s ease-in-out;
	opacity: 0;
}

.location-tab .e-n-tab-title .e-n-tab-title-text {
	z-index: 1 !important;
}

.location-tab .e-n-tab-title:hover:after{
	width: 100%;
	opacity: 1;
}

.location-tab .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"]::after{
	width: 100%;
}

/*---- Home Page ----*/

.left-full-width{
    padding-right: calc((100% - 1440px) / 2);
}

.services-loop-item:hover .services-content .elementor-image-box-title{
    color: #ffffff;
}

.services-loop-item:hover .services-content .elementor-image-box-img img{
    filter: invert(97%) sepia(15%) saturate(5%) hue-rotate(337deg) brightness(131%) contrast(101%);
}

.services-loop-item:hover{
	cursor: pointer;
}

.no-margin-text p:last-child {
  margin: 0 !important;
}


.project-items .elementor-grid{
  display: flex !important;
  flex-wrap: wrap; /* ✅ enables wrapping for all breakpoints */
  align-items: stretch;
  gap: 30px;
  transition: all 0.5s ease;
}

.project-items .project {
  flex: 1 1 calc(23.666% - 20px); /* ✅ 4 per row */
  max-width: calc(23.3333% - 30px);
  transition: all 0.6s ease;
  cursor: pointer;
  overflow: hidden;
  transform-origin: left center;
  transform: scaleX(1);
}

/* Active card */
.project-items .project.active {
  flex: 0 0 30%;
  max-width: 30%;
}


.project-items .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-items .project-tag {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  transition: all 0.3s ease;
}


/* ============================= */
/* 💻 Tablet (769px–1024px) */
/* ============================= */
@media (max-width: 1024px) {

.project-items .elementor-grid{
	gap: 25px;
}

.project-items .project{
    flex: 0 0 48.5%;
    max-width: 48.5%;
  }

.project-items .project.active {
    flex: 0 0 48.5%;
    max-width: 48.5%;
  }

.project-items .project-tag {
  padding: 5px 12px;
  font-size: 12px;
}
}


/* ============================= */
/* 📱 Mobile (up to 768px) */
/* ============================= */
@media (max-width: 768px) {

.project-items .elementor-grid{
	gap: 18px;
}
 .project-items .project{
    flex: 0 0 100%;
    max-width: 100%;
  }

 .project-items .project.active {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/*---- Services Grid To Flex ----*/

/* ✅ Centered Elementor loop grid */
.services-loop .elementor-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 20px;
}

.services-loop .elementor-grid > * {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  box-sizing: border-box;
}

/* 💻 Large tablet / small desktop */
@media (max-width: 1366px) {
  .services-loop .elementor-grid > * {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }
}

/* 📱 Tablet */
@media (max-width: 1024px) {
  .services-loop .elementor-grid > * {
    flex: 0 0 calc(50% - 13px);
    max-width: calc(50% - 13px);
  }
}

/* 📱 Mobile (smaller than 450px = full width) */
@media (max-width: 450px) {
  .services-loop .elementor-grid > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


.service-main-box:hover .serv-img{
    transform: scale(1.1);
}

.service-main-box{
	cursor: pointer;
}

.service-main-box .serv-btn {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.9s ease-in-out;
}

.service-main-box:hover .serv-btn {
  max-height: 200px; /* adjust to fit your content */
}


.project-card .no-margin-text p{
	height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-card .hidden-buttons{
	opacity: 0;
	transition: 0.5s ease-in-out;
}

.project.active .hidden-buttons{
	opacity: 1;
}

/*---- Services Page ------*/

.service-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-points li {
  display: flex;
  align-items: center;
}

.service-points li:not(:last-child) {
  margin-bottom: 40px;
}

.service-points li .check-icon {
  width: 30px;
  height: 30px;
  background-color: #025B03;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  position: relative;
}

.service-points li .check-icon::after {
    content: "";
    width: 8px;
    height: 13px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
    position: absolute;
}

/*---- Slider Section -----*/

.services-image-slider .elementor-swiper-button.elementor-swiper-button-next {
    bottom: -35px !important;
    top: auto !important;
    right: 37%;
	z-index: 9;
}

.services-image-slider .elementor-swiper-button.elementor-swiper-button-prev {
    bottom: -35px !important;
    top: auto !important;
    left: 37%;
	z-index: 9;
}

.services-image-slider .swiper-pagination {
    bottom: -33px !important;
	z-index: 1;
}

/*----- Bread Crumb ----*/

.custom-breadcrumb {
  font-size: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
  color: #658D62;
}

.breadcrumb-sep {
  margin: 0 6px;
  color: #fff;
  font-weight: 300;
}

.elementor-lightbox-prevent-close .elementor-slideshow__title{
	display: none;
}

.page-id-96 .footer-1{
	display: none;
}

.page-id-96 .footer-2{
	display: none;
}

/*---- Responsivness ----*/

@media(max-width: 1600px){

.main-heading span {
    font-size: 45px;
 }

.left-full-width{
    padding-right: calc((100% - 1200px) / 2);
}

.location-tab .e-n-tabs-heading{
	row-gap: 0px !important;
}
}

@media(max-width: 1366px){

.main-heading span {
    font-size: 40px;
 }
}


@media(max-width: 1024px){

.main-heading span {
    font-size: 35px;
 }

.contact-us-form input[type="text"], .contact-us-form input[type="tel"], .contact-us-form input[type="email"] {
    height: 45px !important;
    min-height: 45px !important;
}

.contact-us-form  .elementor-field-group {
    margin-bottom: 15px !important;
}

.service-points li .check-icon::after {
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.service-points li .check-icon {
    width: 23px;
    height: 23px;
}

.service-points li:not(:last-child) {
    margin-bottom: 25px;
}

.custom-breadcrumb {
  font-size: 20px;
}
}

@media(max-width: 767px){

.main-heading span {
    font-size: 30px;
 }
.location-tab .e-n-tabs-heading {
    row-gap: 13px !important;
 }

.footer-links a{
    justify-content: center !important;
}

.custom-breadcrumb {
    font-size: 18px;
    justify-content: center;
}
	
.services-image-slider .elementor-swiper-button.elementor-swiper-button-next {
    right: 17%;
}

.services-image-slider .elementor-swiper-button.elementor-swiper-button-prev {
    left: 17%;
}
.serv-icon-flex .elementor-image-box-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
}
}