* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #333;
    display: flex;
    min-height: 100vh;
  }
  
  .container {
    display: flex;
    flex: 1;
  }
  
.branding {
    flex: 1;
    background: linear-gradient(135deg, #0a192f, #112240);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }
  
  .branding::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 20%, transparent 70%);
    animation: pulse 8s infinite alternate;
  }
    
  @keyframes pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.1); opacity: 0.8; }
  }
  
  .branding-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
    text-align: left;
  }
  
  .branding h1 {
    font-size: 48px;
    margin: 0;
    line-height: 1.2;
  }
  
  .branding h1 span {
    color: #4ade80;
  }
  
  .branding p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #f1f1f1;
  }
  
  .form-section {
    flex: 2;
    padding: 50px;
    overflow-y: auto;
  }
  
  h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
  }
  
  form, .formDesign {
    max-width: 700px;
    margin: 20px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.7s ease both;
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #444;
  }
  
  input[type="text"],
  input[type="number"],
  textarea,
  select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fdfdfd;
    color: #333;
    font-size: 15px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
  }
  
  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  }
  
  textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  button[type="submit"] {
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.3s ease;
  }
  
  button[type="submit"]:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #0056b3, #520dc2);
  }
  
  .post-submit {
    background-color: #f7f9fa;
    border-left: 4px solid #007bff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 700px;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
  }
  
  .post-submit p {
    margin: 0;
    text-align: center;
  }
  
  .hidden {
    display: none;
  }
  
  .form-intro {
    max-width: 700px;
    margin: 20px auto 20px auto;
    padding: 20px 30px;
    background-color: #ffffff;
    border-left: 4px solid #0b2757;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    color: #333;
    line-height: 1.6;
  }
  
  .form-intro h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 20px;
  }
  
  .form-intro h4 {
    margin-top: 20px;
    color: #2c3e50;
    font-size: 18px;
  }
  
  .form-intro ol {
    padding-left: 20px;
  }
  
  .form-intro li {
    margin-bottom: 8px;
  }

@media (max-width: 768px) {
  .container {
    flex-direction: column; /* stack form vertically */
  }

  .branding {
    display: none; /* hide branding section on mobile */
  }

  .form-section {
    padding: 25px 15px;
  }

  form, .formDesign {
    padding: 15px 20px;
  }
}
