/* =====================================================
   Signer Tech IT Solutions - Frontend styles
   Bootstrap 5 + custom corporate theme
   ===================================================== */
:root {
    /* Palette & font follow the Nexelit reference theme */
    --st-primary: #5580ff;         /* main-color-two: links, icons, hovers */
    --st-primary-dark: #3f6af0;
    --st-navy: #1d2228;            /* secondary-color: top bar, dark UI */
    --st-navy-2: #292a35;
    --st-deep: #111d5c;            /* dark-bg sections */
    --st-accent: #ff8a73;          /* main-color-one: buttons, highlights */
    --st-accent-dark: #f9735a;
    --st-text: #6c707c;            /* paragraph colour (slightly darker than #878a95 for readability) */
    --st-heading: #1b1c25;
    --st-soft: #f4f7fc;
    --st-border: #e8eff8;
    --st-radius: 14px;
    --st-shadow: 0 10px 30px rgba(11, 27, 54, .08);
    --st-shadow-lg: 0 20px 50px rgba(11, 27, 54, .14);
    --bs-primary: #5580ff;
    --bs-primary-rgb: 85, 128, 255;
    --bs-link-color: #5580ff;
    --bs-link-color-rgb: 85, 128, 255;
    --bs-link-hover-color: #ff8a73;
}

body { font-family: 'Nunito', system-ui, sans-serif; color: var(--st-text); font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-family: 'Nunito', sans-serif; color: var(--st-heading); font-weight: 800; line-height: 1.3; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 1rem; }
h4 { font-size: 1.2rem; }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; }

.section { padding: 90px 0; }
.bg-soft { background: var(--st-soft); }
.section-head { margin-bottom: 50px; }
.section-head h2 { max-width: 720px; }
.section-head.text-center h2 { margin-left: auto; margin-right: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: 'Nunito', sans-serif; font-weight: 600; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--st-primary); margin-bottom: 10px; }
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--st-accent); }
.text-center .kicker::after { content: ''; width: 28px; height: 2px; background: var(--st-accent); }

/* ---------- Buttons ---------- */
.btn { font-family: 'Nunito', sans-serif; font-weight: 500; border-radius: 8px; padding: .65rem 1.4rem; transition: all .25s; }
.btn-lg { padding: .85rem 1.8rem; font-size: 1rem; }
.btn { border-radius: 5px; font-weight: 700; }
.btn-primary { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--st-primary) !important; border-color: var(--st-primary) !important; color: #fff; transform: translateY(-2px); }
.btn-outline-primary:hover { color: #fff; }
.btn-outline-primary { color: var(--st-primary); border-color: var(--st-primary); }
.btn-outline-primary:hover { background: var(--st-primary); border-color: var(--st-primary); }
.btn-accent { background: var(--st-accent); border-color: var(--st-accent); color: #fff; }
.btn-accent:hover { background: var(--st-primary); border-color: var(--st-primary); color: #fff; transform: translateY(-2px); }
.read-more { font-family: 'Nunito', sans-serif; font-weight: 600; font-size: .9rem; color: var(--st-primary); text-decoration: none; }
.read-more:hover { color: var(--st-accent); }
.read-more i { transition: transform .2s; }
.read-more:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--st-navy); color: #c7d2e3; font-size: .85rem; padding: 9px 0; }
.topbar a { color: #c7d2e3; }
.topbar a:hover { color: #fff; }
.topbar-info { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; }
.topbar-info i { color: var(--st-accent); margin-right: 8px; }
.social-list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.topbar-social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: .8rem; }
.topbar-social a:hover { background: var(--st-primary); }

/* ---------- Navbar ---------- */
.main-header { background: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 15px rgba(17,29,92,.06); transition: box-shadow .3s; }
.main-header.scrolled { box-shadow: 0 6px 25px rgba(17,29,92,.12); }
.main-header .navbar { padding: 10px 0; }
.navbar-brand img { height: 56px; width: auto; transition: height .3s; }
.main-header.scrolled .navbar-brand img { height: 46px; }
.navbar-nav .nav-link { font-family: 'Nunito', sans-serif; font-weight: 500; color: var(--st-navy); padding: 1.6rem 1rem !important; position: relative; }
.main-header.scrolled .navbar-nav .nav-link { padding-top: 1.2rem !important; padding-bottom: 1.2rem !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active, .navbar-nav .show > .nav-link { color: var(--st-primary); }
.navbar-nav .nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 1rem; height: 2px; background: var(--st-accent); transform: scaleX(0); transition: transform .25s; border: 0; margin: 0; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .dropdown-toggle::before { content: '\f107'; font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free'; font-weight: 900; font-size: .7rem; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 992px) { .navbar-nav .dropdown-toggle { padding-right: 1.5rem !important; } }
.btn-quote { white-space: nowrap; }
.navbar-toggler { border: 0; padding: 8px; box-shadow: none !important; }
.toggler-bar { display: block; width: 26px; height: 2px; background: var(--st-navy); margin: 5px 0; transition: .3s; }

/* Mega menu */
.navbar .mega { position: static; }
.mega-menu { width: 100%; left: 0; right: 0; border: 0; border-top: 3px solid var(--st-primary); border-radius: 0 0 var(--st-radius) var(--st-radius); box-shadow: var(--st-shadow-lg); padding: 30px 0; margin-top: 0 !important; }
.mega-title { display: flex; align-items: center; gap: 10px; font-family: 'Nunito', sans-serif; font-weight: 600; color: var(--st-navy); padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--st-border); }
.mega-title i { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(85,128,255,.1); color: var(--st-primary); font-size: .9rem; }
.mega-links { list-style: none; padding: 0; margin: 0; }
.mega-links a { display: block; padding: 6px 0; color: var(--st-text); font-size: .93rem; }
.mega-links a i { font-size: .75rem; margin-right: 8px; color: var(--st-accent); transition: margin .2s; }
.mega-links a:hover { color: var(--st-primary); }
.mega-links a:hover i { margin-right: 12px; }
.mega-promo { background: linear-gradient(135deg, var(--st-deep), var(--st-primary)); color: #cfe0f5; padding: 24px; border-radius: var(--st-radius); height: 100%; }
.mega-promo h6 { color: #fff; }
.mega-promo p { font-size: .9rem; }
.mega-product { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 10px; color: var(--st-navy); transition: background .2s; }
.mega-product:hover { background: var(--st-soft); color: var(--st-primary); }
.mp-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(85,128,255,.1); color: var(--st-primary); }
.mega-product strong { display: block; font-family: 'Nunito', sans-serif; font-weight: 600; font-size: .95rem; }
.mega-product small { color: var(--st-text); }
.mega-all { font-weight: 600; font-size: .9rem; }

@media (min-width: 992px) {
    .navbar .mega:hover > .dropdown-menu { display: block; animation: fadeDown .25s ease; }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
    .navbar-nav .nav-link { padding: .7rem 0 !important; }
    .main-header.scrolled .navbar-nav .nav-link { padding: .7rem 0 !important; }
    .navbar-nav .nav-link::after { display: none; }
    .navbar-collapse { max-height: 80vh; overflow-y: auto; padding-bottom: 15px; }
    .mega-menu { box-shadow: none; border-top: 0; padding: 10px 0; background: var(--st-soft); }
    .btn-quote { width: 100%; margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero .carousel-item { min-height: 640px; background: linear-gradient(120deg, var(--st-deep) 0%, #1a2a7a 50%, var(--st-primary) 140%); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.hero .carousel-item.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,29,92,.93) 0%, rgba(17,29,92,.78) 50%, rgba(29,34,40,.35) 100%); }
.hero .carousel-item > .container { position: relative; z-index: 2; min-height: 640px; display: flex; align-items: center; }
.hero .carousel-item > .container > .row { width: 100%; margin-left: 0; margin-right: 0; }
.hero-pattern { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none; }
.hero-pattern::before, .hero-pattern::after { content: ''; position: absolute; border-radius: 50%; }
.hero-pattern::before { width: 520px; height: 520px; right: -160px; top: -160px; border: 70px solid rgba(255,255,255,.04); }
.hero-pattern::after { width: 260px; height: 260px; left: -80px; bottom: -100px; background: radial-gradient(circle, rgba(255,138,115,.25), transparent 70%); }
.hero-content { color: #d5e1f2; padding: 60px 0; }
.hero-kicker { display: inline-block; background: rgba(255,138,115,.15); color: var(--st-accent); border: 1px solid rgba(255,138,115,.35); font-family: 'Nunito', sans-serif; font-weight: 600; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; }
.hero-content .hero-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.carousel-item.active .hero-content > * { animation: slideUp .8s both; }
.carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .45s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 70px; z-index: 3; opacity: 1; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: .25s; }
.hero-arrow:hover { background: var(--st-accent); border-color: var(--st-accent); }
.hero .carousel-indicators { z-index: 3; margin-bottom: 70px; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; }
.hero .carousel-indicators .active { background: var(--st-accent); width: 44px; }
@media (max-width: 767.98px) {
    .hero .carousel-item, .hero .carousel-item > .container { min-height: 520px; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}

/* Ribbon under hero */
.ribbon { position: relative; z-index: 5; margin-top: -50px; }
.ribbon .row { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow-lg); overflow: hidden; }
.ribbon-item { display: flex; gap: 16px; align-items: center; padding: 26px 28px; color: var(--st-text); border-right: 1px solid var(--st-border); height: 100%; transition: background .25s; }
.ribbon .col-md:last-child .ribbon-item { border-right: 0; }
.ribbon-item i { width: 44px; flex-shrink: 0; text-align: center; font-size: 1.8rem; color: var(--st-primary); transition: .25s; }
.ribbon-item strong { display: block; font-family: 'Nunito', sans-serif; color: var(--st-navy); font-size: 1.02rem; }
.ribbon-item small { font-size: .85rem; line-height: 1.4; display: block; }
.ribbon-item:hover { background: var(--st-primary); }
.ribbon-item:hover, .ribbon-item:hover strong, .ribbon-item:hover i { color: #fff; }
@media (max-width: 767.98px) { .ribbon-item { border-right: 0; border-bottom: 1px solid var(--st-border); } }

/* ---------- About block ---------- */
.about-images { position: relative; padding: 0 60px 70px 0; }
.about-img-1 { width: 85%; border-radius: var(--st-radius); box-shadow: var(--st-shadow); aspect-ratio: 4/4.2; object-fit: cover; }
.about-img-2 { position: absolute; right: 0; bottom: 0; width: 55%; border-radius: var(--st-radius); border: 8px solid #fff; box-shadow: var(--st-shadow-lg); aspect-ratio: 1/1; object-fit: cover; }
.exp-badge { position: absolute; left: -10px; bottom: 30px; background: var(--st-accent); color: #fff; border-radius: var(--st-radius); padding: 20px 24px; text-align: center; box-shadow: 0 15px 35px rgba(255,138,115,.4); min-width: 150px; }
.exp-badge strong { display: block; font-family: 'Nunito', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.exp-badge > span { font-size: .85rem; font-weight: 500; }
.about-text p { margin-bottom: 1rem; }
.about-mission { display: flex; gap: 16px; background: var(--st-soft); border-left: 4px solid var(--st-primary); border-radius: 0 var(--st-radius) var(--st-radius) 0; padding: 18px 20px; margin: 22px 0; }
.about-mission i { font-size: 1.6rem; color: var(--st-primary); margin-top: 4px; }
.about-mission strong { font-family: 'Nunito', sans-serif; color: var(--st-navy); }
.about-mission p { margin: 4px 0 0; font-size: .95rem; }
@media (max-width: 575.98px) { .about-images { padding: 0 20px 50px 0; } .exp-badge { left: 0; bottom: 10px; padding: 14px 16px; min-width: 120px; } .exp-badge strong { font-size: 2rem; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; font-weight: 500; color: var(--st-navy); }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(85,128,255,.1); color: var(--st-primary); font-size: .65rem; display: grid; place-items: center; }
.check-list.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 575.98px) { .check-list.two-col { grid-template-columns: 1fr; } }

/* ---------- Feature cards (What we do) ---------- */
.feature-card { background: #fff; border-radius: var(--st-radius); padding: 36px 28px; box-shadow: var(--st-shadow); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; border-bottom: 3px solid transparent; }
.feature-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, var(--st-deep), var(--st-primary)); opacity: 0; transition: opacity .35s; }
.feature-card > * { position: relative; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--st-shadow-lg); border-bottom-color: var(--st-accent); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover h4, .feature-card:hover p, .feature-card:hover .read-more { color: #fff; }
.feature-icon { width: 70px; height: 70px; border-radius: 16px; display: grid; place-items: center; background: rgba(85,128,255,.1); color: var(--st-primary); font-size: 1.8rem; margin-bottom: 22px; transition: .35s; }
.feature-card:hover .feature-icon { background: var(--st-accent); color: #fff; transform: rotateY(180deg); }
.feature-card p { font-size: .95rem; }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(120deg, var(--st-deep), var(--st-primary)); padding: 60px 0; color: #cfe0f5; position: relative; overflow: hidden; }
.stats-band::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); right: -100px; top: -150px; }
.stat strong { display: block; font-family: 'Nunito', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-weight: 500; }

/* ---------- Products ---------- */
.product-card { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; border: 1px solid var(--st-border); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--st-shadow-lg); }
.product-thumb { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--st-soft); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--st-deep) 0%, var(--st-primary) 100%); color: rgba(255,255,255,.9); font-size: 3rem; }
.product-thumb-ph::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px; }
.product-tag { position: absolute; left: 14px; top: 14px; background: var(--st-accent); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; z-index: 2; }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h4 a { color: var(--st-navy); }
.product-body h4 a:hover { color: var(--st-primary); }
.product-body p { font-size: .93rem; flex: 1; }
.product-hero-ph { aspect-ratio: 4/3; border-radius: var(--st-radius); background: linear-gradient(135deg, var(--st-deep), var(--st-primary)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font-size: 4.5rem; box-shadow: var(--st-shadow-lg); }
.product-hero-ph span { font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 700; }
.feature-line { background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: var(--st-shadow); font-weight: 500; color: var(--st-navy); display: flex; gap: 12px; align-items: center; height: 100%; }
.feature-line i { color: var(--st-primary); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter-btn { border: 1px solid var(--st-border); background: #fff; color: var(--st-navy); border-radius: 50px; padding: 8px 20px; font-family: 'Nunito', sans-serif; font-weight: 500; font-size: .9rem; transition: .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }

/* ---------- Tech strip ---------- */
.tech-strip { padding: 50px 0; border-top: 1px solid var(--st-border); border-bottom: 1px solid var(--st-border); background: #fff; overflow: hidden; }
.tech-title { text-align: center; font-family: 'Nunito', sans-serif; font-weight: 600; color: var(--st-navy); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tech-item { display: flex; align-items: center; gap: 10px; padding: 12px 24px; border: 1px solid var(--st-border); border-radius: 50px; color: var(--st-navy); font-family: 'Nunito', sans-serif; font-weight: 500; white-space: nowrap; background: #fff; transition: .25s; }
.tech-item i { font-size: 1.4rem; color: var(--st-primary); }
.tech-item img { height: 36px; width: auto; filter: grayscale(1); opacity: .75; transition: .25s; }
.tech-item:hover { border-color: var(--st-primary); color: var(--st-primary); }
.tech-item:hover img { filter: none; opacity: 1; }

/* ---------- Quick contact / forms ---------- */
.contact-mini { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-mini li { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.contact-mini i { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--st-primary); color: #fff; font-size: 1.1rem; }
.contact-mini small { display: block; color: var(--st-text); }
.contact-mini a, .contact-mini span { font-family: 'Nunito', sans-serif; font-weight: 600; color: var(--st-navy); }
.form-card { background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow-lg); padding: 36px; border-top: 4px solid var(--st-primary); }
@media (max-width: 575.98px) { .form-card { padding: 22px; } }
.form-control, .form-select { border: 1px solid var(--st-border); border-radius: 8px; padding: .75rem 1rem; background-color: #f9fbfe; }
.form-control:focus, .form-select:focus { border-color: var(--st-primary); box-shadow: 0 0 0 .2rem rgba(85,128,255,.12); background-color: #fff; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.file-drop { display: flex; align-items: center; gap: 14px; border: 2px dashed var(--st-border); border-radius: 10px; padding: 16px 18px; cursor: pointer; transition: .2s; background: #f9fbfe; margin: 0; }
.file-drop:hover, .file-drop.has-file { border-color: var(--st-primary); background: rgba(85,128,255,.04); }
.file-drop i { font-size: 1.6rem; color: var(--st-primary); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-label { font-weight: 500; color: var(--st-navy); }
.file-label small { color: var(--st-text); font-weight: 400; }

/* ---------- Page header ---------- */
.page-header { background: linear-gradient(120deg, rgba(17,29,92,.97), rgba(85,128,255,.9)), url('../img/page-header.svg') center/cover; padding: 80px 0 70px; color: #cfe0f5; position: relative; overflow: hidden; }
.page-header::after { content: ''; position: absolute; right: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-header .lead { max-width: 700px; font-size: 1.1rem; }
.page-header .breadcrumb { margin: 18px 0 0; --bs-breadcrumb-divider-color: #8fa7c9; --bs-breadcrumb-item-active-color: var(--st-accent); }
.page-header .breadcrumb a { color: #fff; }

/* ---------- About page ---------- */
.vm-card { background: #fff; border-radius: var(--st-radius); padding: 40px; box-shadow: var(--st-shadow); }
.vm-card.vm-dark { background: linear-gradient(135deg, var(--st-deep), var(--st-primary)); color: #cfe0f5; }
.vm-card.vm-dark h3 { color: #fff; }
.vm-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--st-accent); color: #fff; font-size: 1.6rem; margin-bottom: 20px; }
.value-card { text-align: center; padding: 36px 24px; border-radius: var(--st-radius); border: 1px solid var(--st-border); transition: .3s; }
.value-card i { font-size: 2.2rem; color: var(--st-primary); margin-bottom: 16px; }
.value-card:hover { border-color: var(--st-primary); box-shadow: var(--st-shadow); transform: translateY(-5px); }
.why-card { display: flex; gap: 18px; padding: 28px; border-radius: var(--st-radius); background: var(--st-soft); transition: .3s; }
.why-card:hover { background: #fff; box-shadow: var(--st-shadow-lg); }
.why-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--st-primary); color: #fff; font-size: 1.3rem; }
.why-card p { margin: 0; font-size: .95rem; }

/* ---------- Services ---------- */
.service-tabs { gap: 12px; }
.service-tabs .nav-link { display: flex; align-items: center; gap: 10px; border: 1px solid var(--st-border); border-radius: 50px; padding: 12px 26px; font-family: 'Nunito', sans-serif; font-weight: 600; color: var(--st-navy); background: #fff; transition: .25s; }
.service-tabs .nav-link.active, .service-tabs .nav-link:hover { background: var(--st-primary); border-color: var(--st-primary); color: #fff; box-shadow: 0 10px 25px rgba(85,128,255,.25); }
.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--st-radius); box-shadow: var(--st-shadow); overflow: hidden; color: var(--st-text); transition: .3s; border: 1px solid var(--st-border); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--st-shadow-lg); color: var(--st-text); }
.service-thumb { aspect-ratio: 16/9; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-body p { flex: 1; font-size: .95rem; }
.service-icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: rgba(85,128,255,.1); color: var(--st-primary); font-size: 1.4rem; margin-bottom: 18px; transition: .3s; }
.service-card:hover .service-icon { background: var(--st-accent); color: #fff; }
.rich-text h3, .rich-text h4 { margin-top: 1.6rem; }
.rich-text ul { padding-left: 0; list-style: none; }
.rich-text ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.rich-text ul li::before { content: '\f058'; font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free'; font-weight: 900; position: absolute; left: 0; color: var(--st-primary); }
.rich-text img { border-radius: 10px; height: auto; }
.sidebar { position: sticky; top: 110px; }
.side-widget { background: var(--st-soft); border-radius: var(--st-radius); padding: 28px; margin-bottom: 24px; }
.side-widget h5 { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--st-border); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 13px 18px; border-radius: 8px; margin-bottom: 8px; color: var(--st-navy); font-weight: 500; transition: .2s; }
.side-links li.active a, .side-links a:hover { background: var(--st-primary); color: #fff; }
.side-cta { background: linear-gradient(135deg, var(--st-deep), var(--st-primary)); color: #cfe0f5; text-align: center; }
.side-cta h5 { color: #fff; border: 0; padding: 0; }
.side-cta > i { font-size: 2.6rem; color: var(--st-accent); margin-bottom: 12px; }

/* ---------- Jobs ---------- */
.job-card { display: flex; gap: 24px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--st-border); border-left: 4px solid var(--st-primary); border-radius: var(--st-radius); padding: 26px 30px; margin-bottom: 18px; transition: .25s; }
.job-card:hover { box-shadow: var(--st-shadow-lg); border-left-color: var(--st-accent); }
.job-card h4 a { color: var(--st-navy); }
.job-card h4 a:hover { color: var(--st-primary); }
.job-card p { margin: 0; font-size: .95rem; }
.job-actions { display: flex; gap: 10px; flex-shrink: 0; }
.job-meta { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; }
.job-meta i { color: var(--st-accent); margin-right: 6px; }
.job-meta-lg li { background: var(--st-soft); padding: 8px 16px; border-radius: 50px; font-weight: 500; color: var(--st-navy); }
@media (max-width: 767.98px) { .job-card { flex-direction: column; align-items: flex-start; } }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state > i { font-size: 3rem; color: var(--st-primary); opacity: .5; margin-bottom: 16px; }

/* ---------- Contact ---------- */
.info-card { text-align: center; padding: 36px 26px; border-radius: var(--st-radius); background: #fff; box-shadow: var(--st-shadow); transition: .3s; border-bottom: 3px solid transparent; }
.info-card:hover { transform: translateY(-5px); border-bottom-color: var(--st-accent); }
.info-icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(85,128,255,.1); color: var(--st-primary); font-size: 1.6rem; }
.info-card p { margin: 0; }
.map-wrap { border-radius: var(--st-radius); overflow: hidden; box-shadow: var(--st-shadow); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- CTA + Footer ---------- */
.cta-strip { background: var(--st-accent); padding: 50px 0; color: #fff; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; left: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta-strip h3 { color: #fff; margin-bottom: 6px; }
.cta-strip p { margin: 0; opacity: .95; }
.cta-strip .btn-light { color: var(--st-navy); font-weight: 600; }
.site-footer { background: var(--st-navy); color: #a3a7b1; padding-top: 80px; font-size: .95rem; }
.site-footer h5 { color: #fff; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.site-footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--st-accent); border-radius: 2px; }
.footer-logo img { background: #fff; padding: 10px 14px; border-radius: 10px; height: 70px; width: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a9b8d0; transition: .2s; }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free'; font-weight: 900; margin-right: 10px; color: var(--st-accent); font-size: .8rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; }
.footer-contact i { color: var(--st-accent); margin-top: 5px; width: 16px; }
.footer-contact a { color: #a9b8d0; }
.footer-contact a:hover { color: #fff; }
.footer-social { margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .25s; }
.footer-social a:hover { background: var(--st-primary); transform: translateY(-3px); }
.footer-bottom { background: #161a1e; margin-top: 60px; padding: 22px 0; font-size: .9rem; }
.footer-bottom a { color: #a9b8d0; }
.footer-bottom a:hover { color: #fff; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--st-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--st-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(15px); transition: .3s; z-index: 1000; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--st-accent); color: #fff; }

/* Modals */
.modal-content { border: 0; border-radius: var(--st-radius); overflow: hidden; }
.modal-header { background: var(--st-navy); color: #fff; border: 0; }
.modal-header .modal-title { color: #fff; }
.modal-header .btn-close { filter: invert(1) grayscale(1) brightness(2); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .marquee-track, .hero-visual img { animation: none; } }
.product-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--st-border); padding-top: 14px; }
.product-actions .read-more { font-size: .85rem; white-space: nowrap; }

/* ---- Nexelit-style touches ---- */
.topbar { background: var(--st-navy); }
.main-header .navbar-nav .nav-link { font-weight: 700; }
.kicker { color: var(--st-accent); }
.kicker::before, .text-center .kicker::after { background: var(--st-primary); }
.feature-card:hover { border-bottom-color: var(--st-accent); }
.feature-card:hover .feature-icon { background: var(--st-accent); }
.cta-strip { background: linear-gradient(120deg, var(--st-accent) 0%, #ff9f8c 100%); }
.service-thumb, .product-thumb { background: var(--st-soft); }
.card-photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.category-banner { width: 100%; height: 260px; object-fit: cover; border-radius: var(--st-radius); margin-top: 10px; box-shadow: var(--st-shadow); }
.page-header { background-size: cover; background-position: center; }
.about-img-1, .about-img-2 { background: var(--st-soft); }

/* ---- Phase 1: menus, solutions, portfolio, blog ---- */
.mega-menu { max-height: 78vh; overflow-y: auto; }
.mega-links a { padding: 5px 0; }
.simple-menu { border: 0; border-top: 3px solid var(--st-primary); border-radius: 0 0 10px 10px; box-shadow: var(--st-shadow-lg); padding: 10px; min-width: 220px; margin-top: 0 !important; }
.simple-menu .dropdown-item { border-radius: 6px; padding: 9px 12px; font-weight: 600; color: var(--st-heading); display: flex; gap: 10px; align-items: center; }
.simple-menu .dropdown-item i { color: var(--st-accent); width: 16px; }
.simple-menu .dropdown-item:hover { background: var(--st-soft); color: var(--st-primary); }
@media (min-width: 992px) { .navbar .dropdown:hover > .dropdown-menu { display: block; animation: fadeDown .25s ease; } }
.ai-band { background: linear-gradient(120deg, #111d5c 0%, #1a2a7a 55%, #5580ff 140%); color: #cfd8f5; padding: 80px 0; position: relative; overflow: hidden; }
.ai-band h2 { color: #fff; }
.ai-band .ai-points { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ai-band .ai-points li { display: flex; gap: 10px; align-items: flex-start; }
.ai-band .ai-points i { color: var(--st-accent); margin-top: 5px; }
.ai-visual { position: relative; border-radius: var(--st-radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.ai-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ai-chip { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.95); color: var(--st-heading); border-radius: 12px; padding: 12px 16px; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.ai-chip i { color: var(--st-accent); font-size: 1.4rem; }
@media (max-width: 575.98px) { .ai-band .ai-points { grid-template-columns: 1fr; } }
.solution-tile { display: block; position: relative; border-radius: var(--st-radius); overflow: hidden; min-height: 280px; color: #fff; box-shadow: var(--st-shadow); }
.solution-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.solution-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,29,92,.15) 0%, rgba(17,29,92,.92) 75%); }
.solution-tile .st-body { position: absolute; inset: auto 0 0 0; padding: 24px; z-index: 2; }
.solution-tile h4 { color: #fff; margin-bottom: 6px; }
.solution-tile p { font-size: .92rem; margin: 0; color: #dfe5fb; }
.solution-tile .st-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--st-accent); display: grid; place-items: center; margin-bottom: 14px; }
.solution-tile:hover img { transform: scale(1.07); }
.portfolio-card { background: #fff; border-radius: var(--st-radius); overflow: hidden; box-shadow: var(--st-shadow); border: 1px solid var(--st-border); display: flex; flex-direction: column; height: 100%; transition: .3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--st-shadow-lg); }
.portfolio-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--st-soft); }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.06); }
.portfolio-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.portfolio-body p { flex: 1; font-size: .94rem; }
.portfolio-meta { font-size: .82rem; color: var(--st-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.tech-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.tech-badges span { background: var(--st-soft); border: 1px solid var(--st-border); color: var(--st-heading); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.clients-band { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; background: var(--st-soft); border-radius: var(--st-radius); padding: 30px; margin-bottom: 50px; }
.clients-band .cb-item { text-align: center; min-width: 150px; }
.clients-band strong { display: block; font-size: 2.4rem; font-weight: 900; color: var(--st-primary); line-height: 1; }
.clients-band span { font-weight: 700; color: var(--st-heading); }
.project-facts { list-style: none; padding: 0; margin: 0; }
.project-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--st-border); }
.project-facts li span { color: var(--st-text); }
.project-facts li strong { color: var(--st-heading); text-align: right; }
.post-card { background: #fff; border-radius: var(--st-radius); overflow: hidden; box-shadow: var(--st-shadow); border: 1px solid var(--st-border); height: 100%; display: flex; flex-direction: column; transition: .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--st-shadow-lg); }
.post-card .post-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--st-soft); display: block; }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card h4 a { color: var(--st-heading); }
.post-card h4 a:hover { color: var(--st-primary); }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: var(--st-text); margin-bottom: 10px; }
.post-meta i { color: var(--st-accent); margin-right: 5px; }
.post-content { font-size: 1.05rem; line-height: 1.85; }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.post-content h2, .post-content h3 { margin-top: 2rem; }
.post-content blockquote { border-left: 4px solid var(--st-accent); background: var(--st-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; }
.post-cover { width: 100%; border-radius: var(--st-radius); margin-bottom: 26px; aspect-ratio: 16/8; object-fit: cover; }
.share-links a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--st-soft); color: var(--st-heading); margin-right: 6px; }
.share-links a:hover { background: var(--st-primary); color: #fff; }
.tag-list a { display: inline-block; background: var(--st-soft); border: 1px solid var(--st-border); padding: 4px 12px; border-radius: 50px; font-size: .84rem; color: var(--st-heading); margin: 0 6px 6px 0; }
.tag-list a:hover { background: var(--st-primary); color: #fff; }
.side-posts a { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--st-heading); font-weight: 600; font-size: .92rem; }
.side-posts img { width: 64px; height: 50px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.page-links { background: var(--st-soft); border-top: 1px solid var(--st-border); padding: 34px 0; }
.page-links h6 { font-weight: 800; margin-bottom: 12px; }
.page-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.page-links a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--st-border); padding: 6px 14px; border-radius: 50px; font-size: .9rem; color: var(--st-heading); }
.page-links a:hover { border-color: var(--st-primary); color: var(--st-primary); }
