/* Air Freight Comprehensive Responsive Styles */

/* Base */
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .hero { height: 50vh !important; }
    .hero-title { font-size: 1.5rem !important; max-width: 100% !important; }
    .hero-description { font-size: 0.875rem !important; max-width: 100% !important; }
    .hero-tag { font-size: 0.875rem !important; padding: 0.5rem 1rem !important; }
    .main-title { font-size: 1.75rem !important; }
    .description { font-size: 14px !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"], h1[style*="font-size: 48px"] { font-size: 1.5rem !important; }
    h3[style*="font-size: 20px"] { font-size: 16px !important; }
    h4[style*="font-size: 20px"] { font-size: 16px !important; }
    p[style*="font-size: 18px"] { font-size: 14px !important; }
    p[style*="font-size: 15px"] { font-size: 13px !important; }
    div[style*="padding: 100px 20px"] { padding: 40px 12px !important; }
    div[style*="padding: 80px 20px"] { padding: 40px 12px !important; }
    div[style*="padding: 48px"] { padding: 20px !important; }
    div[style*="padding: 32px"] { padding: 16px !important; }
    div[style*="padding: 24px"] { padding: 12px !important; }
    div[style*="gap: 80px"] { gap: 24px !important; }
    div[style*="gap: 60px"] { gap: 20px !important; }
    div[style*="gap: 40px"] { gap: 16px !important; }
    div[style*="gap: 30px"] { gap: 12px !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; gap: 16px !important; }
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 20px !important; }
    div[style*="grid-template-columns: 5fr 7fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
    .content-wrapper[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; }
    div[style*="height: 500px"] { height: 300px !important; }
    div[style*="height: 600px"] { height: 350px !important; }
    div[style*="margin-bottom: 64px"] { margin-bottom: 32px !important; }
    div[style*="margin-bottom: 48px"] { margin-bottom: 24px !important; }
    .benefits-grid { grid-auto-rows: auto !important; }
    .benefit-card { min-height: 200px !important; }
    .nav-menu { display: none !important; }
}

/* Medium Mobile (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
    .hero { height: 55vh !important; }
    .hero-title { font-size: 1.75rem !important; max-width: 95% !important; }
    .hero-description { font-size: 1rem !important; max-width: 95% !important; }
    .main-title { font-size: 2rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 1.75rem !important; }
    h1[style*="font-size: 48px"] { font-size: 1.75rem !important; }
    p[style*="font-size: 18px"] { font-size: 15px !important; }
    div[style*="padding: 100px 20px"] { padding: 50px 16px !important; }
    div[style*="padding: 80px 20px"] { padding: 50px 16px !important; }
    div[style*="padding: 48px"] { padding: 24px !important; }
    div[style*="padding: 32px"] { padding: 20px !important; }
    div[style*="gap: 80px"] { gap: 32px !important; }
    div[style*="gap: 60px"] { gap: 24px !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 5fr 7fr"] { grid-template-columns: 1fr !important; }
    div[style*="height: 500px"] { height: 350px !important; }
    div[style*="height: 600px"] { height: 400px !important; }
    .nav-menu { display: none !important; }
}

/* Large Mobile (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .hero { height: 60vh !important; }
    .hero-title { font-size: 2rem !important; max-width: 90% !important; }
    .hero-description { font-size: 1rem !important; max-width: 90% !important; }
    .main-title { font-size: 2.25rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 2rem !important; }
    h1[style*="font-size: 48px"] { font-size: 2rem !important; }
    p[style*="font-size: 18px"] { font-size: 16px !important; }
    div[style*="padding: 100px 20px"] { padding: 60px 20px !important; }
    div[style*="padding: 80px 20px"] { padding: 60px 20px !important; }
    div[style*="padding: 48px"] { padding: 28px !important; }
    div[style*="gap: 80px"] { gap: 40px !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 5fr 7fr"] { grid-template-columns: 1fr !important; }
    div[style*="height: 500px"] { height: 400px !important; }
}

/* Small Tablets (769px - 834px) */
@media (min-width: 769px) and (max-width: 834px) {
    .hero-title { max-width: 80% !important; }
    .hero-description { max-width: 80% !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 2.5rem !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
    div[style*="grid-template-columns: 5fr 7fr"] { grid-template-columns: 1fr !important; }
    div[style*="padding: 100px 20px"] { padding: 70px 24px !important; }
}

/* Medium Tablets (835px - 1024px) */
@media (min-width: 835px) and (max-width: 1024px) {
    .hero-title { max-width: 75% !important; }
    .hero-description { max-width: 75% !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
    div[style*="grid-template-columns: 5fr 7fr"] { grid-template-columns: 1fr !important; gap: 40px !important; }
    div[style*="padding: 100px 20px"] { padding: 80px 32px !important; }
}

/* Large Tablets (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 1100px !important; }
    .hero-title { max-width: 70% !important; }
    .hero-description { max-width: 70% !important; }
}

/* Small Laptops (1281px - 1440px) */
@media (min-width: 1281px) and (max-width: 1440px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 1280px !important; }
    .hero-title { max-width: 65% !important; }
    .hero-description { max-width: 65% !important; }
}

/* Medium Laptops (1441px - 1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 1400px !important; }
}

/* Large Laptops & Small Monitors (1921px - 2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 1600px !important; }
    .hero-title { font-size: 5rem !important; }
    .hero-description { font-size: 1.5rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 4rem !important; }
    h1[style*="font-size: 48px"] { font-size: 3.5rem !important; }
    p[style*="font-size: 18px"] { font-size: 22px !important; }
    div[style*="padding: 100px 20px"] { padding: 120px 40px !important; }
}

/* Medium Monitors (2561px - 3440px) */
@media (min-width: 2561px) and (max-width: 3440px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 2000px !important; }
    .hero-title { font-size: 6rem !important; }
    .hero-description { font-size: 1.75rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 5rem !important; }
    h1[style*="font-size: 48px"] { font-size: 4.5rem !important; }
    p[style*="font-size: 18px"] { font-size: 26px !important; }
    h3[style*="font-size: 20px"] { font-size: 28px !important; }
    div[style*="padding: 100px 20px"] { padding: 140px 60px !important; }
    div[style*="height: 500px"] { height: 700px !important; }
    div[style*="height: 600px"] { height: 800px !important; }
}

/* Large Monitors (3441px - 5120px) */
@media (min-width: 3441px) and (max-width: 5120px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 2400px !important; }
    .hero-title { font-size: 7rem !important; }
    .hero-description { font-size: 2rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 6rem !important; }
    h1[style*="font-size: 48px"] { font-size: 5.5rem !important; }
    p[style*="font-size: 18px"] { font-size: 32px !important; }
    h3[style*="font-size: 20px"] { font-size: 36px !important; }
    div[style*="padding: 100px 20px"] { padding: 160px 80px !important; }
    div[style*="height: 500px"] { height: 900px !important; }
    div[style*="height: 600px"] { height: 1000px !important; }
}

/* 49" Odyssey OLED G9 (5120x1440) */
@media (min-width: 5120px) and (max-height: 1440px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 3200px !important; }
    .hero-title { font-size: 8rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 7rem !important; }
}

/* 57" Odyssey Neo G9 (7680x2160) */
@media (min-width: 7680px) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 4000px !important; }
    .hero-title { font-size: 10rem !important; }
    h1[style*="font-size: 52px"], h1[style*="font-size: 56px"] { font-size: 9rem !important; }
    p[style*="font-size: 18px"] { font-size: 40px !important; }
}

/* Vertical/Portrait Monitors */
@media (orientation: portrait) and (min-width: 1080px) {
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: 5fr 7fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
}

/* Ultra-wide Landscape */
@media (orientation: landscape) and (min-aspect-ratio: 21/9) {
    .container, div[style*="max-width: 1400px"], div[style*="max-width: 1200px"] { max-width: 90vw !important; }
}

/* Ensure all sections scale properly */
@media (max-width: 768px) {
    section { overflow-x: hidden !important; }
    .benefits-grid, .services-grid { grid-template-columns: 1fr !important; }
    .wide-card, .tall-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}
