
.main {
  font-family: "Inter", sans-serif;
  color: #001a4d;
  line-height: 1.6;
  background-color: #ffffff;
  margin-top: 30px;
  animation: fadeIn 0.5s ease-in-out forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ========== MAIN CONTAINER ========== */
.demo-page {
  display: flex;
  min-height: 115vh;
}

/* ========== LEFT PANEL ========== */
.left-panel {
  width: 45%;
  background-color: #fdf8f3;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
}

.demo-logo {
  margin-bottom: 40px;
  font-size: 24px;
  font-weight: 800;
}
.demo-logo .logo {
    width: 200px;
    margin-bottom: 5px;
}
/*.logo {*/
/*  width: 180px;*/
/*  height: auto;*/
/*  margin-bottom: 10px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 10px;*/
/*}*/

.logo-sub {
  font-size: 12px;
  display: block;
  color: #555;
  margin-top: -5px;
}

.left-panel h1 {
  font-size: 35px;
  color: #00599d;
  margin-bottom: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.separator {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 30px 0 50px 0;
}

.testimonial p {
  font-size: 18px;
  color: #001a4d;
  margin-bottom: 40px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #ddd;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info .name {
  font-weight: 700;
  color: #001a4d;
  font-size: 18px;
}
.author-info .title {
  font-size: 14px;
  color: #555;
}

/* ========== RIGHT PANEL ========== */
.right-panel {
  width: 55%;
  background-color: #ffffff;
  padding: 60px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.right-panel h2 {
  font-size: 32px;
  color: #00599d;
  margin-bottom: 30px;
  align-self: flex-start;
  font-weight: 700;
}

/* THE FORM CARD */
.form-container {
  width: 100%;
  max-width: 650px;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 40px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 13px;
  align-items: center;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00599d;
  box-shadow: 0 0 0 3px rgba(0, 89, 157, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: none;
}

/* CAPTCHA ROW - ALL IN ONE HORIZONTAL LINE */
.captcha-row {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.captcha-input-group {
  flex: 1;
}

.captcha-box {
  flex: 0 0 140px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Courier New", monospace;
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 10px;
  letter-spacing: 3px;
  user-select: none;
}

.refresh-btn {
  flex: 0 0 auto;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #00599d;
  padding: 5px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 50px;
}

.refresh-btn:hover {
  transform: rotate(180deg);
  color: #ff5a4a;
}

/* Privacy & Submit */
.privacy-note {
  font-size: 12px;
  color: #666;
  margin: 30px 0;
  text-align: center;
  line-height: 1.5;
}

.privacy-note a {
  color: #00599d;
  text-decoration: none;
}

.privacy-note a:hover {
  text-decoration: underline;
}

.submit-btn {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 16px;
  background-color: #ff5a4a;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #e04a3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 90, 74, 0.3);
}

/* Placeholder styling */
::placeholder {
  color: #999;
}

/* Responsive - Desktop */
@media (min-width: 1025px) {
  .left-panel.mobile-hidden {
    display: flex !important;
  }
}

/* Responsive - Mobile/Tablet */
@media (max-width: 1024px) {
  .demo-page {
    flex-direction: column;
  }

  .left-panel {
    width: 100%;
    padding: 30px 5%;
    text-align: center;
  }

  /* Hide everything except h1 in mobile */
  .left-panel .logo,
  .left-panel .separator,
  .left-panel .testimonial {
    display: none;
  }

  .left-panel h1 {
    font-size: 28px;
    margin-bottom: 0;
  }

  .right-panel {
    width: 100%;
    padding: 40px 5%;
  }

  .right-panel h2 {
    font-size: 24px;
    text-align: center;
  }

  .form-container {
    padding: 30px 25px;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .captcha-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .captcha-box {
    flex: 0 0 100px;
    font-size: 20px;
    height: 45px;
  }
  .refresh-btn {
    width: 40px;
    height: 45px;
    font-size: 20px;
  }

  .left-panel h1 {
    font-size: 24px;
  }

  .right-panel h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .captcha-row {
    flex-wrap: nowrap;
  }
  .captcha-input-group input {
    font-size: 13px;
    padding: 12px 14px;
  }
  .captcha-box {
    flex: 0 0 85px;
    font-size: 18px;
    height: 45px;
  }
  .refresh-btn {
    width: 35px;
    height: 45px;
    font-size: 18px;
  }

  .left-panel h1 {
    font-size: 22px;
  }
}
.success-box {
    text-align: center;
    padding: 30px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-box h2 {
    margin-bottom: 10px;
}

.success-box p {
    color: #555;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}