/* ==========================================================================
   PRODUCTION CORE LAYER: MOUNTAIN PROFILE BACKGROUND AND TEAL GLOW
   ========================================================================== */

/* Large Outer Section Canvas Wrapper */
.dynamic-contact-wrap {
    background-color: #262626; /* Your base dark neutral canvas layer */
    padding: 6rem 1.5rem 4rem 1.5rem; /* Expanded top padding to showcase background landscape */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 
 * The Procedural Large Background Mountain 
 * Draws a sharp, clean mountain ridge peak using CSS Clip-Path vectors
 */
.dynamic-contact-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px; /* Expands wider than the form container to create perspective */
    height: 180px;   /* Height clearance matching the image proportions */
    background: linear-gradient(180deg, #18373b 0%, #102e33 100%); /* Deep forest slate spectrum gradient */
    z-index: 1;
    
    /* Creates the mountain silhouette path profile geometrically */
    clip-path: polygon(0% 65%, 50% 15%, 100% 65%, 100% 100%, 0% 100%);
}

/* 
 * The Glowing Peak Light Effect
 * Generates the radiant teal atmospheric aura right on top of the mountain ridge summit
 */
.dynamic-contact-wrap::after {
    content: '';
    position: absolute;
    top: 15px; /* Aligned precisely with the clip-path peak coordinates */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 25px;
    background: #008080; /* Vibrant teal light source core */
    border-radius: 50%;
    filter: blur(12px); /* High-radius blur to create the soft, ethereal atmospheric glow */
    z-index: 2;
    opacity: 0.85;
}

/* 
 * Adjusted Inner Contact Box Card Container
 * Elevated via z-index layer to securely sit on top of the mountain background layout
 */
.bekam-form-inner-box {
    background-color: #282828; /* Your exact color preference */
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6); /* Enhanced shadow depth loop */
    border: 1px solid rgba(0, 128, 128, 0.2);
    box-sizing: border-box;
    
    position: relative;
    z-index: 10; /* Ensures input elements layer clean above background panels */
    margin-top: -40px; /* Seamless overlapping compression layout */
}

/* 
 * Organic Natural Wave Display Viewport Box
 * Retained from your favorite layout preference
 */
.ekg-canvas-wrapper {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 128, 128, 0.25);
}

#pwaCanvas {
    display: block;
    width: 100%;
    height: 120px;
    background-color: #102e33; /* Deep forest slate backdrop */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

/* Rest of your preferred form input field rows, buttons, and status loops... */
.form-row-block { margin-bottom: 1.5rem; display: flex; flex-direction: column; }
.form-row-block label { color: #ffffff; font-size: 0.9rem; margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.form-row-block input[type="text"], .form-row-block input[type="email"], .form-row-block textarea { background-color: #102e33; color: #ffffff; border: 1px solid rgba(0, 128, 128, 0.4); padding: 0.85rem; border-radius: 4px; font-size: 1rem; width: 100%; box-sizing: border-box; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-row-block input[type="text"]:focus, .form-row-block input[type="email"]:focus, .form-row-block textarea:focus { outline: none; border-color: #008080; box-shadow: 0 0 8px rgba(0, 128, 128, 0.3); }
.bekam-form-inner-box button[type="submit"] { background-color: #008080; color: #ffffff; font-size: 1rem; font-weight: 700; width: 100%; padding: 1rem; border: none; border-radius: 4px; cursor: pointer; transition: background-color 0.2s ease; }
.bekam-form-inner-box button[type="submit"]:hover { background-color: #006666; }
.bekam-form-inner-box button[type="submit"]:disabled { background-color: #1a3e42; color: #666666; cursor: not-allowed; }
#formFeedback { margin-top: 1.5rem; padding: 1rem; border-radius: 4px; font-size: 0.95rem; text-align: center; }
.status-success { background-color: rgba(0, 128, 128, 0.2); color: #00ffff; border: 1px solid #008080; }
.status-error { background-color: rgba(255, 0, 0, 0.15); color: #ff8888; border: 1px solid #ff4444; }
.form-row-block input::placeholder, .form-row-block textarea::placeholder { color: #ffffff !important; opacity: 0.5; font-style: normal; }
