/* ROOT VARIABLES AND GLOBAL STYLES */
:root {
  /* Color Variables */
  --primary: #ffcc36;
  --primary-dark: #e6b731;
  --primary-light: #ffe48a;
  --secondary: #ea2524;
  --secondary-dark: #c81e1d;
  --secondary-light: #f26e6d;
  --dark: #2c3e50;
  --dark-light: #4a607a;
  --light: #fdfdfd;
  --gray: #808b96;
  --gray-light: #ebeef2;
  --success: #28a745;
  --cleandy-orange: #ff7043;
  --cleandy-blue: #007bff;
  --cleandy-dark: #232d4c;
  --cleandy-bg-light: #f2f5f8;
  --dark-rgb: 44, 62, 80;
  --primary-rgb: 255, 204, 54;
  --secondary-rgb: 234, 37, 36;
  --light-rgb: 253, 253, 253;
  
/* Typography */
--base-font-size: 16px;
--font-main: "Inter", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", -apple-system, BlinkMacSystemFont, sans-serif;
--font-heading: "Montserrat", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
--font-alt: "Open Sans", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;

  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 0 2rem;
  
  /* Borders */
  --border-radius: 25px;
  --border-radius-lg: 8px;
  --border-radius-xl: 12px;
  --border-radius-pill: 1.375rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 4px 12px rgba(var(--dark-rgb), 0.2);
}

/* Base Styles */
html {
  font-size: var(--base-font-size);
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-dark);
}

/* Preserve aspect ratio for images with explicit dimensions (Best Practices) */
img[width][height]:not(.hero-image) {
  object-fit: contain;
  max-width: 100%;
  height: auto;
}

/* Section Titles */
.section-title,
.handiman-section-title {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  font-family: var(--font-heading);
}

.section-title:after,
.handiman-section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 30px;
}

.handiman-section-title--tight {
  padding-bottom: 0;
  margin-bottom: 0;
}
.handiman-section-title--tight::after {
  margin-bottom: 0;
}

.handiman-brochure-cta-title {
  padding-top: 40px;
}

/* Buttons - Standardized */
.btn,
.handiman-cta-button,
.handiman-brochure-btn,
.handiman-submit-btn,
.handiman-btn-primary,
.slide-cta,
.learn-more,
.handiman-client-btn-survey,
.newsletter-form button,
.widget-search button,
.pagination > li > a {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

/* Primary Button Styles */
.btn-primary,
.handiman-cta-button,
.handiman-brochure-btn,
.handiman-submit-btn,
.handiman-btn-primary,
.slide-cta,
.handiman-client-btn-survey,
.learn-more,
.newsletter-form button,
.widget-search button {
  background-color: var(--primary);
  color: #000;
}

.btn-primary:hover,
.handiman-cta-button:hover,
.handiman-brochure-btn:hover,
.handiman-submit-btn:hover,
.handiman-btn-primary:hover,
.slide-cta:hover,
.learn-more,
.handiman-client-btn-survey:hover,
.newsletter-form button:hover,
.widget-search button:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.learn-more{
  margin-left: 125px;
}

/* Secondary Button Styles */
.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
}

/* Outline Button Styles */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #000;
}

/* Small Button */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Large Button */
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Container Styles */
.handiman-container,
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--container-padding);
}

section {
  padding: var(--section-padding);
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline-offset: 2px;
  outline: 2px solid var(--dark);
}

.top-bar-content--right {
  justify-content: flex-end;
}

/* HEADER STYLES */
header {
  background-color: var(--light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  top: 0px;
}

header.handiman-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.handiman-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
  min-height: 72px;
}

.handiman-logo-img {
  height: auto;
  width: 125px;
  z-index: 1001;
}

/* Navigation - min-height reduces CLS when fonts load */
.handiman-nav {
  transition: all 0.3s ease;
  min-height: 44px;
  contain: layout style;
}

.handiman-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.handiman-nav-list li {
  margin-left: 2rem;
  position: relative;
}

.handiman-nav-list li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
  display: block;
  padding: 0.5rem 0;
}

.handiman-nav-list li a:hover,
.handiman-nav-list li a:focus {
  color: var(--secondary);
  outline: none;
}

.handiman-nav-list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s;
}

.handiman-nav-list li a:hover::after {
  width: 100%;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-toggle .fa-angle-down,
.dropdown-toggle .nav-caret {
  margin-left: 5px;
  font-size: 14px;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle .fa-angle-down,
.dropdown:hover .dropdown-toggle .nav-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 10px 0;
  opacity: 0;
  contain: layout style;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
  display: block;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  color: #333;
  font-size: 14px;
  padding: 8px 20px;
}

.dropdown-menu li a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #1a2b5f;
}

/* Mobile Menu Button */
.handiman-mobile-menu {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin-right: -8px;
  cursor: pointer;
  color: var(--dark);
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 6px;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
  z-index: 1001;
}
.handiman-mobile-menu:hover,
.handiman-mobile-menu:focus-visible {
  background: rgba(0,0,0,.07);
  outline: none;
}

.handiman-mobile-menu.active i::before {
  content: "\f00d"; /* Changes to X icon when active */
}

/* Mobile Styles */
@media (max-width: 992px) {
  .handiman-mobile-menu {
    display: block;
  }
  
  .handiman-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    min-height: 0; /* override desktop min-height for overlay */
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 7rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    contain: none; /* allow overlay to work correctly */
    z-index: 1100;
  }
  
  .handiman-nav.active {
    right: 0;
  }
  
  .handiman-nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .handiman-nav-list li {
    margin: 0 0 1.5rem 0;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-toggle .fa-angle-down,
  .dropdown-toggle .nav-caret {
    transition: transform 0.3s;
  }
  
  .dropdown.active .dropdown-toggle .fa-angle-down,
  .dropdown.active .dropdown-toggle .nav-caret {
    transform: rotate(180deg);
  }
  
  .handiman-nav-list li a.handiman-cta-button {
    display: inline-block;
    margin-top: 1rem;
  }
}

/* Mobile Dropdown Specific Styles */
@media (max-width: 992px) {
    .dropdown {
        width: 100%;
    }
    .handiman-nav-list .dropdown.active {
    z-index: 1;
}
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-toggle .fa-angle-down,
    .dropdown-toggle .nav-caret {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle .fa-angle-down,
    .dropdown.active .dropdown-toggle .nav-caret {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        display: none;
        width: 100%;
        padding: 0;
        margin: 0;
        background-color: rgba(0,0,0,0.03);
        border-radius: 4px;
        overflow: hidden;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown-menu li {
        margin: 0;
    }
    
    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.2s;
    }
    
    .dropdown-menu li a:hover {
        background-color: rgba(0,0,0,0.05);
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
/* Hero Section - Full-height image, no crop or white space below */
.hero-section {
    position: relative;
    background-color: #fdfdfd;
    background-size: cover;
    background-position: center center;
    min-height: 110vh;
    height: 100vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    color: #fff;
    top: 0px;
    padding: 0;
    overflow: hidden;
}

.hero-heading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  max-width: 90%;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

/* Slideshow Container */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slides.is-ready .hero-slide {
  transition: opacity 1.5s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides.is-ready .hero-slide {
    transition: opacity 0.3s ease;
  }
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensures content is above the images */
    color: white;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    /* Adding a subtle background for better text readability */
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

/* Optional: Style for a call-to-action button */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 50vh;
        max-height: none;
        top: 100px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .handiman-stats-row{
        gap: 0.75rem !important;
    }
    .slide-image img{
        width: 70% !important;
        height: auto !important;
        object-fit: contain;
    }
    .slide-image{
        flex: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 55vh;
        min-height: 280px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
}
/* ABOUT US SECTION */
.handiman-about-section {
  background-color: var(--gray-light);
  padding-top: 0px;
  padding-bottom: 25px;
  contain: layout;
  min-height: 420px;
}

.handiman-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.handiman-section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555;
  line-height: 1.6;
  font-size: 1.1rem;
}

.handiman-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.handiman-about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.handiman-about-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
  text-align: justify;
}

.handiman-about-highlight {
  font-weight: 600;
  color: var(--dark);
}

.handiman-about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  /* Reserve space to prevent CLS when image loads (535×339) */
  aspect-ratio: 535 / 339;
  min-height: 240px; /* fallback when aspect-ratio not supported */
  contain: layout;
}

.handiman-about-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.handiman-about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* BROCHURE CTA & MODAL */
.handiman-brochure-cta {
  text-align: center;
  margin-top: 40px;
}
   .handiman-stats-row{
      display:flex;flex-wrap:wrap;gap:2.5rem;justify-content:center;
    }
    .handiman-stats-item{
      --item-size: clamp(120px,12vw,200px);
      flex:1 1 var(--item-size);max-width:var(--item-size);
      background:var(--light);border-radius:var(--border-radius-lg);
      box-shadow:var(--shadow-md);padding:2rem 1rem 1.5rem;text-align:center;
      transition:transform .25s ease,box-shadow .25s ease;
    }
    .handiman-stats-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
    .handiman-stats-icon{
      width:64px;height:64px;min-width:64px;min-height:64px;margin:0 auto 1rem;display:grid;place-items:center;
      background:var(--primary-light);border-radius:50%;
    }
    .handiman-stats-img{width:64px;height:64px;max-width:100%;max-height:100%;object-fit:contain;}
    .handiman-stats-heading{
      font-family:var(--font-heading);font-size:.9rem;letter-spacing:.5px;
      color:var(--dark);margin:0 0 .25rem;
    }
    .handiman-stats-value{
      display:block;font-family:var(--font-heading);font-size:1.6rem;
      font-weight:700;color:var(--secondary);margin-top:.25rem;
    }
    /* Small‑screen tweaks */
    @media(max-width:575.98px){
      .handiman-stats-item{--item-size:140px;}
    }

/* ===== Get a Quote Modal ===== */
.quote-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  padding: 1.5rem;
  box-sizing: border-box;
  background: rgba(var(--dark-rgb), 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.quote-modal.show {
  opacity: 1;
}

/* Two-panel layout */
.quote-modal-content {
  display: flex;
  width: 100%;
  max-width: 860px;
  position: relative;
  margin: 2rem auto;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.3);
  transform: scale(0.96) translateY(16px);
  transition: transform 0.3s ease;
}

.quote-modal.show .quote-modal-content {
  transform: scale(1) translateY(0);
}

/* Left branding panel */
.quote-modal-side {
  width: 260px;
  flex-shrink: 0;
  background: var(--cleandy-dark);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quote-modal-side::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.quote-modal-side::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.quote-modal-side-inner {
  position: relative;
  z-index: 1;
}

.quote-modal-logo-wrap {
  margin-bottom: 1.75rem;
}

.quote-modal-logo {
  max-width: 130px;
  height: auto;
  display: block;
}

.quote-modal-side-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--light);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.quote-modal-side-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.quote-modal-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quote-modal-trust li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qmt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Right form panel */
.quote-modal-form-panel {
  flex: 1;
  background: var(--light);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.quote-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray);
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  z-index: 2;
}

.quote-modal-close:hover {
  color: var(--dark);
  background: #d8dde3;
}

.quote-modal-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.quote-modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.35rem;
}

.quote-modal-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.6rem 0 0;
}

.quote-modal-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.75rem 0 1.5rem;
}

/* Form layout */
.quote-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-col {
  flex: 1;
  min-width: 0;
}

.form-row-full {
  width: 100%;
}

.quote-modal-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.875rem;
}

.quote-modal-form .required-dot {
  color: var(--secondary);
}

.quote-modal-form input,
.quote-modal-form select,
.quote-modal-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--border-radius-lg);
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.quote-modal-form input::placeholder,
.quote-modal-form textarea::placeholder {
  color: var(--gray);
  font-size: 0.875rem;
}

.quote-modal-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23808b96' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.quote-modal-form textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.quote-modal-form input:focus,
.quote-modal-form select:focus,
.quote-modal-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.18);
}

.quote-modal-form input:focus-visible,
.quote-modal-form select:focus-visible,
.quote-modal-form textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.quote-modal-form input.invalid,
.quote-modal-form select.invalid,
.quote-modal-form textarea.invalid {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(var(--secondary-rgb), 0.12);
}

.quote-modal-form .form-error {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  display: none;
}

.quote-modal-form .form-error[style*="block"] {
  display: block;
}

.quote-modal .handiman-error-container {
  margin-bottom: 0.5rem;
}

.quote-modal .alert {
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius-lg);
  font-size: 0.9rem;
  line-height: 1.45;
}

.quote-modal .alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.quote-modal .alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.quote-char-count {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.3rem;
  text-align: right;
}

.quote-modal-form .quote-submit-btn {
  margin-top: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.quote-modal-form .quote-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.45);
}

.quote-submit-btn .loading-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  border-top-color: currentColor;
  animation: handiman-spin 0.8s linear infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.quote-submit-btn[aria-busy="true"] .loading-spinner {
  display: inline-block;
}

.handiman-cta-button {
  display: inline-block !important;
  font-family: var(--font-main);
  font-weight: 600 !important;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: none;
  padding: 0.7rem 1.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.5;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  cursor: pointer;
}

.handiman-cta-button:hover {
  background-color: var(--primary-dark);
}

/* Quote modal – responsive */
@media (max-width: 768px) {
  .quote-modal {
    padding: 0.75rem;
    align-items: flex-start;
  }
  .quote-modal-content {
    flex-direction: column;
    margin: 1rem auto;
    max-width: 100%;
  }
  .quote-modal-side {
    width: 100%;
    padding: 1.5rem 1.5rem 1.25rem;
  }
  .quote-modal-side-title { font-size: 1.1rem; }
  .quote-modal-side-desc,
  .quote-modal-trust { display: none; }
  .quote-modal-logo-wrap { margin-bottom: 0.75rem; }
  .quote-modal-form-panel {
    padding: 1.5rem 1.25rem;
    max-height: none;
  }
  .quote-modal-title { font-size: 1.35rem; }
  .form-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/* ===== End Get a Quote Modal ===== */

/* CTA Button Styles */
.handiman-brochure-cta {
    text-align: center;
    margin: 20px 0;
}

.handiman-brochure-btn {
  width: auto;
  padding: 15px;
  background-color: var(--primary);
  color: #2b3e4f;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.handiman-brochure-btn:hover {
  background-color: var(--primary-dark);
}

/* Modal Styles */
.handiman-brochure-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.handiman-brochure-modal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    position: relative;
    margin: 50px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.handiman-brochure-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

.handiman-brochure-modal-close:hover {
    color: #333;
}

.handiman-brochure-modal-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.handiman-brochure-modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.handiman-brochure-form-row {
    display: flex;
    gap: 20px;
}

.handiman-brochure-form-group {
    flex: 1;
    min-width: 0;
}

.handiman-brochure-full-width {
    width: 100%;
}

.handiman-brochure-modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.handiman-brochure-modal-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.handiman-brochure-modal-form input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.handiman-brochure-modal-submit {
  width: auto;
  padding: 15px;
  background-color: var(--primary);
  color: #2b3e4f;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.handiman-brochure-modal-submit:hover {
  background-color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .handiman-brochure-modal-content {
        padding: 30px 20px;
        margin: 20px auto;
    }
    
    .handiman-brochure-form-row {
        flex-direction: column;
        gap: 20px;
    }
}
/* "THE HANDIMAN DIFFERENCE" SECTION */
.difference-section {
  background-color: #ffffff;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.difference-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.difference-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary);
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.section-header p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.differentiator-showcase {
  position: relative;
  z-index: 1;
  min-height: 450px;
}

.differentiator-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  pointer-events: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.differentiator-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  position: relative;
}

.slide-image {
  flex: 1 1 550px;
  max-width: 50%;
  border-radius: 20px;
  overflow: hidden;
 /* box-shadow: var(--shadow-lg); */
  position: relative;
  display: flex;
  justify-content: center;
}

.slide-image img {
  width: 70%;
  height: auto;
  display: block;
  border-radius: 12.5%;
  box-shadow:var(--shadow-lg) ;
}
/*
.slide-image::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
 border: 2px solid rgba(255, 112, 67, 0.3);
  border-radius: 15px;
  pointer-events: none;
}
*/
.slide-content {
  flex: 1 1 45%;
  max-width: 45%;
  text-align: left;
  padding: 20px 0;
}

.slide-content h3 {
  font-size: 2.375rem;
  color: var(--cleandy-dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.differentiator-nav {
  text-align: center;
  margin-top: 50px;
}

.nav-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ffcd4c85;
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background-color: var(--cleandy-orange);
  transform: scale(1.2);
}
.nav-dot:hover {
  background-color: #ffcd4c;
}

/* ---------- Our Services Section (home page) ---------- */
.handiman-services-home {
  background-color: var(--gray-light);
  padding: var(--section-padding);
}

.handiman-services-home .handiman-row {
  justify-content: center;
  row-gap: 0.5rem;
}

.handiman-services-home .handiman-col-lg-4 {
  flex: 0 0 min(33.333333%, 360px);
  max-width: min(33.333333%, 360px);
}

.handiman-services-home .handiman-service-card {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.handiman-service-card {
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #fff;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  outline-offset: 2px;
}

.handiman-service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.handiman-service-card:hover .handiman-service-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.38) 52%, transparent 100%);
}

.handiman-service-card:focus-visible {
  outline: 2px solid var(--primary);
}

.handiman-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.handiman-service-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.handiman-service-card .post-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.handiman-service-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.handiman-service-card-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.handiman-service-card-cta i {
  transition: transform 0.2s ease;
}

.handiman-service-card:hover .handiman-service-card-cta {
  color: var(--primary-light);
  transform: translateX(3px);
}

.handiman-service-card:hover .handiman-service-card-cta i,
.handiman-service-card:hover .handiman-service-card-cta .icon-inline {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .handiman-services-home .handiman-col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .handiman-services-home .handiman-col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .handiman-service-card {
    min-height: 240px;
  }
}

@media (max-width: 576px) {
  .handiman-services-home .handiman-service-card {
    max-width: 100%;
  }
  .handiman-service-card {
    min-height: 260px;
  }
}

/* CONTACT FORM SECTION */
.handiman-contact {
  background-color: #ffffff;
  position: relative;
  padding: var(--section-padding);
}

.handiman-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 25% 75%;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .handiman-contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .handiman-contact-title {
    margin-bottom: 1rem;
  }
}

.handiman-contact-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark);
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.handiman-contact-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin-top: 20px;
}

.handiman-contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.handiman-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.handiman-form-group {
  margin-bottom: 20px;
}
.handiman-form-group.form-submit-group,
.handiman-contact-form .form-submit-group {
  grid-column: span 2;
  text-align: center;
}
.handiman-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
  font-size: 14px;
}
.handiman-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}
.handiman-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
  background-color: white;
}
.handiman-form-textarea {
  min-height: 120px;
  resize: vertical;
}
.handiman-error-container {
  color: #e74c3c;
  margin-bottom: 20px;
  grid-column: span 2;
  font-size: 14px;
}
.handiman-honeypot {
  position: absolute;
  left: -9999px;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
}

/* BLOGS SECTION */
.handiman-news {
  background-color: var(--gray-light);
  padding-top: 5px;
  padding-bottom: 0;
}

.handiman-news .handiman-row {
  justify-content: center;
}

.handiman-news .handiman-col-lg-4 {
  flex: 0 0 min(33.333333%, 380px);
  max-width: min(33.333333%, 380px);
}

/* Row styling */
.handiman-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  justify-content: flex-start; /* Changed from center to flex-start for better alignment */
}

/* Column base styling */
[class*="handiman-col-"] {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 30px; /* Add spacing between rows */
}

/* Full width column */
.handiman-col-12 {
  width: 100%;
}

/* 3-column layout for large screens (lg) */
.handiman-col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

/* 2-column layout for medium screens (md) */
.handiman-col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* 1-column layout for small screens (default) */
.handiman-col-sm-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Blog post card styling */
.latest-post {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.latest-post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.latest-post-media {
  width: 100%;
  aspect-ratio: 400 / 250;
  min-height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef1f4, #d9e0e8);
}

.latest-post-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.latest-post:hover .latest-post-media img {
  transform: scale(1.05);
}

.post-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-title a:hover {
  color: var(--primary);
}

.latest-post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-top: 15px;
}

.latest-post-meta .post-item-date i {
  margin-right: 5px;
  color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .handiman-col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .handiman-news .handiman-col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .handiman-col-lg-4,
  .handiman-col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .handiman-news .handiman-col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* TESTIMONIALS & CLIENTS SECTION */
.handiman-testimonials {
  background-color: var(--light);
  padding: var(--section-padding);
}

.handiman-testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.handiman-testimonials-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px;
  margin-bottom: 60px;
  scrollbar-width: none;
}

.handiman-testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.handiman-testimonial-card {
  min-width: 350px;
  background: var(--light);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  scroll-snap-align: start;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-md);
}

.handiman-testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  color: var(--dark-light);
}

.handiman-testimonial-text:before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 50px;
  color: rgba(var(--primary-rgb), 0.3);
  line-height: 1;
}

.handiman-testimonial-author {
  display: flex;
  align-items: center;
}

.handiman-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: bold;
  font-size: 20px;
}

.handiman-testimonial-info h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: var(--dark);
}

.handiman-testimonial-info p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
  color: var(--gray);
}

.handiman-clients-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary);
}
.handiman-clients-container {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 40px auto;
}

.handiman-clients-grid {
    display: flex;
    gap: 30px;
    animation: scroll 20s linear infinite;
    width: max-content;
}
@media (prefers-reduced-motion: reduce) {
  .handiman-clients-grid {
    animation: none;
  }
}

.handiman-client-logo {
    height: 75px;
    object-fit: contain;
    box-shadow: -4px 3px 6px 2px #888888e0;
    border: 1px solid gray;
    padding: 5px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .handiman-clients-grid {
        gap: 20px;
    }
    .handiman-client-logo {
        height: 60px;
    }
}

/* FOOTER */
.site-footer {
  background-color: #f5f5f5;
  padding: 28px 20px 24px;
  font-family: var(--font-main);
  color: #333;
  border-top: 2px solid var(--primary);
}
.site-footer .footer-contact-block a,
.site-footer address a,
.site-footer .footer-column p a {
  color: var(--dark);
  text-decoration: none;
}
.site-footer .footer-contact-block a:hover,
.site-footer address a:hover,
.site-footer .footer-column p a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 0 12px 16px;
}
.footer-heading {
  font-size: 1.125rem;
  margin-bottom: 15px;
  color: #222;
}
.footer-contact-block {
  margin-bottom: 20px;
}
.footer-contact-block p {
  margin: 5px 0;
  line-height: 1.5;
}
.footer-subheading {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: bold;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}
.footer-links li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}
.footer-links li a:hover {
  color: var(--primary-dark);
}
.footer-contact-block a,
.site-footer address a {
  display: inline;
  padding: 2px 0;
}
.site-footer address a {
  margin: 0;
}
.footer-contact-block p a {
  display: inline;
  padding: 2px 0;
}
.newsletter-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}
.newsletter-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
}
.required-star {
  color: #ff0000;
}
.required-note {
  font-size: 12px;
  color: #666;
}
.footer-copyright {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--primary);
  text-align: center;
  font-size: 14px;
  color: #666;
}
.footer-social-icons {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0;
}

.footer-social-icons a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  transition: background 0.3s ease;
}

.footer-social-icons a:hover {
  background: var(--primary-light);
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: var(--dark);
  transition: fill 0.3s ease;
}

/* BACK TO TOP BUTTON */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary);
  color: var(--dark);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
}
#back-to-top.handiman-show {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== About Page Specific Styles ===== */
.handiman-about-banner-area {
  position: relative;
  background-size: cover;
  background-position: center center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 700;
  color: #fff;
  top: 100px;
}

.handiman-about-banner-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(31, 30, 30, 0.4), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.handiman-about-banner-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 15px;
}

/* Banner Title */
.handiman-about-banner-title {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0;
  color: white;
}

.handiman-about-box-section {
  position: relative;
  top: 100px;
  background: #f0f0f0;
  height: 80px;
  padding: 27px;
}

/* Nav Pills */
.handiman-about-nav-pills {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
  position: relative;
  top: 60px;
  justify-content: center;
}

.handiman-about-nav-pills .nav-item {
  display: inline-block;
  margin: 0 5px;
}

.handiman-about-nav-pills .nav-link {
  font-weight: 400;
  padding: 10px 25px;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease;
  font-size: 1.1rem;
  color: #46514f;
  display: inline-block;
  text-decoration: none;
}

.handiman-about-nav-pills .nav-link.active,
.handiman-about-nav-pills .nav-link:hover {
  background-color: var(--primary);
  color: #46514f;
  font-weight: 600;
}
    .lead {
        font-size: 14px;
    display: grid
;
    text-align: justify;}
/* Content Sections */
.handiman-about-content-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
  align-items: center;
  position: relative;
  top: 60px;
      text-align: center;
}

.handiman-about-content-row > .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 15px;
}

/* Title Styling */
.handiman-about-column-title {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 15px;
  color: #222;
  position: relative;
}

/* Underline Effect */
.handiman-about-leftulGrey {
  width: 50px;
  height: 5px;
  background-color: #ddd;
  margin-bottom: 20px;
  position: relative;
}

.handiman-about-leftulOrange {
  width: 20px;
  height: 5px;
  background-color: var(--cleandy-orange);
  position: absolute;
  top: 0;
  left: 0;
}

/* Service logos & images centering */
.handiman-services-logo-item {
  text-align: center;
}
.handiman-services-logo-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: .5rem;
}
.handiman-services-logo-image img {
  margin: 0 auto;
}
.handiman-services-logo-text {
  text-align: center;
}
.handiman-about-image-container {
  display: flex;
  justify-content: center;
}
.handiman-about-leftulGrey {
  margin-left: auto;
  margin-right: auto;
}

/* Image Styling */
.handiman-about-ideadiv,
.handiman-about-arrowdiv {
  display: flex;
  justify-content: center;
  align-items: center;
}

.handiman-about-ideadiv img,
.handiman-about-team,
.handiman-about-arrow {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* Timeline Styles */
.main-timeline {
  font-family:var(--font-main);
  position: relative;
}

.main-timeline:after {
  content: "";
  display: block;
  clear: both;
}

.main-timeline:before {
  content: "";
  height: 100%;
  width: 2px;
  border: 2px dashed #000;
  transform: translateX(-50%);
  position: absolute;
  left: 50%;
  top: 30px;
}

.main-timeline .timeline {
  width: 50%;
  padding: 100px 70px 0 25px;
  margin: 0 50px 0 0;
  float: left;
  position: relative;
}

.main-timeline .timeline-content {
  padding: 15px 15px 15px 40px;
  border: 2px solid #00a79b;
  border-radius: 15px 0 15px 15px;
  display: block;
  position: relative;
}

.main-timeline .timeline-content:hover {
  text-decoration: none;
}

.main-timeline .timeline-content:after {
  content: "";
  background-color: #00a79b;
  height: 18px;
  width: 15px;
  position: absolute;
  right: -15px;
  top: -2px;
  clip-path: polygon(100% 0, 0 0, 0 100%);
}

.main-timeline .timeline-year {
  color: #fff;
  background-color: #00a79b;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  line-height: 98px;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  position: absolute;
  right: -120px;
  top: -85px;
}

.main-timeline .timeline-year:after {
  content: "";
  height: 130px;
  width: 130px;
  border: 8px solid #00a79b;
  border-left-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-20deg);
  position: absolute;
  left: 50%;
  top: 50%;
}

.main-timeline .timeline-icon {
  color: #fff;
  background-color: #00a79b;
  font-size: 35px;
  text-align: center;
  line-height: 50px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: -25px;
  transition: all 0.3s;
}

.main-timeline .title {
  color: #222;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 7px 0;
}

.main-timeline .description {
  color: #222;
  font-size: 15px;
  letter-spacing: 1px;
  text-align: justify;
  margin: 0 0 5px;
}

.main-timeline .timeline:nth-child(even) {
  padding: 100px 25px 0 70px;
  margin: 0 0 0 50px;
  float: right;
}

.main-timeline .timeline:nth-child(even) .timeline-content {
  padding: 15px 40px 15px 15px;
  border-radius: 0 15px 15px 15px;
}

.main-timeline .timeline:nth-child(even) .timeline-content:after {
  transform: rotateY(180deg);
  right: auto;
  left: -15px;
}

.main-timeline .timeline:nth-child(even) .timeline-year {
  right: auto;
  left: -120px;
}

.main-timeline .timeline:nth-child(even) .timeline-year:after {
  transform: translateX(-50%) translateY(-50%) rotate(200deg);
}

.main-timeline .timeline:nth-child(even) .timeline-icon {
  left: auto;
  right: -25px;
}

.timeline:nth-child(4n + 2) .timeline-content,
.timeline:nth-child(4n + 2) .timeline-year:after {
  border-color: #9e005d;
}

.timeline:nth-child(4n + 2) .timeline-year:after {
  border-left-color: transparent;
}

.timeline:nth-child(4n + 2) .timeline-content:after,
.timeline:nth-child(4n + 2) .timeline-icon,
.timeline:nth-child(4n + 2) .timeline-year {
  background-color: #9e005d;
}

.timeline:nth-child(4n + 3) .timeline-content,
.timeline:nth-child(4n + 3) .timeline-year:after {
  border-color: #f24f0e;
}

.timeline:nth-child(4n + 3) .timeline-year:after {
  border-left-color: transparent;
}

.timeline:nth-child(4n + 3) .timeline-content:after,
.timeline:nth-child(4n + 3) .timeline-icon,
.timeline:nth-child(4n + 3) .timeline-year {
  background-color: #f24f0e;
}

.timeline:nth-child(4n + 4) .timeline-content,
.timeline:nth-child(4n + 4) .timeline-year:after {
  border-color: #0870c5;
}

.timeline:nth-child(4n + 4) .timeline-year:after {
  border-left-color: transparent;
}

.timeline:nth-child(4n + 4) .timeline-content:after,
.timeline:nth-child(4n + 4) .timeline-icon,
.timeline:nth-child(4n + 4) .timeline-year {
  background-color: #0870c5;
}

/* Core Values Section */
.handiman-core-values-section {
  background-color: #ffffff;
  padding: 60px 0;
  font-family:var(--font-main);
}

.handiman-core-values-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.handiman-core-values-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background-color: var(--cleandy-orange);
  margin: 10px auto 0 auto;
}

.handiman-core-values-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.handiman-core-value-card {
  background-color: #f9f9f9;
  border-radius: var(--border-radius-xl);
  padding: 30px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  flex: 1 1 calc(25% - 30px);
  max-width: 280px;
  transition: all 0.3s ease;
}

.handiman-core-value-card:hover {
  background-color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.handiman-core-value-icon {
  font-size: 2.5rem;
  color: #00a79b;
  margin-bottom: 15px;
}

.handiman-core-value-icon img {
  max-width: 50px;
  height: auto;
}

.handiman-core-value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.handiman-core-value-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Blog Specific Styles */
.handiman-blog-leftul-grey {
  width: 60%;
  background-color: #e8e8e8;
  position: absolute;
  height: 2px;
  margin-top: -5px;
}

.handiman-blog-leftul-orange {
  width: 150px;
  background-color: var(--primary);
  position: absolute;
  height: 2px;
}

.handiman-blog-banner {
  background: linear-gradient(0deg, rgba(31, 30, 30, 0.3), rgba(0, 0, 0, 0.3)),
    url(../images/Blogs.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.handiman-blog-banner .handiman-blog-banner-heading {
  position: absolute;
  bottom: -121px;
}

/* Blog Post Styles */
.handiman-blog-post {
  margin-bottom: 30px;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.handiman-blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.handiman-blog-post-media {
  overflow: hidden;
  height: 200px;
}

.handiman-blog-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.handiman-blog-post:hover .handiman-blog-post-media img {
  transform: scale(1.05);
}

.handiman-blog-post-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.handiman-blog-post-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.handiman-blog-post-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.handiman-blog-post-title a:hover {
  color: var(--primary);
}

.handiman-blog-read-more {
  color: var(--secondary);
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.handiman-blog-read-more:hover {
  color: var(--secondary-dark);
}

.handiman-blog-post-meta {
  margin-top: 15px;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* Pagination */
.paging {
  margin-top: 30px;
  text-align: center;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: var(--border-radius);
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 8px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #2b3e4f;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: white;
  background-color: var(--primary);
  border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #fff;
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  cursor: default;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
.blog::before{
  background:none;
}


/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  .handiman-about-content,
  .differentiator-slide {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }
  .handiman-about-text {
    order: 2;
  }
  .handiman-about-image {
    order: 1;
  }
  .slide-image,
  .slide-content {
    max-width: 100%;
  }
  .handiman-contact-container {
    grid-template-columns: 1fr;
  }
  .handiman-contact-title {
    text-align: center;
    align-items: center;
  }
  
  /* Adjust dropdown menu for tablet */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* Core Values */
  .handiman-core-value-card {
    flex: 1 1 calc(45% - 30px);
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  .handiman-hero {
    padding: 8rem 0 4rem;
    top: 0;
  }
  .handiman-nav-list {
    display: block;
  }
  .handiman-mobile-menu {
    display: block;
  }
  .section-title,
  .handiman-section-title {
    font-size: 2rem;
  }
  
  .handiman-form-grid,
  .quote-modal-form .form-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .handiman-form-grid{
      display: flex;
  }
  .quote-modal-content {
    margin: 10% auto !important;
    padding: 20px !important;
  }
  
  /* Mobile menu styles */
  nav .handiman-nav-list.handiman-show {
    display: block;
    position: absolute;
    top: 60px;
    right: 2rem;
    background-color: var(--light);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    width: 200px;
    padding: 1rem 0;
    z-index: 1001;
  }

  nav .handiman-nav-list.handiman-show li {
    margin: 0;
    padding: 0.75rem 1.5rem;
  }

  nav .handiman-nav-list.handiman-show li a {
    display: block;
    font-size: 1rem;
  }
  
  /* Timeline adjustments */
  .main-timeline:before {
    display: none;
  }

  .main-timeline .timeline {
    width: 100%;
    padding-top: 80px;
    padding-right: 12px;
    margin-bottom: 20px;
  }

  .main-timeline .timeline:nth-child(even) {
    padding-left: 10px;
    padding-top: 80px;
    margin-bottom: 20px;
  }

  .main-timeline .timeline-content,
  .main-timeline .main-timeline .timeline:nth-child(even) .timeline-content {
    background-color: #fff;
    padding-top: 25px;
  }

  .main-timeline .timeline-content:after {
    display: none;
  }

  .main-timeline .timeline-year {
    font-size: 24px;
    line-height: 70px;
    height: 70px;
    width: 70px;
    right: 0;
    top: -65px;
  }

  .main-timeline .timeline-year:after {
    display: none;
  }

  .main-timeline .timeline:nth-child(even) .timeline-year {
    left: 3px;
  }
  
  /* Core Values */
  .handiman-core-value-card {
    flex: 1 1 100%;
  }

  .handiman-core-values-title {
    font-size: 2rem;
  }

  .handiman-core-value-title {
    font-size: 1.1rem;
  }

  .handiman-core-value-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .handiman-container,
  .container {
    padding: 0 1.5rem;
  }
  .footer-column {
    flex-basis: 100%;
  }
  
  /* Adjust font sizes for mobile */
  :root {
    --base-font-size: 14px;
  }
  
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.75rem; }
  h3, .h3 { font-size: 1.5rem; }
  
  section .handiman-section-title,
  .section-title {
    font-size: 1.75rem !important;
  }
  
  /* Timeline adjustments */
  .main-timeline .title {
    font-size: 18px;
  }
}

/* Additional utility classes */
.mb-4 {
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Clear floats */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Accessibility focus styles */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  body {
    background: none;
    color: black;
    font-size: 12pt;
  }
  
  .no-print {
    display: none !important;
  }
}
/* Owl Carousel overrides */
.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.owl-nav {
    text-align: center;
    margin-top: 20px;
}

.owl-nav button {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    margin: 0 10px;
    color: #333;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc !important;
    margin: 0 5px;
}

.owl-dot.active {
    background: #ff6b00 !important;
}
.owl-theme .owl-dots .owl-dot{
  display: inline-flex !important;
}

/* Client logo items */
.handiman-client-logo-item {
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.owl-carousel .owl-item .handiman-client-logo-item img,
.handiman-client-logo-item img {
    max-height: 70px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    opacity: 0.8;
    margin: 0 auto;
}

.handiman-client-logo-item:hover img {
    opacity: 1;
}

/* Testimonial items */
.handiman-client-testimonial-item {
    background: #fff;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 0px;
}

.handiman-client-quote-text {
    font-style: italic;
    color: #555;
    position: relative;
    padding-left: 30px;
}

.handiman-client-quote-text:before {
    content: '"';
    font-size: 60px;
    position: absolute;
    left: -15px;
    top: -20px;
    color: rgba(0,0,0,0.1);
}

.handiman-client-quote-author {
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    text-align: right;
}
/* Terms and Conditions Page Styles */

/* Banner Area */
.handiman-terms-banner-area {
    min-height: 321px;
    background: linear-gradient(0deg, rgba(31, 30, 30, 0.4), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 80px;
}

.handiman-contact-banner-area{
  position: relative;
  top: 80px;
}

.handiman-terms-banner-heading {
    position: relative;
    opacity: 0;
    bottom: -121px;
}

.handiman-terms-banner-title {
    color: var(--light);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    font-family: var(--font-heading);
}

/* Content Section */
.handiman-terms-content-section {
    padding: var(--section-padding);
    background-color: var(--light);
        position: relative;
    top: 99px;
}

.handiman-terms-content {
    color: var(--dark-light);
    font-size: var(--base-font-size);
    line-height: 1.7;
    font-family: var(--font-main);
}

/* Section Titles */
.handiman-section-title {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.handiman-sub-section-title{
 color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}
/* Links */
.handiman-link {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.handiman-link:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

/* Paragraphs and Lists */
.handiman-terms-content p {
    margin-bottom: 1rem;
}

.handiman-terms-content strong {
    color: var(--dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .handiman-terms-banner-title {
        font-size: 2rem;
    }

    .handiman-terms-content {
        font-size: 0.95rem;
    }

    .handiman-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .handiman-terms-banner-title {
        font-size: 1.8rem;
    }

    .handiman-terms-content {
        font-size: 0.9rem;
    }

    .handiman-section-title {
        font-size: 1.2rem;
    }
}
/* -------------
   BANNER BLOCK
   -------------*/
#handiman-services-banner-area,
.handiman-services-banner-area {          /* keeps old class working */
    position: relative;
  background-size: cover;
  background-position: center center;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 700;
  color: #fff;
  top: 130px;
    
}

/* dim‑out / tint overlay */
#handiman-services-banner-area::before {
    content: "";
    position: absolute;
    inset: 0;                          /* shorthand for top/left/right/bottom:0 */
    background: rgba(0, 0, 0, 0.35);   /* semi‑transparent dark tint */
    z-index: 0;                        /* ✨ BELOW form so clicks pass through */
    pointer-events: none;              /* overlay ignores mouse clicks 100 %  */
}

/* -------------
   AUDIT FORM
   -------------*/
.handiman-services-form {
    position: absolute;
    top: 52%;
    right: 5%;
    transform: translateY(-50%);
    width: 340px;
    max-width: 90%;                    /* ensures it doesn’t overflow phone */
    padding: 20px;

    background: rgb(3 14 23 / 50%);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    color: #000000bd;
    z-index: 100;                      /* ✨ abov e overlay */
    pointer-events: auto;              /* clicks land here */
}

.handiman-services-form h3 {
    margin: 0 0 25px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--light);
}

.handiman-services-form .form-group { margin-bottom: 15px; }

.handiman-services-form input[type="text"],
.handiman-services-form input[type="email"],
.handiman-services-form input[type="tel"] {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.handiman-services-form button[type="submit"] {
   display: inline-block;
  font-family: var(--font-main);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
 background-color: var(--primary);
  color: #000;
}
.handiman-services-form button[type="submit"]:hover {
background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);}

/* Placeholder text colour */
.handiman-services-form ::placeholder { color: #888; }

/* -------------
   RESPONSIVE
   -------------*/
@media (max-width: 768px) {
    #handiman-services-banner-area {
        height: auto;          /* let banner grow with content */
        padding: 100px 0;      /* give breathing room above/below form */
    }

    .handiman-services-form {
        position: static;      /* drop into normal flow */
        transform: none;
        margin: 0 auto;        /* centred on small screens */
        width: 90%;
    }
}

/* ---------- Home: Case Study section (moved from index inline) ---------- */
.case-study-section {
  background: #fff;
  padding: 80px 0;
}
.case-study-section .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 360px));
  gap: 30px;
  justify-content: center;
  justify-items: stretch;
}
.case-card {
  background: #333 center center / cover no-repeat;
  color: #fff;
  width: 100%;
  max-width: 360px;
  min-height: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
}
.case-card .case-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.case-card .case-content {
  padding: 24px;
  position: relative;
  background: linear-gradient(180deg, rgba(18, 23, 31, 0.78), rgba(12, 16, 24, 0.92));
  flex: 1;
}
.case-card .case-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: none;
  color: #fff;
  padding-right: 70px;
}
.case-card .case-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  font-weight: 700;
  color: rgba(255,255,255,0.18);
}
.case-card .case-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0;
}
@media (max-width: 992px) {
  .case-study-grid {
    grid-template-columns: repeat(2, minmax(280px, 360px));
  }
  .case-card {
    max-width: 360px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  .case-card { max-width: 100%; margin: 0 auto; }
}

/* Home: contact form errors & alerts (moved from index inline) */
.handiman-contact-form .form-error {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
  display: none;
}
.handiman-contact-form .handiman-form-control.invalid {
  border-color: #dc3545;
}
.handiman-contact-form .alert {
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  text-align: center;
}
.handiman-contact-form .alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.handiman-contact-form .alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.handiman-submit-btn .loading-spinner,
.handiman-brochure-modal-submit .loading-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  border-top-color: #000;
  animation: handiman-spin 1s ease-in-out infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.handiman-submit-btn:hover .loading-spinner,
.handiman-brochure-modal-submit:hover .loading-spinner {
  border-top-color: #fff;
  border-right-color: rgba(255,255,255,0.2);
  border-bottom-color: rgba(255,255,255,0.2);
  border-left-color: rgba(255,255,255,0.2);
}
@keyframes handiman-spin {
  to { transform: rotate(360deg); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}
.whatsapp-icon {
  width: 35px;
  height: 35px;
  fill: white;
}
#back-to-top {
  bottom: 90px !important;
}
@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  #back-to-top {
    bottom: 75px !important;
  }
}

/* ===== Newsletter Response States ===== */
.newsletter-response {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  display: none;
}
.newsletter-response.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  display: block;
}
.newsletter-response.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ===== Contact Page ===== */
.handiman-contact-section { padding: 80px 0; }
.handiman-contact-branches-section { padding: 80px 0; }
.handiman-contact-card{border:1px solid #ddd;border-radius:8px;font-family:sans-serif;box-shadow:0 4px 8px rgba(0,0,0,.1);max-width:600px}
.handiman-contact-card .card-header{display:flex;align-items:flex-start;gap:15px;border-bottom:1px solid #eee;padding:30px;background:var(--primary)}
.handiman-contact-card .card-header .fa-building{font-size:2.5em;color:var(--dark);margin-top:5px}
.handiman-contact-card .card-header h3{margin:0;line-height:1.4}
.handiman-contact-card .card-body p{overflow:hidden;margin-bottom:0;color:var(--dark);line-height:1.3;gap:10px;display:flex}
.handiman-contact-card .card-body i{color:var(--dark);width:20px;text-align:center}
.handiman-contact-card .contact-sales{margin-top:20px;padding-top:15px;border-top:1px solid #eee}
.handiman-contact-card .contact-sales h4{margin:0 0 10px}
.handiman-contact-card .card-body a,.handiman-contact-branch-contact a{color:inherit;text-decoration:none}
.handiman-contact-card .card-body a:hover,.handiman-contact-branch-contact a:hover{text-decoration:underline}
.form-error{color:#dc3545;font-size:.875em;margin-top:.25rem;display:none}
.handiman-form-control.invalid{border-color:#dc3545}
.alert{padding:.8rem 1rem;margin-bottom:1rem;border-radius:4px;text-align:center}
.alert.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}
.alert.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}
.loading-spinner{display:none;width:1rem;height:1rem;border:2px solid rgba(0,0,0,.2);border-radius:50%;border-top-color:#000;animation:spin 1s ease-in-out infinite;margin-left:.5rem;vertical-align:middle}
.handiman-submit-btn:hover .loading-spinner{border-top-color:#fff;border-right-color:rgba(255,255,255,.2);border-bottom-color:rgba(255,255,255,.2);border-left-color:rgba(255,255,255,.2)}
@keyframes spin{to{transform:rotate(360deg)}}
.handiman-contact-hero{background:url('images/banner/contact-us.webp') center/cover no-repeat;padding:120px 0 80px;color:var(--light);text-align:center}
.handiman-contact-title{font-size:3rem;font-weight:700;margin-bottom:20px;font-family:var(--font-heading);color:var(--dark)}
.handiman-contact-section-header{margin-bottom:50px}
.handiman-contact-section-title{font-size:2.2rem;font-weight:700;color:var(--dark);position:relative;padding-bottom:15px;font-family:var(--font-heading)}
.handiman-contact-section-subtitle{color:var(--gray);font-size:1.1rem;font-family:var(--font-alt)}
.handiman-contact-divider{height:3px;width:80px;background:var(--primary);margin:15px auto}
.handiman-contact-card{background:var(--light);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-md);height:70%;transition:transform .3s ease;font-family:var(--font-alt)}
.handiman-contact-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.handiman-contact-map-container{height:70%;border-radius:var(--border-radius-lg);overflow:hidden;box-shadow:var(--shadow-md)}
.handiman-contact-map-container iframe{width:100%;height:100%;min-height:550px;border:none}
.handiman-contact-branches-section{padding:80px 0;background-color:var(--cleandy-bg-light)}
.handiman-contact-branch-card{background:var(--light);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-sm);overflow:hidden;height:70%;transition:all .3s ease;font-family:var(--font-alt)}
.handiman-contact-branch-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.handiman-contact-branch-header{background:var(--primary);color:var(--light);padding:20px;display:flex;align-items:center}
.handiman-contact-branch-icon{font-size:1.5rem;margin-right:15px;color:var(--dark)}
.handiman-contact-branch-header h4{margin:0;font-size:1.3rem;font-family:var(--font-heading)}
.handiman-contact-branch-body{padding:25px}
.handiman-contact-branch-manager{display:flex;align-items:center;margin-bottom:15px;color:var(--dark);font-weight:500}
.handiman-contact-branch-manager i{margin-right:10px;color:var(--primary)}
.handiman-contact-branch-address{margin-bottom:20px}
.handiman-contact-branch-address i{margin-right:10px;color:var(--dark);float:left}
.handiman-contact-branch-address p{overflow:hidden;margin-bottom:0;color:var(--dark);line-height:1.3}
.handiman-contact-branch-contact p{display:flex;align-items:center;margin-bottom:8px;color:var(--dark)}
.handiman-contact-branch-contact i{margin-right:10px;color:var(--dark);min-width:20px}
.handiman-contact-form-container{position:relative;z-index:1;background:var(--light);border-radius:var(--border-radius-lg);box-shadow:var(--shadow-lg);padding:40px;font-family:var(--font-alt)}
.handiman-contact-form-messages{margin-bottom:20px;padding:10px 15px;border-radius:var(--border-radius-lg);display:none}
@media(max-width:991px){.handiman-contact-title{font-size:2.5rem}.handiman-contact-section-title{font-size:1.8rem}}
@media(max-width:767px){.handiman-contact-hero{padding:100px 0 60px}.handiman-contact-title{font-size:2rem}.handiman-contact-form-container{padding:30px 20px}.handiman-contact-branch-card{height:55%}.handiman-contact-card{height:55%}}

/* ===== Banner background image (replaces CSS background-image for LCP) ===== */
.handiman-about-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
