body, html {
  min-height: 100vh;
  height: 100%;
}

.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  padding: 2rem 0;
}

.contact-card {
  display: flex;
  flex-direction: row;
  width: 900px;
  max-width: 98vw;
  background: var(--light);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(30, 57, 83, 0.18);
  overflow: hidden;
}

.contact-info {
  background: var(--gradient);
  color: var(--light);
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  text-align: center;
}
.info-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--primary);
}
.info-text {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
}

.contact-form-section {
  background: var(--light);
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}
.contact-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.2rem;
  text-align: left;
  width: 100%;
}
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-group {
  width: 100%;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: none;
  border-radius: 5px;
  background: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  box-sizing: border-box;
  color: var(--dark);
}
.contact-form textarea {
  resize: vertical;
}
.cta-button {
  width: 100%;
  background: var(--primary);
  color: var(--light);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  letter-spacing: 1px;
}
.cta-button:hover {
  background: var(--primary-dark);
}
.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Contact form feedback messages */
.contact-feedback {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-feedback.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-feedback.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 900px) {
  .contact-card {
    flex-direction: column;
    width: 98vw;
    min-width: 0;
  }
  .contact-info, .contact-form-section {
    padding: 2rem 1.2rem;
  }
  .contact-title {
    text-align: center;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
  