/* ==========================================================================
   FUTURE REUSE CONFIGURATION: Edit these variables to rebrand the component
   ========================================================================== */
:root {
  /* Brand Color System - Magenta */
  --color-brand-primary: #b72178;       /* Container background & focus states */
  --color-button-base: #c1408b;         /* Button normal state color */
  --color-button-hover: #b72178;        /* Button hover state color */
  
  /* Brand Color System - Green */
  --color-brand-primary: #0f3d3e;       /* Container background & focus states */
  --color-button-base: #ffeb3b;         /* Button normal state color */
  --color-button-hover: #ddd26d;        /* Button hover state color */  
  
  
  /* Typography Accents */
  --color-accent-h3: #ffeb3b;           /* Sunlight Yellow for the subheadline */
  --color-accent-strong: #ffffff;       /* Pure white for the bold key phrases */
  
  /* Structural Settings */
  --container-width: 1200px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   CORE COMPONENT STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-stack);
}

body {
  background-color: #f7f9fa; 
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* The Centralized Card Container Framework */
.outer-card {
  width: 100%;
  max-width: var(--container-width);
  background-color: var(--color-brand-primary); 
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #e0e0e0;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
  gap: 40px; 
}

/* Left Text Column Component */
.left-column {
  color: #ffffff;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.left-column h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.left-column h3 {
  font-size: 1.6rem;
  margin-bottom: 35px;
  font-weight: 600;
  color: var(--color-accent-h3);
  line-height: 1.3;
}

.left-column p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ffffff; /* Enhanced accessibility: Changed to pure white for higher text contrast */
}

.left-column p strong {
  color: var(--color-accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline;
}

.left-column p:last-child {
  margin-bottom: 0;
}

/* Right Floating White Input Card Element */
.right-column {
  width: 100%;
  max-width: 550px; 
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
}

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111111;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
  color: #333333;
  background-color: #ffffff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Enhanced Accessibility: Visual keyboard outline ring indicator states for form fields */
input:focus,
textarea:focus {
  border-color: var(--color-brand-primary);
  outline: 3px solid var(--color-accent-h3);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--color-button-base);
  /*color: #ffffff;*/
  color: #000;
  border: none;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, outline 0.2s ease;
}

/* Enhanced Accessibility: Visual focus indicator ring states for the submit button */
.submit-btn:hover,
.submit-btn:focus {
  background-color: var(--color-button-hover);
  outline: 3px solid var(--color-accent-h3);
  outline-offset: 2px;
}

#formStatus {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333333;
  text-align: center;
}

/* Responsive Tablet/Desktop Viewport Alignment Rules */
@media (min-width: 992px) {
  .container {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }

  .left-column {
    flex: 1.2;
    padding: 0;
  }

  .right-column {
    flex: 0.8;
  }
}
