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

/* CUSTOM STYLES */


/* ELEMENTOR CONTAINER */

/* Center the container vertically and expand width */
.elementor-26 .elementor-element.elementor-element-73fa053,
.elementor-element-73fa053 {
    --width: 100% !important;
    --flex-grow: 1 !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;

    /* Vertical alignment styles */
    align-self: center !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

/* Ensure the parent container supports vertical centering */
.elementor-26 .elementor-element-73fa053.e-con-child,
.elementor-element-73fa053.e-parent {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}


/* CONTACT FORM 7 */

/* CONTACT FORM 7 — CONTACT PAGE */

/* CONTACT FORM 7 — MAIN CONTAINER */

.main-ctn {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}


/* CF7 RESET */

.main-ctn p {
    margin: 0 !important;
    padding: 0 !important;
}

.main-ctn br {
    display: none !important;
}


/* FIELD */

.main-ctn .cf7-field {
    width: 100%;
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    box-sizing: border-box;
}

.main-ctn .cf7-full {
    width: 100%;
}


/* LABEL */

.main-ctn label {
    display: block;

    margin: 0 0 5px !important;
    padding: 0 !important;

    color: #777777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.main-ctn .required {
    color: #ff0000;
}


/* TWO COLUMN ROW */

.main-ctn .cf7-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 15px;

    width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* REMOVE EXTRA BOTTOM MARGIN FROM FIELDS INSIDE ROW */

.main-ctn .cf7-row .cf7-field {
    margin-bottom: 18px;
}


/* INPUTS */

.main-ctn input[type="text"],
.main-ctn input[type="tel"],
.main-ctn input[type="date"] {
    display: block;

    width: 100%;
    height: 48px;

    margin: 0 !important;
    padding: 0 15px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #697586;
    border-radius: 4px;

    color: #333333;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* PLACEHOLDER */

.main-ctn input::placeholder {
    color: #b0b0b0;
    opacity: 1;
}


/* DATE */

.main-ctn input[type="date"] {
    color: #333333;
}

.main-ctn input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.65;
}


/* INPUT FOCUS */

.main-ctn input[type="text"]:focus,
.main-ctn input[type="tel"]:focus,
.main-ctn input[type="date"]:focus {
    border-color: #37A1BB;
    box-shadow: 0 0 0 1px #37A1BB;
}


/* OPTIONS */

.main-ctn .cf7-options-row {
    margin-top: 0;
    margin-bottom: 23px;
}


/* OPTION FIELD */

.main-ctn .cf7-options-row .cf7-field {
    margin-bottom: 0;
}


/* CHECKBOX GROUP */

.main-ctn .cf7-checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    margin: 0;
    padding: 0;
}


/* CHECKBOX LABEL */

.main-ctn .cf7-checkbox-group label {
    display: flex;
    align-items: center;

    margin: 0 !important;
    padding: 0 !important;

    color: #777777;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;

    line-height: 1.25;

    cursor: pointer;
}


/* CHECKBOX */

.main-ctn .cf7-checkbox-group input[type="checkbox"] {
    width: 14px;
    height: 14px;

    margin: 0 5px 0 0 !important;
    padding: 0;

    accent-color: #37A1BB;

    cursor: pointer;
}


/* CF7 LIST ITEM RESET */

.main-ctn .wpcf7-list-item {
    margin: 0 !important;
}


/* SUBMIT */

.main-ctn .cf7-submit {
    width: 100%;

    margin: 0;
    padding: 0;
}

.main-ctn input[type="submit"] {
    display: block;

    width: 100%;
    height: 52px;

    margin: 0 !important;
    padding: 0 20px;

    box-sizing: border-box;

    background: #6dbae1;

    border: none;
    border-radius: 4px;

    color: #ffffff;

    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;

    line-height: 1;
    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}


/* BUTTON HOVER */

.main-ctn input[type="submit"]:hover {
    background: #5aaed6;
}


/* BUTTON ACTIVE */

.main-ctn input[type="submit"]:active {
    transform: scale(0.99);
}


/* VALIDATION */

.main-ctn .wpcf7-not-valid {
    border-color: #ff0000 !important;
}

.main-ctn .wpcf7-not-valid-tip {
    margin-top: 3px;

    color: #ff0000;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}


/* RESPONSE MESSAGE */

.main-ctn .wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 10px 12px !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}


/* TABLET / MOBILE */

@media (max-width: 767px) {

    .main-ctn .cf7-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .main-ctn .cf7-row .cf7-field {
        margin-bottom: 18px;
    }

    .main-ctn .cf7-options-row {
        gap: 18px;
        margin-bottom: 23px;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .main-ctn label {
        font-size: 15px;
    }

    .main-ctn input[type="text"],
    .main-ctn input[type="tel"],
    .main-ctn input[type="date"] {
        height: 46px;
        padding: 0 13px;
        font-size: 15px;
    }

    .main-ctn .cf7-checkbox-group label {
        font-size: 15px;
    }

    .main-ctn input[type="submit"] {
        height: 50px;
        font-size: 23px;
    }

}

/* NEXT FORM */

label {
    font-weight: 400;
}

.custom-cf7-form {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.custom-cf7-form .cf7-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.custom-cf7-form .cf7-col-full {
    flex: 1 1 100%;
}

.custom-cf7-form .cf7-col-half {
    flex: 1 1 50%;
}


/* CONTACT FORM 7 — INPUT FIELDS */

.custom-cf7-form input[type="text"],
.custom-cf7-form input[type="tel"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 6px;
    font-size: 16px;
    color: #333333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

/* Input placeholder text */
.custom-cf7-form input::placeholder {
    color: #a0a0a0;
    opacity: 1;
}

/* Input focus */
.custom-cf7-form input:focus {
    border-color: #6cbdbe;
}


/* CONTACT FORM 7 — SUBMIT BUTTON */

.custom-cf7-form input[type="submit"] {
    width: 100%;
    height: 52px;
    background-color: #6a2e;
    background: #6dbae1;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 700;
    font-family: "Arial Narrow", Arial, sans-serif;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.custom-cf7-form input[type="submit"]:hover {
    background-color: #5aaed6;
}

.custom-cf7-form input[type="submit"]:active {
    transform: scale(0.99);
}

/* Hide CF7 wrapper paragraph margins if theme forces them */
.custom-cf7-form p {
    margin: 0;
    padding: 0;
}


/* RECENT JOBS — FONTS */

.recent-jobs .elementor-heading-title,
.recent-jobs .elementor-widget-text-editor,
.recent-jobs .elementor-icon-list-text,
.recent-jobs .elementor-button,
.recent-jobs p,
.recent-jobs h1,
.recent-jobs h2,
.recent-jobs h3,
.recent-jobs h4,
.recent-jobs h5,
.recent-jobs h6 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* RECENT JOBS — GALLERY GENERAL */

.recent-jobs .gallery-tall .elementor-image-gallery .gallery,
.recent-jobs .gallery-wide .elementor-image-gallery .gallery {
    display: flex !important;
    justify-content: center;
    gap: 18px;
    margin: 0 !important;
    padding: 0 !important;
}


/* RECENT JOBS — TALL GALLERY — 342 × 457 */

.recent-jobs .gallery-tall .gallery-item {
    width: 342px !important;
    height: 457px !important;
    margin: 0 !important;
    padding: 0 !important;

    border-radius: 20px !important;
    overflow: hidden !important;

    /* Prevent corner rendering glitches */
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);

    transition: box-shadow 0.4s ease;
}

.recent-jobs .gallery-tall .gallery-item a {
    display: block;
    width: 342px !important;
    height: 457px !important;

    border-radius: 20px !important;
    overflow: hidden !important;

    /* Force clipping during transform */
    clip-path: inset(0 round 20px);
    -webkit-clip-path: inset(0 round 20px);
}

.recent-jobs .gallery-tall .gallery-item img {
    display: block;

    width: 342px !important;
    height: 457px !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover;
    object-position: center;

    border-radius: 0 !important;

    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}


/* RECENT JOBS — WIDE GALLERY — 342 × 287 */

.recent-jobs .gallery-wide .gallery-item {
    width: 342px !important;
    height: 287px !important;
    margin: 0 !important;
    padding: 0 !important;

    border-radius: 20px !important;
    overflow: hidden !important;

    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);

    transition: box-shadow 0.4s ease;
}

.recent-jobs .gallery-wide .gallery-item a {
    display: block;
    width: 342px !important;
    height: 287px !important;

    border-radius: 20px !important;
    overflow: hidden !important;

    clip-path: inset(0 round 20px);
    -webkit-clip-path: inset(0 round 20px);
}

.recent-jobs .gallery-wide .gallery-item img {
    display: block;

    width: 342px !important;
    height: 287px !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover;
    object-position: center;

    border-radius: 0 !important;

    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}


/* RECENT JOBS — GALLERY HOVER */

.recent-jobs .gallery-tall .gallery-item:hover img,
.recent-jobs .gallery-wide .gallery-item:hover img {
    transform: translateZ(0) scale(1.06);
    filter: brightness(0.85);
}

.recent-jobs .gallery-tall .gallery-item:hover,
.recent-jobs .gallery-wide .gallery-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}


/* RECENT JOBS — TABLET */

@media (max-width: 1100px) {

    .recent-jobs .gallery-tall .elementor-image-gallery .gallery,
    .recent-jobs .gallery-wide .elementor-image-gallery .gallery {
        flex-wrap: wrap;
    }

}


/* RECENT JOBS — MOBILE */

@media (max-width: 750px) {

    .recent-jobs .gallery-tall .elementor-image-gallery .gallery,
    .recent-jobs .gallery-wide .elementor-image-gallery .gallery {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

}


/* GDR CONTAINER */

.gdr-container {
    position: relative;
    border-radius: 24px;

    /* Your side and bottom borders */
    border: 1px solid #565B8824;

    /* Ensures inner content or background respects the 24px radius */
    overflow: hidden;
}


/* GDR CONTAINER — TOP GRADIENT LINE */

.gdr-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;

    /* Gradient matching your blue tones */
    background: linear-gradient(
        to right,
        #38b6ff 0%,
        #0072bc 50%,
        #03395d 100%
    );

    /* Ensures top corners stay rounded */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;

    /* Guarantees the line stays visible on top */
    z-index: 2;
}