/* Mobile responsive styles for Veterans Support page hero section */

/* Mobile-specific styles - only affects screens 768px and below */
@media (max-width: 768px) {
  /* Hero section adjustments for mobile */
  .veterans-hero-mobile {
    height: 100vh !important;
    min-height: 600px;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  /* Adjust diagonal overlay for mobile */
  .veterans-hero-mobile .diagonal-overlay {
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%) !important;
    background: linear-gradient(135deg, rgba(23, 23, 23, 0.9) 0%, rgba(38, 38, 38, 0.8) 50%, rgba(0, 0, 0, 0.3) 100%) !important;
  }

  /* Content container mobile adjustments */
  .veterans-hero-mobile .hero-content {
    padding: 0 1rem;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 20;
  }

  /* Main headline mobile sizing */
  .veterans-hero-mobile h1 {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  /* Subheadline mobile sizing */
  .veterans-hero-mobile h2 {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
  }

  /* Description text mobile sizing */
  .veterans-hero-mobile p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
    max-width: 90%;
    color: rgba(255, 255, 255, 0.9);
  }

  /* CTA button mobile adjustments */
  .veterans-hero-mobile .cta-button {
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    border-width: 2px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-height: 48px; /* Touch-friendly minimum */
    min-width: 140px;
  }

  /* Button hover states for mobile (touch devices) */
  .veterans-hero-mobile .cta-button:active {
    transform: scale(0.98);
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Icon sizing in button */
  .veterans-hero-mobile .cta-button i {
    font-size: 1rem;
  }

  /* Hide decorative elements on mobile for better performance */
  .veterans-hero-mobile .decorative-blur {
    display: none;
  }

  /* Background image mobile optimization */
  .veterans-hero-mobile {
    background-attachment: scroll !important; /* Better performance on mobile */
    background-position: center center !important;
    background-size: cover !important;
  }
}

/* Extra small mobile devices (phones in portrait) */
@media (max-width: 480px) {
  .veterans-hero-mobile h1 {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }

  .veterans-hero-mobile h2 {
    font-size: 1.125rem !important;
    line-height: 1.3 !important;
  }

  .veterans-hero-mobile p {
    font-size: 0.95rem !important;
    max-width: 95%;
  }

  .veterans-hero-mobile .hero-content {
    padding: 0 0.75rem;
  }

  .veterans-hero-mobile .cta-button {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
}

/* Landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
  .veterans-hero-mobile {
    height: 100vh !important;
    min-height: 500px;
  }

  .veterans-hero-mobile h1 {
    font-size: 2.25rem !important;
  }

  .veterans-hero-mobile h2 {
    font-size: 1.125rem !important;
  }
}
