/* Sijam Responsive Enhancements */
/* Mobile-first approach with progressive enhancement */

/* ========================================
   BASE STYLES - Mobile First (320px+)
   ======================================== */

/* Improve touch targets for mobile */
.u-nav-link,
.u-btn,
button,
a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Better text readability on mobile */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal scroll on mobile */
.u-body {
  overflow-x: hidden;
}

/* Improve form elements on mobile */
input[type="text"],
input[type="email"],
textarea {
  font-size: 16px !important; /* Prevents zoom on iOS */
  width: 100%;
  -webkit-appearance: none;
  border-radius: 0;
}

/* Better spacing for mobile */
.u-sheet {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ========================================
   SMALL MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {
  /* Typography adjustments */
  h1, .u-text-1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  h4, h5 {
    font-size: 1.1rem !important;
  }

  p, .u-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  /* Stack navigation items */
  .u-nav-container {
    display: none;
  }

  /* Improve logo size on mobile */
  .u-logo-image {
    max-width: 150px !important;
  }

  /* Better spacing for sections */
  section {
    padding: 30px 0 !important;
  }

  /* Full-width buttons on mobile */
  .u-btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Stack list items vertically */
  .u-list-item {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* Improve form spacing */
  .u-form-group {
    margin-bottom: 20px !important;
  }
}

/* ========================================
   TABLET PORTRAIT (481px - 767px)
   ======================================== */
@media (min-width: 481px) and (max-width: 767px) {
  /* Typography */
  h1, .u-title {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 1.875rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  /* Two-column grid for lists */
  .u-repeater {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .u-list-item {
    width: 100% !important;
  }

  /* Better logo size */
  .u-logo-image {
    max-width: 180px !important;
  }

  /* Section spacing */
  section {
    padding: 40px 0 !important;
  }

  .u-sheet {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
}

/* ========================================
   TABLET LANDSCAPE (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Typography */
  h1, .u-title {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  /* Three-column grid for some sections */
  .u-section-2 .u-repeater,
  .u-section-4 .u-repeater {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }

  /* Four items still in 2x2 grid */
  .u-section-4 .u-repeater {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .u-list-item {
    width: 100% !important;
  }

  /* Navigation spacing */
  .u-nav-link {
    padding: 10px 15px !important;
  }

  .u-sheet {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

/* ========================================
   DESKTOP SMALL (1024px - 1279px)
   ======================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* Better use of space */
  .u-sheet {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  /* Four-column grid where appropriate */
  .u-section-4 .u-repeater {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }

  /* Two-column for about stats */
  .u-section-2 .u-repeater {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
  }

  /* Career cards in 2 columns */
  .u-section-2#carousel_f4c2 .u-repeater {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
}

/* ========================================
   DESKTOP LARGE (1280px - 1919px)
   ======================================== */
@media (min-width: 1280px) and (max-width: 1919px) {
  .u-sheet {
    max-width: 1140px !important;
    margin: 0 auto !important;
  }

  /* Optimize career cards layout */
  .u-section-2#carousel_f4c2 .u-repeater {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
  }
}

/* ========================================
   DESKTOP EXTRA LARGE (1920px+)
   ======================================== */
@media (min-width: 1920px) {
  .u-sheet {
    max-width: 1320px !important;
    margin: 0 auto !important;
  }

  /* Scale typography for large screens */
  h1, .u-title {
    font-size: 3.5rem !important;
  }

  h2 {
    font-size: 2.75rem !important;
  }

  p, .u-text {
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
  }
}

/* ========================================
   TEXT AND CONTENT IMPROVEMENTS
   ======================================== */

/* Better text wrapping for long technical terms */
h4, h5 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Improve line height for readability */
.u-text-2, .u-text-3, .u-text-5, .u-text-6, .u-text-8, .u-text-9, .u-text-12 {
  line-height: 1.7 !important;
}

/* Ensure proper spacing in sections with long content */
.u-list-item {
  min-height: 300px;
  padding: 25px !important;
}

/* Better spacing for core components section */
.u-section-3 .u-list-item {
  min-height: 150px !important;
  padding: 20px !important;
}

.u-section-3 h4 {
  margin-top: 15px !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
}

/* Career cards spacing improvements */
.u-section-2#carousel_f4c2 .u-list-item {
  min-height: 500px !important;
}

/* Why Join Us section spacing */
#sec-why-join {
  padding: 60px 0 !important;
}

#sec-why-join .u-sheet {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

#sec-why-join h2 {
  margin-bottom: 50px !important;
  font-size: 2.5rem !important;
}

#sec-why-join .u-list {
  margin-top: 0 !important;
}

#sec-why-join .u-repeater {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 40px !important;
}

#sec-why-join .u-list-item {
  width: 100% !important;
  min-height: auto !important;
  padding: 35px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  border-radius: 8px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#sec-why-join .u-list-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

#sec-why-join h4 {
  margin-bottom: 20px !important;
  margin-top: 0 !important;
  color: #478ac9 !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
}

#sec-why-join .u-text-3,
#sec-why-join .u-text-5,
#sec-why-join .u-text-7,
#sec-why-join .u-text-9 {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  color: #555 !important;
}

/* Mobile adjustments for Why Join Us */
@media (max-width: 991px) {
  #sec-why-join .u-repeater {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  #sec-why-join .u-list-item {
    padding: 25px !important;
  }

  #sec-why-join h2 {
    font-size: 2rem !important;
    margin-bottom: 35px !important;
  }
}

/* Careers page intro section */
.u-section-1#sec-762d {
  padding: 80px 0 60px !important;
  min-height: auto !important;
  overflow: visible !important;
}

.u-section-1#sec-762d h5 {
  margin-bottom: 15px !important;
  color: #478ac9 !important;
  font-weight: 600 !important;
}

.u-section-1#sec-762d h1 {
  margin-bottom: 30px !important;
  font-size: 3rem !important;
}

.u-section-1#sec-762d p {
  max-width: 800px !important;
  margin: 0 auto 30px !important;
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
}

.u-section-1#sec-762d .u-btn-1 {
  font-size: 1.2rem !important;
  padding: 15px 30px !important;
}

@media (max-width: 767px) {
  .u-section-1#sec-762d {
    padding: 60px 0 40px !important;
  }

  .u-section-1#sec-762d h1 {
    font-size: 2rem !important;
  }

  .u-section-1#sec-762d p {
    font-size: 1rem !important;
  }
}

/* Better spacing between sections */
section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

@media (max-width: 767px) {
  section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .u-list-item {
    min-height: auto !important;
    padding: 20px !important;
  }
}

/* ========================================
   HOME PAGE - METRICS SECTION
   ======================================== */

#sec-metrics {
  padding: 80px 0 !important;
  background: #ffffff !important;
}

#sec-metrics h2 {
  font-size: 2.5rem !important;
  margin-bottom: 60px !important;
  color: #2c3e50 !important;
  font-weight: 700 !important;
}

#sec-metrics .u-repeater {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px !important;
}

#sec-metrics .u-list-item {
  padding: 40px 20px !important;
  border-radius: 8px !important;
  background: #f8f9fa !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
}

#sec-metrics .u-list-item:hover {
  transform: translateY(-8px) !important;
  border-color: #478ac9 !important;
  box-shadow: 0 8px 24px rgba(71, 138, 201, 0.15) !important;
}

#sec-metrics h3 {
  font-size: 2.5rem !important;
  margin-bottom: 15px !important;
  font-weight: 700 !important;
}

#sec-metrics p {
  font-size: 1rem !important;
  color: #666 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

@media (max-width: 991px) {
  #sec-metrics .u-repeater {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
}

@media (max-width: 767px) {
  #sec-metrics {
    padding: 60px 0 !important;
  }

  #sec-metrics .u-repeater {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  #sec-metrics h2 {
    font-size: 2rem !important;
    margin-bottom: 40px !important;
  }

  #sec-metrics h3 {
    font-size: 2rem !important;
  }
}

/* Hero subtitle styling */
.u-text-hero-subtitle {
  margin-top: 25px !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  opacity: 0.95 !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 767px) {
  .u-text-hero-subtitle {
    font-size: 1.1rem !important;
    margin-top: 20px !important;
  }
}

/* ========================================
   ABOUT PAGE - MARKET MAKING SECTION
   ======================================== */

#sec-market-making {
  padding: 80px 0 !important;
  background: #ffffff !important;
}

#sec-market-making h1 {
  font-size: 2.5rem !important;
  margin-bottom: 60px !important;
  color: #2c3e50 !important;
  font-weight: 700 !important;
}

#sec-market-making .u-repeater {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 40px !important;
}

#sec-market-making .u-list-item {
  padding: 40px !important;
  border-radius: 8px !important;
  background: #f8f9fa !important;
  border-left: 4px solid #478ac9 !important;
  transition: all 0.3s ease !important;
}

#sec-market-making .u-list-item:hover {
  transform: translateX(5px) !important;
  box-shadow: 0 4px 20px rgba(71, 138, 201, 0.15) !important;
}

#sec-market-making h4 {
  font-size: 1.4rem !important;
  margin-bottom: 15px !important;
  color: #478ac9 !important;
  font-weight: 600 !important;
}

#sec-market-making p {
  font-size: 1rem !important;
  color: #555 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

@media (max-width: 991px) {
  #sec-market-making .u-repeater {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 767px) {
  #sec-market-making {
    padding: 60px 0 !important;
  }

  #sec-market-making h1 {
    font-size: 2rem !important;
    margin-bottom: 40px !important;
  }

  #sec-market-making .u-list-item {
    padding: 30px !important;
  }

  #sec-market-making h4 {
    font-size: 1.2rem !important;
  }
}

/* ========================================
   SPECIFIC COMPONENT IMPROVEMENTS
   ======================================== */

/* Header improvements */
@media (max-width: 991px) {
  .u-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  /* Improve mobile menu */
  .u-sidenav {
    width: 280px !important;
  }

  .u-menu-overlay {
    backdrop-filter: blur(5px);
  }
}

/* Hero section responsive */
.u-section-1 {
  min-height: 400px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

@media (max-width: 767px) {
  .u-section-1 {
    min-height: 300px !important;
    padding: 60px 20px !important;
  }

  .u-section-1 .u-title {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
}

/* About section image handling */
@media (max-width: 991px) {
  .u-image-1,
  .u-image-2 {
    margin: 0 auto 20px !important;
    max-width: 100% !important;
  }

  .u-group-1 {
    margin-top: 30px !important;
  }
}

/* Contact form improvements */
.u-form-1 {
  max-width: 600px !important;
  margin: 0 auto !important;
}

/* Contact page sections - ensure visibility */
.u-section-2 {
  overflow: visible !important;
}

/* Prevent email from wrapping */
.u-btn-1[href^="mailto"] {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

@media (max-width: 767px) {
  .u-form-1 {
    width: 100% !important;
  }

  .u-input {
    font-size: 16px !important; /* Prevent zoom on iOS */
  }
}

/* Career cards responsive */
@media (max-width: 767px) {
  .u-section-2#carousel_f4c2 .u-list-item {
    margin-bottom: 30px !important;
  }

  .u-image-circle {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 20px !important;
  }
}

/* Stats section (About page) */
@media (max-width: 767px) {
  .u-section-2 .u-list-item {
    padding: 30px 15px !important;
    margin-bottom: 15px !important;
  }

  .u-section-2 .u-icon {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Footer responsive */
footer {
  padding: 30px 20px !important;
}

@media (max-width: 767px) {
  footer {
    padding: 25px 15px !important;
  }

  footer .u-text {
    font-size: 0.75rem !important;
  }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #478ac9 !important;
  outline-offset: 2px !important;
}

/* Ensure sufficient color contrast */
.u-text-grey-60 {
  color: #666 !important;
}

/* Skip to main content (for screen readers) */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
}

.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  background: #478ac9;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Lazy load images */
img[loading="lazy"] {
  background: #f0f0f0;
}

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

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================
   SCROLL ANIMATIONS & FADE-IN EFFECTS
   ======================================== */

/* Initial state for animated elements */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state when scrolled into view */
.fade-in-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Smooth transitions for all interactive elements */
.u-list-item,
.u-btn,
.u-card,
a {
  transition: all 0.3s ease !important;
}

/* Add subtle scale effect on hover for cards */
.u-list-item:hover {
  transform: translateY(-5px) scale(1.02) !important;
}

/* Enhanced button hover effects */
.u-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(71, 138, 201, 0.3) !important;
}

/* Smooth opacity transitions */
.u-image,
img {
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.u-image:hover,
img:hover {
  opacity: 0.9 !important;
}

/* ========================================
   TYPOGRAPHY ENHANCEMENTS
   ======================================== */

/* Improved heading hierarchy */
h1, .u-title {
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}

h2 {
  font-weight: 600 !important;
  letter-spacing: -0.3px !important;
  line-height: 1.3 !important;
  color: #2c3e50 !important;
}

h3 {
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

h4 {
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

/* Better text rendering */
body,
p,
.u-text {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Improved paragraph spacing */
p {
  margin-bottom: 1rem !important;
}

p:last-child {
  margin-bottom: 0 !important;
}

/* Enhanced link styling */
a {
  text-decoration: none !important;
  position: relative;
}

a:not(.u-btn):hover {
  opacity: 0.8;
}

/* Subtle underline effect for text links */
.u-text a:not(.u-btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #478ac9;
  transition: width 0.3s ease;
}

.u-text a:not(.u-btn):hover::after {
  width: 100%;
}

/* ========================================
   MODERN VISUAL EFFECTS
   ======================================== */

/* Glassmorphism effect for header */
.u-header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
}

/* Enhanced shadows for depth */
.u-white,
.u-list-item,
.u-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Gradient overlays for hero sections - DISABLED as it hides background images */
/*.u-section-1 {
  position: relative;
  background: linear-gradient(135deg, rgba(71, 138, 201, 0.05) 0%, rgba(71, 138, 201, 0.02) 100%);
}*/

/* Subtle gradient borders */
.u-list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #478ac9, #5a9bd4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.u-list-item:hover::before {
  opacity: 1;
}

/* Improved focus indicators */
*:focus {
  outline: 2px solid #478ac9 !important;
  outline-offset: 3px !important;
  border-radius: 2px;
}

/* Smooth color transitions */
.u-nav-link,
.u-btn,
.u-text {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease !important;
}

/* Enhanced loading states */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Micro-interactions for buttons */
.u-btn {
  position: relative;
  overflow: hidden;
}

.u-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.u-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Enhanced card styling with depth */
#sec-metrics .u-list-item,
#sec-market-making .u-list-item,
#sec-why-join .u-list-item {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Shine effect on hover */
#sec-metrics .u-list-item::after,
#sec-market-making .u-list-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

#sec-metrics .u-list-item:hover::after,
#sec-market-making .u-list-item:hover::after {
  opacity: 1;
  left: 100%;
}

/* Improved section transitions */
section {
  transition: background-color 0.3s ease !important;
}

/* Enhanced navigation hover states */
.u-nav-link {
  position: relative;
}

.u-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #478ac9;
  transition: width 0.3s ease;
}

.u-nav-link:hover::after {
  width: 80%;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Staggered animation delays for list items */
.u-list-item:nth-child(1) {
  animation-delay: 0.1s;
}

.u-list-item:nth-child(2) {
  animation-delay: 0.2s;
}

.u-list-item:nth-child(3) {
  animation-delay: 0.3s;
}

.u-list-item:nth-child(4) {
  animation-delay: 0.4s;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS FOR ANIMATIONS
   ======================================== */

/* GPU acceleration for smooth animations */
.u-list-item,
.u-btn,
.fade-in-element,
.u-header {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize hover states on mobile */
@media (hover: none) and (pointer: coarse) {
  .u-list-item:hover {
    transform: none !important;
  }

  .u-btn:hover {
    transform: none !important;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  /* Hide navigation and non-essential elements */
  header,
  footer,
  .u-menu,
  .u-carousel-control {
    display: none !important;
  }

  /* Ensure proper page breaks */
  section {
    page-break-inside: avoid;
  }

  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  /* Remove animations for print */
  * {
    animation: none !important;
    transition: none !important;
  }
}
