:root {
            --primary-color: #F96900;
            --primary-light: #ff8c3f;
            --primary-dark: #c95400;
            --secondary-color: #65DEF1;
            --secondary-light: #8be7f5;
            --secondary-dark: #3bbcce;
            --dark-accent: #333333;
            --light-bg: #F7F7F7;
            --light-gray: #e5e5e5;
            --medium-gray: #777;
            --white: #FFFFFF;
            --card-bg: #F8F9FA;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--white);
            color: var(--dark-accent);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Navigation styling - Updated for right alignment */
        nav {
            background-color: var(--primary-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 100;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            width: 100%;
            max-width: none;
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1rem;
            padding: 0;
            margin: 0;
            margin-left: auto;
        }

        .nav-links li {
            margin: 0;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--white);
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
        }

        .nav-links a:hover {
            background-color: var(--white);
            color: var(--primary-color);
        }

        /* Main Container - Updated for better width usage */
        .main-container {
            max-width: 1400px;
            margin: 100px auto 60px;
            padding: 0 40px;
            width: 100%;
        }

        /* Page Title */
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            color: var(--dark-accent);
            margin-bottom: 40px;
        }

        /* Search Bar - Wider */
        .search-container {
            position: relative;
            margin-bottom: 50px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .search-input {
            width: 100%;
            padding: 18px 25px 18px 55px;
            border: 2px solid var(--light-gray);
            border-radius: 30px;
            font-size: 1.1rem;
            background-color: var(--card-bg);
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(101, 222, 241, 0.1);
        }

        .search-input::placeholder {
            color: #999;
        }

        .search-icon {
            position: absolute;
            left: 22px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 1.2rem;
        }

        /* Category Sections - Updated */
        .category-section {
            margin-bottom: 50px;
        }

        .category-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 25px;
            padding-left: 10px;
            border-left: 4px solid var(--primary-color);
        }

        /* Horizontal scrolling trips grid */
        .trips-grid {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 20px;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-light) var(--light-gray);
        }

        .trips-grid::-webkit-scrollbar {
            height: 8px;
        }

        .trips-grid::-webkit-scrollbar-track {
            background: var(--light-gray);
            border-radius: 10px;
        }

        .trips-grid::-webkit-scrollbar-thumb {
            background-color: var(--primary-light);
            border-radius: 10px;
        }

        .trips-grid::-webkit-scrollbar-thumb:hover {
            background-color: var(--primary-color);
        }

        /* Trip Cards - Updated for horizontal layout */
        .trip-card {
            background-color: var(--card-bg);
            border-radius: 15px;
            padding: 25px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            flex: 0 0 280px;
            min-width: 280px;
            display: flex;
            flex-direction: column;
        }

        .trip-card:hover {
            border-color: var(--secondary-light);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }

        .trip-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark-accent);
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .trip-duration {
            font-size: 1.1rem;
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .trip-date {
            font-size: 0.95rem;
            color: var(--dark-accent);
            margin-bottom: 8px;
        }

        .trip-location {
            font-size: 0.9rem;
            color: var(--medium-gray);
            margin-top: auto;
        }

        /* Share Button */
        .share-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: rgba(255, 255, 255, 0.9);
            color: var(--medium-gray);
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            opacity: 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .trip-card:hover .share-btn {
            opacity: 1;
        }

        .share-btn:hover {
            background-color: white;
            color: var(--primary-color);
            transform: scale(1.1);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
        }

        /* Loading State */
        .loading-container {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 60px;
            width: 100%;
        }

        .loading-spinner {
            display: inline-block;
            width: 50px;
            height: 50px;
            border: 3px solid rgba(249, 105, 0, 0.1);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s linear infinite;
        }
        
         /* Dropdown styling */
        .dropdown {
            position: relative;
        }

        .dropdown-toggle {
            cursor: pointer;
            user-select: none;
        }

        .dropdown-arrow {
            margin-left: 5px;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .dropdown.active .dropdown-arrow {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            min-width: 180px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            list-style: none;
            padding: 8px 0;
            margin: 8px 0 0 0;
        }

        .dropdown.active .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu li {
            margin: 0;
        }

        .dropdown-menu a {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: var(--dark-accent);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
            border-radius: 0;
            white-space: nowrap;
        }

        .dropdown-menu a:hover {
            background-color: var(--light-bg);
            color: var(--primary-color);
        }

        .dropdown-menu a i {
            margin-right: 10px;
            width: 16px;
            text-align: center;
        }

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

        /* No Results */
        .no-results {
            text-align: center;
            padding: 80px 20px;
            color: var(--medium-gray);
        }

        .no-results i {
            font-size: 4rem;
            margin-bottom: 25px;
            color: var(--light-gray);
        }

        .no-results i.fa-exclamation-circle {
            color: #e74c3c;
        }

        .no-results h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark-accent);
        }

        .no-results p {
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .clear-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 25px;
            padding: 12px 30px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .clear-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(249, 105, 0, 0.3);
        }


        /* Mobile Responsive */
        @media (max-width: 768px) {
            .main-container {
                padding: 0 20px;
                margin: 90px auto 60px;
            }

            .page-title {
                font-size: 2rem;
            }

            .nav-links {
                display: none;
            }

            .trip-card {
                flex: 0 0 240px;
                min-width: 240px;
            }

            .trips-grid {
                gap: 15px;
            }
        }

        /* Animation for smooth filtering */
        .trip-card.hidden {
            display: none;
        }

        .fade-in {
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Scroll hint for horizontal scrolling */
        .scroll-hint {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(to right, transparent, white);
            padding: 20px 10px 20px 30px;
            pointer-events: none;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .scroll-hint.hidden {
            opacity: 0;
        }

        .scroll-hint i {
            color: var(--primary-color);
            font-size: 1.5rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
            40% { transform: translateX(-10px); }
            60% { transform: translateX(-5px); }
        }