@media (max-width: 480px) {
    /* Root font adjustments */
    :root {
        font-size: 14px;
    }

    /* Navigation */
    .glass-nav {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo a {
        font-size: 1.2rem;
        gap: 0.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 31, 68, 0.98);
        padding: 2rem 1rem;
        gap: 1rem;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .nav-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .btn-outline-light {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-premium {
        min-height: 60vh;
        background-position: center 40%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .hero-helicopter {
        height: 180px;
        display: none;
    }

    .helicopter-img {
        max-height: 150px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.15;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .btn-gold {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        margin-top: 1rem;
    }

    /* Container */
    .container {
        padding: 2rem 1rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .section-sub {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .premium-card {
        border-radius: 16px;
        display: flex;
        flex-direction: column;
    }

    .card-img {
        height: 150px;
    }

    .card-content {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        flex: 1;
    }

    .card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.85rem;
        flex: 1;
    }

    .price-tag {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .btn-gold {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }

    /* Carousel */
    .carousel-container {
        margin: 0 -2rem;
        width: calc(100% + 4rem);
        padding: 0 2rem;
        overflow: hidden;
    }

    .carousel-track {
        gap: 1.5rem;
    }

    .carousel-track .premium-card {
        
        height: 420px;
        flex-shrink: 0;
        width: 300px !important;
    }

    .card-img {
        height: 180px;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        opacity: 0.8;
        top: 50%;
        z-index: 15;
    }

    .carousel-nav-btn.prev {
        left: 8px;
        display:none;
    }

    .carousel-nav-btn.next {
        right: 8px;
        display:none;
    }

    /* Forms */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .full-width {
        grid-column: span 1;
    }

    .glass-form {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .input-group {
        gap: 0.4rem;
    }

    .input-group label {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 0.75rem;
        border-radius: 12px;
        font-size: 16px; /* Prevent zoom on focus */
        border: 1px solid #e2e8f0;
    }

    .input-group textarea {
        resize: vertical;
    }

    /* Modal */
    .modal-content {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        max-height: 85vh;
        width: 95%;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }

    .modal-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .modal-subtitle {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-modern {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        font-size: 0.95rem;
    }

    .footer-col a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        font-size: 0.85rem;
    }

    /* WhatsApp Button */
    .whatsapp-container {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Inline Styles Overrides */
    section {
        overflow-x: hidden;
    }

    /* About Section Fix */
    section > div[style*="display: flex"] {
        flex-direction: column !important;
    }

    section > div[style*="flex:1"] {
        width: 100% !important;
        min-width: 100% !important;
    }

    /* Why Choose Section */
    section > div > div[style*="display: flex; flex-wrap: wrap"] {
        flex-direction: column;
        gap: 1rem !important;
    }

    section > div > div > div {
        width: 100% !important;
        text-align: center;
    }

    /* Responsive Grids in Inline Styles */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Contact Section */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 3rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Table */
    table {
        font-size: 0.85rem;
    }

    table thead th,
    table tbody td {
        padding: 0.75rem;
    }

    /* Details/FAQ */
    details {
        margin-bottom: 1rem;
        padding: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
    }

    details summary {
        font-size: 0.95rem;
    }

    details p {
        font-size: 0.9rem;
        margin-top: 0.8rem;
    }

    /* Lists */
    ol, ul {
        font-size: 0.9rem;
    }

    li {
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    /* Headings */
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    /* Paragraphs */
    p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ================================================
   SMALL DEVICES (481px - 768px)
   Mobile Landscape & Small Tablets
   ================================================ */

@media (min-width: 481px) and (max-width: 768px) {
    :root {
        font-size: 15px;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo a {
        font-size: 1.4rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu li a {
        font-size: 1rem;
    }

    /* Hero */
    .hero-premium {
        min-height: 70vh;
        background-position: center 35%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .hero-helicopter {
        height: 250px;
        display: block;
    }

    .helicopter-img {
        max-height: 220px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-gold {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Container */
    .container {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-sub {
        font-size: 0.95rem;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .card-img {
        height: 180px;
    }

    .card-content {
        padding: 1.2rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    /* Carousel */
    .carousel-track .premium-card {
        width: 280px;
        height: 450px;
    }

    .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }

    /* Forms */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .full-width {
        grid-column: span 1;
    }

    .glass-form {
        padding: 1.5rem;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 0.85rem;
        font-size: 16px;
    }

    /* Modal */
    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-height: 85vh;
        width: 90%;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Inline Styles Overrides */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="display: flex; flex-wrap: wrap"] {
        flex-direction: column;
    }

    /* Table */
    table {
        font-size: 0.9rem;
        overflow: auto;
    }

    table thead th,
    table tbody td {
        padding: 0.85rem;
    }

    /* Contact Section */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 3rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ================================================
   MEDIUM DEVICES (769px - 1024px)
   Tablets & Small Laptops
   ================================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        font-size: 16px;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .logo a {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1.8rem;
    }

    /* Hero */
    .hero-premium {
        min-height: 80vh;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }

    .hero-helicopter {
        height: 300px;
    }

    .helicopter-img {
        max-height: 280px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .btn-gold {
        padding: 0.95rem 2.2rem;
        font-size: 1rem;
        width: auto;
    }

    /* Container */
    .container {
        padding: 3.5rem 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-sub {
        font-size: 1rem;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .card-img {
        height: 200px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    /* Carousel */
    .carousel-track .premium-card {
        width: 300px;
        height: 480px;
    }

    /* Forms */
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .full-width {
        grid-column: span 2;
    }

    .glass-form {
        padding: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Inline Styles Overrides */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Contact Section */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 3rem"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem !important;
    }
}

/* ================================================
   LARGE DEVICES (1025px - 1440px)
   Desktop
   ================================================ */

@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 2rem;
    }

    .hero-helicopter {
        height: 400px;
    }

    .hero-img {
        max-height: 600px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .container {
        padding: 4rem 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .carousel-track .premium-card {
        width: 350px;
        height: 520px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* ================================================
   EXTRA LARGE DEVICES (1441px+)
   Large Monitors
   ================================================ */

@media (min-width: 1441px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 3rem;
    }

    .hero-helicopter {
        height: 450px;
    }

    .helicopter-img {
        max-height: 700px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .container {
        padding: 5rem 3rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-sub {
        font-size: 1.2rem;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .carousel-track .premium-card {
        width: 380px;
        height: 550px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* ================================================
   ORIENTATION-SPECIFIC STYLES
   ================================================ */

@media (orientation: landscape) and (max-height: 500px) {
    .hero-premium {
        min-height: auto;
        padding: 1rem 0;
    }

    .hero-container {
        gap: 1rem;
    }

    .hero-helicopter {
        height: 150px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }
}

/* ================================================
   TOUCH DEVICE OPTIMIZATIONS
   ================================================ */

@media (hover: none) and (pointer: coarse) {
    .btn-gold,
    .carousel-nav-btn,
    .whatsapp-float,
    details summary {
        min-height: 44px;
        min-width: 44px;
        padding: 12px;
    }

    .carousel-nav-btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
    }

    /* Increase tap target areas */
    .nav-menu li {
        padding: 0.5rem 0;
    }

    .nav-menu li a {
        padding: 0.75rem 1rem;
        display: block;
    }

    /* Remove hover transforms for touch */
    .premium-card:active {
        transform: translateY(-4px);
    }

    .btn-gold:active {
        transform: scale(0.98);
    }
}

/* ================================================
   HIGH DPI / RETINA SCREENS
   ================================================ */

@media (min-resolution: 192dpi) {
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ================================================
   ACCESSIBILITY FEATURES
   ================================================ */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .helicopter-wrapper {
        animation: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0a0e27;
        color: #e0e0e0;
    }

    .glass-form,
    .premium-card,
    .modal-content,
    .glass-nav {
        background: rgba(26, 31, 58, 0.95);
        color: #e0e0e0;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        background: #2a2f4a;
        color: #e0e0e0;
        border-color: #3a3f5a;
    }

    .input-group label {
        color: #b0b0b0;
    }

    .nav-menu {
        background: rgba(10, 31, 68, 0.98);
    }

    table thead th {
        background: rgba(10, 31, 68, 0.8);
    }

    details {
        background: #1a1f3a !important;
        border-color: #3a3f5a;
    }

    details summary {
        color: #d0d0d0;
    }

    details p {
        color: #b0b0b0;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .glass-nav,
    .whatsapp-container,
    .carousel-nav-btn,
    .modal,
    .nav-toggle {
        display: none !important;
    }

    .hero-premium {
        min-height: auto;
        background: none;
    }

    .container {
        padding: 2rem 1rem;
        max-width: 100%;
    }

    .section-title {
        page-break-after: avoid;
    }

    .premium-card {
        page-break-inside: avoid;
    }

    .btn-gold {
        display: none;
    }
}

/* ================================================
   UTILITY CLASSES FOR RESPONSIVE DESIGN
   ================================================ */

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

/* Responsive Text */
.text-responsive {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
}

.heading-responsive {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
}

/* Responsive Spacing */
.p-responsive {
    padding: clamp(1rem, 5vw, 3rem);
}

.m-responsive {
    margin: clamp(1rem, 5vw, 3rem);
}

.gap-responsive {
    gap: clamp(1rem, 4vw, 2rem);
}

/* ================================================
   FIXES FOR COMMON MOBILE ISSUES
   ================================================ */

/* Prevent horizontal scroll */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure iframes are responsive */
iframe {
    max-width: 100%;
}

/* Fix for viewport issues */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Ensure full-width sections */
    section {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    /* Prevent overflow */
    .container,
    .hero-container {
        max-width: 100%;
    }
}

/* ================================================
   LANDSCAPE MODE FIXES
   ================================================ */

@media (orientation: landscape) {
    .hero-premium {
        min-height: 100vh;
    }

    .nav-menu {
        top: 55px;
    }
}

/* ================================================
   FOLDABLE DEVICE SUPPORT
   ================================================ */

@media (screen-spanning: single-fold-vertical) {
    .container {
        display: flex;
        flex-wrap: wrap;
        gap: env(viewport-segment-width 0 0);
    }
}

@media (screen-spanning: single-fold-horizontal) {
    .hero-container {
        gap: env(viewport-segment-height 0 0);
    }
}
