/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*__ START - COMMON CSS __*/
p, .elementor-icon-box-title, .elementor-image-box-title { margin-top: 0; }
/*__ END - COMMON CSS __*/

/*__ START - HEADER __*/
#hdr-wrapper,
#hdr-wrapper .elementor-widget-theme-site-logo img {
    transition: all 0.3s ease;
}
#hdr-wrapper.elementor-sticky--active {
    min-height: 80px;
    transition: all 0.3s ease;
}
#hdr-wrapper.elementor-sticky--active .elementor-widget-theme-site-logo img {
    transition: all 0.3s ease;
    max-width: 160px;
}
@media only screen and (min-width: 881px) {
#hdr-wrapper.elementor-sticky--active {
    min-height: 90px;
}
#hdr-wrapper.elementor-sticky--active .elementor-widget-theme-site-logo img {
    max-width: 180px;
}}
@media only screen and (min-width: 1025px) {
#hdr-wrapper.elementor-sticky--active .elementor-widget-theme-site-logo img {
    max-width: 200px;
}}
/*__ END - HEADER __*/

/*__ START - HEADER MENU __*/
#hdr-wrapper .elementor-nav-menu .sub-menu {
    max-width: 286px !important;
    min-width: 286px !important;
}
#hdr-wrapper .elementor-nav-menu .sub-arrow {
    padding-left: 5px;
}
#hdr-wrapper .elementor-nav-menu .sub-menu .elementor-sub-item {
    border-left: 3px solid transparent;
    white-space: break-spaces;
}
#hdr-wrapper .elementor-nav-menu .sub-menu .elementor-sub-item:hover {
    border-color: red;
    padding-left: 24px;
}
/*__ END - HEADER MENU __*/

/*__ START - SCROLL GRID (Page: Home - Why Choose Us) __*/
#scroll-grid-mob {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
#scroll-grid-mob > div {
    min-width: 260px;
    scroll-snap-align: start;
}
#scroll-grid-mob > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 20px;
    height: 3px;
    background: linear-gradient(to right, var(--e-global-color-ba0b3d3), var(--e-global-color-accent) );
    transform: translateY(-50%);
    z-index: 1;    
}
@media only screen and (min-width: 881px) {
#scroll-grid-mob > div {
    min-width: 280px;
}}
/*__ END - SCROLL GRID __*/

/*__ START - SERVICE GRID EFFECT (Page: Home - Service) __*/
.service-grid .service-overlay {
    opacity: 0;
    transition: all 0.3s ease;
}
.service-grid img {
    transition: all 0.3s ease;
}
.service-grid:hover .service-overlay {
    opacity: 1;
}
.service-grid:hover img {
    transform: scale(1.05);
}
/*__ END - SERVICE GRID __*/

/*__ START - ACCORDION (Page: Entire Site) __*/
.accordion-design .e-n-accordion-item-title-text {
    font-family: "Inter", Sans-serif !important;
    font-weight: 600 !important;
}
.accordion-design .e-n-accordion-item-title[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-width: 0 !important;
}
.accordion-design .e-opened {
    transform: rotate(180deg);
}
/*__ END - ACCORDION __*/

/*__ START - ELEMENTOR FORM (Page: Entire Site) __*/
.elementor-form .elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.elementor-form input:focus-visible, 
.elementor-form textarea:focus-visible, 
.elementor-form select:focus-visible {
    outline: none;
    border-color: var(--accent-color)!important;
}
/*__ END - ELEMENTOR FORM __*/

/*__ START - BLACK BACKGROUND PATTERN (Page: Entire Site) __*/
#process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
#process::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}
/*__ END - BLACK BACKGROUND PATTERN __*/

/*__ START - BG PATTERN BOTTOM CTA (Page: Inner Bottom CTA) __*/
#bottom-cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}
/*__ END - BG PATTERN BOTTOM CTA __*/

/*__ ANCHOR SCROLL POSITION__*/
#why-orr, #process, #faq, #contact, #installation, #decommissioning, #retrofitting,
#concrete, #excavation, #fabrication, #certifications, #rehabilitation, #capabilities,
#construction, #maintenance, #services  {
    scroll-margin-top: 70px;
}
@media only screen and (min-width: 1024px) {
#why-orr, #process, #faq, #contact, #installation, #decommissioning, #retrofitting,
#concrete, #excavation, #fabrication, #certifications, #rehabilitation, #capabilities,
#construction, #maintenance, #services  {
    scroll-margin-top: 80px;
}}

/*__ START - BACK TO TOP BUTTON __*/
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var( --e-global-color-primary );
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100; 
    cursor: pointer;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var( --e-global-color-primary );
    transform: translateY(-5px);
}
/*__ END - BACK TO TOP BUTTON __*/

/*__ START - PASSWORD PROTECTED (Page: Bid Opportunities) __*/
.post-password-form p:first-of-type::before {
    content: "Bid Documents Access";
    color: var( --e-global-color-primary );
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.post-password-form input[type="password"] {
    height: 28px;
    padding: 14px 12px;
    border-radius: 8px;
    border-color: var( --e-global-color-b9e93bf );
    border-style: solid
}
.post-password-form input[type="submit"] {
    border-color: transparent;
    cursor: pointer;
}
.post-password-form input[type="password"]:focus-visible {
    outline: none;
    border-color: var(--accent-color)!important;
}
@media only screen and (min-width: 641px) {
.post-password-form p:first-of-type::before {
    font-size: 32px;
}}
/*__ END - PASSWORD PROTECTED __*/