header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%), url(https://images.unsplash.com/photo-1571645163064-77faa9676a46?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

/* Base navbar */
#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, .5) 0%,
      rgba(0, 0, 0, .1) 100%
    ) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  #mainNav .navbar-brand {
    color: #d4d3d3;
  }

  #mainNav.navbar-shrink .navbar-brand {
    color: #444;
  }

  /* Mobile navbar hamburger (toggler) icon - force white */
  #mainNav:not(.navbar-shrink) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
  }

  #mainNav:not(.navbar-shrink) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  @media (max-width: 991.98px) {
    #mainNav.navbar-expanded {
      background: rgb(23, 22, 22) !important;
    }
  }

  /* #mainNav .navbar-toggler {
    border: 1px solid #fff
  } */

  #mainNav.navbar-shrink {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background: #fff !important;
  }
  
  
  /* Links */
  #mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: "Merriweather Sans", -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
  }

  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link{
    color: rgb(41, 41, 41);
    font-weight: 400;
  }
  
  #mainNav .navbar-nav .nav-item .nav-link:hover,
  #mainNav .navbar-nav .nav-item .nav-link.active {
    color: #f4623a;
    font-weight: 600;
  }
  
  /* Desktop behavior */
  @media (min-width: 992px) {
    #mainNav {
      box-shadow: none;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 100%
      );
    }
  
    #mainNav .navbar-brand {
      color: rgba(255, 255, 255, 0.9);
    }
  
    #mainNav .navbar-brand:hover {
      color: #ffffff;
    }
  
    #mainNav .navbar-nav .nav-item .nav-link {
      color: rgba(255, 255, 255, 0.85);
      padding: 0 1rem;
    }
  
    #mainNav .navbar-nav .nav-item .nav-link:hover {
      color: #ffffff;
    }
  
    /* Navbar shrink (on scroll) */
    #mainNav.navbar-shrink {
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
      background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #f8f9fa 100%
      );
    }
  
    #mainNav.navbar-shrink .navbar-brand {
      color: #212529;
    }
  
    #mainNav.navbar-shrink .navbar-brand:hover {
      color: #f4623a;
    }
  
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
      color: #212529;
    }
  
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
      color: #f4623a;
    }
  }
  
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 56px;              /* default circle */
    height: 56px;

    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;

    overflow: hidden;
    transition: width 0.3s ease;
}

/* icon */
.whatsapp-float i {
    font-size: 28px;
    min-width: 28px;
    position: absolute;
}

.whatsapp-float i, .whatsapp-float span {
    color: #fff;
}

/* hidden text */
.whatsapp-text {
    white-space: nowrap;
    margin-left: 10px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.2s ease, transform 0.3s ease;
}

/* hover expand */
.whatsapp-float:hover {
    width: 140px; /* expands to reveal text */
    justify-content: flex-start;
    padding-left: 16px;
}

/* reveal text */
.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
    margin-left: 40px;
}

/* mobile: icon only */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 56px !important;
    }

    .whatsapp-text {
        display: none;
    }
}

  