/* ==========================================
   style.css — ST-POS Main Stylesheet
   Standard Tech | standardtech
   ========================================== */

/* ---- CSS Variables / Brand Colors ---- */
/* =====================================================
   EXACT colors extracted directly from logo.svg
   Blue swirl:   #1D89C9  — dominant sky-blue
   Blue deep:    #1D6EAF  — mid-tone blue
   Blue dark:    #0F6EB6  — deep blue
   Orange main:  #F89D1B  — dominant orange swirl
   Orange deep:  #EE6024  — darker orange
   Red-orange:   #EC4D22  — accent / CTA
   ===================================================== */
:root {
    /* — Primary: logo sky-blue (#1D89C9) — */
    --st-primary:       #0B2A5B;
    --st-primary-dark:  #1D6EAF;   /* deeper blue from logo */
    --st-primary-darker:#0F6EB6;   /* darkest blue from logo */
    --st-primary-light: #e6f4fb;   /* soft blue tint */

    /* — Secondary: logo orange (#F89D1B) — */
    --st-secondary: #1565C0;
    --st-accent: #FF7A00;
    --st-light: #F8FAFC;
    
    /* — Supporting — */
    --st-green:         #28A745;
    --st-dark:          #0D2B45;   /* deep navy for dark sections */
    --st-darker:        #071a2c;
    --st-gray:          #6b7280;
    --st-light:         #f0f7fc;   /* blue-tinted light bg */
    --st-border:        #cce4f5;   /* blue-tinted border */

    /* — Navbar & Footer — */
    --st-navbar-bg:     #1D6EAF;   /* mid-blue from logo */
    --st-footer-bg:     #0D2B45;   /* deep navy */
    --st-footer-border: #1D89C9;

    /* — Utilities — */
    --st-radius:        10px;
    --st-shadow:        0 4px 20px rgba(29,137,201,.12);
    --st-shadow-hover:  0 8px 32px rgba(238,96,36,.22);
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--st-primary); text-decoration: none; }
a:hover { color: var(--st-primary-dark); }

img { max-width: 100%; height: auto; }

/* ---- Utility Classes ---- */
.text-st-primary { color: var(--st-primary) !important; }
.bg-st-primary   { background: var(--st-primary) !important; }
.bg-st-light     { background: var(--st-primary-light) !important; }

/* ---- Buttons ---- */
.btn-st-primary {
    background: var(--st-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: .5rem 1.4rem;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-st-primary:hover {
    background: var(--st-secondary);
    color: #fff;
   box-shadow:0 2px 20px rgba(0,0,0,.08);
    transform: translateY(-1px);
}
.btn-st-outline {
    background: transparent;
    color: var(--st-primary);
    border: 2px solid var(--st-primary);
    border-radius: 6px;
    font-weight: 600;
    padding: .45rem 1.4rem;
    transition: all .2s;
}
.btn-st-outline:hover {
    background: var(--st-secondary);
    border-color: var(--st-secondary);
    color: #fff;
}

/* ---- Navbar ---- */
.st-navbar {
    background:#ffffff !important;
    padding:12px 0;
    box-shadow:0 2px 20px rgba(0,0,0,.08);
    border-bottom:1px solid #eef2f7;
}
.st-navbar .navbar-brand span { font-size: 1.15rem; letter-spacing: -.3px; }
.st-navbar .nav-link{
    color:#334155 !important;
    font-weight:600;
    font-size:.95rem;
    padding: .45rem .75rem !important;
    border-radius: 6px;
    transition: color .2s, background .2s;
}
.st-navbar .nav-link:hover,
.st-navbar .nav-link.active{
    color:var(--st-primary) !important;
    background:#f1f5f9;
}
.st-navbar .dropdown-menu {
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
    border-radius: var(--st-radius);
}
.st-navbar .dropdown-item:hover { background: var(--st-primary-light); color: var(--st-primary); }

/* FIX: navbar-dark gives a white toggler icon by default, but .st-navbar
   background is forced white above — icon was invisible. Force a dark
   icon so it's visible against the white bar. */
.st-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23334155' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.st-navbar .navbar-toggler {
    border-color: rgba(51,65,85,.25);
}

/* ---- Hero Section ---- */
.st-hero{
    background:
    linear-gradient(
    135deg,
    #F8FAFC 0%,
    #EFF6FF 100%
    
    );
    color:#0f172a;
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}
.st-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(29,137,201,.25) 0%, transparent 70%);
    pointer-events: none;
}
.st-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.2; }
.st-hero .lead { font-size: 1.08rem; color: #cbd5e1; max-width: 520px; }
.st-hero .hero-badges .badge {
    font-size: .78rem; font-weight: 500; padding: .4rem .9rem; border-radius: 999px;
}

/* ---- Section Styles ---- */
.st-section { padding: 72px 0; }
.st-section-light { background: var(--st-light); }
.st-section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--st-dark); }
.st-section-subtitle { color: var(--st-gray); max-width: 560px; }

/* ---- Cards ---- */
.st-card {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 1.75rem;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.st-card:hover {
    box-shadow: 0 8px 32px rgba(238,96,36,.15);
    transform: translateY(-3px);
    border-color: var(--st-secondary);
}
.st-card .card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(29,137,201,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--st-primary);
    margin-bottom: 1rem;
}

/* ---- Pricing Cards ---- */
.pricing-card {
    border: 2px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 2rem 1.75rem;
    transition: all .25s;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--st-secondary);
    background: linear-gradient(135deg, rgba(238,96,36,.06) 0%, #fff 100%);
}
.pricing-card .price { font-size: 2rem; font-weight: 800; color: var(--st-dark); }
.pricing-card .price small { font-size: .9rem; font-weight: 400; color: var(--st-gray); }
.pricing-card .featured-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--st-secondary); color: #fff;
    padding: .2rem .9rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
    white-space: nowrap;
}
.pricing-card .pkg-number {
    display: inline-block;
    background: var(--st-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .15rem .6rem;
    border-radius: 999px;
    margin-bottom: .6rem;
    letter-spacing: .04em;
}

/* ---- Forms ---- */
.st-form-card {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 2rem;
    box-shadow: var(--st-shadow);
}
.form-label { font-weight: 500; font-size: .9rem; color: #374151; }
.form-control, .form-select {
    border: 1.5px solid var(--st-border);
    border-radius: 7px;
    padding: .55rem .9rem;
    font-size: .93rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(29,137,201,.12);
}

/* ---- Alerts ---- */
.alert { border-radius: var(--st-radius); border: none; font-size: .93rem; }
.alert-success  { background: #d1fae5; color: #065f46; }
.alert-danger   { background: #fee2e2; color: #991b1b; }
.alert-warning  { background: #fef9c3; color: #854d0e; }
.alert-info     { background: #e0f2fe; color: #0c4a6e; }

/* ---- Badges ---- */
.badge { font-weight: 500; letter-spacing: .3px; }

/* ---- Tables ---- */
.st-table { border-radius: var(--st-radius); overflow: hidden; box-shadow: var(--st-shadow); }
.st-table thead th { background: var(--st-dark); color: #fff; font-weight: 600; font-size: .85rem; border: none; }
.st-table tbody tr:hover { background: var(--st-primary-light); }

/* ---- WhatsApp Float Button ---- */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    background: #25d366; color: #fff;
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,.45);
    transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
    color: #fff; transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

/* ---- Footer ---- */
.st-footer {
    background: linear-gradient(
        135deg,
        #081F45 0%,
        #0B2A5B 40%,
        #133C7A 100%
    );
    margin-top: auto;
}
.st-footer-main { border-bottom: 1px solid var(--st-footer-border); }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: #94a3b8; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { color: #94a3b8; font-size: .9rem; margin-bottom: .6rem; display: flex; align-items: flex-start; gap: .25rem; }
.footer-contact a { color: #94a3b8; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.st-footer-bottom { background: var(--st-footer-bg); border-top: 1px solid var(--st-footer-border); }
.footer-bottom-link { color: #64748b; font-size: .82rem; transition: color .2s; }
.footer-bottom-link:hover { color: #fff; }

/* ---- Page Header Banner ---- */
.st-page-header {
    background: linear-gradient(135deg, var(--st-dark) 0%, var(--st-primary) 60%, var(--st-secondary) 100%);
    color: #fff; padding: 48px 0 40px;
}
.st-page-header h1 { font-size: 1.9rem; font-weight: 800; margin: 0; }
.st-page-header .breadcrumb-item,
.st-page-header .breadcrumb-item a { color: #94a3b8; font-size: .88rem; }
.st-page-header .breadcrumb-item.active { color: #e2e8f0; }
.st-page-header .breadcrumb-item + .breadcrumb-item::before { color: #64748b; }

/* ---- Auth Pages ---- */
.auth-wrapper {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--st-light);
    padding: 2rem 1rem;
}
.auth-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--st-shadow);
    padding: 2.5rem 2rem;
    width: 100%; max-width: 420px;
}
.auth-card .auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-card h2 { font-size: 1.4rem; font-weight: 800; text-align: center; }

/* ---- Dashboard / Portal ---- */
.stat-card {
    background: #fff;
    border-radius: var(--st-radius);
    border: 1px solid var(--st-border);
    padding: 1.5rem;
    display: flex; align-items: center; gap: 1rem;
    transition: box-shadow .2s;
}
.stat-card:hover { box-shadow: var(--st-shadow-hover); }
.stat-card .stat-icon {
    width: 54px; height: 54px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.stat-card .stat-value { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: .83rem; color: var(--st-gray); margin-top: .25rem; }
/* ==========================================
   ST-POS CUSTOM ADDITIONS
========================================== */

.site-logo{
    height:48px;
    width:auto;
    display:block;
    object-fit:contain;
}

.navbar-brand{
    display:flex;
    align-items:center;
    gap:10px;
}

.hero-img{
    width:100%;
    max-width:700px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.dashboard-preview img{
    width:100%;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
}

.login-banner,
.register-banner{
    color:#fff;
    min-height:100vh;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-banner{
    background:var(--st-primary);
}

.register-banner{
    background:var(--st-primary-dark);
}

.login-banner img,
.register-banner img{
    width:100%;
    max-width:500px;
    margin-bottom:20px;
}

.promo-section{
    padding:80px 0;
}

.promo-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.promo-image img{
    width:100%;
    border-radius:15px;
}

.promo-content h2{
    color:var(--st-primary);
    font-weight:700;
}

.wa-float{
    width:60px;
    height:60px;
    font-size:30px;
}

@media(max-width:768px){

    .site-logo{
    height:48px;
    width:auto;
}

    .promo-grid{
        grid-template-columns:1fr;
    }

    .login-banner,
    .register-banner{
        min-height:auto;
        padding:30px;
    }

    .st-hero{
        text-align:center;
    }
}
.hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    flex-wrap:wrap;
}

.hero-text{
    flex:1;
}

.hero-image{
    flex:1;
    text-align:center;
}

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

.pricing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.industry-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    text-align:center;
}

.industry-grid span{
    background:#fff;
    padding:15px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.faq-box{
    max-width:900px;
    margin:auto;
}

.cta-section{
    background:var(--st-primary);
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.cta-section h2{
    margin-bottom:20px;
}
.login-banner{
    background:var(--st-primary);
    color:#fff;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-banner ul{
    margin-top:20px;
}

.login-banner li{
    margin-bottom:10px;
}

/* ==========================================
   HOMEPAGE ADDITIONS
   ========================================== */

/* Hero Section overrides */
.st-hero { padding: 80px 0 70px; }
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 280px; }
.hero-image { flex: 1; text-align: center; min-width: 280px; }
.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: #0B2A5B;
}
.hero-accent { color: #60a5fa; }
.hero-lead { color: #475569; font-size: 1.05rem; max-width: 520px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-features span { color: #334155; font-size: .88rem; font-weight: 500; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: .78rem; color: #94a3b8; }
.hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* Trust Bar */
.st-trust-bar { background: #f8fafc; border-top: 1px solid var(--st-border); border-bottom: 1px solid var(--st-border); }

/* Dashboard preview */
.dashboard-preview { max-width: 960px; margin: 0 auto; }
.dashboard-preview img { border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.15); }

/* Label Chip */
.st-label-chip {
    display: inline-block;
    background: rgba(238,96,36,.12);
    color: var(--st-secondary);
    font-size: .78rem; font-weight: 700;
    padding: .3rem 1rem; border-radius: 999px;
    letter-spacing: .5px; text-transform: uppercase;
    border: 1px solid rgba(238,96,36,.25);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

/* Promotional Section */
.promo-section { padding: 80px 0; background: #fff; }
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.promo-image img { width: 100%; border-radius: 14px; box-shadow: 0 10px 32px rgba(0,0,0,.12); }
.promo-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--st-dark); }
.promo-list { list-style: none; padding: 0; }
.promo-list li { margin-bottom: .6rem; font-size: .93rem; color: #374151; }

/* Pricing Grid (homepage) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pricing-features li { font-size: .88rem; padding: .3rem 0; }

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}
.industry-chip {
    background: #fff;
    border: 1px solid var(--st-border);
    padding: .9rem 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
    color: var(--st-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex; align-items: center; justify-content: center;
}
.industry-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); border-color: var(--st-primary); }

/* FAQ */
.faq-box { max-width: 860px; margin: 0 auto; }
.st-accordion .accordion-item {
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius) !important;
    margin-bottom: .5rem; overflow: hidden;
}
.st-accordion .accordion-button { font-weight: 600; font-size: .93rem; }
.st-accordion .accordion-button:not(.collapsed) { color: var(--st-primary); background: var(--st-primary-light); }
.st-accordion .accordion-button:focus { box-shadow: none; }

/* WA CTA */
.st-wa-cta { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.btn-wa-cta {
    background: #fff; color: #059669; font-weight: 700; border-radius: 8px; padding: .7rem 1.8rem;
    transition: all .2s;
}
.btn-wa-cta:hover { background: #ecfdf5; color: #047857; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* Contact strip */
.contact-strip-item {
    display: flex; align-items: center; gap: 12px; justify-content: center;
    padding: 1rem; border-radius: var(--st-radius); transition: background .2s;
}
.contact-strip-item:hover { background: #fff; box-shadow: var(--st-shadow); }
.contact-strip-item i { font-size: 1.6rem; color: var(--st-primary); flex-shrink: 0; }
.contact-strip-item a, .contact-strip-item span { color: var(--st-dark); }
.fw-600 { font-weight: 600; }

/* ==========================================
   AUTH SPLIT LAYOUT (Login / Register)
   ========================================== */

.auth-split-body { margin: 0; padding: 0; overflow-x: hidden; min-height: 100vh; }

.auth-split {
    display: flex;
    min-height: 100vh;
}

.auth-split-left {
    flex: 0 0 42%;
    color: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-banner {
    background: linear-gradient(160deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
}

.register-banner {
    background: linear-gradient(160deg, var(--st-primary) 0%, var(--st-accent) 100%);
}

.auth-banner-logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.auth-banner-img {
    width: 100%;
    max-width: 340px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
    margin-top: 16px;
    display: block;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.auth-feature-list li {
    font-size: .9rem;
    margin-bottom: .55rem;
    color: rgba(255,255,255,.85);
}

.auth-split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-light);
    padding: 32px 24px;
    overflow-y: auto;
    min-height: 100vh;
}

.auth-form-box {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--st-shadow);
}

/* Tablet */
@media (max-width: 991.98px) {
    .auth-split { flex-direction: column; min-height: auto; }
    .auth-split-left {
        flex: none;
        min-height: auto;
        padding: 28px 24px;
        text-align: center;
        align-items: center;
    }
    .auth-banner-img { max-width: 200px; margin: 8px auto; }
    .auth-feature-list { display: inline-block; text-align: left; }
    .auth-split-right { min-height: auto; padding: 24px 16px; }
    .auth-form-box { padding: 1.75rem 1.25rem; }
}

@media (max-width: 767.98px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-features { justify-content: center; }
    .hero-stats { justify-content: center; }
    .promo-grid { grid-template-columns: 1fr; gap: 32px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 16px; }
}


/* ==========================================
   URDU / RTL SUPPORT
   ========================================== */

/* Urdu font — Google Noto Nastaliq or system fallback */
.urdu-text, .urdu-accordion .accordion-button, .urdu-accordion .accordion-body,
[dir="rtl"], [lang="ur"] {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting',
                 'Arial Unicode MS', sans-serif;
    font-size: 1.05rem;
    line-height: 2.1;
    direction: rtl;
    text-align: right;
}

.urdu-accordion .accordion-button {
    flex-direction: row-reverse;
    font-size: 1rem;
    line-height: 1.9;
}

.urdu-accordion .accordion-button::after {
    margin-right: 0;
    margin-left: auto;
}

.urdu-accordion .accordion-body {
    color: #374151;
    line-height: 2.2;
}

/* FAQ CTA */
.faq-cta {
    background: var(--st-primary-light);
    border: 1px solid rgba(29,137,201,.12);
}

/* Urdu button style */
.urdu-btn {
    font-family: 'Noto Nastaliq Urdu', sans-serif;
    font-size: .85rem;
}

/* FAQ number prefix */
.faq-num {
    color: var(--st-primary);
    font-weight: 700;
    min-width: 22px;
    flex-shrink: 0;
}

/* Language switcher in page header */
.lang-switcher .btn-light    { color: var(--st-primary); font-weight: 700; }
.lang-switcher .btn-outline-light { opacity: .8; }
.lang-switcher .btn-outline-light:hover { opacity: 1; }

/* ==========================================
   RESPONSIVE — COMPLETE OVERHAUL
   ========================================== */

/* ---------- Large Desktop (1400px+) ---------- */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
    .hero-title { font-size: 3.1rem; }
    .hero-img { max-width: 640px; }
}

/* ---------- Desktop (992px – 1399px) ---------- */
@media (min-width: 992px) and (max-width: 1399px) {
    .hero-img { max-width: 520px; }
    .auth-split-left { flex: 0 0 40%; padding: 40px 32px; }
}

/* ---------- Tablet landscape (768px – 991px) ---------- */
@media (max-width: 991.98px) {

    /* Navbar */
 .st-navbar{
    background:#ffffff !important;
    padding:12px 0;
    box-shadow:0 2px 20px rgba(0,0,0,.08);
    border-bottom:1px solid #eef2f7; 
    }
    .st-navbar .nav-link{
    color:#334155 !important;
    font-weight:600;
    font-size:.95rem;
    }

    /* Hero */
    .st-hero { padding: 56px 0 48px; }
    .hero-content { flex-direction: column; text-align: center; gap: 32px; }
    .hero-text { order: 1; }
    .hero-image { order: 2; }
    .hero-lead { margin: 0 auto; }
    .hero-features { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-img { max-width: 90%; }

    /* Promo */
    .promo-grid { grid-template-columns: 1fr; gap: 32px; }
    .promo-image { order: 2; }
    .promo-content { order: 1; }

    /* Auth */
    .auth-split { flex-direction: column; }
    .auth-split-left {
        flex: none; min-height: auto;
        padding: 28px 24px; text-align: center;
        align-items: center;
    }
    .auth-banner-img { max-width: 240px; margin: 12px auto; }
    .auth-feature-list { text-align: left; display: inline-block; }

    /* Sections */
    .st-section { padding: 48px 0; }
    .st-section-title { font-size: 1.6rem; }
}

/* ---------- Mobile (576px – 767px) ---------- */
@media (max-width: 767.98px) {

    /* Hero */
    .st-hero { padding: 44px 0 36px; }
    .hero-title { font-size: 1.75rem; }
    .hero-lead { font-size: .95rem; }
    .hero-stats { gap: 16px; }
    .hero-stat-num { font-size: 1.3rem; }

    /* Feature grid */
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .st-card { padding: 1.25rem; }
    .st-card .card-icon { width: 44px; height: 44px; font-size: 1.25rem; }

    /* Industry */
    .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .industry-chip { font-size: .82rem; padding: .7rem .6rem; }

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { margin-bottom: 1rem; }

    /* Auth form */
    .auth-split-right { padding: 20px 12px; }
    .auth-form-box { padding: 1.5rem 1rem; border-radius: 12px; }

    /* Page headers */
    .st-page-header { padding: 32px 0 28px; }
    .st-page-header h1 { font-size: 1.5rem; }

    /* Forms */
    .st-form-card { padding: 1.25rem 1rem; }

    /* Footer columns */
    .st-footer-main .col-lg-4,
    .st-footer-main .col-lg-2 { text-align: center; }
    .st-footer-main .footer-links { text-align: center; }
    .st-footer-main .footer-contact { text-align: center; }
    .st-footer-main .footer-contact li { justify-content: center; }

    /* Contact strip */
    .contact-strip-item { flex-direction: column; gap: 6px; }
    .contact-strip-item i { font-size: 1.3rem; }

    /* WA Float — smaller */
    .wa-float { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 1.4rem; }

    /* Stat cards (dashboard) */
    .stat-card { flex-direction: column; text-align: center; }
    .stat-card .stat-icon { margin: 0 auto; }

    /* Tables */
    .table-responsive { font-size: .82rem; }
    .st-table th, .st-table td { padding: .5rem .5rem; }
}

/* ---------- Small Mobile (< 576px) ---------- */
@media (max-width: 575.98px) {

    .st-hero { padding: 36px 0 32px; }
    .hero-title { font-size: 1.5rem; }
    .hero-badges .badge { font-size: .7rem; padding: .3rem .7rem; }

    /* Feature grid: 1 column */
    .feature-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Full-width buttons */
    .btn-st-primary.btn-lg,
    .btn-st-outline.btn-lg { width: 100%; text-align: center; }

    /* Hero CTAs stack */
    .st-hero .d-flex.gap-3 { flex-direction: column; }

    /* Promo */
    .promo-section { padding: 40px 0; }

    /* Auth banner hidden on very small */
    .auth-split-left { display: none; }
    .auth-split-right { padding: 24px 16px; }
    .auth-form-box { padding: 1.5rem 1rem; box-shadow: none; border: 1px solid var(--st-border); }

    /* Accordion */
    .st-accordion .accordion-button { font-size: .88rem; padding: .75rem 1rem; }

    /* Industry: 2 cols still fine */
    .industry-grid { grid-template-columns: repeat(2, 1fr); }

    /* Dashboard stats: 2 col grid */
    .row.g-3 > [class*="col-md-3"] { flex: 0 0 50%; max-width: 50%; }

    /* Footer bottom flex */
    .st-footer-bottom .d-flex { flex-direction: column; align-items: center; gap: 8px; }
}

/* ---------- Print styles ---------- */
@media print {
    .st-navbar, .st-footer, .wa-float, .btn { display: none !important; }
    .st-section { padding: 16px 0; }
}

/* ---------- Landscape phone ---------- */
@media (max-width: 767.98px) and (orientation: landscape) {
    .st-hero { padding: 28px 0 24px; }
    .hero-content { gap: 20px; }
    .auth-split { flex-direction: row; }
    .auth-split-left { flex: 0 0 38%; display: flex; min-height: 100vh; }
}
.site-logo{
    height:48px;
    width:auto;
}
.st-footer{
    box-shadow:0 -8px 30px rgba(0,0,0,.15);
}

/* ---- Promo Popup ---- */
.promo-modal-dialog {
    max-width: 420px;
}
.promo-modal-content {
    background: transparent;
    border: none;
    position: relative;
}
.promo-banner-link {
    display: block;
    line-height: 0;
}
.promo-banner-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,.35));
}
.promo-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.promo-lang-toggle {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    background: var(--st-primary);
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.promo-lang-toggle:hover { background: var(--st-secondary); color: #fff; }
