/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.grid-container {
    max-width: 100%;
}

.glass-phorisam {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.resilience-text {
    background: linear-gradient(
        180deg,
        #F3CF84 0%,
        #DCA43C 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Full-Page Scroll Video Canvas Background (Live & Local)
   ========================================================================== */

body.page-id-669 #page,
body.page-id-669 .site,
body.page-id-669 .site-content,
body.home #page,
body.home .site,
body.home .site-content,
body.front-page #page,
body.front-page .site,
body.front-page .site-content {
    background: transparent !important;
    position: relative;
    z-index: 1;
}

/* Fixed background video canvas across all sections */
#video-pinned-box,
.custom-scroll-video-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

#scrollVideoCanvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: top center !important;
}

#scrollVideoPlayer {
    display: none !important;
}

/* All Elementor sections sit above the video */
.elementor,
.elementor-section-wrap,
body.page-id-669 .elementor-669 {
    position: relative;
    z-index: 2;
}

.elementor .e-parent,
body.page-id-669 .elementor-669 .e-parent {
    position: relative;
    z-index: 2;
}

/* Ensure the hero section is transparent so the video is 100% crystal clear */
.elementor-element.elementor-element-a46fd4c {
    background-color: transparent !important;
}


/* Keep header & footer above */
.site-header,
.site-footer,
body.page-id-669 .site-header,
body.page-id-669 .site-footer {
    position: relative;
    z-index: 10;
}

/* Contact Form */
.risq-contact-form {
    width: 100%;
    color: #fff;
    font-family: inherit;
}

.risq-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.risq-contact-form .form-group {
    width: 100%;
}

.risq-contact-form .form-group.full-width {
    margin-bottom: 20px;
}

.risq-contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgb(226, 232, 240);
}

/* Inputs */
.risq-contact-form .form-control {
    width: 100%;
    height: 46px;
    padding: 0 22px;
    border: 1px solid #155273;
    border-radius: 6px;
    outline: none;
    background: rgba(1, 18, 31, 0.85);
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Textarea */
.risq-contact-form textarea.form-control {
    height: 125px;
    padding: 18px 22px;
    resize: vertical;
    min-height: 125px;
}

/* Select */
.risq-contact-form select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    cursor: pointer;
}

/* Placeholder */
.risq-contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Focus */
.risq-contact-form .form-control:focus {
    border-color: #dca43c;
    background: rgba(1, 18, 31, 0.95);
}
.risq-contact-form .form-control:-webkit-autofill,
.risq-contact-form .form-control:-webkit-autofill:hover,
.risq-contact-form .form-control:-webkit-autofill:focus,
.risq-contact-form .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(1, 18, 31, 0.85) inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 9999s ease-in-out 0s;
}
/* CAPTCHA */
.risq-contact-form .captcha-box {
    width: 100%;
    min-height: 80px;
    margin-top: 0;
    margin-bottom: 20px;
    border: 1px dashed #668092;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aebdca;
    background: rgba(1, 18, 31, 0.5);
    box-sizing: border-box;
}

/* Bottom section */
.risq-contact-form .form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Privacy text */
.risq-contact-form .form-privacy {
        margin: 0px;
    font-size: 12px;
    line-height: 1.5;
    color: rgb(148, 163, 184);
    max-width: 380px;
}
span.wpcf7-spinner {
    display: none;
}
.risq-contact-form .form-privacy a {
    color: #aebdca;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.risq-contact-form .form-privacy a:hover {
    color: #fff;
}

/* Submit button */
.risq-contact-form .form-submit {
    flex-shrink: 0;
}

.risq-contact-form .form-submit input[type="submit"] {
     background: linear-gradient(rgb(243, 207, 132), rgb(220, 164, 60));
    color: rgb(1, 5, 12);
    border: 0px;
    border-radius: 5px;
    padding: 0px 26px;
    height: 48px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
}

.risq-contact-form .form-submit input[type="submit"]:hover {
    background: #f0b94d;
    transform: translateY(-2px);
}

/* CF7 validation */
.risq-contact-form .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.risq-contact-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 13px;
    color: #ff6b6b;
}

.risq-contact-form .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 12px 15px !important;
    border-radius: 5px;
}

/* Mobile */
@media (max-width: 767px) {

    .risq-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }

    .risq-contact-form label {
        font-size: 15px;
    }

    .risq-contact-form .form-control {
        height: 55px;
        padding: 0 17px;
    }

    .risq-contact-form textarea.form-control {
        min-height: 120px;
    }

    .risq-contact-form .form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .risq-contact-form .form-privacy {
        max-width: 100%;
        font-size: 14px;
    }

    .risq-contact-form .form-submit input[type="submit"] {
        width: 100%;
        height: 56px;
    }
}