/* ============================================================
   REQUEST A QUOTE FORM — Custom CSS
   Targets: #request-a-quote-1448
   Matches: C-Lock Inc. site colors (#9bc34a green, #012b3e dark)
   ============================================================ */

/* ── Variables ── */
:root {
  --raq-green: #9bc34a;
  --raq-green-dark: #7ea832;
  --raq-navy: #012b3e;
  --raq-muted: #6b8a9a;
  --raq-border: #c8d8de;
  --raq-bg-focus: #f0f8e8;
}

/* ── Form wrapper ── */
#request-a-quote-1448 {
  font-family: "Nunito", sans-serif;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}

/* ── Heading ── */
#request-a-quote-1448 h2.heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--raq-navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* ── Subheading ── */
#request-a-quote-1448 .form_subheading {
  font-size: 0.875rem;
  color: var(--raq-navy);
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.8;
}

/* ── Suppress Bootstrap row/col padding ── */
#request-a-quote-1448 .row {
  margin-left: 0;
  margin-right: 0;
}
#request-a-quote-1448 .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

/* ── Form groups ── */
#request-a-quote-1448 .form-group {
  margin-bottom: 24px;
  position: relative;
}

/* ── All text inputs, email, tel, textarea ── */
#request-a-quote-1448 input.form-control,
#request-a-quote-1448 textarea.form-control {
  width: 100%;
  border: none !important;
  border-bottom: 1.5px solid var(--raq-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-family: "Nunito", sans-serif;
  font-size: 0.975rem;
  color: var(--raq-navy);
  padding: 6px 0 8px;
  outline: none !important;
  box-shadow: none !important;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

#request-a-quote-1448 input.form-control:focus,
#request-a-quote-1448 input.form-control:hover,
#request-a-quote-1448 textarea.form-control:focus,
#request-a-quote-1448 textarea.form-control:hover {
  border-bottom-color: var(--raq-green) !important;
  background-color: var(--raq-bg-focus) !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--raq-navy) !important;
}

/* ── Placeholders ── */
#request-a-quote-1448 input.form-control::placeholder,
#request-a-quote-1448 textarea.form-control::placeholder {
  color: var(--raq-muted) !important;
  font-size: 0.93rem;
  opacity: 1;
}

/* Add placeholder for Last Name (missing in HTML) */
#request-a-quote-1448-text-2::placeholder {
  content: "Last Name";
  color: var(--raq-muted) !important;
}

/* ── Textarea ── */
#request-a-quote-1448 textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

/* ── "How Did You Hear" label ── */
#request-a-quote-1448 .control-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--raq-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}

/* ── Radio buttons ── */
#request-a-quote-1448 .inputs-list .form-group {
  margin-bottom: 0;
}

#request-a-quote-1448 .radio {
  margin-bottom: 10px;
}

#request-a-quote-1448 .radio label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--raq-navy);
  cursor: pointer;
  font-weight: 400;
  user-select: none;
}

#request-a-quote-1448 .form-check-input {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 2px solid var(--raq-border) !important;
  border-radius: 50% !important;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s;
  margin: 0;
  flex-shrink: 0;
  background: transparent !important;
  box-shadow: none !important;
}

#request-a-quote-1448 .form-check-input:checked {
  border-color: var(--raq-green) !important;
  background-color: transparent !important;
}

#request-a-quote-1448 .form-check-input::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  background: var(--raq-green);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

#request-a-quote-1448 .form-check-input:checked::after {
  transform: translate(-50%, -50%) scale(1) !important;
}

/* ── Social Media Platform dropdown — hidden by default ── */
#social-platform-wrap {
  display: none;
  margin-left: 28px;
  margin-top: 8px;
  margin-bottom: 10px;
}

#social-platform-wrap .social-sub-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--raq-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

/* ── singleselect-1 (platform dropdown) ── */
#request-a-quote-1448-singleselect-1 {
  width: 100%;
  border: none !important;
  border-bottom: 1.5px solid var(--raq-border) !important;
  background: transparent !important;
  font-family: "Nunito", sans-serif;
  font-size: 0.975rem;
  color: var(--raq-navy);
  padding: 6px 24px 8px 0;
  outline: none !important;
  transition: border-color 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0 !important;
  cursor: pointer;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b8a9a' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
}

#request-a-quote-1448-singleselect-1:focus,
#request-a-quote-1448-singleselect-1:hover {
  border-bottom-color: var(--raq-green) !important;
  background-color: var(--raq-bg-focus) !important;
  outline: none !important;
}

/* ── "Please specify" text-4 — hidden by default ── */
#other-specify-wrap {
  display: none;
  margin-left: 28px;
  margin-top: 8px;
  margin-bottom: 10px;
}

#other-specify-wrap input.form-control {
  width: 100%;
}

/* ── Submit button ── */
#request-a-quote-1448 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--raq-green);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 13px 36px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  letter-spacing: 0.02em;
  float: right;
}

#request-a-quote-1448 button[type="submit"]:hover {
  background: var(--raq-green-dark);
  transform: translateY(-2px);
}

/* Hide Font Awesome icon; use inline SVG instead */
#request-a-quote-1448 button[type="submit"] .fa {
  display: none;
}

#request-a-quote-1448 button[type="submit"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

/* clearfix for float */
#request-a-quote-1448 .row:last-child::after {
  content: "";
  display: table;
  clear: both;
}

/* ── Webkit autofill override ── */
#request-a-quote-1448 input:-webkit-autofill,
#request-a-quote-1448 input:-webkit-autofill:focus,
#request-a-quote-1448 input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--raq-navy) !important;
  box-shadow: 0 0 0 1000px var(--raq-bg-focus) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ── Responsive ── */
@media (max-width: 576px) {
  #request-a-quote-1448 h2.heading {
    font-size: 1.4rem;
  }
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

.thankyou-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin: 55px 0 55px 0 !important;
}

.thankyou-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.thankyou-hero__overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  background: rgba(30, 144, 200, 0.82);
  background-image: url("../Public/Contact_background.png");
  background-size: cover;
}

.thankyou-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 52px 64px;
  gap: 40px;
}

/* ── Left ── */
.thankyou-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thankyou-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.thankyou-socials {
  margin-top: auto;
  padding-top: 40px;
}

.thankyou-socials p {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

.thankyou-socials__icons {
  display: flex;
  gap: 18px;
  align-items: center;
}

.thankyou-socials__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.thankyou-socials__icons a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* ── Right ── */
.thankyou-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
}

.thankyou-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.thankyou-message {
  font-size: 1rem;
  color: #fff;
  line-height: 1.65;
  font-weight: 400;
  opacity: 0.95;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .thankyou-hero__content {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }

  .thankyou-right {
    padding-left: 0;
  }

  .thankyou-heading {
    font-size: 2.2rem;
  }

  .thankyou-left {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .thankyou-socials {
    padding-top: 0;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .thankyou-heading {
    font-size: 1.8rem;
  }
}

button:hover::after {
  -webkit-transform: translateY(-25%) skew(25deg) scale(1.2) !important;
  transform: translateY(-25%) skew(25deg) scale(1.2) !important;
}

.navbar .attr-right .attr-nav li.button a:hover::after {
  -webkit-transform: translateY(-20%) skew(25deg) scale(1.2) !important;
  transform: translateY(-20%) skew(25deg) scale(1.2) !important;
}

#p243 .contact-hero {
  min-height: unset;
}
