/*
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;
}

/* Banner slider Start */
.banner-wrp .elementor-widget-image-carousel,
.banner-wrp .elementor-widget-image-carousel * {
    height: 100%;
}

.banner-wrp .elementor-widget-image-carousel {
    left: 0 !important;
    right: 0 !important;
}

.banner-wrp .swiper-wrapper .swiper-slide {
    overflow: hidden;
    height: auto;
}

.banner-wrp .swiper-wrapper .swiper-slide .swiper-slide-inner {
    height: 100%;
}

.banner-wrp .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.common-heading-line {
    flex-direction: row !important;
}

.common-heading-line .elementor-widget-heading {
    position: relative;
    padding-bottom: 10px !important;
}

.common-heading-line .elementor-widget-heading::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #957029 0%, #FBBC45 100%);
}

.common-heading-line.line-width-100pr .elementor-widget-heading:after {
    width: 100%;
}

.common-heading-line.line-width-100px .elementor-widget-heading:after {
    width: 100px;
}

/* Main wrapper */
.lang-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* UL reset */
.lang-dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* All items same position */
.lang-dropdown .elementor-icon-list-item {
    display: block;
}

/* Hide ALL except first */
.lang-dropdown .elementor-icon-list-item:not(:first-child) {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: none;
    /* min-width: 60px; */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.lang-dropdown.active::before {
    opacity: 1;
}

.lang-dropdown::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background-color: #FFF;
    opacity: 0;
    height: calc(100% + 32px);
    width: calc(100% + 10px);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

/* Show when active */
.lang-dropdown.active .elementor-icon-list-item:not(:first-child) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* First item (active flag) */
.lang-dropdown .elementor-icon-list-item:first-child {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Arrow icon */
.lang-dropdown::after {
    content: "";
    position: absolute;
    right: 0;
    z-index: 999;
    background: url("data:image/svg+xml,%3Csvg aria-hidden='true' class='e-font-icon-svg e-fas-caret-down' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'%3E%3C/path%3E%3C/svg%3E"), no-repeat center center;
    background-size: 100%;
    width: 10px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    pointer-events: none;
}

.lang-dropdown svg {
    aspect-ratio: 1235 / 650;
    width: 70% !important;
    height: auto !important;
    margin-inline: 0 !important;
}

.lang-dropdown .elementor-icon-list-item:first-child a {
    padding-block: 7px;
}

.lang-dropdown .elementor-icon-list-item a {
    width: 60px;
    flex-shrink: 0;
    padding-inline: 7px;
}

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


/* Dropdown Styling */
.custom-dropdown {
    --color-theme: #fdbf46;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-transparent: #00000000;

    --color-dark: #111111;

    --bg-hover: #222222;

    --globe-size: 24px;
    --arrow-size: 10px;
    --arrow-weight: 2px;
    --font-size: 16px;
    --font-size-sm: 14px;

    --dropdown-toggle-gap: 8px;

    --radius-4: 4px;
    --radius-20: 20px;
    --radius-full: 9999px;

    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;

    --padding-value-5: 5px;
    --padding-value-10: 10px;

    position: relative;
    display: inline-block;
}

.custom-dropdown .custom-dropdown-toggle {
    gap: var(--dropdown-toggle-gap);
    padding: var(--padding-value-5) var(--padding-value-10);
    min-width: fit-content;

    border: none;
    border-radius: var(--radius-full);

    background: var(--color-black);
    color: var(--color-white);

    display: flex;
    align-items: center;

    cursor: pointer;

    box-shadow:
        inset 0 0 0 3px var(--color-dark),
        0 2px 0 rgba(255, 255, 255, 0.1);

    transition: 0.2s ease;
}

.custom-dropdown .custom-dropdown-globe {
    width: var(--globe-size);
    height: var(--globe-size);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.custom-dropdown .custom-dropdown-globe svg {
    width: 100%;
    height: 100%;
    fill: var(--color-white);
}

.custom-dropdown .custom-dropdown-text {
    flex: 1;
    text-align: left;

    font-size: var(--font-size);
    font-weight: var(--fw-600);
    letter-spacing: 0.3px;

    color: var(--color-white);

    text-shadow:
        2px 2px 0 var(--color-dark);
}

.custom-dropdown .custom-dropdown-arrow {
    width: var(--arrow-size);
    height: var(--arrow-size);

    border-right: var(--arrow-weight) solid white;
    border-bottom: var(--arrow-weight) solid white;

    transform: rotate(45deg);
    transition: 0.2s ease;

    margin-top: -6px;
}

.custom-dropdown.open .custom-dropdown-arrow {
    transform: rotate(-135deg);
    margin-top: 6px;
}

.custom-dropdown .custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: var(--color-dark);
    border-radius: var(--radius-20);
    padding: var(--padding-value-10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.2s ease;
    box-shadow:        0 12px 30px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: var(--radius-20);
    -moz-border-radius: var(--radius-20);
    -ms-border-radius: var(--radius-20);
    -o-border-radius: var(--radius-20);
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown .custom-dropdown-item {
    width: 100%;
    border: none;
    background: var(--color-transparent);

    color: var(--color-white);

    padding: 6px 20px;
    border-radius: var(--radius-4);

    font-size: var(--font-size-sm);
    font-weight: var(--fw-500);

    text-align: left;
    cursor: pointer;

    transition: 0.2s ease;
}

.custom-dropdown .custom-dropdown-item:not(:last-child) {
    margin-bottom: 10px;
}

.custom-dropdown .custom-dropdown-item:hover {
    color: var(--color-black);
    background: var(--color-theme);
}



/* ==================== 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;
    }

    .header-nav-menu .elementor-nav-menu {
        border-top: 1px solid #000000;
    }
}

@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;
    }

    .custom-dropdown {
        --globe-size: 20px;
        --arrow-size: 8px;
        --arrow-weight: 1.5px;
        --font-size: 14px;
        --font-size-sm: 13px;
        --padding-value-5: 3px;
        --padding-value-10: 6px;
    }
}

@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;
    }

    .banner-wrp .swiper-wrapper .swiper-slide img {
        object-position: 60% center;
    }
}

@media (max-width: 440px) {
    .expertise-block .expertise-item {
        width: 100% !important;
        padding: 0 !important;
        border-width: 0 !important;
    }
}

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