
/*------------------------------------*/
/* ✅ VERIFIED BADGE */
.verified-badge {
  background-color: #20B77E;
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 0 6px rgba(32, 183, 126, 0.5);
  text-transform: uppercase;
}

/*========================================================================*/
/* 🛠️ HANDYMAN SERVICES – HOW TO LOCATE STEPS STYLING (OPTIMIZED) */
/*========================================================================*/

/* ========== HERO SECTION ========== */
.hm-hero {
  position: relative;
  text-align: center;
  color: #3C763D;
  margin-bottom: 50px;
  padding: 40px 20px;
}
.hm-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 180px;
  background: #e6f0e6;
  border-radius: 12px;
  opacity: 0.3;
  z-index: -1;
}
.hm-hero img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 180px;
  opacity: 0.15;
  z-index: -1;
}

/* ========== SERVICES SECTION ========== */
.hm-services {
  padding: 60px 20px;
  background: #f9fbf7;
}
.hm-services h2 {
  color: #3C763D;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.hm-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: space-between;
}
.hm-service-item {
  flex: 1 1 45%;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 18px rgba(60, 118, 61, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hm-service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(60, 118, 61, 0.15);
}
.hm-service-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: #3C763D;
}

/* ========== WHY CHOOSE & SERVICE AREAS ========== */
.hm-why-choose, .hm-service-areas {
  margin: 60px 0;
  padding: 40px 20px;
  background: #f2f9f2;
  border-radius: 12px;
}
.hm-why-choose h2,
.hm-service-areas h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #2b4b22;
  margin-bottom: 30px;
}

/* ========== HOW IT WORKS STEPS ========== */
.how-it-works-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.how-it-works-steps .step {
  flex: 1 1 30%;
  text-align: center;
  padding: 0 10px;
}
.how-it-works-steps .step img {
  width: 80px;
  margin-bottom: 12px;
}
.how-it-works-steps .step h3 {
  margin-bottom: 10px;
  color: #3C763D;
  font-weight: 600;
}
.how-it-works-steps .step p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

/* ========== FAQ SECTION ========== */
.hm-faq {
  padding: 60px 20px;
  background: #fff;
}
.hm-faq h2 {
  color: #3C763D;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}
.hm-faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.hm-faq-item {
  border-bottom: 1px solid #d4d9d1;
  margin-bottom: 12px;
}
.hm-faq-question {
  background: none;
  border: none;
  padding: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #3C763D;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}
.hm-faq-question:hover {
  color: #2b4b22;
}
.hm-faq-icon {
  font-weight: 700;
  font-size: 1.5rem;
}
.hm-faq-answer {
  padding: 0 16px 16px;
  color: #444;
  font-size: 1rem;
  display: none;
}
.hm-faq-answer.show {
  display: block;
}

/* =========================
   Logo Image Scaling Fix
   - Ensures logo is vertically centered and responsive
   - Prevents overflow while maintaining aspect ratio
========================= */
.header-left {
  display: flex;                      /* Flexbox allows vertical centering */
  align-items: center;               /* Aligns logo image vertically */
  flex: 1 1 auto;                    /* Allows responsive scaling of the container */
  max-height: 100px;                /* Prevents container from expanding too tall */
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-left img,
.logo img {
  max-height: 80px;                  /* Limits logo height on desktop */
  width: auto;
  height: auto;
  object-fit: contain;               /* Maintains image proportions */
  display: block;                    /* Removes inline image spacing */
}



/* =========================
   Prevent Slider Overlap
   - Used on home page or landing pages with hero sliders
   - Ensures page content doesn't hide behind the header
========================= */
.home #main .avia-slider {
  margin-top: 140px;                         /* Adjust to match actual header height */
  position: relative;
  z-index: 1;
}

/* =========================
   Page Wrapper
   - Ensures all content is centered and doesn't stretch too wide
   - Improves reading comfort and mobile responsiveness
========================= */
.hm-page-wrapper {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  max-width: 1250px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

/* =========================
   Responsive Enhancements
   - Mobile-first layout for all major components
   - Ensures visuals look great on phones/tablets
========================= */
@media (max-width: 768px) {
  .header-left img,
  .logo img {
    max-height: 60px;                        /* Smaller logo on mobile */
  }

  .vendor-card,
  .grid-entry,
  .home-service-card {
    margin-left: 10px;
    margin-right: 10px;
  }

  .grid-entry-title {
    font-size: 1.05rem;
  }

  .home-service-card h2.hsp-title {
    font-size: 1.1rem;
  }
}

/* ===========================
   CTA BUTTONS (restored & wow!)
   =========================== */
.header-right .quote-button,
.header-right .pro-button {
  background: linear-gradient(135deg, #1558b0, #3c92e2) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.header-right .quote-button:hover,
.header-right .pro-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
}

/* If you’d like a second gradient on Pro button: */
.header-right .pro-button {
  background: linear-gradient(135deg, #20B77E, #0f865a) !important;
}

/* ==========================================================================
   HEADER LAYOUT RESET — Stretch + Boxed
   ========================================================================== */

/* 1) Always full‑width background, container centered */
#header {
  width: 100% !important;
  background: transparent !important;
  padding: 10px 0 !important;
}

/* Boxed mode: constrain inner container, center it */
.html_boxed_layout #header .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Stretch mode: ignore any boxed constraints */
.html_header_type_header_top #header .container,
.html_header_type_header_bottom #header .container {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 20px !important;
}

/* 2) Flex‑wrap the three areas: logo / nav / CTAs */
#header .container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* 3) Logo area */
.header-left {
  flex: 0 1 auto !important;
  z-index: 1000;
}
.header-left img {
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* 4) Main menu/nav area — allow it to grow and center links */
.avia-menu {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
}
.avia-menu .main_nav > li {
  margin: 0 12px !important;
}

/* 5) CTA buttons area */
.header-right {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 12px !important;
  margin-left: auto !important;
  z-index: 1000;
}

/* 6) Force CTA styles in all environments */
.quote-button,
.pro-button {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 8px 14px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
  transform: none !important;
}
.quote-button {
  background: linear-gradient(135deg,#1558b0,#3c92e2) !important;
}
.quote-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1) !important;
}
.pro-button {
  background: linear-gradient(135deg,#20B77E,#0f865a) !important;
}
.pro-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1) !important;
}

/* 7) Prevent the white “card” from covering the logo */
.html_header_type_header_top #header_wrap .container_wrap_first,
.html_header_type_header_bottom #header_wrap .container_wrap_first {
  background: transparent !important;
  box-shadow: none !important;
}

/* 8) Responsive fallback */
@media (max-width: 768px) {
  #header .container {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .header-left img {
    max-height: 60px !important;
  }
  .avia-menu {
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 12px 0 !important;
  }
  .header-right {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}