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

/**
 * Root styles
 */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px 0;
}

ul,
ol {
    margin-bottom: 15px;
}

ul ul,
ul ol,
ol ul,
ol ol {
    margin-bottom: 0;
}

/**
 * Elementor styles
 */
body {
    overflow-x: hidden !important;
    width: 100%;
}

header .elementor-sticky--effects {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}

header .elementor-icon-wrapper,
.elementor-menu-toggle span {
    display: flex;
}

.duo-weight-heading u {
    font-weight: 400 !important;
    text-decoration: none !important;
}

.duo-weight-heading.hero u {
    color: var(--e-global-color-primary);
}

.accent-heading {
    pointer-events: none;
}

.custom-list u {
    text-decoration: none;
    font-weight: 300 !important;
}

.square-image img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

.hero-image img {
    aspect-ratio: 3/5;
    object-fit: cover;
    width: 100%;
}

.project-loop-item img {
    aspect-ratio: 4/2;
    width: 100%;
    object-fit: cover;
}

.blog-post-loop-item img,
.featured-image img {
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
}

.custom-bleeding-right-container {
    width: calc(100vw - ((100vw - 1440px) / 2));
    max-width: 100vw;
    margin-left: calc((100vw - 1440px) / 2 * 1);
}

@media only screen and (max-width: 1344px) {
    .custom-bleeding-right-container {
        margin-left: 0;
    }
}

.single-blog-post-content h2,
.single-blog-post-content h3,
.single-blog-post-content h4,
.single-blog-post-content h5,
.single-blog-post-content h6 {
    font-size: var(--e-global-typography-94754b5-font-size);
    line-height: var(--e-global-typography-94754b5-line-height);
}

blockquote {
    border-left: 3px solid var(--e-global-color-accent);
    font-style: italic;
    padding: 20px 30px;
    margin: 0 0 15px 0;
    font-weight: 400;
}

blockquote p:last-child {
    margin-bottom: 0;
}

.frontpage-timeline-container {
    position: relative;
}

.frontpage-timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    width: 2px;
    background-color: var(--e-global-color-530b2d3);
    transform: translateX(-50%);
}

.timeline-element-container {
    cursor: pointer;
}

.timeline-element-container .icon .elementor-icon,
.timeline-element-container .title .elementor-heading-title,
.timeline-element-container .year .elementor-heading-title {
    transition: 0.3s all !important;
}

.timeline-element-container.open .icon .elementor-icon,
.timeline-element-container.open .title .elementor-heading-title,
.timeline-element-container.open .year .elementor-heading-title {
    color: var(--e-global-color-accent) !important;
}

.timeline-element-container .icon .elementor-icon-wrapper {
    display: flex;
}

.timeline-element-container:hover .icon .elementor-icon {
    color: var(--e-global-color-accent) !important;
}

.timeline-element-container:hover .title .elementor-heading-title,
.timeline-element-container:hover .year .elementor-heading-title {
    color: var(--e-global-color-accent) !important;
}

.timeline-element-container .description {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    opacity: 0;
}

.timeline-element-container .description.open {
    max-height: 500px;
    opacity: 1;
}

.blog-loop-carousel-element .swiper-pagination-bullet {
    width: 50px !important;
    height: 3px !important;
    border-radius: 0 !important;
}


.blog-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-categories .category-link {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid var(--e-global-color-530b2d3);
    color: var(--e-global-color-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-categories .category-link:hover,
.blog-categories .category-link.active {
    background: var(--e-global-color-accent);
    color: #fff;
    border-color: var(--e-global-color-accent);
}


@media only screen and (max-width: 767px) {
    .blog-categories {
        justify-content: center;
    }
}


@media only screen and (min-width: 1025px) {

    .services-container .services-text-element {
        min-height: 150px;
    }

    .services-container .services-icon-element {
        min-height: 180px;
    }
}

/**
 * Contact Form 7 styles
 */
.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wpcf7-form .wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form [data-name="customer-email"],
.wpcf7-form [data-name="customer-phone"] {
    width: 45%;
    flex-grow: 1;
}

@media only screen and (max-width: 767px) {

    .wpcf7-form [data-name="customer-email"],
    .wpcf7-form [data-name="customer-phone"] {
        width: 100%;
    }
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    padding: 0;
}

.wpcf7-acceptance label {
    font-size: 0.875rem;
    line-height: 1.5em;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border: 1px solid var(--e-global-color-530b2d3);
    border-radius: 0;
}

input:focus,
textarea:focus {
    border: 1px solid var(--e-global-color-accent) !important;
    border-radius: 0 !important;
    outline: none !important;
}

.cf7-submit-button {
    border: none !important;
    outline: none !important;
}

.cf7-submit-button:hover {
    color: #fff !important;
    border: none !important;
    outline: none !important;
}

.wpcf7-not-valid-tip {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 5px;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.wpcf7 form .wpcf7-response-output {
    width: 100%;
    padding: 30px !important;
    margin: 20px 0 0 0 !important;
}