 .cards-container {
     position: relative;
     z-index: 2;
     padding: 80px 0px;

 }

 .card-spacer {
     height: 100vh;
     height: 100dvh;
     position: relative;
 }

 .card {
     width: min(90vw, 1200px);
     height: min(65vh, 80dvh, 700px);
     position: fixed;
     top: 10vh;
     top: 24dvh;
     left: 50%;
     transform: translateX(-50%);
     pointer-events: none;
     will-change: transform, opacity;
     border: none;  
     border-radius: 15px;
 }

 .card-content {
     width: 100%;
     height: 100%;
     border-radius: 15px;
     border: none;
     overflow: hidden;
     position: relative;
     /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); */
     pointer-events: all;
     background: none !important;

 }

 .card-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     display: none;
 }

 .card-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 100%);
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: clamp(1.5rem, 5vw, 3.75rem);
 }

 .card-number {
     position: absolute;
     top: clamp(1.5rem, 5vw, 3.75rem);
     right: clamp(1.5rem, 5vw, 3.75rem);
     font-size: clamp(3rem, 12vw, 8rem);
     font-weight: 900;
     color: rgba(255, 255, 255, 0.08);
     line-height: 1;
     user-select: none;
 }

 .card-icon {
     width: clamp(50px, 8vw, 80px);
     height: clamp(50px, 8vw, 80px);
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border-radius: clamp(15px, 2vw, 20px);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: clamp(1.75rem, 3.5vw, 2.5rem);
     margin-bottom: clamp(1rem, 3vw, 1.875rem);
     flex-shrink: 0;
     display: none;
 }

 .card-image {
     position: absolute;
     right: 0;
     top: 0;
 }

 .card-title {
     font-size: 2rem;
     font-weight: 900;
     margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
     line-height: 1.1;
     letter-spacing: -0.02em;
     text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
     color: #ffffff;
 }

 .card-description {
     font-size: 16px;
     line-height: 1.6;
     max-width: 600px;
     color: rgba(255, 255, 255, 0.95);
     margin-bottom: clamp(1rem, 2vw, 1.25rem);
     text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
 }

 .card-tag {
     display: inline-block;
     background: rgba(255, 255, 255, 0.2);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     padding: clamp(8px, 1.5vw, 12px) clamp(20px, 3vw, 28px);
     border-radius: 50px;
     font-size: clamp(0.75rem, 1.2vw, 0.9rem);
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.08em;
     width: fit-content;
 }



 /* Landscape mobile specific */
 @media (max-height: 500px) and (orientation: landscape) {
     .card {
         height: 85vh;
         height: 85dvh;
         top: 7.5vh;
         top: 7.5dvh;
     }

     .card-overlay {
         padding: clamp(1rem, 3vw, 2rem);
     }

     .card-title {
         font-size: clamp(1.5rem, 4vw, 2.5rem);
     }

     .card-description {
         font-size: clamp(0.85rem, 1.5vw, 1rem);
         margin-bottom: 0.75rem;
     }

     .card-icon {
         margin-bottom: 0.75rem;
     }
 }

 /* Tablet optimizations */
 @media (min-width: 768px) and (max-width: 1024px) {
     .card {
         width: 85vw;
         height: 75vh;
         height: 75dvh;
     }
 }

 /* Mobile optimizations */
 @media (max-width: 767px) {
     .card {
         width: 92vw;
         height: 75vh;
         height: 75dvh;
     }

     .card-content {
         border-radius: 20px;
     }

 }

 /* Small mobile */
 @media (max-width: 375px) {
     .card {
         width: 95vw;
         height: 72vh;
         height: 72dvh;
     }

     .card-overlay {
         padding: 1.25rem;
     }
 }

 /* High resolution displays */
 @media (-webkit-min-device-pixel-ratio: 2),
 (min-resolution: 192dpi) {
     .card-bg {
         image-rendering: -webkit-optimize-contrast;
         image-rendering: crisp-edges;
     }
 }

 /* Reduce motion for accessibility */
 @media (prefers-reduced-motion: reduce) {
     * {
         animation-duration: 0.01ms !important;
         animation-iteration-count: 1 !important;
         transition-duration: 0.01ms !important;
     }
 }

 /* Dark mode support */
 @media (prefers-color-scheme: light) {
     body {
         background: #f5f5f5;
     }
 }