/* ===== AquaKem — Contact Page ===== */
:root {
  --paper:        #ffffff;
  --paper-2:      #f0f7ff;
  --paper-3:      #e8f4ff;
  --line:         #dbe8f5;
  --line-soft:    #eaf0f8;

  --blue:         #007BFF;
  --blue-deep:    #0056c7;
  --blue-bright:  #3399FF;
  --blue-soft:    #eef4ff;

  --gold:         #FFC000;
  --gold-soft:    #fff3cc;
  --gold-deep:    #e6ac00;

  --text-ink:     #333333;
  --text-ink-dim: #666666;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--text-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-top: 0;
}

h1, h2, h3, h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

em { font-style: normal; color: var(--gold); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow-bar {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold);
}

/* ===== HERO ===== */
.contact-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 130px 0 80px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 60%, #003f9e 100%);
}

.contact-hero-bg {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
}

.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  color: #ffffff;
  margin-bottom: 18px;
}

.contact-hero h1 em { color: var(--gold); }

.contact-hero p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
}

/* Contact info row */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-icon svg { width: 19px; height: 19px; }

.info-box h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 6px;
}

.info-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);

}

/* ===== MAP ===== */
.map-section {
  background: var(--paper);
  padding: 0;
}

.map {
  position: relative;
  width: 100%;
  height: 380px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(8%);
}

.map-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--blue);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,123,255,0.3);
  transition: background 0.2s, transform 0.2s;
}

.map-btn:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.map-btn svg { width: 16px; height: 16px; }

/* ===== FORM SECTION ===== */
.form-section {
  background: var(--paper-2);
  padding: 100px 0;
}

.form-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.form-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--blue-deep);
  margin: 18px 0 16px;
}

.form-head p {
  font-size: 16px;
  color: var(--text-ink-dim);
  line-height: 1.65;
}

.form-head .contact-hero-eyebrow {
  justify-content: center;
  width: 100%;
}

.form-card {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 20px 50px -25px rgba(0,86,199,0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: span 2;
}

.field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-ink);
}

.field-group label span {
  color: var(--gold-deep);
}

.form-grid input,
.form-grid textarea {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--text-ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #9aa9bb;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.12);
}

.form-grid textarea.message {
  height: 140px;
  resize: none;
}

/* Validation states */
.field-error {
  border: 1.5px solid #e53e3e !important;
  background: #fff5f5 !important;
}

.field-ok {
  border: 1.5px solid #16a34a !important;
}

.error-label {
  color: #e53e3e;
  font-size: 12px;
  min-height: 14px;
  display: block;
}

/* Submit button */
.submit-btn {
  grid-column: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: var(--blue-bright);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s;
}

.submit-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.submit-btn svg { width: 17px; height: 17px; }

/* Success / error messages */
.form-msg {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.form-msg.success {
  background: #ecfdf3;
  color: #16a34a;
  border: 1px solid #bbf0cf;
}

.form-msg.error {
  background: #fff5f5;
  color: #e53e3e;
  border: 1px solid #fecaca;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .contact-hero { padding: 110px 0 60px; }
  .form-section { padding: 72px 0; }
  .form-card { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: span 1; }
  .submit-btn { grid-column: span 1; }
}
/* ================================================================
   FULL RESPONSIVE PACK — Phone / Tablet / Laptop / Large Desktop
   ================================================================ */

/* ---- Large Desktop (1440px+) ---- */
@media (min-width: 1440px) {
  .container { max-width: 1360px; }
  .contact-hero { padding: 150px 0 96px; }
  .form-card { max-width: 960px; padding: 56px; }
}

/* ---- Ultra-wide Desktop (1920px+) ---- */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .contact-hero h1 { font-size: clamp(2.4rem, 3.6vw, 4.25rem); }
  .map { height: 460px; }
}

/* ---- Tablet (768px – 1023px) ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-info { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .form-card { max-width: 100%; padding: 40px; }
}

/* ---- Large Phone / Small Tablet (481px – 767px) ---- */
@media (max-width: 767px) {
  .contact-hero { padding: 100px 0 56px; }
  .contact-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .contact-hero p { font-size: 15px; margin-bottom: 36px; }
  .contact-info { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .map { height: 260px; }
  .map-btn { padding: 10px 16px; font-size: 13px; top: 14px; left: 14px; }
  .form-section { padding: 56px 0; }
  .form-head { margin-bottom: 32px; }
  .form-card { padding: 24px 18px; }
  .form-grid { gap: 18px; }
}

/* ---- Small Phone (max 480px) ---- */
@media (max-width: 480px) {
  .contact-hero { padding: 88px 0 48px; }
  .contact-hero h1 { font-size: 1.85rem; }
  .info-box { gap: 10px; }
  .info-icon { width: 34px; height: 34px; }
  .map { height: 220px; }
  .form-section { padding: 44px 0; }
  .form-head h2 { font-size: 1.6rem; }
  .form-card { padding: 20px 14px; }
  .form-grid input, .form-grid textarea { padding: 11px 14px; font-size: 13px; }
  .submit-btn { padding: 13px; font-size: 14px; }
}