/* Mobile Responsiveness Fixes for Home Page */

/* Global Mobile Overflow Fixes */
@media (max-width: 768px) {
    /* Fix all container overflow issues */
    .container,
    .packages-main,
    .packages-section,
    .section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: visible !important;
        box-sizing: border-box !important;
    }

    /* Fix all grid layouts */
    .packages-grid,
    .destinations-grid,
    .getaways-grid,
    .features-grid,
    .why-choose-grid,
    .blogs-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: visible !important;
        box-sizing: border-box !important;
    }
}

/* Base Mobile Styles */
@media (max-width: 768px) {

    /* Container and Layout Fixes - Reduce excessive spacing */
    .container {
        padding: 0 0.75rem;
        max-width: 100%;
    }

    /* Reduce section padding to fix spacing issues */
    section {
        padding: 2rem 0 !important;
    }

    .features-section,
    .destinations-section,
    .popular-destinations-section,
    .last-minute-getaways,
    .about-section,
    .handpicked-destinations,
    .why-choose-section,
    .two-banner-section,
    .testimonials,
    .recent-blogs {
        padding: 2rem 0 !important;
    }

    /* Hero Section Fixes */
    .hero {
        min-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .search-bar {
        max-width: 100%;
        display: flex;
        align-items: stretch;
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        background: white;
        margin: 0 auto;
        height: auto;
    }

    .search-bar input {
        flex: 1;
        padding: 1rem 1.2rem;
        border: none;
        font-size: 1rem;
        background: white;
        outline: none;
        color: #333;
        border-radius: 25px 0 0 25px;
        width: auto;
        min-width: 0;
    }

    .search-bar input::placeholder {
        color: #999;
        font-size: 1rem;
    }

    .search-bar button {
        flex-shrink: 0;
        padding: 1rem 1.5rem;
        border: none;
        background: #00843d;
        color: white;
        font-size: 1rem;
        width: auto;
        min-width: 60px;
        cursor: pointer;
        transition: background 0.3s ease;
        border-radius: 0 25px 25px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-bar button:hover {
        background: #006830;
    }

    /* Features Section Fixes */
    .features-section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Destinations Section Fixes - Optimized Spacing */
    .destinations-section {
        padding: 2rem 0 0.5rem 0 !important;
        overflow: visible;
    }

    .destinations-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-bottom: 12px;
        padding: 0 1rem;
    }

    .destinations-header h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
        text-align: center;
        line-height: 1.2;
    }

    .destinations-header .view-all-link {
        display: inline-block;
        margin: 0 auto;
        padding: 0.6rem 1.8rem;
        font-size: 0.9rem;
        text-align: center;
        border: 2px solid #00843d;
        color: #00843d;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .destinations-header .view-all-link:hover {
        background: #00843d;
        color: white;
    }

    .destinations-carousel {
        overflow-x: auto;
        padding: 0 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 0;
        margin-top: 12px;
    }

    .destinations-carousel::-webkit-scrollbar {
        display: none;
    }

    /* Popular Destinations Grid */
    .destinations-grid {
        display: flex;
        gap: 10px;
        padding: 0;
        margin: 0;
        align-items: stretch;
    }

    /* Popular Destinations Cards - Unified Styling */
    .destinations-section .destination-card,
    .destinations-section .destinations-card {
        position: relative;
        width: 260px;
        min-width: 260px;
        max-width: 260px;
        height: 320px;
        min-height: 320px;
        max-height: 320px;
        flex-shrink: 0;
        background: #00843d;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: block;
    }

    /* Popular Destinations Images */
    .destinations-section .destination-card img,
    .destinations-section .destinations-card img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        z-index: 1;
    }

    /* Popular Destinations Overlay */
    .destinations-section .destination-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Popular Destinations Heart Icon */
    .destinations-section .destination-heart {
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 3;
        color: white;
    }

    /* Ensure grid scrolls properly without transform issues */
    .destinations-grid {
        transform: none !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }

    /* Remove extra spacing at bottom of section */
    .destinations-section {
        padding-bottom: 0.5rem !important;
        margin-bottom: 0 !important;
    }

    .destinations-container {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Show navigation buttons on mobile */
    .destinations-navigation {
        display: flex !important;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .destinations-navigation .nav-btn {
        display: flex !important;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: #333;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Festival Banner Fixes - Reduced Top Padding */
    .festival-banner {
        padding: 0 0 1.5rem 0;
    }

    .banner-content {
        height: auto;
        min-height: 180px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-image {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .banner-image img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
        border-radius: 8px;
    }

/* Ensure the festival banner is centered and constrained to desktop target width */
.festival-banner .container {
    display: block;
}

.festival-banner .banner-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.festival-banner .banner-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Override any earlier absolute positioning so the image can center correctly */
.festival-banner .banner-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1rem 0 !important;
    position: relative !important;
}

.festival-banner .banner-content .banner-image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Make sure on very wide containers the banner doesn't exceed the visual content width */
@media (min-width: 1200px) {
    .festival-banner .banner-image {
        max-width: 1000px !important;
    }
}

@media (max-width: 1199px) {
    .festival-banner .banner-image {
        max-width: calc(100% - 48px) !important; /* account for container padding */
    }
}

    /* Last-Minute Getaways Fixes */
    .last-minute-getaways {
        padding: 3rem 0;
    }

    .getaways-header h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .getaways-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0 0.75rem;
        margin-bottom: 1rem;
    }

    .getaway-card {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 1rem;
    }

    .getaway-card.large-center {
        grid-column: 1 / -1;
    }

    .getaway-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        min-height: 140px;
        max-height: 160px;
    }

    .getaway-content {
        padding: 1rem;
    }

    .getaway-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .getaway-content p {
        font-size: 0.9rem;
        color: #e53e3e;
        font-weight: 600;
    }

    /* About Section Fixes */
    .about-section {
        padding: 3rem 0;
    }

    .about-header h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .about-tagline {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 2rem;
        font-style: italic;
    }

    .about-description p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: justify;
    }

    .affiliations h3 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .affiliation-logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .logo-item {
        width: 60px;
        height: 60px;
    }

    .logo-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }

    /* Handpicked Destinations Mobile Layout */
    .handpicked-destinations {
        padding: 2rem 0;
        overflow: visible;
        background: #f8f9fa;
    }

    .handpicked-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .handpicked-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        color: #2d3748;
        font-weight: 700;
    }

    .nav-arrows {
        display: none;
    }

    .destinations-wrapper {
        overflow-x: auto;
        padding: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    .destinations-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Handpicked Destinations - Mobile Grid Layout */
    .handpicked-destinations {
        overflow: visible !important;
        position: relative;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        touch-action: pan-y !important; /* Allow vertical scrolling */
        -webkit-overflow-scrolling: touch;
    }
    
    .handpicked-destinations .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .handpicked-destinations .destinations-wrapper {
        overflow: visible !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .handpicked-destinations .destinations-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem 1rem !important;
        margin: 0 !important;
        max-width: 100% !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        width: 100% !important;
        touch-action: pan-y !important; /* Allow vertical scrolling through section */
        -webkit-overflow-scrolling: touch;
    }

    .handpicked-destinations .destinations-carousel::-webkit-scrollbar {
        display: none;
    }
    
    /* Hide navigation arrows on mobile */
    .handpicked-destinations .nav-arrows {
        display: none !important;
    }
    
    /* Fix header spacing */
    .handpicked-destinations .handpicked-header {
        padding: 0 0.75rem !important;
        margin: 0 0 1rem 0 !important;
    }
    
    /* Remove any flex display from carousel on mobile - force grid */
    .handpicked-destinations .destinations-carousel {
        display: grid !important;
        flex-direction: unset !important;
    }

    .handpicked-destinations .destination-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: flex !important;
        flex-direction: column !important;
    }

    .card-image {
        position: relative;
        height: 180px;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    .discount-badge {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background: #e53e3e;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .price-section {
        margin-bottom: 1rem;
    }

    .current-price {
        font-size: 1.3rem;
        font-weight: 700;
        color: white !important;
    }

    .original-price {
        font-size: 1rem;
        text-decoration: line-through;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-left: 0.5rem;
    }

    .per-person {
        display: block;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8) !important;
        margin-top: 0.25rem;
    }

    /* Ensure price section has proper styling */
    .destination-card .price-section,
    .handpicked-destinations .price-section {
        color: white !important;
    }

    .destination-card .price-section *,
    .handpicked-destinations .price-section * {
        color: inherit !important;
    }

    .package-features {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .feature {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.8rem;
        color: #666;
    }

    .feature i {
        color: #28a745;
        font-size: 0.7rem;
    }

    .view-itinerary-btn {
        width: 100%;
        padding: 0.75rem;
        background: #22c55e;
        color: white !important;
        border: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .view-itinerary-btn:hover {
        background: #16a34a;
        transform: translateY(-2px);
    }

    /* Why Choose Section Fixes */
    .why-choose-section {
        padding: 3rem 0;
    }

    .why-choose-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .why-choose-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .why-choose-header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .why-choose-card {
        text-align: center;
        padding: 2rem 1.5rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    .why-choose-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .why-choose-icon {
        width: 60px;
        height: 60px;
        background: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 1.5rem;
        color: #e53e3e;
        transition: all 0.3s ease;
    }

    .why-choose-card:hover .why-choose-icon {
        background: #e53e3e;
        color: white;
        transform: scale(1.1);
    }

    .why-choose-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: #2d3748;
    }

    .why-choose-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #666;
    }

    /* Two Banner Section Fixes */
    .two-banner-section {
        padding: 3rem 0;
    }

    .banner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-banner {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        height: 250px;
    }

    .video-poster,
    .testimonial-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

    .video-content {
        text-align: center;
        color: white;
    }

    .video-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .video-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .video-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .watch-video-btn {
        background: #00843d !important;
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .watch-video-btn:hover {
        background: #006830 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .stats-section {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .stats-header h2 {
        font-size: 2rem;
        color: #e53e3e;
        margin-bottom: 0.5rem;
    }

    .stats-header h3 {
        font-size: 1.2rem;
        color: #2d3748;
        margin-bottom: 2rem;
    }

    .traveller-avatars {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .avatar-circle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .avatar-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonial-quote p {
        font-size: 1rem;
        font-style: italic;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .testimonial-author {
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 2rem;
    }

    .view-more-btn {
        background: #e53e3e;
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none; /* remove underline for anchor elements */
    }

    .view-more-btn:hover {
        background: #c53030;
        transform: translateY(-2px);
    }

    .view-more-btn:visited, .view-more-btn:link, .view-more-btn:active {
        color: white;
        text-decoration: none;
    }

    .view-more-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 4px rgba(102,126,234,0.18);
    }

    /* Testimonials Section Fixes */
    .testimonials {
        padding: 3rem 0;
        background: #f8f9fa;
    }

    .testimonials h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .testimonials-carousel {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .testimonial-slide {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        text-align: center;
    }

    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        font-style: italic;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

    .testimonial-author h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .testimonial-author span {
        font-size: 0.9rem;
        color: #666;
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: #e53e3e;
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .prev-btn:hover,
    .next-btn:hover {
        background: #c53030;
        transform: scale(1.1);
    }

    /* Recent Blogs Section Fixes */
    .recent-blogs {
        padding: 3rem 0;
    }

    .section-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        color: #666;
        margin-bottom: 1rem;
    }

    .view-all-blogs {
        color: #e53e3e;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .blog-loading {
        text-align: center;
        padding: 2rem;
        color: #666;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    /* Further reduce spacing on small devices */
    section {
        padding: 1.5rem 0 !important;
    }

    .hero-content {
        padding: 1.5rem 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        margin-bottom: 1rem;
    }

    .getaways-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .getaway-card.large-center {
        grid-column: 1;
    }

    .destination-card {
        min-width: 240px;
        max-width: 260px;
    }

    .why-choose-card {
        padding: 1.25rem 0.75rem;
    }

    .stats-header h2 {
        font-size: 1.4rem;
    }

    .video-content h2 {
        font-size: 1.1rem;
    }

    /* Reduce header spacing for small screens */
    .destinations-header,
    .handpicked-header,
    .why-choose-header {
        margin-bottom: 10px;
        padding: 0 0.5rem;
    }

    .destinations-header h2,
    .handpicked-header h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .destinations-header .view-all-link {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
    }

    .destinations-navigation {
        padding: 10px 0 0 0;
        margin: 0;
    }

    .destinations-carousel {
        margin-top: 10px;
        margin-bottom: 0;
    }

    .destinations-section {
        padding: 1.5rem 0 0.5rem 0 !important;
    }

    /* Small Mobile Adjustments */
    .destinations-section .destination-card,
    .destinations-section .destinations-card {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }

    .handpicked-destinations {
        padding: 1.5rem 0 !important;
        width: 100% !important;
        overflow-x: visible !important;
        margin: 0 !important;
    }
    
    .handpicked-destinations .container {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .handpicked-destinations .destinations-wrapper {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .handpicked-destinations .destinations-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem 1rem !important;
        margin: 0 !important;
    }

    .handpicked-destinations .destination-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
        margin: 0 !important;
        padding: 0 !important;
    }

    .handpicked-destinations .destination-card .card-image {
        height: 140px;
        min-height: 140px;
        max-height: 140px;
    }

    .handpicked-destinations .card-content {
        padding: 0.75rem;
        gap: 0.5rem;
        flex: 1;
        min-height: auto;
        overflow: visible;
    }

    .handpicked-destinations .card-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
        line-height: 1.05;
    }

    .handpicked-destinations .card-content .current-price {
        font-size: 1rem;
    }

    .handpicked-destinations .card-content .price-section {
        margin-bottom: 0.2rem;
        gap: 0.05rem;
    }

    .handpicked-destinations .card-content .price-line-2 {
        gap: 0.3rem;
    }

    .handpicked-destinations .card-content .package-features {
        gap: 0.15rem;
        margin-bottom: 0.25rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Fix for horizontal scrolling issues */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* A
dditional Mobile Layout Fixes */
@media (max-width: 768px) {

    /* Fix horizontal scrolling issues */
    html,
    body {
        overflow-x: visible;
        width: 100%;
        max-width: 100%;
    }

    /* Fix container overflow */
    .container {
        width: 100%;
        max-width: 100vw;
        overflow-x: visible;
        box-sizing: border-box;
    }

    /* Fix grid layouts that might cause overflow */
    .destinations-grid,
    .getaways-grid,
    .features-grid,
    .why-choose-grid,
    .blogs-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
    }

    /* Fix carousel overflow */
    .destinations-carousel,
    .destinations-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .destinations-carousel::-webkit-scrollbar,
    .destinations-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Fix card min-widths for better mobile display */
    .destination-card {
        min-width: 260px !important;
        max-width: 300px !important;
        width: 260px;
        flex-shrink: 0;
    }

    .testimonial-card {
        min-width: 280px !important;
        max-width: 320px !important;
        width: 280px;
        flex-shrink: 0;
    }

    /* Fix feature items */
    .feature-item {
        min-width: auto !important;
        width: 100%;
        flex: none;
    }

    /* Fix search bar responsiveness */
    .search-bar {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: stretch;
        box-sizing: border-box;
        height: auto;
    }

    .search-bar input {
        flex: 1;
        min-width: 0;
        width: auto;
        box-sizing: border-box;
    }

    .search-bar button {
        flex-shrink: 0;
        width: auto;
        min-width: 50px;
        box-sizing: border-box;
    }

    /* Fix navigation buttons positioning */
    .destinations-navigation {
        position: static;
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .nav-btn {
        position: static;
        transform: none;
        margin: 0;
    }

    /* Fix banner images */
    .banner-image,
    .banner-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .banner-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }

    /* Fix video section */
    .video-banner {
        width: 100%;
        max-width: 100%;
        height: 250px;
        overflow: hidden;
    }

    .video-poster,
    .testimonial-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Fix modal responsiveness */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Fix form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix button layouts */
    .cta-buttons,
    .package-features {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }

    .cta-buttons button,
    .cta-buttons a {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    /* Fix text overflow */
    .destination-card h3,
    .getaway-card h3,
    .why-choose-card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Fix image aspect ratios */
    .card-image,
    .getaway-card img,
    .destination-card img {
        aspect-ratio: 16/10;
        object-fit: cover;
    }

    /* Fix spacing issues */
    section {
        padding-left: 0;
        padding-right: 0;
    }

    .section-header,
    .destinations-header,
    .handpicked-header,
    .why-choose-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-content {
        padding: 1.5rem 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .destination-card {
        min-width: 240px !important;
        max-width: 280px !important;
        width: 240px;
    }

    .search-bar {
        border-radius: 20px;
        height: auto;
    }

    .search-bar input {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
        border-radius: 20px 0 0 20px;
    }

    .search-bar input::placeholder {
        font-size: 0.95rem;
    }

    .search-bar button {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        min-width: 55px;
        border-radius: 0 20px 20px 0;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        margin-bottom: 1rem;
    }

    .search-bar {
        margin-top: 1rem;
    }

    /* Reduce section padding in landscape */
    .features-section,
    .destinations-section,
    .last-minute-getaways,
    .about-section,
    .handpicked-destinations,
    .why-choose-section,
    .two-banner-section,
    .testimonials,
    .recent-blogs {
        padding: 2rem 0;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {

    /* Reduce animations on mobile for better performance */
    .destination-card,
    .getaway-card,
    .why-choose-card {
        transition: transform 0.2s ease;
    }

    /* Optimize images for mobile */
    img {
        image-rendering: optimizeQuality;
        image-rendering: -webkit-optimize-contrast;
    }

    /* Reduce box shadows for better performance */
    .destination-card,
    .getaway-card,
    .why-choose-card,
    .testimonial-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .destination-card:hover,
    .getaway-card:hover,
    .why-choose-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/*
 Additional Search Box Fixes */
@media (max-width: 768px) {

    /* Ensure search box is always visible and functional */
    .hero .search-bar {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 400px;
        margin: 1.5rem auto 0;
    }

    .search-bar input {
        width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .search-bar input:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.3);
    }

    .search-bar button {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-bar button i {
        font-size: 1rem;
    }
}

/* Fix for iOS Safari */
@media (max-width: 768px) {
    .search-bar {
        -webkit-appearance: none;
        appearance: none;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: stretch;
        align-items: stretch;
    }

    .search-bar input {
        -webkit-border-radius: 25px 0 0 25px;
        border-radius: 25px 0 0 25px;
        -webkit-appearance: none;
        appearance: none;
        -webkit-flex: 1;
        flex: 1;
    }

    .search-bar button {
        -webkit-border-radius: 0 25px 25px 0;
        border-radius: 0 25px 25px 0;
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
    }
}

/* Ensure proper touch targets */
@media (max-width: 480px) {
    .search-bar {
        min-height: 48px;
    }

    .search-bar input,
    .search-bar button {
        min-height: 48px;
    }
}

/* Force proper search bar layout */
@media (max-width: 768px) {
    .hero-content .search-bar {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 100%;
        max-width: 400px;
        margin: 1.5rem auto 0;
    }

    .hero-content .search-bar input {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        border-radius: 25px 0 0 25px !important;
        margin: 0 !important;
    }

    .hero-content .search-bar button {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 60px !important;
        border-radius: 0 25px 25px 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-content .search-bar {
        max-width: 350px;
    }

    .hero-content .search-bar button {
        min-width: 55px !important;
    }
}

@media (max-width: 360px) {
    .hero-content .search-bar {
        max-width: 320px;
    }

    .hero-content .search-bar button {
        min-width: 50px !important;
        padding: 0.9rem 1rem !important;
    }
}

/* Addit
ional Mobile Layout Fixes */
@media (max-width: 768px) {

    /* Handpicked Destinations Cards - Unified Styling */
    .handpicked-destinations .destination-card {
        position: relative;
        width: 200px;
        min-width: 200px;
        max-width: 200px;
        height: auto;
        min-height: auto;
        max-height: none;
        background: white;
        border-radius: 12px;
        overflow: visible;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        border: 1px solid #e2e8f0;
    }

    /* Handpicked Image Container */
    .handpicked-destinations .destination-card .card-image {
        position: relative;
        width: 100%;
        height: 120px;
        min-height: 120px;
        max-height: 120px;
        overflow: hidden;
        flex-shrink: 0;
        border-radius: 12px 12px 0 0;
    }

    /* Handpicked Images */
    .handpicked-destinations .destination-card .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 12px 12px 0 0;
    }

    /* Handpicked Content Area - Match Desktop White Design */
    .handpicked-destinations .destination-card .card-content {
        flex: 1;
        padding: 0.75rem;
        background: white;
        color: #2d3748;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        min-height: auto;
        overflow: visible;
    }

    /* Ensure all text in handpicked cards matches desktop styling */
    .handpicked-destinations .card-content * {
        color: #2d3748 !important;
    }

    /* Discount Badge */
    .handpicked-destinations .discount-badge {
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        background: #e53e3e;
        color: white;
        padding: 0.3rem 0.6rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 700;
        z-index: 2;
    }

    /* Handpicked Content Styling - Match Desktop Design */
    .handpicked-destinations .card-content h3 {
        font-size: 0.85rem;
        margin: 0 0 0.3rem 0;
        line-height: 1.2;
        font-weight: 600;
        color: #2d3748;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-family: 'Inter', sans-serif;
    }

    .handpicked-destinations .card-content .price-section {
        margin-bottom: 0.3rem;
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .handpicked-destinations .card-content .current-price {
        font-size: 1rem;
        font-weight: 700;
        display: block;
        line-height: 1.1;
        color: #2d3748;
    }

    .handpicked-destinations .card-content .price-line-2 {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        line-height: 1;
    }

    .handpicked-destinations .card-content .original-price {
        font-size: 0.75rem;
        text-decoration: line-through;
        opacity: 0.6;
        line-height: 1;
        color: #718096;
    }

    .handpicked-destinations .card-content .per-person {
        font-size: 0.7rem;
        opacity: 0.8;
        line-height: 1;
        color: #718096;
    }

    .handpicked-destinations .card-content .package-features {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.3rem;
        flex: 1;
    }

    .handpicked-destinations .card-content .feature {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.75rem;
        line-height: 1.1;
        color: #4a5568;
    }

    .handpicked-destinations .card-content .feature i {
        color: #48bb78;
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    .handpicked-destinations .view-itinerary-btn {
        width: 100%;
        padding: 0.5rem;
        background: #22c55e;
        color: white !important;
        border: none;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: auto;
    }

    .handpicked-destinations .view-itinerary-btn:hover {
        background: #16a34a;
        transform: translateY(-1px);
    }

    .handpicked-destinations .view-itinerary-btn i {
        font-size: 0.7rem;
    }

    /* Reduce excessive margins and padding */
    .about-section .about-header {
        margin-bottom: 1.5rem;
    }

    .about-section .about-description p {
        margin-bottom: 1rem;
    }

    .affiliations {
        margin-top: 1.5rem;
    }

    .affiliations h3 {
        margin-bottom: 1rem;
    }

    /* Fix two banner section spacing */
    .two-banner-section .banner-grid {
        gap: 1.5rem;
    }

    .video-banner {
        margin-bottom: 1rem;
    }

    /* Fix testimonials spacing */
    .testimonials {
        background: transparent !important;
    }

    .testimonials h2 {
        margin-bottom: 1.5rem;
    }

    .testimonials-carousel {
        padding: 0 0.75rem;
    }

    /* Fix recent blogs spacing */
    .recent-blogs .section-header {
        margin-bottom: 1.5rem;
    }

    .blogs-grid {
        padding: 0 0.75rem;
    }
}

/* Ultra compact for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 0.25rem;
    }

    .hero-content {
        padding: 1rem 0.25rem;
    }

    .destinations-carousel,
    .getaways-grid,
    .blogs-grid {
        padding: 0 0.25rem;
    }

    .destination-card {
        min-width: 220px;
        max-width: 240px;
    }

    .handpicked-destinations .destination-card {
        min-width: 220px;
        max-width: 240px;
    }
}

/* About Section Mobile and Tablet Fixes */
@media (max-width: 1024px) {
    .about-section {
        padding: 2rem 20px !important;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 20px !important;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 1.5rem 15px !important;
    }
}

/* Getaway Content Complete Styling */
.getaway-content p {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 10px;
}

/* Package Cards Mobile Fixes - Maintain Consistent Design */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: visible !important;
    }

    .package-card {
        min-height: 450px !important;
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        background: white !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }

    .package-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    }

    .package-image {
        height: 180px !important;
        flex-shrink: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .package-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }

    .package-card:hover .package-image img {
        transform: scale(1.05) !important;
    }

    .package-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 1rem !important;
    }

    .package-header h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .package-features {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .feature {
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        font-size: 0.75rem !important;
        color: #495057 !important;
    }

    .feature i {
        color: #28a745 !important;
        font-size: 0.7rem !important;
    }

    .package-price {
        margin-bottom: 1rem !important;
        text-align: center !important;
        padding: 0.75rem !important;
        background: #f5f7ef !important;
        border-radius: 6px !important;
    }

    .current-price {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        color: #2c3e50 !important;
    }

    .original-price {
        font-size: 1rem !important;
        color: #6c757d !important;
        text-decoration: line-through !important;
        margin-left: 0.5rem !important;
    }

    .per-person {
        font-size: 0.75rem !important;
        color: #6c757d !important;
        display: block !important;
        margin-top: 0.25rem !important;
    }

    .package-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        margin-top: auto !important;
    }

    .view-details-btn,
    .book-now-btn {
        padding: 0.6rem 0.8rem !important;
        border: none !important;
        border-radius: 6px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.25rem !important;
    }

    .view-details-btn {
        background: #f8f9fa !important;
        color: #495057 !important;
        border: 1px solid #dee2e6 !important;
    }

    .view-details-btn:hover {
        background: #e9ecef !important;
        transform: translateY(-1px) !important;
    }

    .book-now-btn {
        background: #00843d !important;
        color: white !important;
    }

    .book-now-btn:hover {
        background: #006830 !important;
        transform: translateY(-1px) !important;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 0.75rem !important;
    }

    .package-card {
        max-width: 400px !important;
        margin: 0 auto !important;
        min-height: 420px !important;
    }

    .package-image {
        height: 200px !important;
    }

    .package-content {
        padding: 1.25rem !important;
    }

    .package-header h3 {
        font-size: 1.1rem !important;
    }

    .package-features {
        flex-direction: column !important;
        gap: 0.4rem !important;
    }

    .feature {
        font-size: 0.8rem !important;
    }

    .package-price {
        padding: 1rem !important;
    }

    .current-price {
        font-size: 1.4rem !important;
    }

    .original-price {
        font-size: 1.1rem !important;
    }

    .package-actions {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .view-details-btn,
    .book-now-btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* Pop
ular Destinations Section Layout Fixes */

/* Desktop and Large Screens */
@media (min-width: 1025px) {
    .destinations-section {
        padding: 4rem 0;
        background: #ffffff;
    }

    .destinations-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding: 0 2rem;
    }

    .destinations-carousel {
        position: relative;
        overflow: visible;
        padding: 0 4rem;
        margin: 0 0;
        max-width: 1400px;
    }

    .destinations-wrapper {
        overflow: hidden;
        border-radius: 16px;
    }

    .destinations-grid {
        display: flex;
        gap: 2rem;
        transition: transform 0.3s ease;
        padding: 0;
        will-change: transform;
    }

    .destinations-navigation {
        position: relative;

        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }

    .destinations-navigation .nav-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: #333;
        transition: all 0.3s ease;
        position: static;
    }

    .destinations-navigation .nav-btn:hover {
        background: white;
        transform: scale(1.1);
    }
}

/* Tablet Layout */
@media (max-width: 1024px) and (min-width: 769px) {
    .destinations-section {
        padding: 3rem 0;
        background: #ffffff;
    }

    .destinations-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding: 0 2rem;
    }

    .destinations-header h2 {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .destinations-carousel {
        position: relative;
        overflow: hidden;
        padding: 0 2rem;
        margin: 0;
    }

    .destinations-wrapper {
        overflow: hidden;
        border-radius: 16px;
    }

    .destinations-grid {
        display: flex;
        gap: 1.5rem;
        padding: 0;
        transition: transform 0.3s ease;
        will-change: transform;
    }

    .destination-card {
        min-width: 280px;
        max-width: 300px;
        flex-shrink: 0;
    }

    .destinations-navigation {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .destinations-navigation .nav-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: #333;
        transition: all 0.3s ease;
    }

    .destinations-navigation .nav-btn:hover {
        background: white;
        transform: scale(1.1);
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .destinations-section {
        padding: 2rem 0 1rem 0 !important;
        background: #ffffff;
        overflow: hidden;
    }

    .destinations-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        margin-bottom: 1rem !important;
        padding: 0 1rem;
        display: flex !important;
    }

    .destinations-header h2 {
        font-size: 1.6rem !important;
        margin-bottom: 0;
        line-height: 1.2;
        order: 1;
    }

    .view-all-link {
        font-size: 1rem !important;
        color: #e53e3e !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        display: inline-block !important;
        padding: 0.5rem 1rem;
        border: 2px solid #e53e3e;
        border-radius: 25px;
        transition: all 0.3s ease;
        order: 2;
        margin: 0 auto;
        background: transparent;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .view-all-link:hover {
        background: #e53e3e !important;
        color: white !important;
        transform: translateY(-2px);
    }

    .destinations-carousel {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 1rem !important;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    .destinations-carousel::-webkit-scrollbar {
        display: none;
    }

    .destinations-wrapper {
        width: 100%;
        overflow: visible;
    }

    .destinations-grid {
        display: flex !important;
        gap: 1rem !important;
        padding: 0 0 0.5rem 0 !important;
        min-width: max-content;
        align-items: stretch;
        transition: none;
    }

    .destination-card {
        min-width: 260px !important;
        max-width: 280px !important;
        width: 260px;
        flex-shrink: 0;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .destination-card:hover {
        transform: translateY(-4px);
    }

    /* Destinations navigation is visible on mobile */
    .destinations-navigation {
        display: flex !important;
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    /* Fix banner spacing after destinations - Minimal Gap */
    .destinations-section+.festival-banner,
    .destinations-section+section {
        margin-top: 0 !important;
        padding-top: 12px !important;
    }
}

/* Small Mobile Layout */
@media (max-width: 480px) {
    .destinations-section {
        padding: 1.5rem 0 !important;
    }

    .destinations-header {
        padding: 0 0.75rem;
        margin-bottom: 1rem !important;
    }

    .destinations-header h2 {
        font-size: 1.4rem !important;
    }

    .destinations-carousel {
        padding: 0 0.75rem !important;
    }

    .destinations-grid {
        gap: 0.75rem !important;
    }

    .destination-card {
        min-width: 240px !important;
        max-width: 260px !important;
        width: 240px;
    }
}

/* Fix banner alignment after destinations section */
.festival-banner {
    margin-top: 0 !important;

    background: #ffffff;
}

.festival-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.festival-banner .banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.festival-banner .banner-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.festival-banner .banner-image a {
    display: inline-block;
    width: 100%;
}

.festival-banner .banner-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* Ensure proper spacing between sections */
@media (max-width: 768px) {
    .destinations-section+* {
        margin-top: 0 !important;
    }

    /* .festival-banner {
        padding: 1rem 0 3rem 0 !important;
    } */

    .festival-banner .container {
        padding: 0 0.75rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .festival-banner .banner-content {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 280px;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .festival-banner .banner-image {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 16px;
    }

    .festival-banner .banner-image a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .festival-banner .banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transform: scale(1.05);
        transition: transform 0.3s ease;
        border-radius: 16px;
    }

    .festival-banner .banner-image:hover img {
        transform: scale(1.08);
    }
}

/* 
Additional Mobile Touch and Scroll Fixes */
@media (max-width: 768px) {

    /* Improve touch scrolling for destinations carousel */
    .destinations-carousel {
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .destination-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* Prevent text selection during swipe */
    .destinations-carousel * {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Add subtle scroll indicators */
    .destinations-carousel::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: rgba(255, 255, 255, 0.8);
        pointer-events: none;
        z-index: 1;
    }

    /* Fix any overflow issues */
    .destinations-section .container {
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* Ensure cards don't get cut off */
    .destinations-grid .destination-card:first-child {
        margin-left: 0;
    }

    .destinations-grid .destination-card:last-child {
        margin-right: 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .destinations-carousel {
        padding: 0 0.5rem !important;
    }

    .destinations-header {
        padding: 0 0.5rem;
    }

    .destination-card {
        min-width: 220px !important;
        max-width: 240px !important;
        width: 220px;
    }
}

/* Ensure proper section spacing */
.destinations-section {
    position: relative;
    z-index: 1;
}

.festival-banner {
    position: relative;
    z-index: 2;
    clear: both;
}

/* 
Ensure JavaScript carousel functionality works */
@media (min-width: 769px) {

    /* Allow JavaScript to control the carousel on desktop/tablet */
    .destinations-grid {
        transform: translateX(0px);
        transition: transform 0.3s ease !important;
        will-change: transform;
    }

    /* Ensure navigation buttons are visible and functional */
    .destinations-navigation {
        display: flex !important;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
        position: relative;
        z-index: 10;
    }

    .destinations-navigation .nav-btn {
        display: flex !important;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: #333;
        transition: all 0.3s ease;
        opacity: 1;
        pointer-events: auto;
    }

    .destinations-navigation .nav-btn:hover {
        background: white;
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .destinations-navigation .nav-btn:disabled,
    .destinations-navigation .nav-btn[style*="opacity: 0.3"] {
        opacity: 0.3 !important;
        pointer-events: none !important;
        cursor: not-allowed;
    }
}

/* Mobile: disable JavaScript carousel, use native scroll */
@media (max-width: 768px) {
    .destinations-grid {
        transform: none !important;
        transition: none !important;
    }

    /* Destinations navigation is visible on mobile */
    .destinations-navigation {
        display: flex !important;
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem 0;
    }
}

/* Fix banner centering for all screen sizes */
.festival-banner {
    width: 100%;
    display: block;
    clear: both;
}

.festival-banner .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.festival-banner .banner-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.festival-banner .banner-image {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.festival-banner .banner-image a {
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.festival-banner .banner-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

/* Enhanced Mobile Banner Styling */
@media (max-width: 480px) {
    .destinations-section {
        padding: 1.5rem 0 0.75rem 0 !important;
    }


/* ==================================================
   Festival Banner - New responsive layout (override)
   Desktop target size: 1000 x 259 (aspect-ratio 1000/259)
   This block intentionally placed at end of CSS to override previous rules
   ================================================== */

section.festival-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

section.festival-banner .container {
    max-width: 1200px;
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.festival-banner .banner-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Banner image wrapper keeps required aspect ratio for desktop */
section.festival-banner .banner-image {
    width: 100%;
    max-width: 1000px; /* desktop target width */
    aspect-ratio: 1000 / 259; /* enforces 1000x259 ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: block;
}

section.festival-banner .banner-image a {
    display: block;
    width: 100%;
    height: 100%;
}

section.festival-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Tablet breakpoint - slightly narrower max width */
@media (max-width: 1024px) {
    section.festival-banner .banner-image {
        max-width: 900px;
        aspect-ratio: 1000 / 259; /* keep ratio but smaller width */
    }
}

/* Mobile - use taller crop for better composition */
@media (max-width: 768px) {
    section.festival-banner {
        padding: 16px 0;
    }
    section.festival-banner .banner-image {
        max-width: 100%;
        aspect-ratio: 16 / 9; /* more natural mobile ratio */
        border-radius: 12px;
    }
    section.festival-banner .banner-image img {
        transform: scale(1.02);
        transition: transform 0.25s ease;
    }
}

/* Small phones - slightly taller crop to avoid cutting important content */
@media (max-width: 480px) {
    section.festival-banner .banner-image {
        aspect-ratio: 3 / 2;
    }
}

/* Ensure overrides apply even if older rules were more specific */
section.festival-banner, section.festival-banner .banner-image, section.festival-banner .banner-image img {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
    .festival-banner {
        padding: 0.75rem 0 2.5rem 0 !important;
    }

    .festival-banner .container {
        padding: 0 0.5rem;
    }

    .festival-banner .banner-content {
        height: 240px;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .festival-banner .banner-image {
        border-radius: 12px;
    }

    .festival-banner .banner-image img {
        border-radius: 12px;
        transform: scale(1.1);
    }

    .festival-banner .banner-image:hover img {
        transform: scale(1.12);
    }
}

@media (max-width: 360px) {
    .festival-banner .container {
        padding: 0 0.5rem;
    }

    .festival-banner .banner-content {
        height: 220px;
        border-radius: 10px;
    }

    .festival-banner .banner-image {
        border-radius: 10px;
    }

    .festival-banner .banner-image img {
        border-radius: 10px;
    }
}

/* Fix sect
ion spacing and banner fill issues */
@media (max-width: 768px) {

    /* Reduce gap between destinations and banner */
    .destinations-section+.festival-banner {
        margin-top: -1rem !important;
    }

    /* Ensure banner fills properly */
    .festival-banner .banner-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Fix any overflow issues */
    .festival-banner {
        overflow: hidden;
    }

    .festival-banner .container {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 360px) {
    .destinations-section {
        padding: 1rem 0 0.5rem 0 !important;
    }

    .festival-banner {
        padding: 0.5rem 0 2rem 0 !important;
    }

    .festival-banner .container {
        padding: 0 0.25rem;
    }

    .festival-banner .banner-content {
        height: 200px;
        border-radius: 8px;
    }
}

/* Inc
reased zoom for small mobile banner */
@media (max-width: 480px) {
    .festival-banner .banner-image img {
        border-radius: 12px;
        transform: scale(1.9);
    }
}

/* Additional mobile fixes for destinations navigation */
@media (max-width: 480px) {
    .destinations-navigation {
        padding: 10px 0 10px 0;
        gap: 0.75rem;
        margin: 0;
    }

    .destinations-navigation .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .destinations-grid {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .destinations-navigation {
        padding: 8px 0 0 0;
        gap: 0.5rem;
        margin: 0;
    }

    .destinations-navigation .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .destinations-grid {
        gap: 8px;
    }

    .destinations-header {
        margin-bottom: 8px;
    }

    .destinations-carousel {
        margin-top: 8px;
    }

    /* Very Small Mobile Adjustments */
    .destinations-section .destination-card,
    .destinations-section .destinations-card {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }

    .destinations-grid {
        gap: 8px;
    }

    .handpicked-destinations {
        padding: 1rem 0;
    }

    .handpicked-destinations .destinations-carousel {
        gap: 0.4rem;
        padding: 0 0.5rem 1rem 0.5rem;
    }

    .handpicked-destinations .destination-card {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
        height: auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
    }

    .handpicked-destinations .destination-card .card-image {
        height: 120px;
        min-height: 120px;
        max-height: 120px;
    }

    .handpicked-destinations .card-content {
        padding: 0.45rem;
        gap: 0.2rem;
    }

    .handpicked-destinations .card-content h3 {
        font-size: 0.8rem;
        /* margin-bottom: 0.15rem; */
        line-height: 1.05;
    }

    .handpicked-destinations .card-content .current-price {
        font-size: 0.95rem;
    }

    .handpicked-destinations .card-content .price-section {
        margin-bottom: 0.15rem;
        gap: 0.05rem;
    }

    .handpicked-destinations .card-content .price-line-2 {
        gap: 0.25rem;
    }

    .handpicked-destinations .card-content .package-features {
        gap: 0.1rem;
        margin-bottom: 0.2rem;
    }

    .handpicked-destinations .card-content .feature {
        font-size: 0.65rem;
        gap: 0.2rem;
        line-height: 1.05;
    }

    .handpicked-destinations .view-itinerary-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}/* Mak
e package cards clearly clickable */
@media (max-width: 768px) {
    .destination-card:hover,
    .package-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .destination-card:active,
    .package-card:active {
        transform: translateY(0);
    }
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .destination-card,
    .package-card {
        transition: all 0.3s ease;
    }

    .destination-card:hover,
    .package-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .destination-card:active,
    .package-card:active {
        transform: translateY(-2px);
    }
}/* Fix
 white margin/padding on mobile */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        padding-top: 70px; /* Only top padding for navbar */
    }

    html {
        margin: 0;
        padding: 0;
    }

    * {
        box-sizing: border-box;
    }

    /* Ensure full width containers */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fix hero section full width */
    .hero {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-left: 0;
        padding-right: 0;
    }

    /* Fix any section that might have left margin */
    section {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* Ensure navbar takes full width */
    .navbar {
        width: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
    }

    .nav-container {
        width: 100%;
        margin: 0;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 1rem;
        max-width: 1400px;
    }
}