/* Only load regular + bold (drops ~850KB oblique/light TTFs). font-display reduces FOIT/CLS. */
@font-face {
  font-family: 'Helvetica';
  src: url('assets/font/helvetica/Helvetica.woff2') format('woff2'),
       url('assets/font/helvetica/Helvetica.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url('assets/font/helvetica/Helvetica-Bold.woff2') format('woff2'),
       url('assets/font/helvetica/Helvetica-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body{
  overflow-x: hidden;
  font-family: 'Helvetica', Arial, Helvetica, sans-serif;
}

/* Prevent page shift when scrollbars appear/disappear (e.g. Bootstrap modal) */
html {
  scrollbar-gutter: stable;
}

.navbar-scrolled .navbar-toggler {
 background-color: white !important;
}

/* hover */
.hover-pop {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.hover-pop:hover {
  transform: scale(1.05);
}

.hove-pop:hover {
  transform: scale(1.2);
}
.hove-pop {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* buttons */
.btn-primary {
            background-color: white;
            font-weight: 100;
            border-radius: 25px;
            padding: 10px 20px;
            color: black;
            border: white;
        }
        .btn-success:hover {
            background-color: #43a047;
        }
        
        .btn:hover {
            background-color: #43a047;
            border: #43a047;
            color: white;
        }
.btn-custom {
    font-size: 0.9rem;
    background-color: #2e7d32;
    font-weight: 600;
    height: auto;
    min-height: 44px;
    border-radius: 25px;
    padding: 11px 18px;
    width: 170px;
    color: #fff !important;
    border: 1px solid #2e7d32;
  }
  .btn-custom:hover {
    background-color: #fff !important;
    color: #1b5e20 !important;
    border-color: #fff;
  }
  /* Footer CTA: avoid fixed width/height clipping wrapped label */
  .footer-section .btn-custom {
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 44px;
    white-space: normal;
    line-height: 1.25;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .btn:hover {
            background-color: #43a047;
            border: #43a047;
            color: white;
        }
 .menu ul {
            padding: 0;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            list-style-type: none;
        }
        /*menu side */
        .menu ul li {
            border-bottom: 1px solid #e9e9e9;
            background-color: #f8f8f8;
        }
        .menu ul li a {
            padding: 12px 20px;
            display: flex;
        }
        
        
        .calculator {
            background-color: #f8f8f8;;
            border-radius: 20px;
            height: 300px;
        }
        /* card */
.card-custom{
    background-color: #f7f4f4;
    height: auto;
    min-height: 250px;
  }
  .card-custom:hover{
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  .card-custom .list-group-item {
  background-color: transparent;
}
/* footer css */
.footer-heading {
      color: white;
      margin-bottom: 20px;
    }
    .footer-text{
      color: #6e797c;
      margin-bottom: 15px;
    }
    .service-link{
      display: block;
      color: white;
      padding: 5px;
      text-decoration: none;
    }
    .service-link:hover{
      text-decoration: underline;
    }
    .blog-title{
      display: block;
      color: white;
      text-decoration: none;
    
    }
    .blog-title:hover{
      text-decoration: underline;
    }
    .blog-date{
      color: #6e797c;
    }
    .contact-info-item{
      display: flex;
      margin: 5px; 
      color: #95b1b6;
    }
    .contact-text{
      color: #6e797c;
      padding-top: 8px;
    }
    .footer-color{
      background-color: #343C3E;
    }
    .info-icons{
  font-size: 53px;
    }


  .blog-image{
    min-width: 600px;
  }

  .service-price{
    font-size: 60px;
  }

  .about-us p {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards;
  animation-delay: 0.3s;
}
  @keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.navbar-scrolled .nav-link {
  color: #43a047!important;
}
.navbar-scrolled .nav-link:hover {
  color: black !important;
}
.navbar-scrolled .nav-link.active {
  color: black !important;
}

.navbar-scrolled .navbar-brand img {
  filter: opacity(100%);
}
.navbar-nav .nav-item .nav-link:hover {
  color: black;
  
}

.navbar-nav .nav-item.active .nav-link:hover {
  color: black;
  font-weight: bold;
}
.navbar-nav .nav-item .nav-link{
color: #43a047;
}

/* Services nested dropdown (Cleaning / Handyman) */
.navbar .nav-item.dropdown > .nav-link.services-dropdown-link::after {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: 0.2em;
  content: "";
  border-top: 0.35em solid currentColor;
  border-right: 0.35em solid transparent;
  border-bottom: 0;
  border-left: 0.35em solid transparent;
}
.navbar .dropdown-submenu {
  position: relative;
}
.navbar .dropdown-submenu > .dropdown-item.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  white-space: nowrap;
}
.navbar .dropdown-submenu > .dropdown-item.submenu-toggle::after {
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  border-top: 0.3em solid transparent;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid currentColor;
  border-right: 0;
  flex: 0 0 auto;
  margin: 0;
  float: none;
}
.navbar .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  margin-left: 0;
  position: absolute;
  min-width: 14rem;
}

@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }
  /* Override page styles that open every nested menu on parent hover */
  .navbar .nav-item.dropdown:hover .dropdown-submenu > .dropdown-menu {
    display: none !important;
  }
  .navbar .nav-item.dropdown .dropdown-submenu:hover > .dropdown-menu,
  .navbar .nav-item.dropdown .dropdown-submenu.show > .dropdown-menu {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .navbar .dropdown-submenu > .dropdown-menu {
    position: static;
    left: auto;
    float: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
  }
  .navbar .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown-submenu > .dropdown-item.submenu-toggle::after {
    border-top: 0.3em solid currentColor;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }

  /* Top-level Services menu: expand via .show (tap), not hover */
  .navbar .nav-item.dropdown > .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    margin: 0.5rem 0 0;
    box-shadow: none;
    border: 0;
    display: none;
  }
  .navbar .nav-item.dropdown.show > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.brand-logo {
  max-height: 230px;
  width: auto;
  height: auto;
  max-width: 230px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}


@media (max-width: 992px){

        .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        z-index: 3000;
        overflow-y: auto;
        padding-top: 20px; /* Reduced padding since logo will be hidden */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        padding: 8px;
        gap: 10px !important;
    }
    
    .nav-item {
        margin-bottom: 15px;
        text-align: center;
    }
    
    /* Hamburger stays clickable above page content when menu is closed */
    .navbar-toggler {
        position: relative;
        z-index: 3100 !important;
    }

    /* When menu is open, only show × — hide hamburger so both don't appear */
    body.menu-open .navbar-toggler {
        visibility: hidden;
        pointer-events: none;
    }

    .navbar-cancel-btn {
        position: absolute;
        top: 12px;
        right: 16px;
        z-index: 3101;
        background: none;
        border: none;
        font-size: 2rem;
        line-height: 1;
        color: #43a047;
        cursor: pointer;
    }
    
    /* Hide brand logo when menu is open */
    .navbar-collapse.show ~ .navbar-brand {
        display: none;
    }
    
    /* Show brand logo when menu is closed */
    .navbar-brand {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1100;
        transition: opacity 0.3s ease;
    }

    body.menu-open {
        overflow: hidden;
    }

}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 32px;
  text-align: center;
  line-height: 60px;
  z-index: 2147483000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.whatsapp-float i,
.make-req-float i {
  color: #fff !important;
  line-height: 1;
  font-size: 1em;
  display: inline-block;
}


.whatsapp-float:hover {
  background-color: #128C7E;
}

.make-req-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25D366;
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
  z-index: 2147483000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}


.make-req-float:hover {
  background-color: #128C7E;
}

@media (max-width: 568px) {
  .whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 10px;
  background-color: #25D366;
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 32px;
  text-align: center;
  line-height: 60px;
  z-index: 2147483000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.make-req-float {
  position: fixed;
  bottom: 90px;
  left: 10px;
  background-color: #25D366;
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
  z-index: 2147483000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
}
.about-us{
    font-size: 50px !important;
    text-align: center;
  }
.services{
    padding-left: 20px !important;
    text-align: justify;
    padding-right: 20px !important;
  }
.blog-link{
    padding-left: 20px !important;
    text-align: justify;
    padding-right: 20px !important;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  
  .container, .container-fluid {
    overflow-x: hidden;
  }
  
  .navbar-collapse {
    z-index: 3000 !important;
  }
  .navbar-toggler {
    z-index: 3100 !important;
  }
  .navbar-brand {
    z-index: 1000 !important;
  }
}

@media (max-width: 576px) {
  html, body {
    overflow-x: hidden;
  }
  
  .container, .container-fluid {
    overflow-x: hidden;
  }
}
