/* =================================================
   ABPT CARE — CUSTOM STYLES (SAFE)
================================================= */

@layer reset, tokens, base, layout, components, pages, overrides;

/* =================================================
   BASE TYPOGRAPHY RHYTHM
================================================= */
@layer base {

  h1 { font-size: clamp(2.4rem, 4vw, 3.2rem); }
  h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }

  body.home p {
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
    max-width: 65ch;
  }
}
@layer layout {

  .contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
    align-items: stretch;
  }

  .contact-method {
    height: 100%;
  }

  @media (max-width: 1024px) {
    .contact-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .home-contact-methods {
      grid-template-columns: 1fr;
    }
  }

}

@layer components {
 /* =========================================
     BUTTONS — BRAND MATCH (LOGO COLORS)
  ========================================= */

  button,
  input[type="submit"],
  .btn {
    background: var(--color-primary);
    color: var(--surface-base);
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    padding: 0.85rem 2rem;
    transition: all .3s ease;
  }

  button:hover,
  input[type="submit"]:hover,
  .btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
  }
/* =========================================
   GRAVITY FORM — ABPT MODAL DESIGN
========================================= */

.contact-modal-form .gform_wrapper {
  margin: 0;
}

/* Form spacing */
.contact-modal-form .gform_body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Labels */
.contact-modal-form .gfield_label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

/* Inputs */
.contact-modal-form input[type="text"],
.contact-modal-form input[type="email"],
.contact-modal-form input[type="tel"],
.contact-modal-form textarea,
.contact-modal-form select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: var(--border-soft);
  background: #f9fafb;
  font-size: 0.95rem;
  transition: all .25s ease;
}

/* Focus */
.contact-modal-form input:focus,
.contact-modal-form textarea:focus,
.contact-modal-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--surface-base);
  box-shadow: var(--elevation-4);

}

/* Textarea height */
.contact-modal-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button */
.contact-modal-form .gform_footer {
  margin-top: 1rem;
}

.contact-modal-form .gform_button {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--surface-base);
  font-weight: 600;
  border: none;
  font-size: 1rem;
  transition: all .3s ease;
}

.contact-modal-form .gform_button:hover {
  transform: translateY(-2px);
  background: var(--color-primary-dark);
  box-shadow: var(--elevation-4);

}
.contact-modal-content {
  background: var(--surface-base);
border-radius: var(--radius-xl);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: var(--elevation-4);

}

.contact-modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  text-align: center;
}


}
/* =================================================
   HOME PAGE
================================================= */
@layer pages {

/* =========================================
   UNIFORM SECTION SPACING
========================================= */

body.home section {
  padding: var(--space-4xl) 0;
}

@media (max-width: 768px) {
  body.home section {
    padding: var(--space-3xl) 0;
  }
}


/* =========================
   HERO
========================= */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

body.home .hero-section {
  position: relative;
  min-height: clamp(720px, 95vh, 1100px);
  display: flex;
  align-items: center;
  justify-content: center;

overflow: hidden;
 transform: translateY(-20px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-top: 0;
  margin-top: 0;
  z-index: 1;
}



.hero-section .hero-title {
    color: var(--hero-title-color);
  text-shadow: var(--hero-title-shadow);
}

body.home .hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
  135deg,
  var(--hero-overlay-start),
  var(--hero-overlay-end)
);

  z-index: 1;
}


body.home .hero-content {
position: relative;
  z-index: 2;

  max-width: 1200px;        /* Wider like Seasons */
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;          /* More breathing room */

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--surface-base);
}
body.home .hero-title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1.15;
  max-width: 1100px;
}


body.home .hero-subtitle-box {
  width: min(720px, 100%);
  margin: 1.25rem auto;

  padding: 1rem 1.75rem;
  border-radius: var(--radius-lg);

  background: var(--hero-glass-bg);
border: var(--hero-glass-border);
backdrop-filter: var(--hero-glass-blur);

  box-shadow: var(--elevation-3);

}

/* =========================
   ABOUT — EXTRA TALL PREMIUM
========================= */

body.home .about-section {
  padding: var(--space-4xl) 0;   /* Bigger section spacing */
  background: var(--surface-base);
}

body.home .about-card {
 max-width: 1150px;
  margin: 0 auto;

  background: var(--surface-base);   /* pure white */
  border-radius: var(--radius-2xl);


  padding: var(--space-4xl) var(--space-3xl);

  box-shadow: var(--elevation-2);

  border: var(--border-soft);
}

/* Layout */
body.home .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);   /* More space between columns */
  align-items: center;
}

/* Title */
body.home .about-title {
  font-size: clamp(2.6rem, 3vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* Paragraph spacing */
body.home .about-text p {
  margin-bottom: 2.2rem;
  line-height: 1.9;
  font-size: 1.05rem;
}

/* Highlight stack */
body.home .about-highlights {
  display: flex;
  flex-direction: column;
  min-height: 150px;  /* 🔥 increased height */
  background: transparent !important;
  padding: 0 !important;
  border-radius: var(--radius-xl);
  

  align-items: center;
  gap: 1.3rem;
}

/* Highlight cards — taller */
body.home .about-highlight {
  min-height: 150px;

  padding: 2.8rem 2.5rem;
  border-radius: var(--radius-xl);

  background: var(--surface-muted);  /* soft neutral, no pink */
  box-shadow: var(--elevation-2);


  display: flex;
  align-items: center;
  gap: 1.3rem;

  transition: all .3s ease;
}

/* Icon */
body.home .about-highlight span {
  font-size: 1.6rem;
  color: var(--color-primary);
}
.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border-radius: var(--radius-md);
  background: var(--surface-muted);
  color: var(--color-primary);

  flex-shrink: 0;
}

.about-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
/* Mobile */
@media (max-width: 992px) {

  body.home .about-section {
    padding: 8rem 0;
  }

  body.home .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  body.home .about-card {
    padding: 5rem 3rem;
  }


}




/* =========================
   SERVICES HERO SECTION
========================= */

.services-hero-section {
  position: relative;
  width: 100%;
  min-height: 60vh;

  display: flex;
  align-items: center;
  justify-content: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-align: center;
  color: var(--surface-base);
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
     var(--hero-overlay-start),
    var(--hero-overlay-end)
  );
  z-index: 1;
}
body.home .services-section-header {
  padding-top: var(--space-2xl);
}
body.page-template-page-ndis-services .ndis-services-title {
  text-align: center;
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: var(--space-3xl);

}

.services-hero-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.services-hero-title {
  font-size: clamp(2.8rem, 4vw, 4rem);   /* same scale as hero */
  line-height: 1.15;
  max-width: 1100px;

  color: var(--hero-title-color);
  text-shadow: var(--hero-title-shadow);

  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-hero-content {
  font-size: 1.1rem;
  max-width: 720px;
  margin-bottom: 2rem;
}

.services-hero-btn {
  background: var(--color-primary) !important;
  color: var(--surface-base) !important;

  border: none;
  border-radius: var(--radius-pill);

  padding: 1rem 2.5rem;
  font-weight: 600;

  box-shadow: var(--elevation-3);


  transition: all .3s ease;
}
/* Hover / focus */
.services-hero-btn:hover,
.services-hero-btn:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.05);

  box-shadow:
    0 28px 65px rgba(31,42,68,0.6),
    inset 0 1px 0 rgba(255,255,255,0.45);
}
.services-hero-btn:hover {
  background: var(--color-primary-dark) !important;
  color: var(--surface-base) !important;
  transform: translateY(-3px);
}


/* Optional arrow (nice touch) */
.services-hero-btn::after {
  content: " →";
  margin-left: 0.4rem;
  transition: transform .3s ease;
}

.services-hero-btn:hover::after {
  transform: translateX(4px);
}
/* Mobile polish */
@media (max-width: 768px) {
  .services-hero-btn {
    font-size: 0.95rem;
    padding: 0.9rem 2.2rem;
  }
}
/* =========================================
   SPACING BETWEEN SERVICES HERO & CARDS
========================================= */

.services-hero-section {
    margin-bottom: 7rem;
}



/* =========================
   SERVICES — CLEAN POSTER LAYOUT
========================= */



.services-slider {
  width: clamp(600px, 65vw, 780px);
  margin: 0 auto;
  position: relative;
 margin-top: clamp(2.5rem, 4vw, 4rem);
  overflow: hidden;
  border-radius: var(--radius-xl);


  isolation: isolate;              /* 🔥 prevents stacking glitches */
  transform: translateZ(0);        /* 🔥 forces GPU layer */
}

.services-track {
    display: flex;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);

  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* CARD */
.services-card {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  min-height: 650px;

  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* 🔥 Push content to bottom */
  align-items: flex-start;     /* 🔥 Align content left */

  text-align: left;            /* 🔥 Left text */
  color: var(--surface-base);
 isolation: isolate;
  backface-visibility: hidden;
transform: translateZ(0);
  overflow: hidden;
  z-index: 2;
}

.services-section-header {
  margin-bottom: var(--space-2xl);
}

.services-section-title {
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* CONTACT TITLE MATCH SERVICES */

.home-contact .contact-header h2,
.services-section-title {
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-contact .contact-header {
    text-align: center;
  margin-bottom: var(--space-2xl) + .5em; /* more space before cards */
}



.home-contact .contact-header p {
   max-width: 720px;       /* controlled line width */
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.85;
}

.services-card,
.services-card h2,
.services-card h3,
.services-card h4,
.services-card h5,
.services-card p,
.services-card li,
.services-card span,
.services-card a {
  color: var(--surface-base) !important;
}

/* Poster card button override */
.services-card .services-card-btn {
  background: var(--surface-base);
  color: var(--color-primary) !important;
}

.services-card .services-card-btn:hover {
  background: var(--color-primary);
  color: var(--surface-base) !important;
}


@media (max-width: 768px) {
  .services-slider {
    width: 100%;
  }
}

/* Background overlay */
.services-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    to top,
    var(--overlay-card-strong) 10%,
    var(--overlay-card-mid) 45%,
    var(--overlay-card-soft) 75%,
    var(--overlay-card-fade) 100%
);

  z-index: 1;
}

/* Content above overlay */
.services-card > * {
  position: relative;
  z-index: 2;
}

/* TITLE */
.services-card h3 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Subtitle */
.service-subtitle {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 1.75rem;
}

/* Feature list */
.services-card ul {
  margin: 0 0 2rem 1.2rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.services-card li {
  margin-bottom: .75rem;
}

/* Button */
.services-card-btn {
  margin-top: auto;              /* 🔥 pushes button to bottom */
  align-self: flex-start;

  padding: 1rem 2.4rem;
  border-radius: var(--radius-pill);
  background: var(--surface-base);
  color: var(--color-primary);
  font-weight: 600;

  box-shadow: var(--elevation-3);

  transition: all .3s ease;
}

.services-card-btn:hover {
  background: var(--color-primary);
  color:var(--surface-base);
  transform: translateY(-4px);
}

/*serive cards cta style for service-card.php custom template*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.service-card__inner {
    padding: 2.2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-card__title a {
    text-decoration: none;
    color: var(--color-dark);
}

.service-card__subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.service-card__features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card__features li {
    margin-bottom: 0.7rem;
    padding-left: 1.4rem;
    position: relative;
}

.service-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1aa39a;
    font-weight: bold;
}

.service-card__button {
    background: #1aa39a;
    color: #ffffff;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.service-card__button:hover {
    background: #178f87;
}


/* =========================
   SERVICES DOTS
========================= */

.services-dots {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.services-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(31,42,68,.25);
  cursor: pointer;
  transition: all .3s ease;
}

.services-dots button.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.services-dots button:hover {
  background: var(--color-primary);
}

/* =========================
   CONTACT
========================= */

/* =========================
   CONTACT — PREMIUM CLEAN
========================= */
.contact-header {
  text-align: center;
  margin-bottom: var(--space-2xl); /* more breathing room */
}

.contact-header p {
  max-width: 680px;
  margin: 0 auto 1.5rem auto;  /* center it properly */
  text-align: center;
}

body.home .home-contact {
  background: var(--surface-base);
}

/* Section header */
.home-contact-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.home-contact-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.home-contact-header p {
  max-width: 600px;
  margin: 0 auto;
  opacity: var(--text-muted-opacity);
}

/* Grid */
.home-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Card style */
.contact-method {
  background: var(--surface-base);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-2);

  transition: all .3s ease;

  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: flex-start;
}

.contact-method:hover {
  transform: translateY(-6px);
  box-shadow: var(--elevation-4);

}

.contact-method strong {
  font-size: 1.1rem;
}

.contact-method a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Map inside card */
.contact-map-mini {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: .5rem;
}

.contact-map-mini iframe {
  width: 100%;
  height: 140px;
  border: 0;
}

.contact-address {
  font-size: .9rem;
  opacity: .8;
  margin-top: .5rem;
}

/* CTA */
.home-contact-cta {
   margin-top: var(--space-2xl);
  text-align: center;
}

.home-contact-cta .hero-btn {
  box-shadow: none;   /* removes pink halo */
    min-width: 240px;
}



/* Mobile */
@media (max-width: 900px) {
 .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HERO — PREMIUM DEPTH
========================= */


body.home .hero-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: var(--text-shadow-soft);
}

/* =========================
   HERO BUTTON — TOKEN ONLY
========================= */

body.home .hero-btn {
  background: var(--hero-btn-bg);
  color: var(--hero-btn-text);

  padding: 1rem 2.4rem;
  border-radius: var(--radius-pill);

  font-weight: 600;
  letter-spacing: .02em;

  box-shadow: var(--hero-btn-shadow);

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease,
    filter .3s ease;
}

body.home .hero-btn:hover {
  background: var(--hero-btn-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--hero-btn-shadow-hover);
  filter: brightness(var(--hero-btn-hover-brightness));
}

/* =========================================
   BUTTON SHADOW — THEME MATCH (NO PINK)
========================================= */


body.home .home-contact-cta .btn,
.services-hero-btn,
.contact-option-btn,
.contact-modal-form .gform_button {

   box-shadow: var(--elevation-3);

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease;
}

body.home .hero-btn:hover,
body.home .home-contact-cta .btn:hover,
.services-hero-btn:hover,
.contact-option-btn:hover,
.contact-modal-form .gform_button:hover {

  transform: translateY(-4px);
  box-shadow: var(--elevation-4);
}




/* =========================
   CONTACT — HIGH-END CTA
========================= */

body.home .home-contact {
  background: var(--surface-base);
}

body.home .home-contact-cta .btn {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;

  background: var(--color-primary);
  color: var(--surface-base);

  box-shadow: var(--elevation-3);


  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease;
}

body.home .home-contact-cta .btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-4);

}

/* =========================
   SUBTLE FADE-IN ANIMATION
========================= */

@media (prefers-reduced-motion: no-preference) {

  .animate-on-scroll {
    opacity: 1 !important; 
    transform: none  !important;
    transition:
      opacity .8s cubic-bezier(.2,.8,.2,1),
      transform .8s cubic-bezier(.2,.8,.2,1);
  }

  .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================
   CONTACT MODAL
========================================= */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.contact-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(6px);
}

.contact-modal-content {
  position: relative;
  z-index: 2;

  background: #ffffff;
  border-radius: 16px;

  width: min(640px, 92%);
  max-height: 85vh;

  overflow-y: auto; /* SCROLL INSIDE BOX */
  padding: 2rem;

  box-shadow: 0 30px 80px rgba(0,0,0,.2);
}

.contact-modal-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-modal-close {
  position: absolute;
  top: 15px;
  right: var(--radius-lg);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.contact-modal-close:hover {
  color: var(--color-primary);
}
/* =========================
   CONTACT MODALS
========================= */

.contact-options-modal,
.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;

 background: var(--modal-backdrop-soft); /* softer darkness */
  backdrop-filter: blur(4px);         /* lighter blur */
  -webkit-backdrop-filter: blur(4px);

  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;

  z-index: 9999;
}

.contact-options-modal.is-active,
.contact-modal.is-active {
  opacity: 1;
  visibility: visible;
}
.contact-options-box,
.contact-form-box {
  background: var(--surface-base);
 padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 90%;
  text-align: center;

  box-shadow: var(--elevation-4);


  transform: translateY(20px);
  transition: transform .3s ease;
}
.contact-modal-content,
.contact-options-box {
  animation: modalFadeIn .35s ease forwards;
}

@keyframes modalFadeIn {
  from {
    transform: translateY(20px) scale(.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.contact-options-modal.is-active .contact-options-box,
.contact-form-modal.is-active .contact-form-box {
  transform: translateY(0);
}
.contact-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
}

.contact-options-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  width: 100%;
  max-width: 360px; /* control final width */
  margin: 0.75rem auto;

  padding: 1rem 1.5rem;
  border-radius: 999px;

  background: var(--color-dark);
  color: #ffffff !important;

  font-weight: 600;
  text-decoration: none !important;

  box-sizing: border-box; /* IMPORTANT */
}

.contact-option-btn:hover {
background: var(--color-primary);
  transform: translateY(-2px);
}

/* Make button element look identical to <a> */
.contact-option-btn button,
button.contact-option-btn {
  appearance: none;
  border: none;
  font: inherit;
}
.contact-options-box {
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  background: var(--surface-base);
  box-shadow: var(--elevation-2);

}


}


@layer overrides {
/* Override Bootstrap link color */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}


/* FORCE override */

.services-section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.services-section-title {
  font-size: clamp(2.3rem, 3vw, 2.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--color-dark) !important;
  margin: 0;
}
/* =========================================
   MATCH CONTACT TITLE TO SERVICES TITLE
========================================= */

.home-contact .contact-header h2 {
  font-size: clamp(2.3rem, 3vw, 2.8rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--color-dark) !important;
  margin: 0;
}
.home-contact .contact-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.home-contact .contact-header h2 {
   margin: 0 0 1.25rem 0;   /* space between title & subtitle */
  line-height: 1.2;
}
/* Subtitle */
.home-contact .contact-header p {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: .85;
}
/* =========================================
   ABOUT — FINAL UNIFORM SYSTEM
========================================= */

body.home .about-card {
  background: var(--surface-base);
  border-radius: var(--radius-2xl);


  border: var(--border-soft);
  box-shadow: var(--elevation-2);
}

body.home .about-highlight {
  background: var(--surface-muted);
  box-shadow: var(--elevation-2);
  border-radius: var(--radius-xl);
}

body.home .about-highlight span {
  color: var(--color-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
}
/* ==============================
   CONTACT OPTIONS MODAL FIX
============================== */

#contactOptionsModal .contact-modal-content {
  text-align: center;
  padding: 3rem 2.5rem;
}

/* Proper button styling */
.contact-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  width: 100%;
  max-width: 360px;
  margin: 0.75rem auto;

  padding: 1rem 1.5rem;
  border-radius: 999px;

  background: var(--color-dark);
  color: #ffffff !important;

  font-weight: 600;
  text-decoration: none !important;

  transition: all .25s ease;
}

/* Hover */
.contact-option-btn:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
}

/* Emoji / icon visibility */
.contact-option-btn span,
.contact-option-btn svg {
  color: inherit;
  fill: currentColor;
}

/* Ensure button text is visible */
.contact-option-btn,
.contact-option-btn:link,
.contact-option-btn:visited {
  color: #ffffff !important;
}

/* Fix plain text fallback link */
#openFormModal {
  cursor: pointer;
}
/* Force button element to behave same as anchor */
.contact-option-btn,
.contact-option-btn:link,
.contact-option-btn:visited,
.contact-option-btn:hover {
  display: flex;
}