  /* ==== Custom Hero Slider ==== */
  :root { --hero-height: 95vh; --hero-min-h: 570px; --slide-speed: 600ms; --gap: 0; }

  .hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: min(var(--hero-height), 80vh);
    min-height: var(--hero-min-h);
    background: #f7f7f7;
    border-radius: 0 !important;
  }

  .hero-track {
    display: flex;
    gap: var(--gap);
    height: 100%;
    will-change: transform;
    transform: translateX(0);
    transition: transform var(--slide-speed) ease-in-out; /* smooth, simple slide */
  }

  .hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
  }

  /* CTA position */
  .hero .cta {
    position: absolute;
    left: 50%;
    bottom: 52px!important;
    transform: translateX(-50%);
    z-index: 2;
  }

  /* CTA pill — centered text */
  .hero .btn.myBtn {
    background: rgba(255,255,255,0.85);
    color: #111 !important;
    font-weight: 700;
    border: 1px solid #ddd;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 22px;     /* horizontal padding only */
    line-height: 1;      /* prevents vertical drift */
    text-align: center;
  }


  /* Dots */
  .hero-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    display: flex;
    gap: 8px;
    z-index: 2;
  }
  .hero-dots button {
    width: 7px; height: 7px;
    border-radius: 50%;
    border: none;
    background: #cfcfcf;
    cursor: pointer;
  }
  .hero-dots button[aria-current="true"] { background: #111; }

  /* Hover polish */
  @media (hover:hover) {
    .hero:hover .hero-track { transition-timing-function: ease; }
  }

  /* Small screens */
  @media (max-width: 575px) {
    :root { --hero-min-h: 360px; }
    .hero .btn.myBtn { padding: 0 16px; font-size: 14px; height: 40px; }
  }
  
  /* ===== MOBILE OVERRIDES (≤ 767px) ===== */
@media (max-width: 767px) {
  /* Smaller, taller-than-wide phones */
  :root {
    --hero-height: 26vh;   /* visual height for phones */
    --hero-min-h: 225px;   /* safety floor */
  }
  
  .logoHideMobile
          {
              display:none!important;
          }

  .hero {
    height: var(--hero-height);
    min-height: var(--hero-min-h);
    border-radius: 0 !important;
  }

  /* Make the photo frame nicely on phones */
  .hero-slide img {
    object-fit: cover;
    object-position: center center;   /* center subject on mobile */
  }

  /* Center the CTA pill horizontally and bring it up a bit */
  .hero .cta {
    left: 50%;
    bottom: 28px;                      /* was 84px */
    transform: translateX(-50%);
  }

  /* Ensure the button looks like a pill on mobile too */
  .hero .btn.myBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;                   /* horizontal only */
    font-size: 14px;
    line-height: 1;
    background: rgba(255,255,255,0.94) !important;
    color: #111 !important;
    border: 1px solid #ddd !important;
    border-radius: 999px !important;
    text-align: center;
  }

  /* Optional: hide arrows on mobile (cleaner; autoplay still works) */
  .hero-prev,
  .hero-next {
    display: none !important;
  }

  /* Keep dots close to the bottom edge */
  .hero-dots {
    bottom: 12px;
  }
  .myBtn
  {
      display:none!important;
  }
}