/* ==========================================================================  
   HERO SECTION (2-COLUMN DESKTOP / STACKED MOBILE)                          
   ========================================================================== */

/* ─── Base container & dark overlay ─── */
.hero-with-form {
  position: relative;
  background-color: #000;             /* black */
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  overflow: visible;
}
.hero-with-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);        /* black @ 60% opacity */
  z-index: 1;
}

/* ─── Mobile fallback image override ─── */
.hero-bg-mobile {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .hero-bg-mobile {
    display: block;                   /* show mobile image only on phones */
  }
}

/* ─── Two-column layout on desktop, stacked on mobile ─── */
.hero-with-form-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media (min-width: 768px) {
  .hero-with-form-inner > .hero-left {
    flex: 0 0 50%;                    /* left column 50% */
    max-width: 50%;
  }
  .hero-with-form-inner > .hero-right {
    flex: 0 0 50%;                    /* right column 50% */
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

/* ==========================================================================  
   HERO CONTENT (left column)                                                
   ========================================================================== */

/* ─── Section header spacing ─── */
.hero-header {
  margin-bottom: 1rem;
}

/* ─── Desktop Hero Title ─── */
.hero-title {
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;                     /* white */
  margin-bottom: .5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0); 
}

/* ─── Desktop Hero Subtitle ─── */
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #FFFFFF;                     /* white */
  text-shadow: 0 2px 4px rgba(0,0,0,0); 
}

/* ─── Desktop Hero Copy Paragraph ─── */
.hero-copy p {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #EEEEEE;                     /* very light gray */
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* ==========================================================================  
   HIGHLIGHTS (vertical cards, icon left)                                    
   ========================================================================== */

/* ─── Highlights container ─── */
.hmp-highlights-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ─── Individual highlight card ─── */
.hmp-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;         /* white */
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
}

/* ─── Highlight icon ─── */
.highlight-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 1rem;
}

/* ─── Highlight text container ─── */
.highlight-text {
  flex: 1;
  text-align: left;
}

/* ─── Desktop Highlight Title ─── */
.highlight-text h3 {
  margin-bottom: .5rem;
  color: #FFFFFF;                     /* white */
}

/* ─── Desktop Highlight Text ─── */
.highlight-text p {
  margin: 0;
  font-weight: bold;
  color: #FFFFFF;                     /* white */
}

/* ==========================================================================  
   FORM BACKGROUND & OUTLINE (right column)                                  
   ========================================================================== */

/* ─── Form container ─── */
.hero-form {
  background: rgba(255,255,255,0.95);
  border: 2px solid #1558B0;          /* blue accent */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
}

/* ─── Add primary border on mobile ─── */
@media (max-width: 767px) {
  .hero-form {
    border: 2px solid #1558B0;        /* blue accent */
  }
}

/* ==========================================================================  
   FORM CTA “WIPE” EFFECT                                                     
   ========================================================================== */
.hero-form .btn-cta {
  position: relative;
  overflow: hidden;
  background: none;
  color: #000;
  padding: .75rem 1.5rem;
  border-radius: 50px;
}
.hero-form .btn-cta span {
  position: relative;
  z-index: 1;
}
.hero-form .btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #20B77E, #178c68);
  transform: translateX(-100%);
  transition: transform .5s ease;
  z-index: 0;
}
.hero-form .btn-cta:hover::before {
  transform: translateX(0);
}
.hero-form .btn-cta:hover {
  color: #000;
}
.hero-form .btn-cta::after {
  display: none;
}

/* ==========================================================================  
   TESTIMONIALS CAROUSEL & FEATURED REVIEWS                                  
   ========================================================================== */

/* ─── Mobile carousel ─── */
@media (max-width: 767px) {
  .hero-testimonials {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hero-testimonials::-webkit-scrollbar {
    display: none;
  }
  .hero-testimonial-overlay {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

/* ─── Default stacked on desktop ─── */
.hero-testimonials,
.review-main {
  display: block;
}
.hero-testimonial-overlay,
.review-top {
  margin-bottom: 2rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-top {
  display: flex;
  align-items: center;
  gap: 20px;
}
.review-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ==========================================================================  
   MOBILE-SPECIFIC LAYOUT & COLOR OVERRIDES                                  
   ========================================================================== */
@media (max-width: 767px) {
  .hero-with-form {
    background: none !important;
    padding: 0 !important;
    overflow: hidden;
  }
  .hero-with-form::before {
    display: none !important;
  }
  .hero-with-form .logo,
  .hero-with-form .main_logo,
  .hero-with-form .site-logo {
    display: none !important;
  }
  .hero-bg-mobile {
    display: block !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    z-index: 0;
  }
  .hero-with-form-inner {
    position: relative !important;
    z-index: 1;
    padding: 1.5rem !important;
    background: none !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .hero-with-form-inner > .hero-left,
  .hero-with-form-inner > .hero-right {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .hero-form {
    background: transparent !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  /* ─── Mobile Hero Text Color & Bold ─── */
  .hero-title,
  .hero-subtitle,
  .hero-copy p {
    color: #000 !important;           
    font-weight: 700 !important;      
    text-shadow: none !important;
  }

  /* ─── Mobile Highlight Text Color ─── */
  .highlight-text h3 {
    color: #000 !important;
  }
  .highlight-text p {
    color: #444444 !important;
  }
}

/* ==========================================================================
   PROCESS SECTION (Improved Centering + CTA Alignment)
   -------------------------------------------------------------------------- */
.hmp-process {
  background-color: #fdfdfd;             
  padding: 60px 20px;
  animation: bg-pulse 8s infinite ease-in-out;
}
.hmp-process .container {
  position: relative;
  z-index: 1;
}
.hmp-process .process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
  padding: 20px 0;
}
@media (max-width: 767px) {
  .hmp-process .process-steps-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .hmp-process .process-step-card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
}
.hmp-process .process-step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease;
  opacity: 0;
  transform: translateY(1rem);
  animation: fadeInUp 0.6s ease-out forwards;
}
.hmp-process .process-step-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.hmp-process .btn-process {
  padding: 14px 32px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  background: linear-gradient(135deg, #20B77E, #178c68);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hmp-process .btn-process:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bg-pulse {
  0%,100% { background-color: #fdfdfd; }
  50%     { background-color: #f7f7f7; }
}

/* ==========================================================================
   WHY CHOOSE OUR VERIFIED PROS
   -------------------------------------------------------------------------- */
.hmp-verified-pros {
  position: relative;
  background: #ffffff;
  padding: 6rem 1rem;
  overflow: hidden;
}
.hmp-verified-pros .verified-bg-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 150%; height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  pointer-events: none;
}
.hmp-verified-pros .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.hmp-verified-pros .verified-pro-section-img {
  max-width: 150px;
  margin: 0 auto 1rem;
  animation: float 4s ease-in-out infinite;
}
.hmp-verified-pros .section-header h2 {
  font-size: 2.25rem;
  color: #20B77E;
  position: relative;
}
.hmp-verified-pros .section-header h2::after {
  content: '';
  display: block;
  width: 80px; height: 4px;
  margin: 1rem auto 0;
  background: linear-gradient(135deg, #20B77E, #178c68);
}
.hmp-verified-pros .section-subhead {
  font-size: 1rem;
  color: #666666;
  margin-top: .5rem;
  opacity: 0.8;
}
.hmp-verified-pros .hmp-verified-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}
@media (max-width: 767px) {
  .hmp-verified-pros .hmp-verified-cards {
    grid-template-columns: 1fr;
  }
}
.hmp-verified-pros .reason {
  background: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hmp-verified-pros .reason:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hmp-verified-pros .reason h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: #2C3E50;
}
.hmp-verified-pros .reason-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* ------------------------------ */
/* PROMOS SECTION STYLES          */
/* ------------------------------ */

/* BASE STYLES */
.hmp-promos {
  background: #fdfdfd;
  padding: 60px 20px;
}
.hmp-promos .promo-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #800020;         /* deep burgundy */
  margin-bottom: 1rem;
}
.hmp-promos .promo-intro .promo-subtitle {
  font-size: 1rem;
  color: #777;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* GRID LAYOUT */
.hmp-promos .promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.hmp-promos.two-column-layout .promo-cards {
  grid-template-columns: repeat(2, 1fr);
}

/* CARD BASE */
.hmp-promos .promo-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
}
.hmp-promos .promo-card .btn-sm {
  margin-top: auto;
}

/* ICON */
.hmp-promos .promo-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
}
.hmp-promos .promo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* VARIANT 1: Bold Gradient Border */
.hmp-promos.variant-1 .promo-card {
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #800020, #600018) 1;
  transition: transform .3s, box-shadow .3s;
}
.hmp-promos.variant-1 .promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(21,88,176,0.2);
}
.hmp-promos.variant-1 h5 {
  font-size: 1.25rem;
  color: #800020;
  margin-bottom: 1rem;
}
.hmp-promos.variant-1 p {
  flex-grow: 1;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.hmp-promos.variant-1 .btn-sm {
  padding: 12px 24px;
  background: linear-gradient(135deg, #800020, #600018);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: background .3s;
}
.hmp-promos.variant-1 .btn-sm:hover {
  background: linear-gradient(135deg, #600018, #800020);
}

/* VARIANT 2: Overlay Banner */
.hmp-promos.variant-2 .promo-card {
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.hmp-promos.variant-2 .promo-header {
  background: #3C763D;   /* olive green */
  color: #fff;
  padding: 16px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.hmp-promos.variant-2 .promo-body {
  padding: 20px;
  flex: 1;
  color: #333;
  line-height: 1.6;
}
.hmp-promos.variant-2 .btn-sm {
  padding: 12px 24px;
  background: #800020;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: background .3s;
  margin: 20px auto 0;
}
.hmp-promos.variant-2 .btn-sm:hover {
  background: #600018;
}

/* VARIANT 3: Minimal Icon Cards */
.hmp-promos.variant-3 .promo-card {
  border: 1px solid #e0e0e0;
  transition: border-color .3s, transform .3s;
}
.hmp-promos.variant-3 .promo-card:hover {
  border-color: #3C763D;  /* olive green */
  transform: translateY(-3px);
}
.hmp-promos.variant-3 h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 1rem;
}
.hmp-promos.variant-3 p {
  font-size: .95rem;
  color: #555;
  margin-bottom: 1.5rem;
}
.hmp-promos.variant-3 .btn-sm {
  padding: 10px 24px;
  background: transparent;
  color: #3C763D;
  border: 2px solid #3C763D;
  border-radius: 50px;
  font-weight: 600;
  transition: background .3s, color .3s;
}
.hmp-promos.variant-3 .btn-sm:hover {
  background: #3C763D;
  color: #fff;
}

/* MOBILE: swipeable cards */
@media (max-width: 767px) {
  .hmp-promos .promo-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hmp-promos .promo-cards .promo-card {
    flex: 0 0 90%;
    max-width: 90%;
    scroll-snap-align: start;
  }
  .hmp-promos .promo-cards::-webkit-scrollbar {
    display: none;
  }
}



/* ==========================================================================
   SERVICE AREAS SECTION
   -------------------------------------------------------------------------- */
.hmp-service-areas {
  background: #fdfdfd;
  padding: 80px 20px;
}
.hmp-service-areas .service-areas-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}
@media (min-width: 992px) {
  .hmp-service-areas .service-areas-map {
    flex: 0 0 calc(60% - 20px);
    max-width: calc(60% - 20px);
  }
  .hmp-service-areas .service-areas-content {
    flex: 0 0 calc(40% - 20px);
    max-width: calc(40% - 20px);
  }
}
@media (max-width: 992px) {
  .hmp-service-areas .service-areas-wrapper {
    flex-direction: column-reverse;
  }
  .hmp-service-areas .service-areas-map,
  .hmp-service-areas .service-areas-content {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.hmp-service-areas .service-areas-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.hmp-service-areas .austin-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.hmp-service-areas .service-areas-content .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1558B0;
  margin-bottom: 12px;
}
.hmp-service-areas .service-areas-content .section-header h2::after {
  content: "";
  width: 50px; height: 4px;
  background: linear-gradient(135deg, #1558B0, #004080);
  border-radius: 2px;
  display: block;
  margin: 8px auto 0;
}
.hmp-service-areas .service-areas-content .section-header p {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
}
.hmp-service-areas .areas-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  padding: 0;
  max-width: 600px;
}
.hmp-service-areas .area-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(21,88,176,0.1);
  transition: transform .3s, box-shadow .3s;
  text-align: center;
}
.hmp-service-areas .area-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(21,88,176,0.15);
}
.hmp-service-areas .area-item h4,
.hmp-service-areas .area-item span {
  display: block;
  white-space: pre-line;
  overflow-wrap: break-word;
}

/* ==========================================================================
   FAQ SECTION
   -------------------------------------------------------------------------- */
.hm-faq {
  max-width: 700px;
  margin: 3rem auto;
}
.hm-faq h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #004080;
  text-align: center;
  margin-bottom: 2rem;
}
.hm-faq-list {
  border: 1px solid #004080;
  border-radius: 8px;
  overflow: hidden;
}
.hm-faq-item + .hm-faq-item {
  border-top: 1px solid #004080;
}
.hm-faq-question {
  width: 100%;
  background: #1558B0;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background .3s;
}
.hm-faq-question:hover {
  background: #005a9e;
}
.hm-faq-icon {
  font-size: 1.5rem;
}
.hm-faq-answer {
  display: none;
  padding: 1rem 1.5rem;
  background: #e6f0ff;
  color: #003366;
  line-height: 1.5;
  transition: max-height .3s, opacity .3s;
}
.hm-faq-answer.open {
  display: block !important;
  max-height: 1000px;
  opacity: 1;
}

/* ==========================================================================
   MOBILE: Sticky Logo on Scroll
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .sticky-logo {
    position: fixed;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 9999;
  }
  body.scrolled .sticky-logo {
    opacity: 1;
    visibility: visible;
  }
}

/* ==========================================================================
   MOBILE: Quote Bar (Animated Blue Gradient)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .mobile-quote-bar {
    position: fixed;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: block;
    padding: 15px 0;
    text-align: center;
    background: linear-gradient(
      45deg,
      #E3F2FD  0%,
      #90CAF9 25%,
      #42A5F5 50%,
      #1E88E5 75%,
      #0D47A1 100%
    );
    background-size: 300% 300%;
    background-position: 0% 50%;
    color: #ffffff;
    font-size: 1.125rem;
    cursor: pointer;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    animation:
      slideUp       0.6s ease-out forwards,
      gradientShift 6s ease infinite,
      pulse         5s ease-in-out infinite 1s;
  }
  .mobile-quote-bar::before {
    content: "💬";
    display: inline-block;
    margin-right: 8px;
    font-size: 1.25rem;
    vertical-align: middle;
    animation: bounceIcon 1.5s ease-in-out infinite;
  }
  .mobile-quote-bar:hover {
    transform: translateY(-2px) scale(1.03);
    opacity: 0.95;
    transition: transform .2s ease, opacity .2s ease;
  }
}
@keyframes slideUp      { to { bottom: 0; } }
@keyframes gradientShift{ 0%,100%{background-position:0% 50%}50%{background-position:100% 50%} }
@keyframes pulse        { 0%,100%{transform:scale(1);}50%{transform:scale(1.02);} }
@keyframes bounceIcon   { 0%,100%{transform:translateY(0);}50%{transform:translateY(-4px);} }

