/* 
Theme Name: Eco Guardian
Description: This is a child theme of Hello Elementor for Eco Guardian, created by Brand Builder Studio
Author: Brand Builder Studio
Author URI: https://brandbuilderstudios.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: ecoguardian
*/

body {font-size: 1.1rem; letter-spacing: 0.05em;}
h1, h2, h3, h4, h5, h6 { letter-spacing: 0;}
h1 {font-size: 4.209rem; text-transform: uppercase;}
h2 {font-size: 3.157rem; text-transform: uppercase;}
h3 {font-size: 2.369rem; text-transform: uppercase;}
h4 {font-size: 2rem; text-transform: uppercase;}
h5 {font-size: 1.65rem; text-transform: uppercase;}
h6 {font-size: 1.25rem; text-transform: uppercase;}

#eg-hero h1 {
    font-size: 3rem;
}
#eg-hero .slide-content {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 3rem;
}
@media(min-width:1025px) {
    #eg-hero .swiper-slide {
        aspect-ratio: 4/2.2;
    }
    #eg-hero .slide-image {
        position: absolute;
        width: 50%;
        height: 100%;
        overflow: hidden;
    }
    #eg-hero .slide-image.slide-image-left {left: 0%;}
    #eg-hero .slide-image.slide-image-right {left: 50%;}
    #eg-hero .slide-image img {
        max-width: none;
        width: 130%;
        transform: translateY(-5%);
    }
    #eg-hero .slide-image.slide-image-left img {
        float: right;
    }
    #eg-hero .slide-content {
        width: 50%;
        padding-bottom: 0;
    }
    #eg-hero .slide-content.slide-content-left {padding-right: 3rem;padding-left: 3rem;}
    #eg-hero .slide-content.slide-content-right {padding-left: 3rem;padding-right: 3rem;}
    #eg-hero h1 {
        font-size: 4rem;
    }
}
@media(min-width:1280px) {
    #eg-hero .swiper-slide {
        aspect-ratio: 4/1.8;
    }
    #eg-hero .slide-content.slide-content-left {padding-right: 3rem;padding-left: 2rem;}
    #eg-hero .slide-content.slide-content-right {padding-left: 3rem;padding-right: 2rem;}
    #eg-hero .slide-image {
        position: absolute;
        width: 40%;
        height: 100%;
    }
    #eg-hero .slide-image.slide-image-left {left: 0%;}
    #eg-hero .slide-image.slide-image-right {left: 60%;}
    #eg-hero .slide-content {
        width: 60%;
    }
    #eg-hero h1 {
        font-size: 5rem;
    }
}
@media(min-width:1500px) {
    #eg-hero .swiper-slide {
        aspect-ratio: 4/1.6;
    }
}
@media(min-width:1800px) {
    #eg-hero .swiper-slide {
        aspect-ratio: 4/1.5;
    }
}
@media(min-width:2100px) {
    #eg-hero .swiper-slide {
        aspect-ratio: 4/1.4;
    }
}

.title-tag {
	color: var(--e-global-color-accent);
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	display: block;
	margin-bottom: 0.8rem;
}
.text-white {
	color: #fff;
}

@media(min-width:768px) {
	h1 {font-size: 5.61rem; text-transform: uppercase;}
	h2 {font-size: 4.209rem; text-transform: uppercase;}
	h3 {font-size: 3.157rem; text-transform: uppercase;}
	h4 {font-size: 2.369rem; text-transform: uppercase;}
	h5 {font-size: 1.777rem; text-transform: uppercase;}
	h6 {font-size: 1.333rem; text-transform: uppercase;}
}

body.home #elementor-popup-modal-704,
body.home #elementor-popup-modal-724,
body.home #elementor-popup-modal-730 {
  animation: circleReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes circleReveal {
  from { clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%)); }
  to   { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
}

body.home .elementor-popup-modal.circle-closing {
  animation: circleConceal 0.7s cubic-bezier(0.4, 0, 0.2, 1) both !important;
}

@keyframes circleConceal {
  from { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
  to   { clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%)); }
}