.elementor-165 .elementor-element.elementor-element-029b66e{--display:flex;}/* Start custom CSS for container, class: .elementor-element-029b66e *//* ============================================================
   ADVANTAGE FIRST HOME HEALTH CARE LLC
   CONTACT US — COMPACT, BALANCED LAYOUT (V2)
   Full replacement for previous .af-contact-page CSS
   WordPress / Elementor Free / Kuara Core
   ============================================================ */

.af-contact-page {
  --af-ct-navy: #082e61;
  --af-ct-gold: #d99007;
  --af-ct-gold-hover: #bc7b06;
  --af-ct-teal: #087f82;
  --af-ct-ink: #22364c;
  --af-ct-border: #d7e4e9;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--af-ct-ink);
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}

.af-contact-page *,
.af-contact-page *::before,
.af-contact-page *::after {
  box-sizing: border-box;
}

.af-contact-page h1,
.af-contact-page h2,
.af-contact-page h3,
.af-contact-page p {
  margin: 0;
}

.af-contact-page h1,
.af-contact-page h2,
.af-contact-page h3 {
  color: var(--af-ct-navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.af-contact-page a {
  text-decoration: none;
}

.af-contact-page a:focus-visible,
.af-contact-page input:focus-visible,
.af-contact-page select:focus-visible,
.af-contact-page textarea:focus-visible,
.af-contact-page button:focus-visible {
  outline: 3px solid var(--af-ct-teal);
  outline-offset: 3px;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */

.af-contact-page .af-ct-hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  padding: 68px 0 125px;
  background: #fff;
}

/* BACKGROUND PHOTO */

.af-contact-page .af-ct-photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto 44%;
  height: 690px;
  max-height: 70vw;

  background: #fff
    url('https://advantagefirstcare.com/wp-content/uploads/2026/10/3-1.png')
    no-repeat right top / contain;
}

/* WHITE IMAGE GRADIENT */

.af-contact-page .af-ct-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 40%,
      rgba(255,255,255,.2) 59%,
      #fff 78%
    ),
    linear-gradient(
      90deg,
      #fff 0%,
      #fff 20%,
      rgba(255,255,255,.98) 33%,
      rgba(255,255,255,.80) 47%,
      rgba(255,255,255,.05) 72%,
      transparent 90%
    );
}

/* NARROWER CONTENT CONTAINER */

.af-contact-page .af-ct-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 64px), 1120px);
  margin-inline: auto;
}

/* ============================================================
   2. HEADLINE AND INTRODUCTION
   ============================================================ */

.af-contact-page .af-ct-heading {
  max-width: 645px;
}

.af-contact-page .af-ct-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--af-ct-teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* REDUCED HEADLINE SIZE */

.af-contact-page .af-ct-heading h1 {
  max-width: 645px;
  margin-bottom: 17px;
  font-size: clamp(3rem, 4.05vw, 4.3rem);
  line-height: 1.07;
  overflow-wrap: normal;
}

.af-contact-page .af-ct-heading h1 span {
  display: block;
  color: var(--af-ct-gold);
}

.af-contact-page .af-ct-lead {
  max-width: 510px;
  margin-bottom: 29px;
  color: var(--af-ct-ink);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

/* ============================================================
   3. CONTACT CARDS + FORM GRID
   ============================================================ */

.af-contact-page .af-ct-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 435px)
    minmax(0, 365px);
  justify-content: start;
  align-items: start;
  gap: 36px;
}

.af-contact-page .af-ct-details {
  display: grid;
  gap: 13px;
}

/* CONTACT INFORMATION CARDS */

.af-contact-page .af-ct-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 84px;
  padding: 13px 17px;

  border: 1px solid rgba(8,46,97,.06);
  border-radius: 14px;
  background: rgba(255,255,255,.97);

  box-shadow: 0 10px 26px rgba(8,46,97,.08);
}

/* CIRCULAR CARD ICONS */

.af-contact-page .af-ct-card__icon {
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  border-radius: 50%;

  background: var(--af-ct-navy);
  color: #fff;
}

/* GOLD EMAIL ICON */

.af-contact-page
.af-ct-card:nth-child(2)
.af-ct-card__icon {
  background: var(--af-ct-gold);
}

/* TEAL LOCATION ICON */

.af-contact-page
.af-ct-card:nth-child(3)
.af-ct-card__icon {
  background: var(--af-ct-teal);
}

/* ICON SVG */

.af-contact-page .af-ct-card__icon svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* CARD TEXT */

.af-contact-page .af-ct-card__body {
  min-width: 0;
}

.af-contact-page .af-ct-card__label {
  display: block;
  margin-bottom: 3px;
  color: var(--af-ct-navy);
  font-size: .87rem;
  font-weight: 800;
  line-height: 1.35;
}

.af-contact-page .af-ct-card__value,
.af-contact-page .af-ct-card__value a {
  color: var(--af-ct-navy);
  font-size: clamp(.99rem, 1.24vw, 1.16rem);
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.af-contact-page .af-ct-card__value a:hover {
  color: var(--af-ct-gold-hover);
}

/* ============================================================
   4. CONTACT FORM CARD
   ============================================================ */

.af-contact-page .af-ct-form-card {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: -35px;
  padding: 25px;

  border: 1px solid rgba(8,46,97,.07);
  border-radius: 17px;
  background: rgba(255,255,255,.98);

  box-shadow: 0 16px 38px rgba(7,32,61,.12);
}

/* FORM TITLE */

.af-contact-page .af-ct-form-card h2 {
  margin-bottom: 17px;
  font-size: clamp(1.55rem, 1.8vw, 1.85rem);
  line-height: 1.18;
}

/* FORM FIELDS */

.af-contact-page .af-ct-form,
.af-contact-page .af-ct-form__fields {
  display: grid;
  gap: 11px;
}

.af-contact-page .af-ct-field {
  min-width: 0;
}

.af-contact-page .af-ct-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--af-ct-navy);
  font-size: .83rem;
  font-weight: 700;
}

/* TEXT / EMAIL / PHONE / SELECT / MESSAGE */

.af-contact-page
.af-ct-form
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.af-contact-page .af-ct-form select,
.af-contact-page .af-ct-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;

  border: 1px solid #cfdae4;
  border-radius: 8px;

  background: #fff;
  color: var(--af-ct-ink);
  box-shadow: none;

  font: 400 .91rem/1.4 Arial, Helvetica, sans-serif;
  appearance: auto;
}

/* TEXTAREA */

.af-contact-page .af-ct-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* PLACEHOLDERS */

.af-contact-page .af-ct-form input::placeholder,
.af-contact-page .af-ct-form textarea::placeholder {
  color: #697b91;
  opacity: 1;
}

/* INPUT FOCUS */

.af-contact-page
.af-ct-form input:not([type="checkbox"]):focus,
.af-contact-page .af-ct-form select:focus,
.af-contact-page .af-ct-form textarea:focus {
  border-color: var(--af-ct-teal);
  box-shadow: 0 0 0 3px rgba(8,127,130,.12);
}

/* OPTIONAL CONSENT CHECKBOX */

.af-contact-page .af-ct-form__check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #40556a;
  font-size: .8rem;
  line-height: 1.45;
}

.af-contact-page .af-ct-form__check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--af-ct-teal);
}

/* ============================================================
   5. FORM SUBMIT BUTTON
   ============================================================ */

.af-contact-page .af-ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  min-height: 49px;
  padding: 12px 18px;

  border: 0;
  border-radius: 999px;

  background: var(--af-ct-gold);
  color: #fff;

  font: 800 .94rem/1.25 Arial, Helvetica, sans-serif;
  cursor: pointer;

  transition:
    background-color .2s,
    transform .2s;
}

.af-contact-page .af-ct-submit:hover:not(:disabled) {
  background: var(--af-ct-gold-hover);
  transform: translateY(-2px);
}

/* DISABLED UNTIL FORM HANDLER IS CONFIGURED */

.af-contact-page .af-ct-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* PRIVACY NOTE */

.af-contact-page .af-ct-form__note {
  margin-top: 5px;
  color: #5f7086;
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
}

.af-contact-page .af-ct-form__note a {
  color: var(--af-ct-navy);
  font-weight: 700;
  text-decoration: underline;
}

/* SUBMISSION STATUS MESSAGES */

.af-contact-page .af-ct-form__status,
.af-contact-page .wpcf7-response-output,
.af-contact-page .wpforms-confirmation-container {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #b7d6d6;
  border-radius: 9px;
  background: #f0f9f9;
  color: var(--af-ct-navy);
  font-size: .9rem;
}

/* ============================================================
   6. NAVY AND GOLD CURVED WAVE
   ============================================================ */

.af-contact-page .af-ct-wave {
  position: absolute;
  z-index: 4;
  bottom: -1px;
  left: 0;

  display: block;
  width: 100%;
  height: clamp(75px, 8vw, 113px);
  pointer-events: none;
}

/* ============================================================
   7. TABLET
   ============================================================ */

@media (max-width: 1050px) {

  .af-contact-page .af-ct-container {
    width: min(calc(100% - 52px), 940px);
  }

  .af-contact-page .af-ct-heading h1 {
    font-size: clamp(3rem, 5.2vw, 3.9rem);
  }

  .af-contact-page .af-ct-grid {
    grid-template-columns:
      minmax(0, 1.1fr)
      minmax(0, 1fr);
    gap: 25px;
  }

  .af-contact-page .af-ct-photo {
    inset-inline-start: 40%;
    height: 620px;
  }

  .af-contact-page .af-ct-form-card {
    margin-top: 0;
    padding: 22px;
  }

  .af-contact-page .af-ct-card {
    padding: 12px;
  }
}

/* ============================================================
   8. MOBILE
   ============================================================ */

@media (max-width: 767px) {

  .af-contact-page .af-ct-hero {
    padding: 245px 0 94px;
  }

  .af-contact-page .af-ct-photo {
    inset: 0 0 auto;
    height: 305px;
    max-height: none;
    background-size: cover;
    background-position: center 38%;
  }

  .af-contact-page .af-ct-shade {
    background: linear-gradient(
      180deg,
      transparent 0,
      transparent 150px,
      rgba(255,255,255,.45) 214px,
      #fff 300px,
      #fff 100%
    );
  }

  .af-contact-page .af-ct-container {
    width: min(calc(100% - 36px), 540px);
  }

  .af-contact-page .af-ct-heading,
  .af-contact-page .af-ct-heading h1 {
    max-width: 100%;
  }

  .af-contact-page .af-ct-heading h1 {
    font-size: clamp(2.75rem, 8.3vw, 3.55rem);
  }

  .af-contact-page .af-ct-lead {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .af-contact-page .af-ct-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }

  .af-contact-page .af-ct-form-card {
    margin-top: 0;
    padding: 24px 20px;
  }

  .af-contact-page .af-ct-wave {
    height: 70px;
  }
}

/* ============================================================
   9. SMALL PHONES
   ============================================================ */

@media (max-width: 420px) {

  .af-contact-page .af-ct-heading h1 {
    font-size: clamp(2.45rem, 10vw, 2.9rem);
  }

  .af-contact-page .af-ct-card__icon {
    flex-basis: 49px;
    width: 49px;
    height: 49px;
  }

  .af-contact-page .af-ct-card__value,
  .af-contact-page .af-ct-card__value a {
    font-size: .99rem;
  }
}

/* ============================================================
   10. ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .af-contact-page *,
  .af-contact-page *::before,
  .af-contact-page *::after {
    transition: none !important;
  }
}/* End custom CSS */