📄 style.css
📁 Path: /home/skhata/pimsnepal.com.np/assets/css/style.css
📊 Size: 15.06 KB
🔒 Perm: 0644
📝 MIME: text/plain
/* ===================================================================
PIMS Nepal — Custom Stylesheet (works alongside Tailwind utilities)
=================================================================== */
:root {
--primary: #0D6EFD;
--secondary: #1E3A8A;
--accent: #F59E0B;
--bg: #F8FAFC;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg);
color: #1f2937;
}
h1, h2, h3, h4, h5, h6, .font-heading {
font-family: 'Poppins', sans-serif;
}
/* ---------- Navbar ---------- */
#site-header {
transition: box-shadow .25s ease, background-color .25s ease, padding .25s ease;
}
#site-header.scrolled {
box-shadow: 0 4px 24px rgba(15, 23, 42, .08);
}
.nav-link-item {
position: relative;
}
.nav-link-item.active,
.nav-link-item:hover {
color: var(--primary);
}
.nav-link-item.active::after {
content: "";
position: absolute;
left: 0; bottom: -6px;
width: 100%; height: 2px;
background: var(--primary);
border-radius: 2px;
}
/* ---------- Hero ---------- */
.hero-gradient {
background: radial-gradient(circle at 15% 20%, rgba(13,110,253,.15), transparent 40%),
radial-gradient(circle at 85% 80%, rgba(245,158,11,.15), transparent 40%),
linear-gradient(135deg, #eef4ff 0%, #f8fafc 55%, #fff7ea 100%);
}
/* ---------- Hero Split Slider (image left, text right) ---------- */
.hero-split {
background: radial-gradient(circle at 15% 20%, rgba(13,110,253,.10), transparent 40%),
radial-gradient(circle at 85% 80%, rgba(245,158,11,.10), transparent 40%),
linear-gradient(135deg, #eef4ff 0%, #f8fafc 55%, #fff7ea 100%);
}
/* Right: text slider */
.hero-text-wrap {
position: relative;
overflow: hidden;
}
.hero-text-track {
display: flex;
transition: transform .6s ease;
}
.hero-text-slide {
min-width: 100%;
}
.hero-split-nav {
display: flex;
align-items: center;
gap: .75rem;
margin-top: 2.25rem;
}
.hero-split-arrow {
width: 46px; height: 46px;
border-radius: 50%;
background: #fff;
color: var(--primary);
display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 20px rgba(15,23,42,.1);
transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.hero-split-arrow:hover { background: var(--primary); color: #fff; transform: scale(1.06); }
/* ---------- Hero Orbit Illustration (concentric rings + floating icon bubbles) ---------- */
.hero-orbit {
position: relative;
width: 100%;
max-width: 520px;
aspect-ratio: 1 / 1;
margin: 0 auto;
}
.hero-orbit-rings {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.hero-orbit-center {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 92px; height: 92px;
border-radius: 50%;
background: #fff;
box-shadow: 0 20px 45px -10px rgba(30,58,138,.25);
display: flex; align-items: center; justify-content: center;
font-size: 2.1rem;
color: var(--primary);
z-index: 3;
}
.hero-orbit-chip {
position: absolute;
display: flex;
align-items: center;
gap: .5rem;
background: #fff;
border-radius: 999px;
box-shadow: 0 14px 30px -8px rgba(15,23,42,.18);
padding: .4rem 1rem .4rem .4rem;
font-size: .78rem;
font-weight: 700;
color: #1f2937;
white-space: nowrap;
z-index: 2;
animation: floatY 6s ease-in-out infinite;
}
.hero-orbit-chip-icon {
width: 30px; height: 30px;
border-radius: 50%;
background: rgba(13,110,253,.1);
display: flex; align-items: center; justify-content: center;
font-size: .95rem;
flex-shrink: 0;
}
.hero-orbit-chip--tagged { overflow: visible; }
.hero-orbit-brand {
position: absolute;
top: 0;
left: 0;
z-index: 4;
display: flex;
align-items: center;
gap: .6rem;
background: #fff;
border-radius: 12px;
box-shadow: 0 12px 26px -8px rgba(15,23,42,.2);
padding: .5rem .75rem;
border: 1px solid rgba(13,110,253,.08);
}
.hero-orbit-tag {
position: absolute;
top: -34px;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
background: #ECFDF5;
color: #059669;
font-size: .7rem;
font-weight: 700;
padding: .3rem .7rem;
border-radius: 999px;
box-shadow: 0 6px 14px rgba(5,150,105,.18);
}
.hero-orbit-tag::after {
content: "";
position: absolute;
left: 50%; bottom: -5px;
transform: translateX(-50%);
border-width: 5px 5px 0 5px;
border-style: solid;
border-color: #ECFDF5 transparent transparent transparent;
}
@media (max-width: 640px) {
.hero-orbit { max-width: 320px; }
.hero-orbit-chip { font-size: .68rem; padding: .3rem .8rem .3rem .3rem; gap: .35rem; }
.hero-orbit-chip-icon { width: 24px; height: 24px; font-size: .8rem; }
.hero-orbit-center { width: 72px; height: 72px; font-size: 1.6rem; }
.hero-orbit-tag { font-size: .62rem; padding: .25rem .55rem; top: -28px; }
}
/* Subtle accounting-ledger backdrop: graph-paper grid + faint currency glyphs */
.accounting-pattern {
position: relative;
}
.accounting-pattern::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
opacity: .5;
background-image:
linear-gradient(rgba(13,110,253,.06) 1px, transparent 1px),
linear-gradient(90deg, rgba(13,110,253,.06) 1px, transparent 1px),
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Ctext x='10' y='40' font-size='26' fill='%230D6EFD' opacity='0.05' font-family='sans-serif'%3ERs%3C/text%3E%3Ctext x='90' y='110' font-size='22' fill='%231E3A8A' opacity='0.05' font-family='sans-serif'%3E%25%3C/text%3E%3Ctext x='40' y='150' font-size='20' fill='%23F59E0B' opacity='0.06' font-family='sans-serif'%3E%2B%3C/text%3E%3C/svg%3E");
background-size: 42px 42px, 42px 42px, 160px 160px;
}
.float-icon {
position: absolute;
animation: floatY 6s ease-in-out infinite;
filter: drop-shadow(0 10px 20px rgba(13,110,253,.15));
}
.float-icon.delay-1 { animation-delay: 1.2s; }
.float-icon.delay-2 { animation-delay: 2.4s; }
.float-icon.delay-3 { animation-delay: 3.6s; }
@keyframes floatY {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-16px); }
}
@keyframes spinSlow {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.dashboard-mock {
border-radius: 20px;
box-shadow: 0 30px 60px -20px rgba(30,58,138,.35);
position: relative;
z-index: 2;
}
/* Decorative coin / invoice chips layered around the hero mockup */
.hero-deco {
position: absolute;
z-index: 3;
animation: floatY 5s ease-in-out infinite;
}
/* ---------- Image Cards (Service cards + TallyPrime 7.1 feature cards) ---------- */
.image-card {
background: #fff;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(15,23,42,.06);
transition: transform .3s ease, box-shadow .3s ease;
display: flex;
flex-direction: column;
}
.image-card:hover {
transform: translateY(-8px);
box-shadow: 0 24px 46px -16px rgba(13,110,253,.28);
}
.image-card:hover .card-banner-icon {
transform: scale(1.12) rotate(-4deg);
}
.card-banner {
position: relative;
height: 138px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.card-banner::before {
/* subtle dot-grid texture overlay for a polished "image" feel */
content: "";
position: absolute; inset: 0;
background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
background-size: 16px 16px;
opacity: .5;
}
.card-banner::after {
content: "";
position: absolute;
width: 140px; height: 140px;
border-radius: 50%;
background: rgba(255,255,255,.12);
right: -30px; bottom: -50px;
}
.card-banner-icon {
position: relative;
z-index: 2;
width: 56px; height: 56px;
border-radius: 14px;
background: rgba(255,255,255,.18);
backdrop-filter: blur(2px);
display: flex; align-items: center; justify-content: center;
color: #fff;
font-size: 1.6rem;
transition: transform .3s ease;
}
.card-badge-number {
position: absolute;
top: 12px; right: 14px;
z-index: 2;
font-family: 'Poppins', sans-serif;
font-weight: 700;
font-size: .72rem;
color: rgba(255,255,255,.65);
letter-spacing: .05em;
}
.card-tag-pill {
position: absolute;
top: 12px; left: 14px;
z-index: 2;
background: rgba(255,255,255,.9);
color: #1f2937;
font-size: .68rem;
font-weight: 700;
padding: .2rem .6rem;
border-radius: 999px;
letter-spacing: .02em;
}
.image-card .card-body {
padding: 1.5rem;
display: flex;
flex-direction: column;
flex: 1;
}
.image-card .card-link {
margin-top: auto;
padding-top: .75rem;
}
/* ---------- Cards ---------- */
.soft-card {
background: #fff;
border-radius: 18px;
box-shadow: 0 2px 10px rgba(15,23,42,.05);
transition: transform .25s ease, box-shadow .25s ease;
}
.soft-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 40px -14px rgba(13,110,253,.25);
}
.icon-badge {
width: 56px; height: 56px;
border-radius: 14px;
display: flex; align-items: center; justify-content: center;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: #fff;
font-size: 1.5rem;
}
/* ---------- Buttons ---------- */
.btn-primary-brand {
background: var(--primary);
color: #fff;
transition: all .2s ease;
}
.btn-primary-brand:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-accent-brand {
background: var(--accent);
color: #1f2937;
transition: all .2s ease;
}
.btn-accent-brand:hover { filter: brightness(0.95); transform: translateY(-2px); }
.btn-outline-brand {
border: 1.5px solid #fff;
color: #fff;
transition: all .2s ease;
}
.btn-outline-brand:hover { background: #fff; color: var(--primary); }
.btn-outline-brand-soft {
border: 1.5px solid var(--primary);
color: var(--primary);
background: #fff;
transition: all .2s ease;
}
.btn-outline-brand-soft:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
/* ---------- Reveal on scroll ---------- */
.reveal {
opacity: 0;
transform: translateY(24px);
transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
opacity: 1;
transform: translateY(0);
}
/* ---------- Testimonial slider ---------- */
.testimonial-track {
display: flex;
transition: transform .5s ease;
}
.testimonial-slide {
min-width: 100%;
}
.dot {
width: 9px; height: 9px; border-radius: 50%;
background: #cbd5e1; cursor: pointer; transition: all .2s ease;
}
.dot.active { background: var(--primary); width: 22px; border-radius: 6px; }
/* ---------- Floating action buttons ---------- */
.fab {
position: fixed;
right: 22px;
z-index: 60;
width: 56px; height: 56px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 10px 24px rgba(0,0,0,.2);
transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); }
#whatsapp-fab { bottom: 90px; background: #25D366; color: #fff; font-size: 1.6rem; }
#backtotop-fab { bottom: 22px; background: var(--secondary); color: #fff; font-size: 1.2rem; opacity: 0; pointer-events: none; }
#backtotop-fab.show { opacity: 1; pointer-events: auto; }
/* ---------- FAQ accordion ---------- */
.faq-item .faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height .3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item .chevron { transition: transform .25s ease; }
.faq-item.open .chevron { transform: rotate(180deg); }
/* ---------- TallyPrime 7.1 feature accordion ---------- */
.tally-accordion-answer {
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height .35s ease, opacity .3s ease, margin-top .3s ease;
}
.tally-accordion-item.open .tally-accordion-answer {
max-height: 200px;
opacity: 1;
margin-top: .6rem;
}
.tally-accordion-toggle { cursor: pointer; }
.tally-accordion-item.open .tally-accordion-toggle span:first-child span {
color: var(--primary);
}
/* ---------- Download table ---------- */
.download-row { transition: background-color .2s ease; }
.download-row:hover { background-color: #eff6ff; }
/* ---------- Promo strip (hero) ---------- */
.promo-strip {
background: linear-gradient(90deg, var(--accent), #fbbf24 60%, var(--accent));
background-size: 200% 100%;
animation: promoShift 6s ease-in-out infinite;
}
@keyframes promoShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
/* ---------- Gallery ---------- */
.gallery-item {
position: relative;
display: block;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(15,23,42,.08);
aspect-ratio: 4 / 3;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
position: absolute;
left: 0; right: 0; bottom: 0;
padding: .85rem 1rem;
background: linear-gradient(0deg, rgba(15,23,42,.82), transparent);
color: #fff;
font-size: .82rem;
font-weight: 600;
}
/* ---------- Video section ---------- */
.video-frame {
position: relative;
border-radius: 20px;
overflow: hidden;
aspect-ratio: 16 / 9;
box-shadow: 0 30px 60px -20px rgba(30,58,138,.35);
background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.video-frame iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
}
.video-play-btn {
width: 84px; height: 84px;
border-radius: 50%;
background: rgba(255,255,255,.95);
color: var(--primary);
display: flex; align-items: center; justify-content: center;
font-size: 2rem;
box-shadow: 0 12px 30px rgba(0,0,0,.25);
transition: transform .25s ease;
}
.video-play-btn:hover { transform: scale(1.08); }
/* ---------- Misc ---------- */
.badge-pill {
border-radius: 999px;
font-size: .72rem;
padding: .25rem .75rem;
font-weight: 600;
}
.section-eyebrow {
color: var(--primary);
letter-spacing: .08em;
text-transform: uppercase;
font-weight: 700;
font-size: .78rem;
}
/* ---------- Trusted By heading: shimmer text + pulsing Tally chip ---------- */
.trusted-shimmer {
background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 25%, var(--accent) 50%, var(--primary) 75%, var(--secondary) 100%);
background-size: 220% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: var(--secondary);
letter-spacing: .08em;
text-transform: uppercase;
font-weight: 700;
font-size: .82rem;
animation: trustedShimmer 5s linear infinite;
}
@keyframes trustedShimmer {
0% { background-position: 0% center; }
100% { background-position: -220% center; }
}
.trusted-tally-chip {
background: linear-gradient(120deg, #EAF3FE, #E0E7FF);
color: var(--primary);
font-weight: 700;
font-size: .72rem;
padding: .3rem .85rem;
border-radius: 999px;
animation: trustedPulse 2.4s ease-in-out infinite;
}
@keyframes trustedPulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(13,110,253,.28); }
50% { box-shadow: 0 0 0 7px rgba(13,110,253,0); }
}
@media (prefers-reduced-motion: reduce) {
.trusted-shimmer { animation: none; }
.trusted-tally-chip { animation: none; }
}
::selection { background: var(--accent); color: #1f2937; }
/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #93c5fd; border-radius: 10px; }