/* ═══════════════════════════════════════════
   Raza Pan Service - Landing Theme
   Shared CSS for all website pages
   ═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --pri: #5255C6;
    --pri-dk: #3d3fa0;
    --pri-lt: #7c7ed8;
    --pri-bg: rgba(82,85,198,.06);
    --accent: #e53935;
    --accent-dk: #c62828;
    --dark: #1a1a2e;
    --dark2: #16213e;
    --text: #1e293b;
    --muted: #64748b;
    --bg: #f8f9fc;
    --white: #ffffff;
    --border: #e2e8f0;
    --r: 14px;
    --r-sm: 10px;
    --sh: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --sh-md: 0 4px 16px rgba(0,0,0,.07);
    --sh-lg: 0 12px 40px rgba(0,0,0,.1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.anim { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.4,0,.2,1); }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: .1s; }
.anim-d2 { transition-delay: .2s; }
.anim-d3 { transition-delay: .3s; }
.anim-d4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════ */
.sa-nav {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.sa-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.1);
    background: rgba(255,255,255,.99);
}
.sa-nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}
.sa-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.sa-nav .nav-brand img { height: 44px; width: auto; }
.sa-nav .nav-brand-text {
    display: flex;
    flex-direction: column;
}
.sa-nav .nav-brand-text .brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.sa-nav .nav-brand-text .brand-tag {
    font-size: .7rem;
    color: var(--pri);
    font-weight: 600;
    letter-spacing: .5px;
}
.sa-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sa-nav .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--r-sm);
    transition: all .25s;
}
.sa-nav .nav-links a:hover,
.sa-nav .nav-links a.active { color: var(--pri); background: var(--pri-bg); }
.sa-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-login {
    color: var(--text) !important;
    font-weight: 600;
    font-size: .88rem;
    padding: 9px 20px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    text-decoration: none;
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-login:hover { border-color: var(--pri); color: var(--pri); }
.nav-cta {
    background: var(--pri);
    color: #fff !important;
    font-weight: 600;
    font-size: .88rem;
    padding: 10px 22px;
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 2px 8px rgba(82,85,198,.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-cta:hover { background: var(--pri-dk); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(82,85,198,.35); }

/* ── Mobile Nav Toggle ── */
.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text);
    font-size: 1.1rem;
    transition: all .25s;
}
.nav-toggle:hover { border-color: var(--pri); color: var(--pri); }

/* ═══════════════════════════════════════════
   Buttons (shared)
   ═══════════════════════════════════════════ */
.btn-pri {
    background: var(--pri);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--r-sm);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(82,85,198,.25);
    cursor: pointer;
}
.btn-pri:hover { background: var(--pri-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(82,85,198,.35); color: #fff; text-decoration: none; }
.btn-pri-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--r-sm);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px rgba(229,57,53,.25);
    cursor: pointer;
}
.btn-pri-accent:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,57,53,.35); color: #fff; text-decoration: none; }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    padding: 12px 32px;
    border-radius: var(--r-sm);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}
.btn-outline:hover { border-color: var(--pri); color: var(--pri); transform: translateY(-2px); text-decoration: none; }

/* ═══════════════════════════════════════════
   Sections (shared)
   ═══════════════════════════════════════════ */
.section { padding: 90px 0; }
.section.alt { background: var(--bg); }
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-tag {
    display: block;
    width: fit-content;
    margin: 0 auto 12px auto;
    background: var(--pri-bg);
    color: var(--pri);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sec-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.sec-header p { color: var(--muted); max-width: 520px; margin: 0 auto; font-size: .95rem; }

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */
.sa-footer {
    background: var(--dark);
    color: rgba(255,255,255,.65);
    padding: 0;
}
.footer-main { padding: 64px 0 40px; }
.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-brand-row img { height: 36px; }
.footer-brand-row .fb-name { font-size: 1.2rem; font-weight: 800; color: #fff; }
.sa-footer .footer-desc { font-size: .8rem; line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: all .25s;
    font-size: .9rem;
}
.footer-social a:hover { background: var(--pri); color: #fff; }
.sa-footer h5 {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.sa-footer ul { list-style: none; padding: 0; margin: 0; }
.sa-footer ul li { margin-bottom: 10px; }
.sa-footer ul li a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .8rem;
    transition: color .2s;
}
.sa-footer ul li a:hover { color: #fff; }
.footer-newsletter { margin-top: 8px; }
.footer-newsletter .nl-form {
    display: flex;
    gap: 0;
    margin-top: 12px;
}
.footer-newsletter .nl-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-sm) 0 0 var(--r-sm);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: .85rem;
    outline: none;
}
.footer-newsletter .nl-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter .nl-form button {
    padding: 10px 18px;
    background: var(--pri);
    color: #fff;
    border: none;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.footer-newsletter .nl-form button:hover { background: var(--pri-dk); }
.sa-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
}
.sa-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.sa-bottom a:hover { color: #fff; }

/* ═══════════════════════════════════════════
   Responsive - Shared Navigation
   ═══════════════════════════════════════════ */
@media (max-width: 991px) {
    .sa-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        gap: 4px;
    }
    .sa-nav .nav-links.active {
        display: flex;
    }
    .sa-nav .nav-actions {
        gap: 8px;
    }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .sa-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer-main .row > div { margin-bottom: 30px; }
    .nav-login { padding: 8px 14px; font-size: .8rem; }
    .nav-cta { padding: 8px 16px; font-size: .8rem; }
}

/* ═══════════════════════════════════════════
   Inner Pages - Shared Styles
   ═══════════════════════════════════════════ */

/* Hero (shared across all inner pages) */
.page-hero {
    background: linear-gradient(160deg, #f0f0ff 0%, #f8f9fc 40%, #fff5f5 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82,85,198,.06) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229,57,53,.04) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.page-hero h1 .highlight { color: var(--pri); }
.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}
.page-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: .82rem;
    color: var(--muted);
}
.page-hero .breadcrumb a {
    color: var(--pri);
    text-decoration: none;
    font-weight: 500;
}
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb i { font-size: .6rem; color: var(--border); }

/* Content Cards (for policy pages) */
.policy-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 40px 48px;
    box-shadow: var(--sh);
    margin-bottom: 32px;
}
.policy-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pri-bg);
}
.policy-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pri);
    margin-top: 24px;
    margin-bottom: 10px;
}
.policy-card p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8;
    margin-bottom: 14px;
}
.policy-card ul {
    padding-left: 20px;
    margin-bottom: 14px;
}
.policy-card ul li {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8;
    margin-bottom: 6px;
}
.policy-card .last-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pri-bg);
    color: var(--pri);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Service Cards */
.svc-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    height: 100%;
}
.svc-detail-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-6px);
    border-color: transparent;
}
.svc-detail-card .svc-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all .3s;
}
.svc-detail-card:hover .svc-detail-icon {
    transform: scale(1.1) rotate(-5deg);
}
.svc-detail-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.svc-detail-card p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.svc-detail-card .svc-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.svc-detail-card .svc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #475569;
    padding: 5px 0;
}
.svc-detail-card .svc-features li i {
    color: #16a34a;
    font-size: .7rem;
    flex-shrink: 0;
}

/* About Stats */
.about-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px 24px;
    text-align: center;
    transition: all .3s;
}
.about-stat:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
}
.about-stat .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}
.about-stat h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pri);
    margin-bottom: 4px;
}
.about-stat p {
    font-size: .82rem;
    color: var(--muted);
    margin: 0;
}

/* Team / Value Cards */
.value-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px;
    text-align: center;
    transition: all .35s;
    height: 100%;
}
.value-card:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-6px);
}
.value-card .value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}
.value-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.value-card p {
    color: var(--muted);
    font-size: .88rem;
    margin: 0;
    line-height: 1.6;
}

/* CTA Banner (reusable) */
.page-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    border-radius: var(--r);
    padding: 48px;
    position: relative;
    overflow: hidden;
}
.page-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(82,85,198,.2) 0%, transparent 70%);
    border-radius: 50%;
}
.page-cta h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.page-cta p { color: rgba(255,255,255,.7); margin-bottom: 20px; max-width: 440px; }

/* Responsive */
@media (max-width: 991px) {
    .page-hero h1 { font-size: 2rem; }
    .policy-card { padding: 28px 24px; }
}
@media (max-width: 767px) {
    .page-hero { padding: 60px 0 40px; }
    .page-hero h1 { font-size: 1.7rem; }
    .policy-card { padding: 24px 20px; }
    .page-cta { padding: 32px 24px; }
}

/* ═══════════════════════════════════════════
   Page-specific utility
   ═══════════════════════════════════════════ */
.sa-nav + #content { padding-top: 72px; }
.no-bottom { padding-bottom: 0 !important; }
.no-top { padding-top: 0 !important; }
