/* === VHS for Life Mobile Header Fix (Samsung S22 optimized) === */
@media (max-width: 430px) {

  /* Header wrapper */
  .site-header {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
    padding: 10px 15px !important;
  }

  /* Logo/title and tagline */
  .site-title {
    font-size: 3rem !important;
    color: #31405d !important;
    font-weight: 700 !important;
    margin: 0 !important;
    text-align: right !important;
  }

  .site-description {
    font-size: 2.3rem !important;
    color: #81d742 !important;
    font-style: italic !important;
    text-align: right !important;
    margin-top: 0.2rem !important;
  }

  /* Contact info (phone/email) */
  .header-contact-info {
    text-align: right !important;
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    margin-top: 6px !important;
    color: #81d742 !important;
    padding-right: 6px !important;      /* shift further right */
  }

  .header-contact-info a {
    color: #81d742 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
  }

  /* Ensure the menu icon is visible and top-right aligned */
  .btn-menu {
    display: block !important;
    position: absolute !important;
    top: 6px !important;
    right: 12px !important;
    z-index: 9999 !important;
    color: #31405d !important;
    font-size: 28px !important;
  }

  /* Social icons */
  .header-social-icons {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: 5px !important;
    color: #81d742 !important;
    padding-right: 6px !important;
  }

  /* Carousel adjustments */
  .vhs-marquee-track {
    animation-duration: 70s !important; /* slower scroll */
    gap: 4px !important;                /* smaller spacing */
  }
}
/* ===== MOBILE HEADER FIXES - VHS for Life ===== */
@media (max-width: 768px) {

  /* Header layout */
  header.site-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem;
  }

  /* VHS for Life title */
  .site-title {
    font-size: 2.2rem !important;
    text-align: left !important;
    color: #fff !important;
  }

  /* Tagline smaller than title */
  .site-description {
    font-size: 1.4rem !important;
    margin-top: -0.3rem !important;
    text-align: left !important;
  }

  /* Contact stack right aligned */
  .header-contact-info {
    text-align: right !important;
    font-size: 1.2rem !important;
    margin-top: 0.3rem !important;
  }

  /* Menu icon top-right */
  .btn-menu {
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.8rem !important;
    z-index: 999 !important;
  }

  /* Social icons inside header bottom-left */
  .header-social {
    position: absolute !important;
    bottom: 0.3rem !important;
    left: 0.8rem !important;
    transform: scale(1.5); /* double size */
  }

  /* Carousel tweaks */
  .owl-carousel .owl-item {
    margin-right: 0.3rem !important;
  }
  .owl-carousel {
    animation-duration: 10s !important; /* slow down rotation */
  }

  /* Reduce font for Preserve and Digitize lines */
  .front-page .section-title,
  .front-page .section-subtitle {
    font-size: 1.1rem !important;
  }
}
