/* =============================================
   CONTACT PAGE
   ============================================= */

/* ---- Heading Section ---- */
.contact-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  padding: 120px 24px 0;
}

.contact-heading h1 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #10B981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-heading h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #10B981, #F97316);
  border-radius: 2px;
  margin: 10px auto 0;
}

.contact_heading {
  font-size: 1.7rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 14px;
}

.contact_heading span {
  color: #10B981;
}

.contact-heading p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.7;
}

/* ---- Container ---- */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding: 20px 40px 80px;
  max-width: 1100px;
  margin: auto;
}

/* ---- Left Section (Contact Info) ---- */
.left-section {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.left-section.visible {
  opacity: 1;
  transform: translateX(0);
}

.left-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 6px;
}

.left-section p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.65;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  color: #CBD5E1;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.5);
  transition: all 0.25s ease;
}

.contact-line:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(5px);
  color: #F1F5F9;
}

.icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #10B981;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-line:hover .icon-circle {
  background: rgba(16, 185, 129, 0.2);
  transform: scale(1.1) rotate(-5deg);
}

/* ---- Right Section (Form) ---- */
.right-section {
  flex: 1;
  min-width: 300px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 36px 30px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.right-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.right-section:hover {
  border-color: rgba(16, 185, 129, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.07);
}

.right-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- Floating-label form groups ---- */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 7px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  padding: 13px 16px;
  margin-top: 0;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #F1F5F9;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
  transition: all 0.25s ease;
}

input::placeholder,
textarea::placeholder {
  color: #475569;
}

input:hover,
textarea:hover {
  border-color: rgba(16, 185, 129, 0.25);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), 0 4px 15px rgba(16, 185, 129, 0.05);
  background: rgba(30, 41, 59, 0.9);
}

/* ---- Status messages ---- */
.form-honeypot {
  display: none;
}

.form-success {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 10px 14px;
  border-radius: 10px;
}

.form-error {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 10px 14px;
  border-radius: 10px;
}

/* ---- Submit Button ---- */
.btn {
  margin-top: 4px;
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #10B981 0%, #059669 50%, #F97316 100%);
  background-size: 200% auto;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px 20px 60px;
  }

  .left-section,
  .right-section {
    width: 100%;
  }
}

/* ---- Light mode overrides ---- */
.light-mode .contact-heading h1 {
  color: #0F766E;
}

.light-mode .contact_heading {
  color: #111827;
}

.light-mode .contact_heading span {
  color: #0F766E;
}

.light-mode .contact-heading p {
  color: #4B5563;
}

.light-mode .left-section h2 {
  color: #0F766E;
}

.light-mode .left-section p {
  color: #4B5563;
}

.light-mode .contact-line {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.07);
  color: #111827;
}

.light-mode .contact-line:hover {
  background: rgba(15, 118, 110, 0.06);
  border-color: rgba(15, 118, 110, 0.2);
  color: #111827;
}

.light-mode .right-section {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.07);
}

.light-mode .right-section h2 {
  color: #0F766E;
}

.light-mode input,
.light-mode textarea {
  background: #F8FAFC;
  border-color: rgba(0, 0, 0, 0.1);
  color: #111827;
}

.light-mode input::placeholder,
.light-mode textarea::placeholder {
  color: #9CA3AF;
}