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

        :root {
            --teal-primary: #00b8d4;
            --teal-light: #26c6da;
            --teal-glow: #4dd0e1;
            --teal-deep: #0097a7;
            --teal-dark: #00838f;
            --dark: #081120;
            --dark2: #101b2d;
            --glass: rgba(255, 255, 255, 0.08);
            --text: #f1f5f9;
            --muted: #cbd5e1;
            --green: #00c896;
            --blue: #4cc9f0;
            --purple: #9b5de5;
            --gold-credit: #e8c776;
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            overflow-x: hidden;
            background:
            linear-gradient(rgba(6,14,24,.60),
            rgba(6,14,24,.70)),
                url("/static/images/bus-bg.jfif");
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--text);
            position: relative;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            background:
                radial-gradient(circle at top right, rgba(0, 184, 212, 0.15), transparent 35%),
                radial-gradient(circle at bottom left, rgba(38, 198, 218, 0.12), transparent 35%);
            z-index: 0;
            pointer-events: none;
        }

        header {
            width: 100%;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            background: rgba(6, 12, 24, 0.7);
            border-bottom: 1px solid rgba(0, 184, 212, 0.2);
        }

        .navbar {
            width: 100%;
            max-width: 1400px;
            margin: auto;
            padding: 14px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .logo-box {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .logo-frame {
            width: 72px;
            height: 72px;
            border-radius: 22px;
            background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
            padding: 4px;
            box-shadow:
                0 10px 30px rgba(0, 184, 212, 0.4),
                0 0 20px rgba(38, 198, 218, 0.3);
            animation: float 4s ease-in-out infinite;
        }

        .logo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 18px;
            background: #fff;
        }

        .brand {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .brand h1 {
            font-family: 'Noto Nastaliq Urdu', serif;
            font-size: 2.7rem;
            line-height: 1.2;
            color: #fff;
            text-shadow: 0 0 15px rgba(0, 184, 212, 0.4);
            transform: translateY(-12px);
        }

        .brand p {
            font-size: 0.92rem;
            color: var(--muted);
            margin-top: 4px;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            align-items: center;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            transition: 0.3s;
            position: relative;
            cursor: pointer;
            padding: 6px 2px;
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(to left, var(--teal-primary), var(--teal-light));
            transition: 0.3s;
            border-radius: 2px;
        }

        .nav-links a:hover {
            color: var(--teal-light);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .language-switcher {
            display: flex;
            gap: 10px;
        }

        .lang-btn {
            border: none;
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            padding: 10px 14px;
            border-radius: 12px;
            cursor: pointer;
            transition: 0.3s;
            font-weight: 600;
            font-family: 'Vazirmatn', sans-serif;
        }

        .lang-btn:hover {
            background: var(--teal-primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 184, 212, 0.4);
        }

        .lang-btn.active-lang {
            background: var(--teal-primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(0, 184, 212, 0.5);
        }

        .hero {
            position: relative;
            z-index: 2;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 140px 20px 60px;
        }

        .hero-content {
            width: 100%;
            max-width: 1400px;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 60px;
            align-items: center;
        }

        .hero-text h2 {
            font-size: 4rem;
            line-height: 1.2;
            margin-bottom: 25px;
            font-weight: 900;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        }

        .gradient-text {
            background: linear-gradient(to left, var(--teal-primary), var(--teal-glow));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-text p {
            font-size: 1.2rem;
            color: #dbe4ee;
            line-height: 2;
            margin-bottom: 35px;
            max-width: 700px;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 16px 34px;
            border-radius: 18px;
            text-decoration: none;
            font-size: 1.05rem;
            font-weight: 700;
            transition: 0.35s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            border: none;
            font-family: 'Vazirmatn', sans-serif;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
            color: #fff;
            box-shadow: 0 12px 25px rgba(0, 184, 212, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 184, 212, 0.5);
        }

        .hero-card {
            position: relative;
        }

        .bus-card {
            position: relative;
            overflow: hidden;
            border-radius: 35px;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(0, 184, 212, 0.25);
            box-shadow:
                0 20px 60px rgba(0, 0, 0, 0.45),
                0 0 40px rgba(0, 184, 212, 0.1);
            padding: 18px;
        }

        .bus-card img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 25px;
            display: block;
        }

        .search-section {
            position: relative;
            z-index: 2;
            max-width: 1400px;
            margin: 0 auto 40px;
            padding: 0 20px;
        }

        .search-card {
            background: rgba(16, 27, 45, 0.7);
            backdrop-filter: blur(20px);
            border-radius: 32px;
            border: 1px solid rgba(0, 184, 212, 0.3);
            padding: 35px 30px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .form-group {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: flex-end;
        }

        .input-field {
            flex: 1;
            min-width: 180px;
        }

        .input-field label {
            display: block;
            margin-bottom: 8px;
            color: var(--teal-light);
            font-weight: 500;
        }

        .input-field input, .input-field select {
            width: 100%;
            padding: 14px 18px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 20px;
            color: white;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 1rem;
            transition: 0.3s;
        }

        .input-field select, .input-field select option {
            background: #1e293b;
            color: white;
        }

        .input-field input:focus, .input-field select:focus {
            outline: none;
            border-color: var(--teal-primary);
            box-shadow: 0 0 12px rgba(0,184,212,0.4);
        }

        .btn-search {
            background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
            border: none;
            padding: 14px 32px;
            border-radius: 28px;
            color: white;
            font-weight: bold;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-search:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,184,212,0.4);
        }

        .results-section {
            margin-top: 30px;
            background: rgba(16, 27, 45, 0.5);
            backdrop-filter: blur(12px);
            border-radius: 28px;
            padding: 20px;
            border: 1px solid rgba(0, 184, 212, 0.2);
        }

        .results-title {
            font-size: 1.6rem;
            margin-bottom: 20px;
            padding-right: 15px;
            border-right: 4px solid var(--teal-primary);
        }

        .route-table {
            width: 100%;
            border-collapse: collapse;
            text-align: right;
        }

        .route-table th, .route-table td {
            padding: 16px 12px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .route-table th {
            background: rgba(0,184,212,0.15);
            color: var(--teal-light);
            font-weight: 700;
        }

        .route-table tr:hover {
            background: rgba(0,184,212,0.08);
        }

        .no-results {
            text-align: center;
            padding: 40px;
            color: var(--muted);
        }

        .booking-note {
            text-align: center;
            margin-top: 30px;
            padding: 18px;
            background: rgba(255,193,7,0.12);
            border-radius: 28px;
            border-right: 5px solid #ffc107;
            font-weight: 500;
        }

        .booking-note i {
            color: #ffc107;
            margin-left: 8px;
        }

        .sellers-list {
            margin-top: 20px;
            background: rgba(0,0,0,0.3);
            border-radius: 24px;
            padding: 20px;
        }

        .sellers-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--teal-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sellers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
        }

        .seller-card {
            background: rgba(255,255,255,0.05);
            border-radius: 18px;
            padding: 15px;
            border: 1px solid rgba(0,184,212,0.2);
            transition: 0.3s;
        }

        .seller-card:hover {
            background: rgba(0,184,212,0.08);
            border-color: rgba(0,184,212,0.5);
        }

        .seller-name {
            font-weight: 800;
            font-size: 1rem;
            color: var(--teal-glow);
            margin-bottom: 8px;
        }

        .seller-address, .seller-phone {
            font-size: 0.85rem;
            color: #cbd5e1;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
        }

        .features {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1400px;
            margin: auto;
            padding: 40px 20px 80px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title h3 {
            font-size: 2.5rem;
            margin-bottom: 12px;
            color: #fff;
        }

        .section-title p {
            color: #cbd5e1;
            font-size: 1.05rem;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-radius: 28px;
            border: 1px solid rgba(0, 184, 212, 0.15);
            padding: 35px 25px;
            transition: 0.4s;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            background: rgba(0, 184, 212, 0.08);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 184, 212, 0.1);
            border-color: rgba(0, 184, 212, 0.4);
        }

        .feature-icon {
            width: 75px;
            height: 75px;
            border-radius: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .teal-icon {
            background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
        }

        .blue-icon {
            background: linear-gradient(135deg, #4cc9f0, #4361ee);
        }

        .green-icon {
            background: linear-gradient(135deg, #00c896, #00f5d4);
        }

        .purple-icon {
            background: linear-gradient(135deg, #9b5de5, #c77dff);
        }

        .feature-card h4 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: #fff;
        }

        .feature-card p {
            color: #d1d5db;
            line-height: 1.9;
            font-size: 0.98rem;
        }

        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0.35s ease;
            padding: 20px;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background: rgba(16, 27, 45, 0.95);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border-radius: 28px;
            border: 1px solid rgba(0, 184, 212, 0.35);
            box-shadow:
                0 30px 70px rgba(0, 0, 0, 0.6),
                0 0 60px rgba(0, 184, 212, 0.15);
            max-width: 600px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            padding: 40px 35px;
            position: relative;
            transform: translateY(30px);
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
            text-align: center;
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 20px;
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: #fff;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.3rem;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5;
        }

        .modal-close:hover {
            background: rgba(239, 68, 68, 0.6);
            transform: rotate(90deg);
        }

        .modal-icon {
            font-size: 4rem;
            margin-bottom: 15px;
            display: block;
            animation: float 3s ease-in-out infinite;
        }

        .modal-container h3 {
            font-size: 2rem;
            color: #fff;
            margin-bottom: 20px;
            font-weight: 800;
        }

        .modal-container h3 .teal-highlight {
            color: var(--teal-light);
        }

        .modal-body-content {
            color: #d1d5db;
            line-height: 2.2;
            font-size: 1rem;
            text-align: right;
        }

        .modal-body-content .info-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 14px;
            margin-bottom: 10px;
            transition: 0.3s;
        }

        .modal-body-content .info-row:hover {
            background: rgba(0, 184, 212, 0.1);
        }

        .modal-body-content .info-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .modal-body-content .info-text {
            color: #e2e8f0;
            font-size: 0.95rem;
        }

        .modal-body-content .info-text strong {
            color: var(--teal-light);
        }

        .modal-feature-list {
            list-style: none;
            padding: 0;
            text-align: right;
        }

        .modal-feature-list li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .modal-feature-list li::before {
            content: "✦";
            color: var(--teal-primary);
            font-size: 1rem;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .whatsapp-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #25D366;
            color: #fff;
            padding: 12px 24px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            margin-top: 15px;
            transition: 0.3s;
        }

        .whatsapp-link:hover {
            background: #1da851;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
        }

        .afghan-calendar {
            display: none;
            position: absolute;
            margin-top: 8px;
            background: rgba(16,27,45,0.98);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(0,184,212,0.3);
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.7);
            z-index: 10000;
            width: 300px;
            direction: rtl;
            color: #fff;
        }
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
            color: white;
            border-radius: 12px 12px 0 0;
        }
        .calendar-header button {
            background: transparent;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            padding: 0.5rem;
        }
        .calendar-grid div {
            padding: 0.5rem;
            text-align: center;
            cursor: pointer;
            border-radius: 8px;
        }
        .day-name {
            font-weight: bold;
            background: rgba(255,255,255,0.08);
            margin-bottom: 4px;
            cursor: default;
            color: #94a3b8;
        }
        .day:hover {
            background: rgba(0,184,212,0.2);
        }
        .today {
            background: var(--teal-primary) !important;
            color: white;
            font-weight: bold;
        }
        .selected {
            background: var(--teal-deep) !important;
            color: white;
        }
        .empty {
            cursor: default;
        }

        .designer-credit {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 30px 20px 15px;
            margin: 0 auto;
            max-width: 800px;
        }

        .credit-card {
            display: inline-block;
            background: rgba(16, 27, 45, 0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(0, 184, 212, 0.3);
            border-radius: 50px;
            padding: 16px 32px;
            box-shadow:
                0 8px 30px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(0, 184, 212, 0.08);
            transition: 0.4s;
        }

        .credit-card:hover {
            border-color: rgba(0, 184, 212, 0.6);
            box-shadow:
                0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(0, 184, 212, 0.2);
            transform: translateY(-3px);
        }

        .credit-card span {
            color: #cbd5e1;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        .credit-card .name-highlight {
            color: var(--teal-glow);
            font-weight: 800;
            font-size: 1rem;
            text-shadow: 0 0 18px rgba(0, 184, 212, 0.5);
            letter-spacing: 1px;
        }

        footer {
            position: relative;
            z-index: 2;
            margin-top: 10px;
            padding: 30px 20px;
            border-top: 1px solid rgba(0, 184, 212, 0.15);
            text-align: center;
            color: #cbd5e1;
            background: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            font-size: 0.9rem;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
            100% {
                transform: translateY(0px);
            }
        }

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

        .modal-container::-webkit-scrollbar {
            width: 6px;
        }
        .modal-container::-webkit-scrollbar-track {
            background: transparent;
        }
        .modal-container::-webkit-scrollbar-thumb {
            background: rgba(0, 184, 212, 0.4);
            border-radius: 3px;
        }

        @media (max-width: 1000px) {
            .hero-content {
                grid-template-columns: 1fr;
            }
            .form-group {
                flex-direction: column;
            }
            .route-table {
                font-size: 0.8rem;
            }
        }