/*
Theme Name: Esh
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ==================== Common Style Start ==================== */
:focus,
:focus-visible,
:focus-within {
    outline: none !important;
}

.elementor-icon-wrapper {
    display: flex;
}

.common-details .elementor-widget-container>*:last-child {
    margin-bottom: 0 !important;
}

.common-details h1,
.common-details h2,
.common-details h3,
.common-details h4,
.common-details h5,
.common-details h6 {
    margin-bottom: 20px;
    margin-top: 0;
}

.common-details ul,
.common-details ol {
    margin-bottom: 20px;
}

.common-details ul li:not(:last-child),
.common-details ol li:not(:last-child) {
    margin-bottom: 15px;
}

.common-details strong,
.common-details b {
    color: #000000 !important;
}

.common-details .alignnone,
.common-details .alignleft,
.common-details .alignright,
.common-details .aligncenter {
    height: 380px !important;
    object-fit: cover !important;
}

.common-details .alignnone {
    float: none;
    margin: 20px;
}

.common-details .alignleft {
    float: left;
    margin: 20px 20px 20px 0;
}

.common-details .alignright {
    float: right;
    margin: 20px 0 20px 20px;
}

.common-details .aligncenter {
    float: none;
    display: block;
    margin: 20px auto;
}

.common-details blockquote {
    padding-left: 30px;
    border-left: 5px solid #000000;
    margin-bottom: 20px;
}

/* ==================== Common Style End ==================== */


/* ==================== HomePage Start ==================== */

.cmn-heading-title .elementor-heading-title span {
    color: #fabc44 !important;
    position: relative;
}

.cmn-heading-title .elementor-heading-title span::after {
    content: '';
    position: absolute;
    background: rgba(250, 188, 68, 0.3);
    width: 100%;
    height: 3px;
    bottom: -2px;
    left: 0;
}

.banner-img {
    height: 100% !important;
}

.banner-img::after {
    content: '';
    position: absolute;
    background-image: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    width: 100%;
    height: 100%;
    inset: 0;
}

.cmn-white-btn .elementor-button {
    z-index: 1 !important;
    position: relative;
    overflow: hidden;
}

.cmn-white-btn * {
    transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    -moz-transition: 0.5s all ease;
    -ms-transition: 0.5s all ease;
    -o-transition: 0.5s all ease;
}

.cmn-white-btn .elementor-button::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 1 !important;
    z-index: -1;
    transform-origin: left;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transition: transform 0.5s ease;
    -webkit-transition: transform 0.5s ease;
    -moz-transition: transform 0.5s ease;
    -ms-transition: transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    border-radius: inherit;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    -ms-border-radius: inherit;
    -o-border-radius: inherit;
}

.cmn-white-btn .elementor-button::after {
    background: #FFFFFF !important;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.cmn-white-btn .elementor-button:hover::after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
}

.cmn-icon-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.info-main-box .info-box-title {
    opacity: 0.3;
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
    -moz-transition: all 0.4s ease-in-out !important;
    -ms-transition: all 0.4s ease-in-out !important;
    -o-transition: all 0.4s ease-in-out !important;
}

.info-main-box:hover .info-box-title {
    opacity: 1;
}

.info-main-box {
    cursor: pointer;
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
    -moz-transition: all 0.4s ease-in-out !important;
    -ms-transition: all 0.4s ease-in-out !important;
    -o-transition: all 0.4s ease-in-out !important;
    position: relative;
}

.info-main-box::after {
    content: '';
    position: absolute;
    background: #fabc44 !important;
    width: 0%;
    height: 4px;
    transition: all .3s ease-in-out;
    top: 0;
    left: 0;
    opacity: 0;
}

.services-grid-item::after {
    top: auto !important;
    bottom: 0 !important;
}

.services-grid-item:hover {
    border-top-color: rgba(0, 0, 0, 0.2) !important;
    border-bottom-color: transparent !important;
}

.cmn-icon-shadow .elementor-icon {
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
    -moz-transition: all 0.4s ease-in-out !important;
    -ms-transition: all 0.4s ease-in-out !important;
    -o-transition: all 0.4s ease-in-out !important;
}

.info-main-box:hover .cmn-icon-shadow .elementor-icon {
    background-color: #fabc44 !important;
}

.info-main-box .cmn-icon-shadow .elementor-icon svg path {
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
    -moz-transition: all 0.4s ease-in-out !important;
    -ms-transition: all 0.4s ease-in-out !important;
    -o-transition: all 0.4s ease-in-out !important;
}

.info-main-box:hover .cmn-icon-shadow .elementor-icon svg path {
    stroke: #000000 !important;
}

.info-main-box:hover {
    margin-top: -20px;
    margin-bottom: 20px;
    border-top-color: transparent;
}

.info-main-box:hover::after {
    opacity: 1;
    width: 100%;
    top: -2px;
}

/* ==================== HomePage End ==================== */

/* ==================== Responsive Style Start ==================== */
@media (max-width: 1200px) {

    .common-details h1,
    .common-details h2,
    .common-details h3,
    .common-details h4,
    .common-details h5,
    .common-details h6,
    .common-details ul,
    .common-details ol {
        margin-bottom: 15px;
    }

    .common-details ul li,
    .common-details ol li {
        margin-bottom: 10px;
    }
}

@media(min-width: 1025px) and (max-width: 1200px) {
    .cmn-icon-shadow .elementor-icon {
        padding: 12px !important;
    }
}

@media(max-width: 1024px) {
    .cmn-icon-shadow .elementor-icon {
        padding: 10px !important;
    }

    .info-main-box:hover {
        margin-top: -10px;
        margin-bottom: 10px;
        border-top-color: transparent !important;
    }
}

@media (max-width: 767px) {
    .info-main-box::after {
        top: -2px;
        opacity: 1;
        width: 100%;
    }

    .services-grid-item::after {
        top: auto !important;
        bottom: -2px !important;
    }

    .info-main-box:hover {
        margin-top: 0px;
        margin-bottom: 0px;
        border-top-color: transparent !important;
    }
}

@media (max-width: 575px) {

    .common-details .alignnone,
    .common-details .alignleft,
    .common-details .alignright,
    .common-details .aligncenter {
        float: none !important;
        display: block !important;
        margin: 20px auto !important;
        height: 320px !important;
    }

    .common-width-100 {
        width: 100% !important;
    }

    .common-grid-block {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ==================== Responsive Style End ==================== */