/* ===========================
   RehanTravel.com v3
   Ultra-Light Professional Theme
   =========================== */

:root {
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --primary-50: #dbeafe;
    --accent: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg: #f8fafc;
    --white: #ffffff;
    --card: #ffffff;

    --text: #475569;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --text-xs: #b0b8c4;

    --border: #e5e7eb;
    --border-light: #f1f5f9;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px -8px rgba(0,0,0,0.1);

    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;

    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: 0.2s ease;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   Navbar - Clean white
   =========================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 12px 0;
    transition: 0.3s ease;
    background: transparent;
}
.navbar.scrolled, .navbar-solid {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    padding: 8px 0;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    display: flex; align-items: center; gap: 8px;
    font-size: 1.25rem; font-weight: 300; color: white;
}
.navbar.scrolled .nav-brand, .navbar-solid .nav-brand { color: var(--text-dark); }
.nav-brand i { color: var(--primary); font-size: 1.3rem; }
.nav-brand strong { font-weight: 700; }

.nav-links {
    display: flex; align-items: center; gap: 4px;
}
.nav-link {
    padding: 7px 14px; border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.8);
    display: flex; align-items: center; gap: 5px;
}
.navbar.scrolled .nav-link, .navbar-solid .nav-link { color: var(--text); }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: white; }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active,
.navbar-solid .nav-link:hover, .navbar-solid .nav-link.active {
    background: var(--primary-light); color: var(--primary);
}
.nav-user {
    display: flex; align-items: center; gap: 8px; margin-left: 6px;
}
.nav-avatar {
    width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--primary-50);
}
.nav-username {
    font-weight: 500; font-size: 0.85rem; color: rgba(255,255,255,0.9);
}
.navbar.scrolled .nav-username, .navbar-solid .nav-username { color: var(--text-dark); }
.nav-toggle {
    display: none; background: none; border: none; font-size: 1.3rem;
    color: white; cursor: pointer; padding: 6px;
}
.navbar.scrolled .nav-toggle, .navbar-solid .nav-toggle { color: var(--text-dark); }
.nav-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 998;
}
.nav-overlay.open { display: block; }

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 20px; border-radius: var(--radius-full);
    font-family: var(--font); font-size: 0.85rem; font-weight: 600;
    border: none; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--primary); color: white;
}
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }

.btn-google {
    background: white; color: var(--text-dark);
    border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.btn-google:hover { border-color: #4285f4; background: #fafbfc; }

.btn-outline {
    background: transparent; border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.9);
}
.navbar.scrolled .btn-outline, .navbar-solid .btn-outline {
    border-color: var(--border); color: var(--text);
}

.btn-white { background: white; color: var(--primary); }
.btn-sm { padding: 5px 12px; font-size: 0.78rem; }
.btn-lg { padding: 12px 28px; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===========================
   Hero - Clean with travel image
   =========================== */
.hero {
    position: relative; min-height: 620px;
    display: flex; align-items: center;
    padding: 100px 0 70px;
    background: #f0f7ff;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f4f8 40%, #faf5ff 100%);
}
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(37,99,235,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 25% 80%, rgba(14,165,233,0.05) 0%, transparent 50%);
}
.hero-bg::after {
    content: ''; position: absolute;
    top: -40%; right: -15%; width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
}
.hero-overlay { display: none; }
.hero-content {
    position: relative; z-index: 2; text-align: center; width: 100%;
}
.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
    color: var(--text-dark); margin-bottom: 12px; line-height: 1.2;
}
.text-gradient {
    color: var(--primary);
}
.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: var(--text); margin-bottom: 36px; font-weight: 400;
}
.hero-wave {
    position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }
.hero-wave path { fill: var(--bg); }

/* ===========================
   Search Box - Clean white card
   =========================== */
.search-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
    max-width: 960px; margin: 0 auto;
    border: 1px solid var(--border-light);
}
.search-box-page {
    margin-bottom: 28px;
}
.search-form { display: flex; flex-direction: column; gap: 16px; }
.search-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr 1fr;
    gap: 12px; align-items: end;
}
.search-field { position: relative; }
.search-field label {
    display: block; font-size: 0.72rem; font-weight: 600;
    color: var(--text-light); margin-bottom: 5px;
    text-transform: uppercase; letter-spacing: 0.6px;
}
.search-field label i { color: var(--primary); margin-right: 3px; }
.search-input {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: 0.88rem; color: var(--text-dark);
    background: var(--white); transition: var(--transition);
    appearance: none; -webkit-appearance: none;
}
select.search-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L1 3h8z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.search-input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.search-swap {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--primary-light); color: var(--primary);
    cursor: pointer; transition: var(--transition); flex-shrink: 0; align-self: end; margin-bottom: 4px;
    border: none; font-size: 0.85rem;
}
.search-swap:hover { background: var(--primary); color: white; transform: rotate(180deg); }
.btn-search { align-self: center; padding: 12px 44px; }

/* Autocomplete */
.autocomplete-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px;
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); z-index: 100;
    max-height: 240px; overflow-y: auto; display: none;
    border: 1px solid var(--border);
}
.autocomplete-dropdown.show { display: block; animation: fadeDown 0.15s ease; }
.autocomplete-item {
    padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: var(--transition); border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--primary-light); }
.autocomplete-item i { color: var(--primary); font-size: 0.8rem; }
.ac-city { font-weight: 600; color: var(--text-dark); }
.ac-country { color: var(--text-light); font-size: 0.8rem; margin-left: 4px; }
.ac-code {
    margin-left: auto; font-weight: 700; color: var(--primary);
    font-size: 0.78rem; background: var(--primary-light);
    padding: 2px 7px; border-radius: 5px;
}

/* ===========================
   Sections
   =========================== */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
    font-size: 1.7rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px;
}
.section-subtitle { color: var(--text-light); font-size: 0.95rem; }

/* ===========================
   Features - Clean cards
   =========================== */
.features-section { background: var(--white); }
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card {
    background: var(--bg); border-radius: var(--radius-lg);
    padding: 28px 22px; text-align: center;
    transition: var(--transition); border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow);
    border-color: var(--border); background: var(--white);
}
.feature-icon {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; margin: 0 auto 14px; font-size: 1.2rem;
}
.feature-card:nth-child(1) .feature-icon { background: var(--primary-light); color: var(--primary); }
.feature-card:nth-child(2) .feature-icon { background: #fef3c7; color: #d97706; }
.feature-card:nth-child(3) .feature-icon { background: #d1fae5; color: #059669; }
.feature-card:nth-child(4) .feature-icon { background: #ede9fe; color: #7c3aed; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
.feature-card p { color: var(--text-light); font-size: 0.83rem; line-height: 1.5; }

/* ===========================
   Destinations - Image cards
   =========================== */
.destinations-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px;
}
.destination-card {
    border-radius: var(--radius-lg); overflow: hidden;
    transition: var(--transition); cursor: pointer; display: block;
}
.destination-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.destination-img {
    height: 200px; background-size: cover; background-position: center; position: relative;
}
.destination-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.65));
    display: flex; align-items: flex-end; justify-content: space-between; padding: 16px;
}
.destination-info h3 { color: white; font-size: 1.05rem; font-weight: 700; }
.destination-info p { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.destination-info p i { margin-right: 3px; }
.destination-code {
    background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
    color: white; font-weight: 700; font-size: 0.78rem;
    padding: 4px 10px; border-radius: 6px; align-self: flex-start;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: var(--primary); text-align: center;
}
.cta-content h2 { font-size: 1.6rem; color: white; font-weight: 700; margin-bottom: 10px; }
.cta-content p {
    color: rgba(255,255,255,0.75); font-size: 0.95rem;
    max-width: 540px; margin: 0 auto 24px;
}

/* ===========================
   Page Header
   =========================== */
.page-header {
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 100px 0 32px;
}
.page-header h1 {
    font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px;
}
.page-header h1 i { margin-right: 8px; color: var(--primary); }
.page-header p { color: var(--text-light); font-size: 0.92rem; }

/* ===========================
   Visa Banners
   =========================== */
.visa-banner {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 24px; border-radius: var(--radius-lg); margin-bottom: 20px;
}
.visa-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.visa-details h3 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.visa-details p { font-size: 0.85rem; line-height: 1.5; }
.visa-notes { margin-top: 4px; opacity: 0.8; }

.visa-free { background: #f0fdf4; border: 1px solid #bbf7d0; }
.visa-free .visa-icon { color: #16a34a; }
.visa-free h3 { color: #166534; }
.visa-free p { color: #15803d; }

.visa-arrival { background: #fffbeb; border: 1px solid #fde68a; }
.visa-arrival .visa-icon { color: #d97706; }
.visa-arrival h3 { color: #92400e; }
.visa-arrival p { color: #a16207; }

.visa-evisa { background: #eff6ff; border: 1px solid #bfdbfe; }
.visa-evisa .visa-icon { color: #2563eb; }
.visa-evisa h3 { color: #1e40af; }
.visa-evisa p { color: #1d4ed8; }

.visa-required { background: #fef2f2; border: 1px solid #fecaca; }
.visa-required .visa-icon { color: #dc2626; }
.visa-required h3 { color: #991b1b; }
.visa-required p { color: #b91c1c; }

.visa-unknown { background: var(--bg); border: 1px solid var(--border); }
.visa-unknown .visa-icon { color: var(--text-light); }

.visa-login { background: var(--primary-light); border: 1px solid #bfdbfe; }
.visa-login .visa-icon { color: var(--primary); }
.visa-login h3 { color: #1e40af; }

/* ===========================
   Results
   =========================== */
.search-page-section { padding-top: 36px; }

.results-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.results-count h2 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }
.results-count p { color: var(--text-light); font-size: 0.82rem; }
.results-sort { display: flex; align-items: center; gap: 8px; }
.results-sort label { font-size: 0.8rem; color: var(--text-light); }
.sort-select {
    padding: 6px 28px 6px 10px; border: 1px solid var(--border);
    border-radius: 8px; font-family: var(--font); font-size: 0.8rem;
    color: var(--text); background: white; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L1 3h8z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center;
}

/* ===========================
   Flight Cards - Clean
   =========================== */
.flights-list { display: flex; flex-direction: column; gap: 12px; }
.flight-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 20px 24px; display: flex; align-items: center; gap: 20px;
    border: 1px solid var(--border); transition: var(--transition);
}
.flight-card:hover {
    border-color: var(--primary-50); box-shadow: var(--shadow);
}
.flight-airline { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.airline-logo {
    width: 38px; height: 38px; border-radius: 8px; object-fit: contain;
    border: 1px solid var(--border-light); padding: 3px; background: white;
}
.airline-logo-fallback {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.airline-info { display: flex; flex-direction: column; }
.airline-info strong { font-size: 0.82rem; color: var(--text-dark); }
.flight-number { font-size: 0.72rem; color: var(--text-light); }

.flight-route { flex: 1; display: flex; align-items: center; gap: 14px; }
.flight-time-block { text-align: center; min-width: 60px; }
.flight-time { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); display: block; }
.flight-code { font-size: 0.78rem; font-weight: 600; color: var(--primary); display: block; }
.flight-city { font-size: 0.68rem; color: var(--text-light); display: block; }

.flight-path { flex: 1; text-align: center; }
.flight-duration { font-size: 0.72rem; color: var(--text-light); display: block; margin-bottom: 4px; }
.flight-line {
    display: flex; align-items: center; justify-content: center; position: relative; padding: 0 4px;
}
.flight-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.flight-stop-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--warning);
    border: 2px solid white; flex-shrink: 0; z-index: 1;
}
.flight-dash { flex: 1; height: 1.5px; background: var(--primary-50); min-width: 24px; }
.flight-plane-icon {
    position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
    color: var(--primary); font-size: 0.7rem;
}
.flight-stops { font-size: 0.7rem; margin-top: 3px; display: block; }
.nonstop { color: var(--success); font-weight: 600; }
.has-stops { color: #d97706; font-weight: 500; }

.flight-prices { min-width: 155px; text-align: right; }
.price-label {
    font-size: 0.68rem; color: var(--text-light); text-transform: uppercase;
    letter-spacing: 0.4px; display: block;
}
.price-amount {
    font-size: 1.4rem; font-weight: 800; color: var(--primary);
    display: block; line-height: 1.2;
}
.price-per { font-size: 0.68rem; color: var(--text-light); display: block; }
.price-options { display: flex; gap: 8px; justify-content: flex-end; margin: 6px 0 8px; }
.price-option span { font-size: 0.65rem; color: var(--text-light); display: block; }
.price-option strong { font-size: 0.75rem; color: var(--text); }
.btn-select { padding: 7px 18px; font-size: 0.8rem; }

/* ===========================
   No Results
   =========================== */
.no-results {
    text-align: center; padding: 60px 20px;
    background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.no-results i { font-size: 2.5rem; color: var(--text-xs); margin-bottom: 16px; }
.no-results h3 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 6px; }
.no-results p { color: var(--text-light); margin-bottom: 20px; font-size: 0.88rem; }

/* ===========================
   Search Suggestions
   =========================== */
.search-suggestions {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px; border: 1px solid var(--border);
}
.search-suggestions h2 {
    font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px;
}
.search-suggestions h2 i { color: var(--danger); margin-right: 6px; }
.suggestion-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-full); font-size: 0.82rem; color: var(--text); font-weight: 500;
    transition: var(--transition);
}
.chip:hover {
    background: var(--primary-light); border-color: var(--primary-50);
    color: var(--primary); transform: translateY(-1px);
}
.chip i { color: var(--primary); font-size: 0.72rem; }

/* ===========================
   Profile
   =========================== */
.profile-grid {
    display: grid; grid-template-columns: 350px 1fr; gap: 24px; align-items: start;
}
.profile-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border);
}
.profile-header-card {
    background: var(--primary); padding: 32px 24px; text-align: center; color: white;
}
.profile-avatar-lg {
    width: 76px; height: 76px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3); object-fit: cover; margin-bottom: 12px;
}
.profile-avatar-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.2); font-size: 1.8rem; margin: 0 auto 12px;
}
.profile-header-card h2 { font-size: 1.15rem; font-weight: 700; }
.profile-header-card .text-muted { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.profile-stats { display: flex; flex-direction: column; padding: 6px 0; }
.profile-stats .stat {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid var(--border-light);
}
.profile-stats .stat:last-child { border-bottom: none; }
.profile-stats .stat i {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-light); color: var(--primary); border-radius: 8px; font-size: 0.82rem;
}
.profile-stats .stat span { font-weight: 600; color: var(--text-dark); font-size: 0.88rem; }
.profile-stats .stat small { margin-left: auto; color: var(--text-light); font-size: 0.75rem; }

.profile-form-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 28px; border: 1px solid var(--border);
}
.profile-form-card h3 {
    font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px;
}
.profile-form-card h3 i { color: var(--primary); margin-right: 6px; }
.profile-form-card > .text-muted {
    color: var(--text-light); font-size: 0.85rem; margin-bottom: 20px; display: block;
}

/* ===========================
   Forms
   =========================== */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: var(--text-dark); margin-bottom: 6px;
}
.form-group label i { color: var(--primary); margin-right: 5px; width: 16px; text-align: center; }
.form-control {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: 0.88rem; color: var(--text-dark);
    background: var(--bg); transition: var(--transition);
    appearance: none; -webkit-appearance: none;
}
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 7L1 3h8z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.form-control:focus {
    outline: none; border-color: var(--primary); background: var(--white);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.alert {
    padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ===========================
   Modal
   =========================== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(3px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
}
.modal {
    background: white; border-radius: var(--radius-xl); padding: 36px;
    max-width: 400px; width: 90%; position: relative; text-align: center;
    box-shadow: var(--shadow-lg);
}
.modal-close {
    position: absolute; top: 14px; right: 14px; background: none; border: none;
    font-size: 1.1rem; color: var(--text-light); cursor: pointer;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
.modal-close:hover { background: var(--bg); color: var(--text-dark); }
.modal-icon { font-size: 2.5rem; color: var(--success); margin-bottom: 12px; }
.modal h2 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 6px; }
.modal p { color: var(--text-light); font-size: 0.88rem; }

/* ===========================
   Footer - Light
   =========================== */
.footer {
    background: var(--white); border-top: 1px solid var(--border);
    color: var(--text); padding: 48px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px;
    padding-bottom: 32px; border-bottom: 1px solid var(--border-light);
}
.footer-brand .nav-brand { color: var(--text-dark); margin-bottom: 10px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.footer-links h4 { color: var(--text-dark); font-size: 0.9rem; margin-bottom: 12px; }
.footer-links a {
    display: block; padding: 4px 0; font-size: 0.82rem; color: var(--text-light); transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-links a i { margin-right: 4px; font-size: 0.65rem; }
.footer-bottom {
    padding: 16px 0; text-align: center; font-size: 0.78rem; color: var(--text-light);
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: 1fr; }
    .flight-card { flex-wrap: wrap; }
    .flight-airline { min-width: auto; }
    .flight-prices {
        min-width: auto; text-align: center; width: 100%;
        display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
        justify-content: center; padding-top: 14px; border-top: 1px solid var(--border-light);
    }
    .price-options { margin: 0; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -280px; width: 270px; height: 100vh;
        background: white; flex-direction: column; padding: 70px 20px 20px;
        box-shadow: var(--shadow-lg); transition: 0.3s ease; z-index: 999;
        gap: 2px; align-items: stretch;
    }
    .nav-links.open { right: 0; }
    .nav-links .nav-link { color: var(--text); padding: 10px 14px; }
    .nav-links .nav-link:hover, .nav-links .nav-link.active {
        background: var(--primary-light); color: var(--primary);
    }
    .nav-links .nav-user {
        margin-left: 0; margin-top: 12px; padding-top: 12px;
        border-top: 1px solid var(--border); flex-wrap: wrap;
    }
    .nav-links .nav-username { color: var(--text-dark); }
    .nav-toggle { display: block; }

    .search-row {
        grid-template-columns: 1fr;
    }
    .search-swap { justify-self: center; transform: rotate(90deg); }
    .search-swap:hover { transform: rotate(270deg); }

    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-title { font-size: 1.6rem; }

    .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    .flight-card { flex-direction: column; padding: 16px; }
    .flight-route { flex-wrap: wrap; justify-content: center; }

    .results-header { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .section { padding: 48px 0; }
    .destinations-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .destinations-grid { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Utilities */
.text-muted { color: var(--text-light); }

/* Travelpayouts Widget */
.tp-search-widget {
    min-height: 80px;
    border-radius: 10px;
    overflow: hidden;
}
.tp-search-widget iframe {
    border-radius: 10px !important;
}
.search-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 10px;
}
