/* ==========================================================================
   1. CORE RESET & PAGE LAYOUT
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body, html {
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    overflow: hidden;
}

/* The Main Split Container */
.split-screen {
    display: flex;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   2. LEFT PANEL: THE FORM
   ========================================================================== */
.left-side {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow-y: auto;
}

.form-container {
    width: 100%;
    max-width: 480px;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* Inputs & Layout Groups */
.form-group {
    margin-bottom: 24px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 16px;
}

/* Minimal Underline Form Elements */
input[type="text"],
input[type="email"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 0;
    font-size: 1rem;
    outline: none;
    background: transparent;
    transition: border-color 0.2s ease;
}

input:focus {
    border-bottom: 1px solid #2563eb;
}

/* Label Title for Message */
.section-title {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 12px 0 8px 0;
    color: #1a1a1a;
}

/* Textarea Message Box Styles */
textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

textarea:focus {
    border: 2px solid #2563eb;
}

/* Primary Action Submission Button */
.submit-btn {
    width: 100%;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 12px;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #1d4ed8;
}

/* ==========================================================================
   3. RIGHT PANEL: IMAGE BACKGROUND & TEXT OVERLAY
   ========================================================================== */
.right-side {
    width: 50%;
    height: calc(100% - 32px);
    margin: 16px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    box-sizing: border-box;

    /* Adds a 40% translucent dark layer overlay directly over your background image 
       so the white testimonial text remains cleanly readable.
    */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)), url('img/pexels-eslames1-37940584.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* Keeps image sharp and filling the box layout */
}

/* Left Brand logo layout inside panel box */
.brand-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Overlay Text layouts specs */
.overlay-text {
    color: #ffffff;
    max-width: 540px;
}

.quote {
    font-size: 1.45rem;
    line-height: 1.45;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.author strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 2px;
}

.author span {
    font-size: 0.85rem;
    color: #d1d5db;
}

/* ==========================================================================
   4. MOBILE RESPONSIVENESS (MEDIA QUERY)
   ========================================================================== */
@media (max-width: 1024px) {
    .left-side {
        width: 100%;
        padding: 24px;
    }
    .right-side {
        display: none; /* Safely hides the picture graphic completely on phone screens */
    }
}
audio {
    display: none !important;
}
.back-btn {
    background: none;
    border: none;
    color: #666666;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 24px; /* Gives nice breathing room above the header */
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-btn:hover {
    color: #2563eb; /* Turns your signature blue when hovered */
    transform: translateX(-4px); /* Subtly slides left to indicate the action direction */
}