:root {
    /* Premium Colors */
    --bg-darker: #070B14;
    --bg-dark: #070B14;
    --bg-card: rgba(13, 19, 36, 0.7);
    --primary: #1E90FF; /* Nash Blue */
    --primary-alt: #6C63FF;
    --brand-orange: #FF8C00; /* Go Orange */
    --gold: #F5B942;
    --text-white: #FFFFFF;
    --text-muted: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow: 0 0 20px rgba(30, 144, 255, 0.3);
}


.fw-900 {
    font-weight: 900 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-white);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.text-muted, .text-white-50 {
    color: var(--text-white) !important;
    opacity: 0.95;
}

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

/* --- Animated Background Elements --- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: blobPulse 20s infinite alternate;
}

.blob-1 {
    background: var(--primary);
    top: -10%;
    right: -5%;
}

.blob-2 {
    background: var(--primary-alt);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

@keyframes blobPulse {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.2) translate(-50px, 50px); }
    100% { transform: scale(1) translate(100px, -50px); }
}

/* --- Navbar Styling --- */
.navbar-custom {
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar-custom.sticky {
    background: rgba(7, 11, 20, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.brand-logo .go-text {
    color: var(--brand-orange);
}

.brand-logo .dot {
    color: white;
}


.nav-link-custom {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    margin: 0 1.2rem;
    transition: var(--transition);
    position: relative;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--text-white);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link-custom:hover::after, .nav-link-custom.active::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span.nash-text {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-title span.go-text {
    color: var(--brand-orange);
    background: none;
    -webkit-text-fill-color: initial;
}


.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-premium {
    padding: 1.1rem 2.8rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary-lux {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: white;
    box-shadow: var(--glow);
}

.btn-primary-lux:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.5);
    color: white;
}

.btn-secondary-lux {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
    margin-right: 1rem;
}

.btn-secondary-lux:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    color: white;
}

/* --- Booking Floating Form --- */
.booking-float {
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.form-group-lux {
    margin-bottom: 1.2rem;
}

.form-label-lux {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-input-lux {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    transition: var(--transition);
}

.form-input-lux:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.1);
}

/* --- Section Headings --- */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1E90FF, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Service Cards --- */
.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    background: rgba(255,255,255,0.05);
    border-color: var(--primary-alt);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(108, 99, 255, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: white;
    transform: rotate(10deg);
}

/* --- Fleet Section --- */
.fleet-card {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 450px;
    cursor: pointer;
}

.fleet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition);
}

.fleet-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 11, 20, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: var(--transition);
}

.fleet-card:hover img {
    transform: scale(1.1);
}

.fleet-card:hover .fleet-overlay {
    padding-bottom: 3.5rem;
}

/* --- Destinations --- */
.dest-card-lux {
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.dest-card-lux img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.dest-card-lux::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 70%);
}

.dest-info {
    position: absolute;
    bottom: 25px;
    right: 25px;
    left: 25px;
    z-index: 2;
}

.dest-card-lux:hover img {
    transform: scale(1.1);
}

/* --- Stats Animation --- */
.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.footer-lux {
    background: var(--bg-dark);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

/* --- Responsive Adjustments --- */
.py-100 {
    padding: 100px 0;
}

.bg-dark {
    background: var(--bg-darker); /* Pure Dark */
}

.why-us-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #1E90FF, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-flex {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.why-us-img {
    height: auto;
    width: 100%;
    object-fit: contain; /* Ensure full image is visible */
    display: block;
    transition: var(--transition);
}

/* RTL Specific Overrides */
[dir="rtl"] .btn-secondary-lux {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .footer-link:hover {
    transform: translateX(5px);
}


/* ═══════════════════════════════════════════════════════════════════
   3D IMMERSIVE SCROLL ENGINE STYLES
   ═══════════════════════════════════════════════════════════════════ */

/* --- 3D Scroll Reveal Animation --- */
.scroll-reveal-3d {
    opacity: 0;
    transform: perspective(1000px) translateY(60px) rotateX(8deg) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.scroll-reveal-3d.revealed-3d {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateX(0) scale(1);
}

/* Stagger children reveal */
.row > [class*="col-"] .scroll-reveal-3d:nth-child(1) { transition-delay: 0.05s; }
.row > [class*="col-"]:nth-child(2) .scroll-reveal-3d { transition-delay: 0.15s; }
.row > [class*="col-"]:nth-child(3) .scroll-reveal-3d { transition-delay: 0.25s; }
.row > [class*="col-"]:nth-child(4) .scroll-reveal-3d { transition-delay: 0.35s; }

/* --- Floating 3D Geometric Shapes --- */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) rotateX(15deg) rotateY(10deg) rotateZ(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotateX(5deg) rotateY(-15deg) rotateZ(-3deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-25px) rotateX(-10deg) rotateY(5deg) rotateZ(8deg);
        opacity: 0.5;
    }
}

.floating-3d-shape {
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    background: rgba(30, 144, 255, 0.02);
}

/* --- Enhanced Service Card 3D --- */
.service-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0) 0%, rgba(30, 144, 255, 0.1) 50%, rgba(108, 99, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

/* --- Fleet Card 3D Depth --- */
.fleet-card {
    transform-style: preserve-3d;
}

.fleet-overlay {
    transform: translateZ(20px);
}

.fleet-card:hover .fleet-overlay h4 {
    transform: translateZ(30px);
    transition: transform 0.4s ease;
}

/* --- Section Headers 3D Float --- */
.section-header h2 {
    position: relative;
    transform-style: preserve-3d;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-alt));
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.4);
}

/* --- Stats Counter 3D Glow --- */
.stat-number {
    text-shadow: 0 0 30px rgba(30, 144, 255, 0.3);
    transform-style: preserve-3d;
}

/* --- Destination Cards Depth --- */
.dest-card-lux {
    transform-style: preserve-3d;
}

.dest-info {
    transform: translateZ(25px);
}

/* --- Hero 3D Depth Layers --- */
.hero {
    transform-style: preserve-3d;
    perspective: 1500px;
}

.hero-badge,
.hero-title,
.hero-desc {
    transform-style: preserve-3d;
    will-change: transform;
}

/* --- Glowing Border on Scroll --- */
.service-card,
.fleet-card,
.dest-card-lux {
    position: relative;
}

.service-card::after,
.fleet-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(30, 144, 255, 0.15) 0%, 
        transparent 40%, 
        transparent 60%, 
        rgba(108, 99, 255, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::after,
.fleet-card:hover::after {
    opacity: 1;
}

/* --- Scroll Progress Bar Glow --- */
#scrollProgress3D {
    background: linear-gradient(90deg, #1E90FF, #6C63FF, #FF8C00) !important;
}

/* --- Partner Logos 3D Hover --- */
.partner-logo {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.partner-logo:hover {
    transform: perspective(500px) rotateY(10deg) scale(1.1);
}

/* --- CTA Section Glow Effect --- */
.booking-float {
    position: relative;
    overflow: hidden;
}

.booking-float::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(30, 144, 255, 0.03), transparent, rgba(108, 99, 255, 0.03), transparent);
    animation: rotateGlow 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    100% { transform: rotate(360deg); }
}

/* --- Section Wave Divider --- */
.section-wave-divider svg path {
    animation: wavePulse 6s ease-in-out infinite;
}

@keyframes wavePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Performance: Reduce Motion for Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal-3d {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .floating-3d-shape,
    #particleCanvas {
        display: none !important;
    }
    .booking-float::before {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE DESIGN
   Android, iPhone, iPad, Foldables, All Screen Sizes
   ═══════════════════════════════════════════════════════════════════ */

/* --- Touch Device Optimizations (All Mobile) --- */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn-premium {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    .nav-link-custom {
        padding: 10px 15px !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-link {
        padding: 8px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Disable 3D tilt on touch (no hover) */
    .service-card,
    .fleet-card,
    .dest-card-lux,
    .booking-float {
        transform: none !important;
    }

    /* Disable glow cursor on touch */
    #glowCursor {
        display: none !important;
    }


    /* Remove hover-only effects */
    .service-card:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
        background: rgba(255,255,255,0.05);
        border-color: var(--primary-alt);
    }

    .fleet-card:hover img {
        transform: none;
    }

    .partner-logo:hover {
        transform: none;
    }
}

/* --- Small Phones (iPhone SE, Galaxy S series folded) 320px-480px --- */
@media (max-width: 480px) {
    .hero {
        min-height: 100svh; /* Safe viewport height */
        padding-top: 70px;
        background-attachment: scroll; /* Fix iOS parallax */
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-premium {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .d-flex.gap-3.mt-4 {
        flex-direction: column;
        gap: 10px !important;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .section-header h2::after {
        width: 40px;
        height: 3px;
    }

    .py-100 {
        padding: 60px 0;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        border-radius: 14px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .fleet-card {
        height: 280px;
        border-radius: 20px;
    }

    .fleet-overlay {
        padding: 1.5rem;
    }

    .fleet-overlay h4 {
        font-size: 1rem;
    }

    .dest-card-lux {
        height: 220px;
        border-radius: 18px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .why-us-title {
        font-size: 1.8rem !important;
    }

    .why-us-img {
        max-height: 250px;
        object-fit: cover;
    }

    .footer-lux {
        padding: 50px 0 30px;
    }

    .brand-logo {
        font-size: 1.4rem;
    }

    .partner-logo span {
        font-size: 1.5rem !important;
    }

    /* Booking form mobile */
    .booking-float {
        border-radius: 20px;
        padding: 1.2rem !important;
        margin-top: 10px !important;
    }

    .form-input-lux {
        padding: 0.8rem;
        border-radius: 10px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .form-label-lux {
        font-size: 0.85rem;
    }

    /* Modal responsive */
    .modal-content {
        border-radius: 16px;
        margin: 10px;
    }

    .modal-body {
        padding: 1rem !important;
    }

    /* Scroll reveal lighter on small phones */
    .scroll-reveal-3d {
        transform: translateY(20px);
    }

    .floating-3d-shape {
        display: none !important;
    }

    #particleCanvas {
        opacity: 0.3 !important;
    }

    /* Disable 3D on hero for mobile */
    .hero {
        transform-style: flat !important;
        perspective: none !important;
    }

    .hero-badge,
    .hero-title,
    .hero-desc {
        transform: none !important;
        transform-style: flat !important;
    }
}

/* --- Regular Phones (iPhone, Galaxy, Pixel) 481px-767px --- */
@media (min-width: 481px) and (max-width: 767px) {
    .hero {
        min-height: 100svh;
        padding-top: 75px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .btn-premium {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .py-100 {
        padding: 70px 0;
    }

    .service-card {
        padding: 2rem;
    }

    .fleet-card {
        height: 320px;
    }

    .dest-card-lux {
        height: 260px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .why-us-title {
        font-size: 2.2rem !important;
    }

    .floating-3d-shape {
        display: none;
    }

    #glowCursor {
        display: none !important;
    }

    .section-header h2::after {
        width: 50px;
        height: 3px;
    }

    /* Disable 3D on hero for mobile */
    .hero {
        transform-style: flat !important;
        perspective: none !important;
    }

    .hero-badge,
    .hero-title,
    .hero-desc {
        transform: none !important;
        transform-style: flat !important;
    }
}

/* --- Tablets (iPad, Galaxy Tab, Surface) 768px-1024px --- */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        background-attachment: scroll; /* Better tablet performance */
    }

    .hero-title {
        font-size: 3.2rem !important;
    }

    .py-100 {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .fleet-card {
        height: 380px;
    }

    .dest-card-lux {
        height: 300px;
    }

    .service-card {
        padding: 2rem;
    }

    .why-us-title {
        font-size: 2.5rem !important;
    }

    .booking-float {
        padding: 2rem !important;
    }

    #glowCursor {
        display: none !important;
    }
}

/* --- Tablet Landscape --- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .fleet-card {
        height: 350px;
    }
}

/* --- Foldable Phones (Galaxy Fold, Pixel Fold) --- */
/* Folded state (narrow ~280-320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.6rem !important;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .hero-desc {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn-premium {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .fleet-card {
        height: 220px;
    }

    .dest-card-lux {
        height: 180px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .partner-logo span {
        font-size: 1.2rem !important;
    }

    .navbar-custom .container {
        padding: 0 10px;
    }
}

/* Foldable Unfolded (wide tablet-like ~700-900px) */
@media (min-width: 700px) and (max-width: 900px) and (min-resolution: 2dppx) {
    .hero-title {
        font-size: 3rem !important;
    }

    .col-lg-3 {
        width: 50% !important;
    }
}

/* --- Phone Landscape Mode --- */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: 100svh;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .py-100 {
        padding: 50px 0;
    }

    .fleet-card {
        height: 280px;
    }

    .navbar-custom {
        padding: 0.4rem 0;
    }

    .navbar-custom.sticky {
        padding: 0.3rem 0;
    }
}

/* --- Safe Area Insets (iPhone X+, Notched Phones) --- */
@supports (padding-top: env(safe-area-inset-top)) {
    .navbar-custom {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }

    .navbar-custom.sticky {
        padding-top: calc(0.7rem + env(safe-area-inset-top));
    }

    .footer-lux {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .hero {
        padding-top: calc(80px + env(safe-area-inset-top));
    }

    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* --- High DPI Screens (Retina, AMOLED) --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .section-header h2::after {
        height: 3px;
    }

    #scrollProgress3D {
        height: 2px !important;
    }
}

/* --- Dark Mode Enhancement (OLED Screens) --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-darker: #000000;
        --bg-dark: #000000;
    }
}

/* --- Performance: Reduce Motion for Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal-3d {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .floating-3d-shape,
    #particleCanvas {
        display: none !important;
    }

    .booking-float::before {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* --- Fix iOS Background Attachment --- */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll !important;
    }
}

/* --- Print Styles --- */
@media print {
    .navbar-custom,
    #particleCanvas,
    #scrollProgress3D,
    #glowCursor,
    .floating-3d-shape,
    .section-wave-divider {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* --- Info Modal & Section Styles --- */
.info-modal-content {
    background: var(--bg-darker) !important;
    border: 1px solid var(--glass-border) !important;
}

.info-modal-title {
    background: linear-gradient(135deg, #1E90FF, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#infoModalBody {
    max-height: 70vh;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.8);
}

.info-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

[dir="rtl"] .info-section {
    text-align: right;
}

[dir="ltr"] .info-section {
    text-align: left;
}
