
/* Veterans-Inspired Behaviour Practitioners Page Styles */

/* Mobile responsive styles for Behaviour Practitioners page hero section */

/* Mobile-specific styles - only affects screens 768px and below */
@media (max-width: 768px) {
  /* Hero section adjustments for mobile */
  .behaviour-practitioners-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 */
  .behaviour-practitioners-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 */
  .behaviour-practitioners-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 */
  .behaviour-practitioners-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 */
  .behaviour-practitioners-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 */
  .behaviour-practitioners-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 */
  .behaviour-practitioners-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) */
  .behaviour-practitioners-hero-mobile .cta-button:active {
    transform: scale(0.98);
    background-color: rgba(255, 255, 255, 0.1);
  }

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

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

  /* Background image mobile optimization */
  .behaviour-practitioners-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) {
  .behaviour-practitioners-hero-mobile h1 {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }

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

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

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

  .behaviour-practitioners-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) {
  .behaviour-practitioners-hero-mobile {
    height: 100vh !important;
    min-height: 500px;
  }

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

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

/* Veterans-inspired color scheme */
:root {
  --veterans-primary: #1f2937;
  --veterans-secondary: #374151;
  --veterans-accent: #3b82f6;
  --veterans-neutral: #6b7280;
  --veterans-light: #f8fafc;
}

/* Enhanced glassmorphism effects */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Military-inspired hover effects */
.btn-hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-lift:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Card hover effects with military precision */
.card-hover-scale {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-scale:hover {
    transform: scale(1.03) translateY(-5px);
}

/* Professional gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--veterans-primary), var(--veterans-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Structured floating elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2n) {
    animation-delay: -2s;
}

.floating-element:nth-child(3n) {
    animation-delay: -4s;
}

/* Professional color scheme overrides */
.bg-veterans-primary {
    background-color: var(--veterans-primary);
}

.bg-veterans-secondary {
    background-color: var(--veterans-secondary);
}

.text-veterans-primary {
    color: var(--veterans-primary);
}

.text-veterans-accent {
    color: var(--veterans-accent);
}

/* Enhanced shadow effects */
.shadow-veterans {
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.15);
}

.shadow-veterans-lg {
    box-shadow: 0 30px 60px rgba(31, 41, 55, 0.2);
}

/* Military-inspired buttons */
.btn-veterans {
    background: linear-gradient(135deg, var(--veterans-primary) 0%, var(--veterans-secondary) 100%);
    color: white;
    border: 2px solid transparent;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.btn-veterans:hover {
    background: linear-gradient(135deg, var(--veterans-secondary) 0%, var(--veterans-primary) 100%);
    border-color: var(--veterans-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(31, 41, 55, 0.2);
}

/* Professional grid layouts */
.grid-veterans {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Enhanced typography for military theme */
.text-veterans-heading {
    font-family: 'Inter', 'Lato', 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--veterans-primary);
}

.text-veterans-subheading {
    font-family: 'Poppins', 'Inter', 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--veterans-secondary);
}

.text-veterans-body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--veterans-neutral);
    line-height: 1.6;
}

/* Professional card designs */
.card-veterans {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.1);
    transition: all 0.3s ease;
}

.card-veterans:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.15);
    transform: translateY(-8px);
}

/* Professional icon styling */
.icon-veterans {
    background: linear-gradient(135deg, var(--veterans-accent) 0%, #60a5fa 100%);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.icon-veterans:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Structured section backgrounds */
.section-veterans-primary {
    background: linear-gradient(135deg, var(--veterans-light) 0%, rgba(248, 250, 252, 0.8) 50%, #e2e8f0 100%);
}

.section-veterans-secondary {
    background: linear-gradient(135deg, #ffffff 0%, var(--veterans-light) 50%, #ffffff 100%);
}

/* Responsive adjustments for professional layout */
@media (max-width: 1024px) {
    .grid-veterans {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .card-veterans {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .floating-element {
        animation: none;
    }
    
    .grid-veterans {
        gap: 1rem;
        grid-template-columns: 1fr;
    }
}

/* Scroll-triggered animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Professional background patterns */
.bg-pattern-veterans {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(31, 41, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

/* Professional shadows */
.soft-shadow {
    box-shadow: 0 10px 25px rgba(31, 41, 55, 0.08);
}

.soft-shadow-lg {
    box-shadow: 0 20px 40px rgba(31, 41, 55, 0.12);
}

/* Custom scrollbar with military theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(248, 250, 252, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(31, 41, 55, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 41, 55, 0.5);
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--veterans-accent);
    outline-offset: 2px;
}

/* Professional loading states */
.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.0) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Professional spacing utilities */
.spacing-veterans-sm {
    padding: 1rem;
}

.spacing-veterans-md {
    padding: 2rem;
}

.spacing-veterans-lg {
    padding: 3rem;
}

.spacing-veterans-xl {
    padding: 4rem;
}

/* Military-inspired borders */
.border-veterans {
    border: 2px solid rgba(31, 41, 55, 0.1);
}

.border-veterans-accent {
    border: 2px solid var(--veterans-accent);
}

/* Professional transitions */
.transition-veterans {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-veterans-slow {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced mobile experience */
@media (max-width: 640px) {
    .spacing-veterans-sm {
        padding: 0.75rem;
    }
    
    .spacing-veterans-md {
        padding: 1.5rem;
    }
    
    .spacing-veterans-lg {
        padding: 2rem;
    }
    
    .spacing-veterans-xl {
        padding: 2.5rem;
    }
}

/* Professional print styles */
@media print {
    .card-veterans,
    .btn-veterans {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .floating-element {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card-veterans,
    .btn-veterans {
        border: 3px solid var(--veterans-primary);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none;
    }
}
