/* ============================================================
   contact.css
   Custom overrides – Bootstrap 5 handles the grid.
   Fonts:
     Montserrat  → all headings, labels, inputs, body, buttons
     Poppins     → phone / email / address values  (.info-data)
   ============================================================ */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --brand:          #cc1f1f;
  --brand-dark:     #a81919;
  --bg:             #e8e8e8;
  --surface:        #ffffff;
  --dark-card:      #1c1c1c;
  --text:           #1f2937;
  --muted:          #6b7280;
  --border:         #e0e0e0;
  --placeholder:    #aaaaaa;
  --divider-dark:   #2e2e2e;
  --font-main:      'Montserrat', system-ui, sans-serif;
  --font-data:      'Poppins', system-ui, sans-serif;
  --radius-card:    14px;
  --radius-input:   7px;
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  background-color: var(--bg);
  font-family: var(--font-main);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Page wrapper – full-height centering
   ============================================================ */
.contact-page {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

/* The Bootstrap row that holds both cards */
.contact-row {
  width: 100%;
  max-width: 920px;
}

/* ============================================================
   Shared card shell
   (Bootstrap's .card is reset here – we use our own)
   ============================================================ */
.card {
  border: none !important;
  border-radius: var(--radius-card) !important;
}

/* ============================================================
   LEFT card – white form
   ============================================================ */
.card-light {
  background: var(--surface);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  padding: 40px 40px 40px;
}

/* Heading */
.form-heading {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}

/* Subtext paragraph */
.form-subtext {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  color: #595959;
  line-height: 1.72;
  margin-bottom: 22px;
}

/* ---- Inputs / select / textarea ---- */
.form-ctrl {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background-color: var(--surface);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
}

.form-ctrl::placeholder {
  color: var(--placeholder);
  font-size: 12.5px;
}

.form-ctrl:focus {
  border-color: #b0b0b0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

/* Error state */
.form-ctrl.is-error {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(204, 31, 31, 0.12);
}

.field-error {
  font-family: var(--font-main);
  font-size: 11px;
  color: var(--brand);
  margin-top: 3px;
}

/* ---- Select ---- */
.form-sel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-sel.is-placeholder {
  color: var(--placeholder);
}

/* ---- Textarea ---- */
.form-ta {
  resize: none;
  height: 112px;
  line-height: 1.6;
}

/* ---- Message label ---- */
.msg-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: #555555;
  margin-bottom: 5px;
  display: block;
}

/* ---- Submit button ---- */
.btn-send {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background-color: var(--brand);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: background-color 0.18s, transform 0.1s;
  margin-top: 4px;
}

.btn-send:hover  { background-color: var(--brand-dark); }
.btn-send:active { transform: scale(0.985); }

/* ---- Success banner ---- */
.success-banner {
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-input);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  color: #065f46;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ============================================================
   RIGHT card – dark info panel
   ============================================================ */
.card-dark {
  background: var(--dark-card);
  padding: 50px 50px 50px;
}

/* Heading */
.info-heading {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 7px;
}

/* Subtext */
.info-subtext {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.7;
}

/* Horizontal rule */
.info-divider {
  border: none;
  border-top: 1px solid var(--divider-dark);
  margin: 16px 0;
  opacity: 1;
}

/* Section title (Mail & Phone / Address) */
.info-section-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Contact row */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-decoration: none;
  margin-bottom: 8px;
  color:#fff;
}

.info-item:last-of-type {
  margin-bottom: 0;
}

/* Icon */
.info-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #9ca3af;
  margin-top: 2px;
}

/* ---- POPPINS – phone / email / address values ---- */
.info-data {
  font-family: var(--font-data);   /* Poppins */
  font-size: 14px;
  font-weight: 400;
  color: #d1d5db;
  line-height: 1.65;
}

/* a.info-item:hover .info-data { color: #ffffff; }
a.info-item:hover .info-icon { color: var(--brand); } */

/* ============================================================
   Social buttons
   ============================================================ */
.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand);
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.18s, transform 0.18s;
}

.social-btn:hover {
  background-color: var(--brand-dark);
  transform: scale(1.08);
}

.social-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* WhatsApp icon uses fill, not stroke */
.social-btn--wa svg {
  fill: currentColor;
  stroke: none;
  width: 16px;
  height: 16px;
}


.btn-brand {
    background: var(--brand-red);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 9px 20px;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
}
.btn-brand:hover { background: #a81414; color: #fff; }

/* ============================================================
   Responsive adjustments
   ============================================================ */
@media (max-width: 767px) {
  .contact-page {
    padding: 32px 16px;
  }

  .card-light {
    padding: 26px 20px 22px;
    margin-bottom: 20px;
  }

  .card-dark {
    padding: 24px 20px;
  }

  .form-heading {
    font-size: 20px;
  }

  .info-heading {
    font-size: 16px;
  }
}
