/* ─── Custom Founder Video Player ─────────────────── */
.zen-video-wrap {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    background: #111;
    flex-shrink: 0;
}

.zen-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Shift viewport upward slightly to keep founder's face/torso centred */
    object-position: center 20%;
    display: block;
    cursor: pointer;
}

/* ─── Video Controls Overlay ─────────────────────── */
.zen-video-controls {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 6px 10px;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 10;
}

.zen-video-wrap:hover .zen-video-controls {
    opacity: 1;
}

.zen-ctrl-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.zen-ctrl-btn:hover {
    transform: scale(1.15);
}

/* ─── Images: always cover their container ────────── */
/* Prevents white/blank space around portrait or
   landscape images that don't match their container.  */
.elementor-widget-image img,
.elementor-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

/* ─── Form Wrapper Card ────────────────────────────── */
.mock-contact-form {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.mock-contact-form h3,
.mock-contact-form .elementor-heading-title {
    margin-bottom: 20px;
    font-family: var(--e-global-typography-secondary-font-family), serif;
    color: var(--e-global-color-primary);
    font-size: 24px;
    font-weight: bold;
}

/* ─── Form Fields ──────────────────────────────────── */
.mock-contact-form input[type="text"],
.mock-contact-form input[type="email"],
.mock-contact-form input[type="number"],
.mock-contact-form input[type="tel"],
.mock-contact-form select,
.mock-contact-form textarea,
.mock-contact-form .elementor-field {
    padding: 12px 15px !important;
    border: 1px solid #E9E5D7 !important;
    border-radius: 4px !important;
    font-family: var(--e-global-typography-text-font-family), sans-serif !important;
    font-size: 15px !important;
    background: #ffffff !important;
    color: #333 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 48px !important;
    display: block !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.mock-contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px !important;
    cursor: pointer !important;
}

.mock-contact-form .elementor-field-group {
    margin-bottom: 14px !important;
    padding: 0 !important;
    width: 100% !important;
}

/* ─── Submit Button ─────────────────────────────────── */
.mock-contact-form button[type="submit"],
.mock-contact-form .elementor-button,
.mock-contact-form .e-form__buttons .elementor-button {
    background-color: var(--e-global-color-accent) !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: var(--e-global-typography-accent-font-family), sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background-color 0.3s ease !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 5px !important;
}

.mock-contact-form button[type="submit"]:hover,
.mock-contact-form .elementor-button:hover,
.mock-contact-form .e-form__buttons .elementor-button:hover {
    background-color: var(--e-global-color-primary) !important;
}

/* ─── Smooth Scrolling ──────────────────────────────── */
html {
    scroll-behavior: smooth;
}

/* ─── Inline Form Feedback Messages ─────────────────── */
.form-feedback {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

/* ─── Responsive: Video Player ───────────────────── */
@media (max-width: 480px) {
    .zen-video-wrap {
        width: 100%;
        max-width: 380px;
        height: 340px;
    }
}

/* ─── Hero 50/50 Split on Desktop ───────────────────── */
@media (min-width: 1024px) {
    /* Target the main hero container */
    .elementor-element-17f0cf76 {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto 1fr;
        grid-template-areas: 
            "heading form"
            "text form"
            "social form";
        gap: 20px 60px;
        align-items: start;
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
    }
    
    /* Assign widgets to grid areas */
    .elementor-element-1e66c5a1 { grid-area: heading; margin-bottom: 0 !important; }
    .elementor-element-497424d9 { grid-area: text; }
    .elementor-element-5f70974  { grid-area: social; align-self: start; justify-self: start; }
    .elementor-element-42943379 { grid-area: form; }
    
    /* Ensure form container fills its column smoothly */
    .elementor-element-42943379 .mock-contact-form {
        max-width: 100% !important; 
        margin-top: 0 !important;
    }
}
