:root {
  --contact-bg: #f4f7f9;
  --contact-surface: #ffffff;
  --contact-subtle: #eef2f6;
  --contact-accent: #0a2140;
  --contact-accent-light: rgba(10, 33, 64, 0.08);
  --contact-accent-glow: rgba(10, 33, 64, 0.18);
  --contact-cyan: #688efb;
  --contact-text-primary: #0a2140;
  --contact-text-muted: #5a6a7e;
  --contact-border: rgba(10, 33, 64, 0.1);
  --contact-input-bg: #f9fbfd;
}

/* ---- Base ---- */
.contact-page-shell {
  margin: 0;
  padding: 0;
  background-color: var(--contact-bg);
  color: var(--contact-text-primary);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

.contact-page-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Hero Section ---- */
.contact-hero-section {
  padding: 60px 0 100px;
  /* background:
        radial-gradient(ellipse at 80% 0%, rgba(6, 140, 193, 0.08) 0%, transparent 60%),
        #f4f7f9; */
  position: relative;
  flex: 1;
}

.contact-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 5%;
}

.contact-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* ---- Left: Content ---- */
.contact-content-side {
  flex: 1;
  padding-top: 20px;
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #688efb;
  margin-bottom: 28px;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
}

.contact-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--contact-cyan);
  border-radius: 50%;
}

.contact-title {
  font-family: "TeX Gyre Pagella", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--contact-text-primary);
  margin-bottom: 28px;
}

.contact-info-text {
  font-size: 16px;
  color: var(--contact-text-muted);
  margin-bottom: 48px;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--contact-cyan);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.contact-info-text a:hover {
  border-bottom-color: var(--contact-cyan);
}

/* Decorative circles */
.contact-visual-decor {
  position: relative;
  margin-top: 60px;
  height: 280px;
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--contact-border);
}

.circle-1 {
  width: 260px;
  height: 260px;
  top: -20px;
  left: -60px;
  border-color: rgba(6, 140, 193, 0.12);
}

.circle-2 {
  width: 170px;
  height: 170px;
  top: 50px;
  left: 40px;
  border-style: dashed;
  border-color: rgba(6, 140, 193, 0.2);
  animation: spin 60s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Right: Form Card ---- */
.contact-form-side {
  flex: 1;
}

.contact-form-card {
  background: var(--contact-surface);
  border: 1px solid rgba(10, 33, 64, 0.08);
  border-radius: 20px;
  padding: 44px;
  box-shadow:
    0 4px 6px -1px rgba(10, 33, 64, 0.06),
    0 20px 40px -8px rgba(10, 33, 64, 0.1);
  position: relative;
}

/* Top highlight line */
.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--contact-cyan),
    transparent
  );
  border-radius: 2px;
}

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

.form-row {
  display: flex;
  gap: 18px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--contact-text-primary);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--contact-input-bg);
    border: 1px solid rgba(10, 33, 64, 0.14);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--contact-text-primary);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    transition: all 0.25s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

/* Custom Dropdown Styling */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▾';
    font-size: 16px;
    color: var(--contact-text-muted);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab4c0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--contact-cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6, 140, 193, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- Submit Button ---- */
.contact-submit-btn {
  margin-top: 8px;
  background: var(--contact-accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.contact-submit-btn:hover {
  background: var(--contact-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 140, 193, 0.28);
}

.contact-submit-btn:hover svg {
  transform: translateX(5px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .contact-layout {
    flex-direction: column;
    gap: 50px;
  }

  .contact-title {
    font-size: 38px;
  }

  .contact-visual-decor {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-hero-section {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .contact-title {
    font-size: 30px;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-form-card {
    padding: 24px;
  }
  .contact-form-side {
    width: 100%;
  }
}
