/* ============================================
   contactUs.css — Modern Responsive Contact
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  background: #F0F4F3;
  color: #0D1B14;
  min-height: 100vh;
}

/* ── Page shell ── */
.contact-container {
  height: calc(100vh - 72px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ── Left panel ── */
.contact-panel-left {
  width: 340px;
  flex-shrink: 0;
  background: #E8F2EC;
  color: #0D1B14;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;  /* brand top, contact info bottom */
  position: relative;
  overflow: hidden;
}

.contact-panel-left::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 74, 47, 0.08);
  pointer-events: none;
}

.contact-panel-left::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 74, 47, 0.05);
  pointer-events: none;
}

.panel-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-brand .brand-name {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #0D4A2F;
}

.panel-brand h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #0D1B14;
}

.panel-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: #3D5A4C;
  max-width: 260px;
}

.panel-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.panel-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.panel-contact-item .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13, 74, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-contact-item .icon-wrap svg {
  width: 14px;
  height: 14px;
  stroke: #0D4A2F;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-contact-item .info-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.panel-contact-item .info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5A7066;
  font-weight: 600;
}

.panel-contact-item .info-value {
  font-size: 13px;
  color: #0D1B14;
}

/* ── Right panel (form) ── */
/* .contact-panel-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 48px;
  background: #F0F4F3;
  overflow-y: auto;
} */

/* ── Right panel (form) ── */
.contact-panel-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 48px 40px;     /* was: 40px 48px — increased top padding */
  background: #F0F4F3;
  overflow-y: auto;
}

.contact-form-wrap {
  width: 100%;
  max-width: 540px;
}

.contact-form-wrap .form-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #0D1B14;
  margin-bottom: 4px;
}

.contact-form-wrap .form-sub {
  font-size: 13px;
  color: #5A7066;
  margin-bottom: 16px;
}

/* ── Form structure ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── Labels hidden — placeholders handle UX ── */
.form-label {
  display: none;
}

/* ── Inputs, selects, textarea ── */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13.5px;
  color: #0D1B14;
  background: #fff;
  border: 1.5px solid #D4DDD9;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8FA89F;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #008B00;
  box-shadow: 0 0 0 3px rgba(0, 139, 0, 0.08);
}

.contact-form input:hover:not(:focus),
.contact-form select:hover:not(:focus),
.contact-form textarea:hover:not(:focus) {
  border-color: #A0B5AC;
}

/* Select arrow */
.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 36px;
  cursor: pointer;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #5A7066;
  pointer-events: none;
}

.contact-form textarea {
  min-height: 90px;
  max-height: 90px;
  resize: none;
  line-height: 1.5;
}

/* ── reCAPTCHA ── */
.recaptcha-wrap {
  margin: 2px 0;
}

/* ── Terms checkbox ── */
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.terms-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: #008B00;
  cursor: pointer;
  margin-top: 2px;
}

.terms-row label {
  font-size: 12px;
  color: #5A7066;
  line-height: 1.5;
  cursor: pointer;
}

.terms-row label a {
  color: #008B00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Submit button ── */
.btn-submit {
  width: 100%;
  padding: 12px 24px;
  background: #008B00;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 74px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  background: #007000;
}

.btn-submit:active {
  transform: scale(0.99);
}

/* ── Footer link ── */
.form-footer-link {
  text-align: center;
  font-size: 12px;
  color: #5A7066;
}

.form-footer-link a {
  color: #008B00;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(0, 139, 0, 0.25);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.form-footer-link a:hover {
  border-color: #008B00;
}

/* ── Status message ── */
#formStatus {
  font-size: 12px;
  text-align: center;
  min-height: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .contact-panel-left {
    width: 280px;
    padding: 36px 28px;
  }

  .panel-brand h1 {
    font-size: 24px;
  }

  .contact-panel-right {
    padding: 36px 32px;
  }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .contact-panel-left {
    width: 100%;
    padding: 32px 20px 28px;
    justify-content: flex-start;
    gap: 28px;
  }

  .contact-panel-left::before,
  .contact-panel-left::after {
    display: none;
  }

  .panel-brand h1 {
    font-size: 22px;
  }

  .panel-brand p {
    max-width: 100%;
  }

  .contact-panel-right {
    padding: 28px 20px 40px;
    align-items: flex-start;
  }

  .contact-form-wrap {
    max-width: 100%;
  }

  .contact-form-wrap .form-heading {
    font-size: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .contact-panel-left {
    padding: 24px 16px;
  }

  .contact-panel-right {
    padding: 24px 16px 36px;
  }

  

  .btn-submit {
    font-size: 13px;
    padding: 11px 20px;
  }
}

@media (max-width: 1024px) {
  .contact-panel-right {
    padding: 56px 32px 36px;   /* was: 36px 32px */
  }
}

.contact-legal {
  text-align: center;
  font-size: 11px;
  color: #8FA89F;
  padding: 16px;
  background: #F0F4F3;
}

@media (max-width: 768px) {
  .contact-legal {
    padding: 12px 16px;
  }
}


/* ── Frameworks multi-select ── */
.frameworks-wrap {
  position: relative;
}

.frameworks-header {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #8FA89F;
  background: #fff;
  border: 1.5px solid #D4DDD9;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.frameworks-header:hover {
  border-color: #A0B5AC;
}

.frameworks-header.active {
  border-color: #008B00;
  box-shadow: 0 0 0 3px rgba(0, 139, 0, 0.08);
  color: #0D1B14;
}

.frameworks-header.has-selection {
  color: #0D1B14;
}

.frameworks-arrow {
  width: 14px;
  height: 14px;
  stroke: #5A7066;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.frameworks-header.active .frameworks-arrow {
  transform: rotate(180deg);
}

.frameworks-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #D4DDD9;
  border-radius: 8px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.frameworks-dropdown.open {
  display: block;
}

.framework-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #0D1B14;
  cursor: pointer;
  transition: background 0.15s ease;
}

.framework-option:hover {
  background: #F0F4F3;
}

.framework-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #008B00;
  cursor: pointer;
  flex-shrink: 0;
}

