/* ============================================================
   YAANSH SOFTECH — Global Stylesheet
   ============================================================ */

:root{
    --navy:#07162d;
    --navy-2:#0b2547;
    --blue:#0b3d91;
    --blue-2:#114b9b;
    --orange:#ff9800;
    --orange-dark:#e68900;
    --ink:#1c2733;
    --muted:#5b6b7c;
    --surface:#f5f8fc;
    --line:#e3eaf2;
}

body{
    font-family:'Inter',system-ui,-apple-system,Arial,sans-serif;
    color:var(--ink);
    line-height:1.7;
}

h1,h2,h3,h4,h5,.navbar-brand{
    font-family:'Sora',Arial,sans-serif;
    font-weight:700;
    color:var(--navy);
}

a{ text-decoration:none; }

/* ---------- Top bar ---------- */
.topbar{
    background:var(--navy-2);
    color:#c8d6e8;
    font-size:.85rem;
    padding:6px 0;
}
.topbar a{ color:#c8d6e8; }
.topbar a:hover{ color:var(--orange); }
.topbar i{ color:var(--orange); margin-right:6px; }

/* ---------- Navbar ---------- */
.navbar{
    background:var(--navy);
    padding:14px 0;
}
.navbar-brand{
    color:#fff !important;
    font-size:1.25rem;
    letter-spacing:.06em;
}
.navbar-brand span{ color:var(--orange); }
.navbar .nav-link{
    color:#dbe6f3 !important;
    font-weight:500;
    margin:0 4px;
    font-size:.95rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active{ color:var(--orange) !important; }
.dropdown-menu{
    border:none;
    border-top:3px solid var(--orange);
    border-radius:0 0 10px 10px;
    box-shadow:0 18px 40px rgba(7,22,45,.18);
    padding:10px 0;
}
.dropdown-item{
    padding:9px 22px;
    font-size:.92rem;
    color:var(--ink);
}
.dropdown-item:hover{
    background:var(--surface);
    color:var(--blue);
    padding-left:26px;
    transition:.2s;
}
.btn-nav-cta{
    background:var(--orange);
    color:#fff !important;
    font-weight:600;
    border-radius:8px;
    padding:8px 20px;
}
.btn-nav-cta:hover{ background:var(--orange-dark); }

/* ---------- Buttons ---------- */
.btn-accent{
    background:var(--orange);
    color:#fff;
    font-weight:600;
    padding:12px 30px;
    border-radius:8px;
    border:none;
}
.btn-accent:hover{ background:var(--orange-dark); color:#fff; }
.btn-ghost{
    border:2px solid rgba(255,255,255,.6);
    color:#fff;
    font-weight:600;
    padding:11px 28px;
    border-radius:8px;
}
.btn-ghost:hover{ background:#fff; color:var(--navy); }

/* ---------- Hero (home) ---------- */
.hero{
    background:
        radial-gradient(1000px 500px at 85% 10%, rgba(255,152,0,.14), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--blue-2) 100%);
    color:#fff;
    padding:110px 0 100px;
    position:relative;
    overflow:hidden;
}
.hero::after{
    content:"";
    position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size:44px 44px;
    pointer-events:none;
}
.hero .container{ position:relative; z-index:1; }
.hero h1{
    color:#fff;
    font-size:clamp(2.2rem,4.5vw,3.4rem);
    line-height:1.2;
}
.hero .lead{ color:#c9d8ec; max-width:560px; }
.hero-eyebrow{
    display:inline-block;
    background:rgba(255,152,0,.15);
    border:1px solid rgba(255,152,0,.5);
    color:var(--orange);
    font-size:.8rem;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
    padding:6px 16px;
    border-radius:50px;
    margin-bottom:22px;
}
.hero-stats{
    display:flex; gap:36px; flex-wrap:wrap;
    margin-top:44px;
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:28px;
}
.hero-stats h3{ color:var(--orange); margin:0; font-size:1.7rem; }
.hero-stats small{ color:#b7c8dd; }

/* Hero product mock */
.hero-panel{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.14);
    border-radius:16px;
    padding:22px;
    backdrop-filter:blur(4px);
}
.hero-panel .bar{
    height:10px; border-radius:6px;
    background:rgba(255,255,255,.16);
    margin-bottom:12px;
}
.hero-panel .bar.orange{ background:var(--orange); width:55%; }
.hero-panel .tile{
    background:rgba(255,255,255,.09);
    border-radius:10px;
    padding:14px;
    color:#dbe6f3;
    font-size:.8rem;
}
.hero-panel .tile b{ display:block; color:#fff; font-size:1.05rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
    background:linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color:#fff;
    padding:70px 0 60px;
    position:relative;
    overflow:hidden;
}
.page-hero::after{
    content:"";
    position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size:44px 44px;
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero h1{ color:#fff; font-size:clamp(1.9rem,3.5vw,2.6rem); }
.page-hero p{ color:#c9d8ec; max-width:640px; margin-bottom:0; }
.breadcrumb{ margin-bottom:14px; }
.breadcrumb a{ color:var(--orange); }
.breadcrumb-item.active{ color:#c9d8ec; }
.breadcrumb-item+.breadcrumb-item::before{ color:#7f95b3; }

/* ---------- Sections ---------- */
.section{ padding:80px 0; }
.section.alt{ background:var(--surface); }
.section-eyebrow{
    color:var(--orange);
    font-weight:700;
    font-size:.8rem;
    letter-spacing:.14em;
    text-transform:uppercase;
    margin-bottom:10px;
}
.section-title{
    font-size:clamp(1.6rem,3vw,2.2rem);
    margin-bottom:14px;
}
.section-sub{ color:var(--muted); max-width:680px; }

/* ---------- Cards ---------- */
.card-soft{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:32px 28px;
    height:100%;
    transition:.25s;
}
.card-soft:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 44px rgba(7,22,45,.10);
    border-color:transparent;
}
.card-soft .icon{
    width:54px; height:54px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--blue),var(--blue-2));
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:1.4rem;
    margin-bottom:20px;
}
.card-soft h5{ margin-bottom:10px; }
.card-soft p{ color:var(--muted); font-size:.95rem; margin-bottom:0; }
.card-soft .more{
    display:inline-block;
    margin-top:16px;
    color:var(--blue);
    font-weight:600;
    font-size:.9rem;
}
.card-soft .more:hover{ color:var(--orange); }

/* Feature list */
.check-list{ list-style:none; padding:0; margin:0; }
.check-list li{
    padding:8px 0 8px 34px;
    position:relative;
    color:var(--ink);
}
.check-list li::before{
    content:"\F26B"; /* bi-check-circle-fill */
    font-family:"bootstrap-icons";
    position:absolute; left:0; top:8px;
    color:var(--orange);
}

/* Stat boxes */
.stat-box{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    text-align:center;
    padding:30px 16px;
    height:100%;
}
.stat-box h3{ color:var(--blue); font-size:2rem; margin-bottom:4px; }
.stat-box p{ color:var(--muted); margin:0; font-size:.9rem; }

/* Process steps */
.step{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:28px 24px;
    height:100%;
}
.step .num{
    font-family:'Sora',sans-serif;
    font-weight:800;
    font-size:1rem;
    color:#fff;
    background:var(--blue);
    width:38px; height:38px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    margin-bottom:16px;
}
.step h6{ margin-bottom:8px; }
.step p{ color:var(--muted); font-size:.9rem; margin:0; }

/* Pills / tech badges */
.pill{
    display:inline-block;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:50px;
    padding:7px 18px;
    font-size:.85rem;
    font-weight:500;
    color:var(--ink);
    margin:4px;
}

/* Accordion tweak */
.accordion-button:not(.collapsed){
    background:var(--surface);
    color:var(--blue);
    box-shadow:none;
}

/* Portfolio */
.folio-card{
    border:1px solid var(--line);
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    height:100%;
    transition:.25s;
}
.folio-card:hover{ transform:translateY(-6px); box-shadow:0 18px 44px rgba(7,22,45,.10); }
.folio-thumb{
    height:170px;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:2.4rem;
}
.folio-body{ padding:24px; }
.folio-body .tag{
    font-size:.75rem; font-weight:600;
    color:var(--orange);
    text-transform:uppercase; letter-spacing:.1em;
}
.folio-body p{ color:var(--muted); font-size:.92rem; margin-bottom:0; }

/* Blog */
.blog-card{ border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; height:100%; transition:.25s; }
.blog-card:hover{ transform:translateY(-6px); box-shadow:0 18px 44px rgba(7,22,45,.10); }
.blog-thumb{ height:150px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:2rem; }
.blog-body{ padding:24px; }
.blog-body small{ color:var(--muted); }
.blog-body h5 a{ color:var(--navy); }
.blog-body h5 a:hover{ color:var(--blue); }

/* Case studies */
.case-card{
    background:#fff;
    border:1px solid var(--line);
    border-left:5px solid var(--orange);
    border-radius:14px;
    padding:34px 30px;
    height:100%;
}
.case-card .result{
    background:var(--surface);
    border-radius:10px;
    padding:14px 18px;
    margin-top:18px;
}
.case-card .result b{ color:var(--blue); }

/* ---------- CTA band ---------- */
.cta-band{
    background:linear-gradient(135deg,var(--blue) 0%,var(--blue-2) 100%);
    color:#fff;
    padding:70px 0;
    position:relative;
    overflow:hidden;
}
.cta-band::after{
    content:"";
    position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size:44px 44px;
}
.cta-band .container{ position:relative; z-index:1; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:#cfe0f4; }

/* ---------- Contact ---------- */
.contact-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:30px;
    height:100%;
}
.contact-card .icon{
    width:50px;height:50px;border-radius:12px;
    background:var(--surface);
    color:var(--blue);
    display:flex;align-items:center;justify-content:center;
    font-size:1.3rem;
    margin-bottom:16px;
}
.form-control,.form-select{
    border:1px solid var(--line);
    border-radius:10px;
    padding:12px 16px;
}
.form-control:focus,.form-select:focus{
    border-color:var(--blue);
    box-shadow:0 0 0 .2rem rgba(11,61,145,.12);
}

/* ---------- Footer ---------- */
footer{
    background:var(--navy);
    color:#b7c8dd;
    padding:64px 0 0;
}
footer h5{ color:#fff; font-size:1rem; margin-bottom:20px; }
footer .brand{ color:#fff; font-family:'Sora',sans-serif; font-weight:700; letter-spacing:.06em; font-size:1.2rem; }
footer .brand span{ color:var(--orange); }
footer ul{ list-style:none; padding:0; margin:0; }
footer ul li{ margin-bottom:10px; }
footer a{ color:#b7c8dd; font-size:.92rem; }
footer a:hover{ color:var(--orange); }
footer .contact-line{ display:flex; gap:12px; margin-bottom:14px; font-size:.92rem; }
footer .contact-line i{ color:var(--orange); margin-top:3px; }
.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    margin-top:48px;
    padding:20px 0;
    font-size:.85rem;
    color:#8ea3bd;
}

/* Careers */
.job-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:28px;
    height:100%;
}
.job-card .badge{ background:var(--surface); color:var(--blue); font-weight:600; }

@media (max-width:991px){
    .hero{ padding:80px 0 70px; }
    .navbar .nav-link{ margin:2px 0; }
}
@media (prefers-reduced-motion:reduce){
    *{ transition:none !important; }
}
