/* Minimal Navigation Styles */

/* Desktop Navigation */
.nav-tab-minimal {
  position: relative;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  color: #6b7280;
  border: none;
  cursor: pointer;
  outline: none;
  font-size: 14px;
}

.nav-tab-minimal:hover {
  background: #f3f4f6;
  color: #003a80;
}

.nav-tab-minimal.active {
  background: #003a80;
  color: white;
}

/* Mobile Navigation */
.mobile-nav-minimal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  z-index: 100;
  padding: 12px 0 20px;
}

.mobile-nav-buttons-minimal {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 16px;
  gap: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-buttons-minimal::-webkit-scrollbar {
  display: none;
}

.mobile-nav-button-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 70px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.mobile-nav-button-minimal i {
  font-size: 18px;
  margin-bottom: 4px;
}

.mobile-nav-button-minimal.active {
  color: #003a80;
  background: #f0f7ff;
}

.mobile-nav-button-minimal:hover {
  background: #f3f4f6;
}

/* Simplified Profile Image */
.profile-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.profile-image-container::before {
  display: none; /* Remove the pulsing animation */
}

.profile-image {
  position: relative;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.2s ease;
}

.profile-image-container:hover .profile-image {
  transform: scale(1.02);
}

/* General Improvements */
body {
  line-height: 1.6;
}

/* Override old styling for consistency */
.bg-white.rounded-xl {
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.2s ease !important;
}

.bg-white.rounded-xl:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  transform: none !important;
}

/* Content Cards - More minimal styling */
.bg-white {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

.bg-white:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Better spacing for lists */
ul {
  margin-top: 16px;
}

li {
  margin-bottom: 8px;
}

/* Improved typography hierarchy */
h1 {
  font-weight: 700;
}

h2 {
  font-weight: 600;
}

h3 {
  font-weight: 600;
}

/* Better link hover states */
a {
  transition: color 0.2s ease;
}

/* Improved button styling */
button, .inline-flex {
  transition: all 0.2s ease;
}

/* Mobile Responsive Improvements */
@media (max-width: 480px) {
  /* Extra small screens */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .bg-white {
    padding: 16px !important;
    margin-bottom: 12px;
  }
  
  h1 {
    font-size: 1.75rem !important; /* 28px */
  }
  
  h2 {
    font-size: 1.125rem !important; /* 18px */
  }
  
  .mobile-nav-button-minimal {
    min-width: 60px;
    font-size: 10px;
  }
  
  .mobile-nav-button-minimal i {
    font-size: 16px;
  }
  
  /* Better mobile image sizing */
  img[alt*="logo"], img[alt*="Logo"], img[src*="logo"] {
    max-width: 60px !important;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 100px; /* Account for mobile nav */
  }
  
  .mobile-nav-minimal {
    display: block;
  }
  
  .desktop-nav-tabs {
    display: none;
  }
  
  /* Hide sticky navigation on mobile */
  .sticky {
    display: none !important;
  }
  
  /* Better mobile spacing */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Mobile typography improvements */
  h1 {
    font-size: 1.875rem !important; /* 30px */
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.25rem !important; /* 20px */
    line-height: 1.3;
  }
  
  /* Better button sizing for mobile */
  .mobile-nav-button-minimal {
    min-height: 44px; /* Better touch target */
    padding: 10px 8px;
  }
  
  /* Improved card spacing on mobile */
  .bg-white {
    margin-bottom: 16px;
    padding: 20px !important;
  }
  
  /* Stack elements better on mobile */
  .flex-col.md\\:flex-row {
    gap: 16px;
  }
  
  /* Better link styling on mobile */
  .inline-flex {
    font-size: 12px;
    padding: 6px 10px !important;
  }
  
  /* Improve text readability on mobile */
  li {
    line-height: 1.6;
    margin-bottom: 8px;
  }
  
  /* Better profile image on mobile */
  .profile-image-container {
    margin: 0 auto;
  }
  
  /* Better hero section on mobile */
  header .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  
  /* Improve button layout on mobile */
  .flex.flex-wrap.justify-center {
    gap: 12px;
  }
  
  /* Social links spacing */
  .flex.justify-center.md\\:justify-start {
    gap: 20px;
  }
  
  /* Better image responsiveness */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Company logo styling for mobile */
  .flex-col.lg\\:flex-row img,
  .flex-col.md\\:flex-row img {
    align-self: flex-start;
    margin-top: 8px;
    max-width: 80px;
  }
  
  /* Right-side company logos */
  .lg\\:self-center {
    align-self: center;
  }
  
  /* Make all company images visible on mobile */
  img[alt*="logo"], img[alt*="Logo"], img[src*="logo"] {
    display: block !important;
  }
  
  /* Touch-friendly links and buttons */
  a, button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 769px) {
  .desktop-nav-tabs {
    display: flex;
  }
}

/* Print Styles */
@media print {
  .mobile-nav-minimal,
  .no-print {
    display: none !important;
  }
  
  main {
    padding-bottom: 0 !important;
  }
  
  .sticky {
    position: static !important;
  }
  
  /* Optimize print layout */
  body {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  /* Reduce card spacing for print */
  .bg-white {
    margin-bottom: 8px !important;
    padding: 12px !important;
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
  }
  
  /* Prevent page breaks inside cards */
  .bg-white {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  /* Better typography for print */
  h1 {
    font-size: 24px !important;
    margin-bottom: 8px !important;
  }
  
  h2 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  
  h3 {
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }
  
  /* Compact lists for print */
  ul {
    margin-top: 8px !important;
  }
  
  li {
    margin-bottom: 4px !important;
    font-size: 11px;
  }
  
  /* Hide company images in print to save space */
  img[alt*="logo"], img[alt*="Logo"], img[src*="logo"] {
    display: none !important;
  }
  
  /* Compact badges */
  .bg-primary {
    font-size: 10px !important;
    padding: 2px 8px !important;
  }
  
  /* Remove unnecessary spacing */
  .gap-2, .gap-3, .gap-4 {
    gap: 4px !important;
  }
  
  /* Compact sections */
  main {
    padding: 16px 0 !important;
  }
  
  /* Remove page breaks for continuous printing */
  .page-break {
    page-break-before: avoid;
    break-before: avoid;
  }
  
  /* Avoid orphans and widows */
  p, li {
    orphans: 2;
    widows: 2;
  }
}

/* Focus states for accessibility */
.nav-tab-minimal:focus,
.mobile-nav-button-minimal:focus {
  outline: 2px solid #003a80;
  outline-offset: 2px;
}

/* Better scrollbar for horizontal navigation */
.overflow-x-auto::-webkit-scrollbar {
  height: 4px;
}

.overflow-x-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
