@import url("global.css");

/* Header */
.contact-header {
  padding: 2.75rem 1.5rem 2rem;
}

.contact-header .max-w-7xl {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background-image: url("/img/about-background.webp");
  background-size: cover;
  background-position: center;
  padding: 3.75rem;
  max-width: 1000px;
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  text-align: left;
}

.header-title {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 3.625rem;
  line-height: 3.375rem;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.65rem;
}

.header-subtitle {
  font-family: var(--font-inter)!important;
  font-size: 1rem;
  line-height: 1.45rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 35rem;
  margin: 0;
}

/* Methods */
.contact-methods {
  padding: 1.25rem 0rem 2.2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.methods-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.method-card {
  position: relative;
  text-align: left;
  padding: 1.45rem 1.25rem 1.2rem;
  background: #eef2fb;
  border-radius: 0.6rem;
  box-shadow: none;
}

.method-icon {
  position: absolute;
  top: 1.2rem;
  right: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  color: #6f4ac9;
  background: #f9f9fe;
  border: 1px solid #e5e7f2;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.438rem;
}

.method-title {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 1.12rem;
  color: #252c3c;
  margin-bottom: 0.4rem;
  padding-right: 3rem;
}

.method-description {
  font-family: var(--font-inter);
  font-size: 0.86rem;
  color: #4d5668;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.method-link {
  font-family: var(--font-inter);
  font-size: 0.9rem;
  color: #6f4ac9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.email-link {
  margin-top: 1.9rem;
  display: block;
}

.response-time {
  text-decoration: none;
}
/* Form */
.contact-form-section {
  padding: 2rem 0rem 2.3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.form-container {
  background: #eef2fb;
  border-radius: 0.6rem;
  padding: 1.7rem 1.45rem 1.35rem;
  box-shadow: none;
}

.form-header {
  text-align: center;
  margin-bottom: 1rem;
}

.form-title {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 3rem;
  color: #232838;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.form-accent {
  color: #1690ef;
}

.form-description {
  font-family: var(--font-inter);
  font-size: 1rem;
  color: #4e5668;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.error-banner {
  margin-bottom: 0.5rem;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.5rem;
  color: var(--destructive);
  font-size: 0.875rem;
}

.error-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 0.88rem;
  color: #2c3342;
  margin-bottom: 0.35rem;
}

.form-input,
.form-textarea {
  font-family: var(--font-inter);
  padding: 0.56rem 0.7rem;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 0.2rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #b8bfcb;
  opacity: 1;
}

.form-textarea {
  min-height: 130px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--destructive);
}

.form-submit {
  width: auto;
  align-self: flex-end;
  margin-top: 0.35rem;
  height: 2.1rem;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 500;
}

/* Bottom CTA */
.alternative-contact {
  padding: 5rem 0rem 0rem;
  background: #2f323b;
  border-top: 1px solid #4b5563;
}

.alt-title {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.alt-accent {
  color: #1690ef;
}

.alt-description {
  font-family: var(--font-inter);
  font-size: 1rem;
  color: #eceff4;
  margin-bottom: 0.9rem;
}

.alt-cta {
  display: flex;
  justify-content: center;
}

.alt-cta .btn {
  height: 2.2rem;
  border-radius: 999px;
  padding: 0 1.3rem;
  font-size: 0.95rem;
  line-height: 1;
}

.alt-cta .btn-primary {
  background: #fff;
  color: #2f323b;
  border: 1px solid #fff;
  box-shadow: none;
}

.copyright-text {
  font-size: 0.875rem;
  color: #fff;
  margin-top: 5.75rem;
  padding-bottom: 0.75em;
}

.copyright-text a {
  color: #fff;
  text-decoration: underline;
}

/* Success modal */
.success-content {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  color: var(--green-500);
  margin: 0 auto 1.5rem;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-message {
  font-family: var(--font-inter);
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .contact-header,
  .contact-methods,
  .contact-form-section,
  .alternative-contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-header .max-w-7xl {
    padding: 2rem 1.2rem;
  }

  .header-title,
  .form-title {
    font-size: 2.2rem;
  }

  .header-subtitle,
  .alt-description,
  .form-description {
    font-size: 0.95rem;
  }
}
