/* ============================================================
   Trip Saathi — Shared styles
   ============================================================ */
:root {
    --brand: #1e6cd9;
    --brand-dark: #1e40af;
    --brand-soft: #e6efff;
    --accent: #f97316;
    --accent-soft: #ffeedd;
    --yellow: #fbbf24;
    --ink: #0f1a36;
    --text: #1a2238;
    --muted: #5b6478;
    --bg: #f5f8ff;
    --card: #ffffff;
    --border: #e5ecf8;
    --shadow-sm: 0 4px 14px rgba(15, 26, 54, 0.06);
    --shadow: 0 10px 30px rgba(15, 26, 54, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 26, 54, 0.14);
    --radius: 16px;
    --radius-lg: 22px;
    --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 22px;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--ink);
    font-size: 19px;
    letter-spacing: -0.2px;
}

.brand img {
    height: 56px;
    width: auto;
    max-width: 80px;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}
.brand .accent { color: var(--accent); }
.brand .brand-name { white-space: nowrap; }

.footer .brand img {
    height: 52px;
    width: auto;
    max-width: 76px;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--brand);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 18px rgba(30, 108, 217, 0.28);
    border: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 22px rgba(30, 108, 217, 0.32); }

.btn.accent { background: var(--accent); box-shadow: 0 6px 18px rgba(249, 115, 22, 0.32); }
.btn.accent:hover { box-shadow: 0 10px 22px rgba(249, 115, 22, 0.4); }
.btn.ghost {
    background: transparent;
    color: var(--brand) !important;
    border: 2px solid var(--brand);
    box-shadow: none;
}
.btn.ghost:hover { background: var(--brand-soft); }
.btn.danger { background: #dc2626; box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32); }
.btn.danger:hover { box-shadow: 0 10px 22px rgba(220, 38, 38, 0.4); }

/* Hamburger (mobile) */
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2.4px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title { font-size: 36px; margin: 0 0 14px; letter-spacing: -0.5px; color: var(--ink); text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 50px; font-size: 17px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: #cdd6e8;
    padding: 56px 0 30px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a { color: #cdd6e8; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .copyright {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #8896b3;
    text-align: center;
}

@media (max-width: 820px) {
    .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 22px; gap: 14px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

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