/* 
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: 3.0.1
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 */


/* masonry layout css */
.project-masonry-slider { width: 100%; position: relative; overflow: hidden; }
.project-masonry-viewport { width: 100%; overflow: hidden; }
.project-masonry-track { display: flex; width: 100%; transition: transform 0.5s ease-in-out; }
.project-masonry-slide { min-width: 100%; width: 100%; display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 10px; }
.masonry-image { width: 100%; overflow: hidden; background: #f4f4f4; }
.masonry-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.4s ease; }
.masonry-image:hover img { transform: scale(1.02); }
.masonry-large { height: 435px; }
.masonry-middle { height: 435px; display: flex; flex-direction: column; gap: 10px; }
.masonry-small { width: 100%; height: calc(50% - 5px); }
.project-masonry-controls { display: flex; justify-content: center; align-items: center; margin-top: 22px; gap: 0; }
.project-masonry-controls button {margin-top:20px; border-radius: 0; width: 40px; height: 40px; border: 2px solid #e02027; background: #fff; display: flex; align-items: center; justify-content: center; padding: 0; font-size: 16px; line-height: 1; cursor: pointer; transition: all 0.2s ease; }
.project-masonry-controls .masonry-prev { border-right: 0; }
.project-masonry-controls .masonry-next svg { transform: rotate(180deg); }
.project-masonry-controls button + button { margin-left: -1px; }
.project-masonry-controls button:hover { background: #e02027; }
.project-masonry-controls button:hover svg path{fill: #fff;}
.project-masonry-controls button:disabled { opacity: 0.5; cursor: not-allowed; }
/******************************/
.contact-form-design form .gform_body label { color: #363654; font-family: Inter; font-size: 18px; font-style: normal; font-weight: 700; line-height: 1.2; }
.contact-form-design form .gform_body input { border-radius: 4px; border: 1px solid #BDBDBD; height: 55px; padding: 16px 16px 16px 24px; box-shadow: none; }
.contact-form-design form .gform_body select { border-radius: 4px; border: 1px solid #BDBDBD; height: 55px; padding: 6px 20px 16px 24px !important; box-shadow: none; }
.contact-form-design form .gform_body label .gfield_required { display: none; }
.contact-form-design form .gform-footer.gform_footer .gform_button.button { background: #E02027; border-radius: 0; border: 1px solid #E02027; width: 274px; height: 50px; color: #FFF; font-family: Inter; font-size: 14px; font-style: normal; font-weight: 700; line-height: normal; text-transform: uppercase; position: relative; padding: 10px 40px 10px 20px; }
.contact-form-design form .gform-footer.gform_footer .gform_button.button:hover { background: #363654; border: 1px solid #363654; color: #FFF; }
.contact-form-design form .gform-footer.gform_footer .gform_button.button::after { content: ""; width: 24px; height: 24px; background: url('/wp-content/uploads/2026/08/arrow-btn.png') no-repeat; position: absolute; right: 15px; top: 6px; bottom: 0; margin: auto; }
 @media (max-width: 767px) {
.project-masonry-slide { grid-template-columns: 1fr 1fr; gap: 8px; }
.masonry-large { height: 260px; }
.masonry-middle { height: 260px; gap: 8px; }
.project-masonry-controls { margin-top: 16px; }
}
@media (max-width: 480px) {
.project-masonry-slide { grid-template-columns: 1fr; }
.masonry-large { height: 240px; }
.masonry-middle { height: 300px; }
.masonry-right { height: 240px; }
}

/******************************/

.post_badge a {
    background: rgb(54 54 84 / 20%);
    padding: 3px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
}
.blue_btn a:hover svg path {
    fill: #fff;
}
.blue_btn a svg {
    width: 23px !important;
    height: 23px;
    position: relative;
    top: -1px;
}


/* Gallery lightbox */

/* =========================================
   Masonry Image
========================================= */

.project-lightbox {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.project-lightbox img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   Lightbox Overlay
========================================= */

.project-lightbox-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    z-index: 999999;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* Active */

.project-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   Lightbox Image
========================================= */

.project-lightbox-content {
    width: min(90vw, 1200px);
    height: min(85vh, 850px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.project-lightbox-content img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}


/* =========================================
   Close Button
========================================= */

.project-lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: 0;
    background: transparent;

    color: #fff;

    font-size: 42px;
    line-height: 1;

    cursor: pointer;

    z-index: 10;
}

.project-lightbox-close:hover {
    background: transparent;
}
/* =========================================
   Previous / Next
========================================= */

.project-lightbox-prev,
.project-lightbox-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    color: #fff;

    font-size: 23px;

    cursor: pointer;

    transition: background 0.25s ease;
}

.project-lightbox-prev:hover,
.project-lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

.project-lightbox-prev {
    left: 30px;
}

.project-lightbox-next {
    right: 30px;
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

    .project-lightbox-content {
        width: 90vw;
        height: 75vh;
    }

    .project-lightbox-close {
        top: 15px;
        right: 15px;

        font-size: 36px;
    }

    .project-lightbox-prev,
    .project-lightbox-next {
        width: 40px;
        height: 40px;

        font-size: 22px;
    }

    .project-lightbox-prev {
        left: 10px;
    }

    .project-lightbox-next {
        right: 10px;
    }
}



/* =========================================
   TESTIMONIAL SECTION
========================================= */

.testimonial-section {
    position: relative;
    width: 100%;
    padding: 0;
    background: #f7f7f5;
    overflow: hidden;
}


.testimonial-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}


/* =========================================
   SLIDER
========================================= */

.testimonial-slider {
    position: relative;
    width: 100%;
}


.testimonial-slide {
    display: none;

    width: 100%;

    grid-template-columns:
       minmax(0, 1.35fr)
        minmax(300px, 0.85fr);

    gap: 55px;

    align-items: center;
}


.testimonial-slide.active {
    display: grid;
}


/* =========================================
   LEFT IMAGE
========================================= */

.testimonial-image-wrapper {
    width: 100%;
    height: 650px;

    overflow: hidden;

    border-radius: 2px;
}


.testimonial-main-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================
   CONTENT
========================================= */

.testimonial-content {
    position: relative;
    padding: 20px 15px;
    max-width: 650px;
    text-align: center;
    margin: 0 auto;
}
.testimonial-quote-icon {
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: 0.6;
    font-weight: bold;
    color: #e02027;
}
.testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
}


/* =========================================
   AUTHOR
========================================= */

.testimonial-author {
    display: grid;
    place-content: center;
    gap: 15px;
}


.testimonial-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
}


.testimonial-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.testimonial-author-info h4 {
    margin: 0 0 8px;

    font-size: 14px;

    font-weight: 700;

    text-transform: uppercase;
}


.testimonial-author-info p {
    margin: 0;

    font-size: 12px;

    color: #666;

    text-transform: uppercase;
}


/* =========================================
   CONTROLS
========================================= */

.testimonial-controls {
    position: absolute;
    bottom: 5%;
    display: flex;
    gap: 0px;
    z-index: 10;
    right: 16%;
}


.testimonial-prev,
.testimonial-next {
margin-top: 20px;
    border-radius: 0;
    width: 40px;
    height: 40px;
    border: 2px solid #e02027;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.testimonial-controls button + button {
    margin-left: -1px;
}
.testimonial-controls button:hover, .testimonial-controls button:focus {
    background: #e02027;    
}
.testimonial-next{
margin-left: -2px;
}
.testimonial-controls .testimonial-prev {
    border-right: 0;
}
.testimonial-controls .testimonial-next svg {
    transform: rotate(180deg);
}
.testimonial-controls button:hover svg path, .testimonial-controls button:focus svg path {
    fill: #fff;
}
.testimonial-prev:hover,
.testimonial-next:hover {
    background: #b8171d;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .testimonial-slide {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .testimonial-image-wrapper {
        height: 400px;
    }


    .testimonial-controls {
        position: static;

        justify-content: center;

        margin-top: 30px;
    }

}


@media (max-width: 767px) {

    .testimonial-section {
        padding: 20px 0;
    }


    .testimonial-image-wrapper {
        height: 280px;
    }


    .testimonial-quote {
        font-size: 14px;
    }


    .testimonial-quote-icon {
        font-size: 55px;
    }

}