/* web321 modern layer - works on top of Eduport style-rtl.css */
:root {
    --web321-radius-xl: 1.35rem;
    --web321-soft-shadow: 0 1rem 2.5rem rgba(29, 58, 83, .10);
}

body {
    text-rendering: optimizeLegibility;
}

.web321-page-hero {
    padding: 5.5rem 0 3.5rem;
    background:
        radial-gradient(circle at 12% 15%, rgba(var(--bs-primary-rgb), .14), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(111, 66, 193, .12), transparent 30%),
        linear-gradient(180deg, rgba(var(--bs-light-rgb), .96), rgba(var(--bs-light-rgb), .65));
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.web321-filter-card,
.web321-portfolio-card,
.web321-detail-cover,
.web321-sticky-card {
    border-radius: var(--web321-radius-xl);
}

.web321-portfolio-card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.web321-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--web321-soft-shadow) !important;
}

.web321-portfolio-media img,
.web321-detail-cover img,
.web321-gallery-item img {
    width: 100%;
    object-fit: cover;
}

.web321-portfolio-media img {
    height: 235px;
    transition: transform .32s ease;
}

.web321-portfolio-card:hover .web321-portfolio-media img {
    transform: scale(1.055);
}

.web321-detail-cover {
    position: relative;
}

.web321-detail-cover img {
    height: 330px;
}

.web321-gallery-item img {
    height: 185px;
    transition: transform .25s ease;
}

.web321-gallery-item:hover img {
    transform: scale(1.05);
}

.web321-gallery-caption {
    position: absolute;
    right: .75rem;
    left: .75rem;
    bottom: .75rem;
    padding: .45rem .65rem;
    border-radius: .7rem;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    font-size: .82rem;
}

.web321-line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.web321-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.web321-tech-list span {
    display: inline-flex;
    align-items: center;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    line-height: 1.7;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
}

.web321-rich-text {
    line-height: 2.15;
    color: var(--bs-body-color);
}

.web321-rich-text p {
    margin-bottom: 1rem;
}

.web321-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.web321-rich-text .image {
    margin: 1.5rem auto;
}

.web321-rich-text blockquote {
    border-right: 4px solid var(--bs-primary);
    padding: .75rem 1rem;
    background: rgba(var(--bs-primary-rgb), .06);
    border-radius: .8rem;
}

.web321-rich-text table {
    width: 100%;
}

.web321-sticky-card {
    position: sticky;
    top: 105px;
}

.web321-clean-header {
    backdrop-filter: blur(12px);
}

.web321-clean-header .navbar {
    transition: box-shadow .2s ease, background-color .2s ease;
}

.web321-clean-header .nav-link {
    border-radius: .8rem;
}

.web321-clean-header .nav-link:hover,
.web321-clean-header .nav-link.active {
    background: rgba(var(--bs-primary-rgb), .08);
}

@media (max-width: 991.98px) {
    .web321-page-hero {
        padding: 4rem 0 2.5rem;
    }

    .web321-detail-cover img {
        height: 260px;
    }

    .web321-sticky-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .web321-page-hero .display-6 {
        font-size: 2rem;
        line-height: 1.45;
    }

    .web321-portfolio-media img,
    .web321-gallery-item img {
        height: 205px;
    }
}

[data-bs-theme="dark"] .web321-page-hero {
    background:
        radial-gradient(circle at 12% 15%, rgba(var(--bs-primary-rgb), .18), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(111, 66, 193, .16), transparent 30%),
        linear-gradient(180deg, rgba(20, 24, 36, .98), rgba(20, 24, 36, .72));
    border-bottom-color: rgba(255, 255, 255, .06);
}

[data-bs-theme="dark"] .web321-tech-list span {
    background: rgba(var(--bs-primary-rgb), .16);
}

[data-bs-theme="dark"] .web321-clean-header .nav-link:hover,
[data-bs-theme="dark"] .web321-clean-header .nav-link.active {
    background: rgba(var(--bs-primary-rgb), .14);
}

/* =============================
   web321 Home modern refresh
   ============================= */
.web321-home-hero {
    min-height: 640px;
    background:
        radial-gradient(circle at 8% 16%, rgba(var(--bs-primary-rgb), .18), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(111, 66, 193, .14), transparent 34%),
        linear-gradient(135deg, rgba(var(--bs-light-rgb), .98), rgba(245, 248, 255, .86));
    border-bottom: 1px solid rgba(15, 23, 42, .05);
}

.web321-hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: .55;
    pointer-events: none;
}
.web321-hero-glow-1 { right: -80px; top: 120px; background: rgba(var(--bs-primary-rgb), .16); }
.web321-hero-glow-2 { left: -70px; bottom: 70px; background: rgba(25, 135, 84, .13); }

.web321-kicker {
    padding: .55rem .9rem;
    border-radius: 999px;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .09);
    font-weight: 700;
    font-size: .9rem;
}
.web321-kicker-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 999px;
    background: var(--bs-primary);
    box-shadow: 0 0 0 6px rgba(var(--bs-primary-rgb), .12);
}
.web321-hero-title {
    font-size: clamp(2.05rem, 5vw, 4.35rem);
    line-height: 1.28;
    letter-spacing: -.035em;
    font-weight: 900;
    color: var(--bs-heading-color);
}
.web321-hero-title span {
    display: inline-block;
    color: var(--bs-primary);
    position: relative;
}
.web321-hero-title span:after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: .04em;
    height: .28em;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), .12);
    z-index: -1;
}
.web321-hero-subtitle {
    color: var(--bs-secondary-color);
    font-size: 1.08rem;
    line-height: 2;
    max-width: 680px;
}
.web321-hero-search-card {
    max-width: 650px;
    padding: .55rem;
    border-radius: 1.3rem;
    background: rgba(var(--bs-body-bg-rgb), .82);
    border: 1px solid rgba(var(--bs-primary-rgb), .09);
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px);
}
.web321-hero-search-card .form-control {
    min-height: 3rem;
    background: transparent;
}
.web321-hero-search-card .form-control:focus { box-shadow: none; }
.web321-hero-search-btn { border-radius: 1rem !important; min-width: 100px; }
.web321-btn-shine { position: relative; overflow: hidden; }
.web321-btn-shine:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -50%;
    width: 35%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transition: .55s;
}
.web321-btn-shine:hover:before { left: 120%; }
.web321-trust-pill {
    height: 100%;
    padding: .9rem .85rem;
    border-radius: 1rem;
    background: rgba(var(--bs-body-bg-rgb), .82);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .055);
}
.web321-trust-pill strong { display: block; color: var(--bs-heading-color); font-size: 1.05rem; }
.web321-trust-pill span { display: block; color: var(--bs-secondary-color); font-size: .78rem; margin-top: .2rem; }

.web321-hero-showcase { position: relative; padding: 1.3rem; }
.web321-hero-showcase:before {
    content: "";
    position: absolute;
    inset: 9% 3% 4% 8%;
    border-radius: 2.2rem;
    background: rgba(var(--bs-body-bg-rgb), .42);
    border: 1px solid rgba(255,255,255,.42);
    box-shadow: 0 2rem 5rem rgba(15, 23, 42, .10);
    transform: rotate(-3deg);
}
.web321-slide-card {
    position: relative;
    min-height: 430px;
    border-radius: 2rem;
    padding: 2rem;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 2rem 4.5rem rgba(15, 23, 42, .18);
}
.web321-slide-card:before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    left: -85px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
}
.web321-slide-card:after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -45px;
    top: -35px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
}
.web321-slide-card-blue { background: linear-gradient(135deg, #0d6efd, #0046b8); }
.web321-slide-card-purple { background: linear-gradient(135deg, #6f42c1, #4c2b92); }
.web321-slide-card-green { background: linear-gradient(135deg, #198754, #0f5d3b); }
.web321-slide-card h2 { position: relative; color: #fff; font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.65; margin-bottom: .9rem; z-index: 1; }
.web321-slide-card p { position: relative; color: rgba(255,255,255,.82); line-height: 2; margin-bottom: 1.25rem; z-index: 1; }
.web321-slide-icon {
    position: relative;
    z-index: 1;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.35rem;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}
.web321-slide-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .45rem; }
.web321-slide-tags span {
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 999px;
    padding: .28rem .72rem;
    font-size: .8rem;
}
.web321-carousel-indicators {
    position: static;
    margin: 1rem 0 0;
    justify-content: center;
}
.web321-carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(var(--bs-primary-rgb), .45);
}
.web321-floating-badge,
.web321-hero-mini-card {
    position: absolute;
    z-index: 3;
    align-items: center;
    gap: .55rem;
    padding: .72rem .9rem;
    border-radius: 1rem;
    background: rgba(var(--bs-body-bg-rgb), .88);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .12);
    backdrop-filter: blur(16px);
}
.web321-floating-badge { top: .5rem; right: .2rem; color: var(--bs-primary); font-weight: 800; }
.web321-hero-mini-card { left: .5rem; bottom: .2rem; display: flex; max-width: 300px; }
.web321-hero-mini-card i { font-size: 1.8rem; color: var(--bs-success); }
.web321-hero-mini-card strong { display: block; color: var(--bs-heading-color); }
.web321-hero-mini-card span { display: block; color: var(--bs-secondary-color); font-size: .78rem; }

.web321-feature-strip { background: var(--bs-body-bg); }
.web321-feature-mini {
    height: 100%;
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.15rem;
    background: var(--bs-body-bg);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 .75rem 2.25rem rgba(15, 23, 42, .055);
    transition: .22s ease;
}
.web321-feature-mini:hover { transform: translateY(-4px); box-shadow: 0 1.2rem 2.8rem rgba(15, 23, 42, .09); }
.web321-feature-mini i { color: var(--bs-primary); font-size: 1.55rem; }
.web321-feature-mini h3 { font-size: 1rem; margin: 0 0 .25rem; }
.web321-feature-mini p { color: var(--bs-secondary-color); font-size: .82rem; margin: 0; line-height: 1.8; }
.web321-section-eyebrow {
    display: inline-flex;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
    padding: .35rem .8rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .65rem;
}
.web321-section-title { font-size: clamp(1.55rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.02em; }
.web321-soft-section { background: linear-gradient(180deg, transparent, rgba(var(--bs-primary-rgb), .035), transparent); }
.web321-cat-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .45rem;
    min-height: 145px;
    padding: 1.2rem;
    border-radius: 1.35rem;
    background: var(--bs-body-bg);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 .75rem 2.25rem rgba(15, 23, 42, .055);
    transition: .22s ease;
    color: inherit;
}
.web321-cat-tile:hover { transform: translateY(-5px); border-color: rgba(var(--bs-primary-rgb), .24); box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, .10); }
.web321-cat-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .09);
    font-size: 1.45rem;
}
.web321-cat-title { color: var(--bs-heading-color); font-weight: 800; }
.web321-cat-tile small { color: var(--bs-secondary-color); }
.web321-product-modern-card,
.web321-portfolio-modern-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1.35rem;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 .8rem 2.4rem rgba(15, 23, 42, .07);
    transition: .22s ease;
}
.web321-product-modern-card:hover,
.web321-portfolio-modern-card:hover { transform: translateY(-6px); box-shadow: 0 1.4rem 3.5rem rgba(15, 23, 42, .13); }
.web321-product-image-wrap,
.web321-portfolio-img { display: block; overflow: hidden; background: rgba(var(--bs-primary-rgb), .04); }
.web321-product-image-wrap img { width: 100%; height: 185px; object-fit: cover; transition: .32s ease; }
.web321-portfolio-img img { width: 100%; height: 235px; object-fit: cover; transition: .32s ease; }
.web321-product-modern-card:hover img,
.web321-portfolio-modern-card:hover img { transform: scale(1.055); }
.web321-product-content,
.web321-portfolio-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.web321-product-badge {
    align-self: flex-start;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
    border-radius: 999px;
    padding: .25rem .62rem;
    font-size: .75rem;
    margin-bottom: .7rem;
}
.web321-product-content h3,
.web321-portfolio-body h3 { font-size: 1.02rem; line-height: 1.8; font-weight: 800; margin-bottom: .55rem; }
.web321-product-content p,
.web321-portfolio-body p {
    color: var(--bs-secondary-color);
    font-size: .86rem;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.25rem;
}
.web321-product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.web321-product-footer strong { color: var(--bs-success); font-size: .92rem; white-space: nowrap; }
.web321-tech-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
.web321-tech-list span { border-radius: 999px; padding: .25rem .58rem; color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .08); font-size: .75rem; }
.web321-trust-section { background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .045), transparent 60%); }
.web321-check-card {
    height: 100%;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: var(--bs-body-bg);
    border: 1px solid rgba(15, 23, 42, .06);
    color: var(--bs-heading-color);
    font-weight: 700;
}
.web321-check-card i { color: var(--bs-success); margin-left: .45rem; }
.web321-roadmap-card {
    padding: 1.35rem;
    border-radius: 1.55rem;
    background: var(--bs-body-bg);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .08);
}
.web321-roadmap-item { display: flex; gap: 1rem; padding: 1rem; border-radius: 1.2rem; }
.web321-roadmap-item + .web321-roadmap-item { border-top: 1px dashed rgba(15, 23, 42, .12); }
.web321-roadmap-item span {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: #fff;
    font-weight: 900;
}
.web321-roadmap-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.web321-roadmap-item p { color: var(--bs-secondary-color); margin-bottom: 0; line-height: 1.9; font-size: .9rem; }
.web321-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 1.75rem;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 34%),
        linear-gradient(135deg, #0d6efd, #0046b8);
    box-shadow: 0 2rem 5rem rgba(var(--bs-primary-rgb), .22);
}
.web321-final-cta span { color: rgba(255,255,255,.72); font-weight: 800; }
.web321-final-cta h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 2.2rem); margin: .4rem 0 .65rem; }
.web321-final-cta p { color: rgba(255,255,255,.78); max-width: 760px; margin: 0; line-height: 2; }

[data-bs-theme="dark"] .web321-home-hero {
    background:
        radial-gradient(circle at 8% 16%, rgba(var(--bs-primary-rgb), .20), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(111, 66, 193, .18), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(20, 24, 36, .90));
    border-bottom-color: rgba(255,255,255,.06);
}
[data-bs-theme="dark"] .web321-trust-pill,
[data-bs-theme="dark"] .web321-feature-mini,
[data-bs-theme="dark"] .web321-cat-tile,
[data-bs-theme="dark"] .web321-product-modern-card,
[data-bs-theme="dark"] .web321-portfolio-modern-card,
[data-bs-theme="dark"] .web321-check-card,
[data-bs-theme="dark"] .web321-roadmap-card {
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 .9rem 2.5rem rgba(0, 0, 0, .22);
}
[data-bs-theme="dark"] .web321-hero-showcase:before,
[data-bs-theme="dark"] .web321-hero-search-card,
[data-bs-theme="dark"] .web321-floating-badge,
[data-bs-theme="dark"] .web321-hero-mini-card {
    border-color: rgba(255,255,255,.08);
}
[data-bs-theme="dark"] .web321-soft-section,
[data-bs-theme="dark"] .web321-trust-section { background: rgba(255,255,255,.015); }

@media (max-width: 991.98px) {
    .web321-home-hero { min-height: auto; }
    .web321-hero-showcase { padding: 0; }
    .web321-hero-showcase:before,
    .web321-floating-badge,
    .web321-hero-mini-card { display: none !important; }
    .web321-slide-card { min-height: 260px; padding: 1.35rem; border-radius: 1.35rem; }
    .web321-slide-icon { width: 56px; height: 56px; font-size: 1.65rem; margin-bottom: .75rem; }
    .web321-slide-card h2 { font-size: 1.35rem; margin-bottom: .45rem; }
    .web321-slide-card p { font-size: .9rem; line-height: 1.8; margin-bottom: .8rem; }
}
@media (max-width: 575.98px) {
    .web321-home-hero .container { padding-top: 1.35rem !important; padding-bottom: 1rem !important; }
    .web321-hero-title { font-size: 2.05rem; line-height: 1.42; }
    .web321-hero-subtitle { font-size: .95rem; line-height: 1.9; }
    .web321-hero-search-card { border-radius: 1rem; padding: .35rem; }
    .web321-hero-search-card .input-group-text { display: none; }
    .web321-hero-search-card .form-control { min-height: 2.65rem; font-size: .86rem; }
    .web321-hero-search-btn { min-width: 76px; padding-right: .85rem; padding-left: .85rem; }
    .web321-slide-card { min-height: 218px; padding: 1.05rem; }
    .web321-slide-tags span { font-size: .7rem; padding: .18rem .48rem; }
    .web321-cat-tile { min-height: 128px; padding: .95rem; }
    .web321-product-image-wrap img { height: 180px; }
    .web321-portfolio-img img { height: 205px; }
    .web321-final-cta { flex-direction: column; align-items: flex-start; }
}

/* =============================
   web321 Home hero V2 - cleaner, lighter, premium
   ============================= */
.web321-home-hero-v2 {
    isolation: isolate;
    padding: clamp(3.25rem, 6vw, 6.25rem) 0 clamp(2.25rem, 4.5vw, 4.75rem);
    background:
        radial-gradient(circle at 8% 18%, rgba(13, 110, 253, .16), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(111, 66, 193, .14), transparent 31%),
        linear-gradient(135deg, #f8fbff 0%, #f4f8ff 42%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, .055);
}
.web321-hero-v2-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .48;
    background-image:
        linear-gradient(rgba(13, 110, 253, .065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, .065) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, #000 0, transparent 78%);
}
.web321-hero-v2-orb {
    position: absolute;
    z-index: -2;
    width: 25rem;
    height: 25rem;
    border-radius: 999px;
    filter: blur(55px);
    opacity: .62;
    pointer-events: none;
}
.web321-hero-v2-orb-a { right: -10rem; top: 1.5rem; background: rgba(13, 110, 253, .18); }
.web321-hero-v2-orb-b { left: -9rem; bottom: -5rem; background: rgba(25, 135, 84, .14); }
.web321-hero-v2-content { max-width: 690px; }
.web321-kicker-v2 {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .48rem .8rem;
    border-radius: 999px;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .095);
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    font-weight: 800;
    font-size: .84rem;
    box-shadow: 0 .7rem 1.8rem rgba(var(--bs-primary-rgb), .08);
}
.web321-kicker-v2 span {
    width: .58rem;
    height: .58rem;
    border-radius: 999px;
    background: var(--bs-primary);
    box-shadow: 0 0 0 5px rgba(var(--bs-primary-rgb), .13);
}
.web321-hero-title-v2 {
    color: var(--bs-heading-color);
    font-size: clamp(2.15rem, 4.5vw, 4.25rem);
    line-height: 1.28;
    font-weight: 950;
    letter-spacing: -.045em;
}
.web321-hero-title-v2 strong {
    display: inline-block;
    color: transparent;
    background: linear-gradient(90deg, #0d6efd, #6f42c1);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    white-space: nowrap;
}
.web321-hero-title-v2 strong:after {
    content: "";
    position: absolute;
    right: -.04em;
    left: -.04em;
    bottom: .05em;
    z-index: -1;
    height: .32em;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), .11);
}
.web321-hero-subtitle-v2 {
    color: var(--bs-secondary-color);
    max-width: 610px;
    font-size: 1.02rem;
    line-height: 2.05;
}
.web321-hero-search-v2 {
    width: min(100%, 640px);
    min-height: 4.35rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 1rem 2.8rem rgba(15, 23, 42, .09);
    backdrop-filter: blur(16px);
}
.web321-hero-search-icon {
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-items: center;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
    border-radius: 1rem;
}
.web321-hero-search-v2 input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bs-body-color);
    font-size: .98rem;
}
.web321-hero-search-v2 input::placeholder { color: rgba(108, 117, 125, .86); }
.web321-hero-search-v2 button {
    flex: 0 0 auto;
    border: 0;
    color: #fff;
    background: var(--bs-primary);
    min-height: 3.15rem;
    padding: 0 1.35rem;
    border-radius: 1rem;
    font-weight: 850;
    box-shadow: 0 .75rem 1.6rem rgba(var(--bs-primary-rgb), .20);
    transition: transform .18s ease, box-shadow .18s ease;
}
.web321-hero-search-v2 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(var(--bs-primary-rgb), .28);
}
.web321-quick-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: var(--bs-secondary-color);
    font-size: .86rem;
}
.web321-quick-tags span { font-weight: 800; color: var(--bs-heading-color); }
.web321-quick-tags a {
    display: inline-flex;
    align-items: center;
    padding: .28rem .68rem;
    border-radius: 999px;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .075);
    border: 1px solid rgba(var(--bs-primary-rgb), .08);
    font-weight: 750;
}
.web321-quick-tags a:hover { background: rgba(var(--bs-primary-rgb), .13); }
.web321-hero-actions-v2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
}
.web321-hero-light-btn {
    color: var(--bs-primary);
    border-color: rgba(var(--bs-primary-rgb), .12);
    box-shadow: 0 .8rem 2rem rgba(15, 23, 42, .055);
}
.web321-hero-stats-v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    max-width: 660px;
}
.web321-hero-stats-v2 div {
    padding: .9rem .95rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(15, 23, 42, .055);
    box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .055);
}
.web321-hero-stats-v2 strong {
    display: block;
    color: var(--bs-heading-color);
    font-size: .96rem;
    line-height: 1.65;
}
.web321-hero-stats-v2 span {
    display: block;
    color: var(--bs-secondary-color);
    font-size: .76rem;
    line-height: 1.75;
}
.web321-hero-visual-v2 {
    position: relative;
    max-width: 620px;
    margin-inline: auto;
    min-height: 460px;
    display: flex;
    align-items: center;
}
.web321-hero-visual-v2:before {
    content: "";
    position: absolute;
    inset: 4.5rem 1rem 2rem 3rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .13), rgba(111, 66, 193, .10));
    transform: rotate(-4deg);
    box-shadow: 0 2.2rem 5rem rgba(13, 110, 253, .09);
}
.web321-visual-main-card {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 1.7rem 5rem rgba(15, 23, 42, .14);
    backdrop-filter: blur(18px);
}
.web321-visual-topbar {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, .065);
    background: rgba(248, 250, 252, .78);
}
.web321-window-dots { display: inline-flex; gap: .34rem; }
.web321-window-dots span {
    width: .62rem;
    height: .62rem;
    border-radius: 999px;
    background: #cbd5e1;
}
.web321-window-dots span:nth-child(1) { background: #ef4444; }
.web321-window-dots span:nth-child(2) { background: #f59e0b; }
.web321-window-dots span:nth-child(3) { background: #22c55e; }
.web321-visual-address {
    flex: 1;
    min-width: 0;
    direction: ltr;
    text-align: left;
    color: #64748b;
    font-weight: 750;
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.web321-visual-status {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #0d6efd;
    background: rgba(13, 110, 253, .09);
    border-radius: 999px;
    padding: .28rem .55rem;
    font-size: .76rem;
    font-weight: 850;
}
.web321-visual-body { padding: 1.15rem; }
.web321-code-panel {
    border-radius: 1.25rem;
    padding: .95rem;
    background: #0f172a;
    color: #dbeafe;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.web321-code-line {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.35rem;
    padding: .18rem .55rem;
    border-radius: .8rem;
    color: rgba(219, 234, 254, .74);
    font-size: .88rem;
    font-weight: 700;
}
.web321-code-line span {
    direction: ltr;
    color: rgba(147, 197, 253, .65);
    font-size: .78rem;
}
.web321-code-line.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(13, 110, 253, .32), rgba(111, 66, 193, .25));
}
.web321-hero-mini-slider-v2 { margin-top: .95rem; }
.web321-mini-slide-v2 {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, .09), rgba(111, 66, 193, .07));
    border: 1px solid rgba(13, 110, 253, .10);
}
.web321-mini-slide-v2 i {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    font-size: 1.35rem;
    box-shadow: 0 .75rem 1.6rem rgba(13, 110, 253, .22);
}
.web321-mini-slide-v2 b {
    display: block;
    color: var(--bs-heading-color);
    font-size: .98rem;
    margin-bottom: .2rem;
}
.web321-mini-slide-v2 p {
    margin: 0;
    color: var(--bs-secondary-color);
    font-size: .8rem;
    line-height: 1.75;
}
.web321-visual-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
    margin-top: .95rem;
}
.web321-visual-services a {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 1.1rem;
    color: var(--bs-heading-color);
    background: rgba(248, 250, 252, .88);
    border: 1px solid rgba(15, 23, 42, .055);
    font-weight: 850;
    font-size: .82rem;
    transition: .2s ease;
}
.web321-visual-services a:hover {
    transform: translateY(-3px);
    color: var(--bs-primary);
    box-shadow: 0 .8rem 1.8rem rgba(15, 23, 42, .07);
}
.web321-visual-services i { font-size: 1.45rem; color: var(--bs-primary); }
.web321-floating-note-v2 {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 210px;
    padding: .75rem .9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .12);
    backdrop-filter: blur(16px);
}
.web321-floating-note-v2 i {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border-radius: .85rem;
    color: #fff;
    font-size: 1.15rem;
}
.web321-floating-note-v2 strong { display: block; color: var(--bs-heading-color); font-size: .86rem; }
.web321-floating-note-v2 span { display: block; color: var(--bs-secondary-color); font-size: .72rem; }
.web321-floating-note-green { right: 0; bottom: 2.1rem; }
.web321-floating-note-green i { background: #198754; }
.web321-floating-note-blue { left: .25rem; top: 4.7rem; }
.web321-floating-note-blue i { background: #0d6efd; }

[data-bs-theme="dark"] .web321-home-hero-v2 {
    background:
        radial-gradient(circle at 8% 18%, rgba(13, 110, 253, .23), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(111, 66, 193, .20), transparent 31%),
        linear-gradient(135deg, #0f172a 0%, #111827 48%, #151923 100%);
    border-bottom-color: rgba(255, 255, 255, .06);
}
[data-bs-theme="dark"] .web321-hero-v2-grid { opacity: .19; }
[data-bs-theme="dark"] .web321-hero-search-v2,
[data-bs-theme="dark"] .web321-hero-stats-v2 div,
[data-bs-theme="dark"] .web321-visual-main-card,
[data-bs-theme="dark"] .web321-floating-note-v2 {
    background: rgba(20, 24, 36, .78);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .24);
}
[data-bs-theme="dark"] .web321-visual-topbar,
[data-bs-theme="dark"] .web321-visual-services a {
    background: rgba(255, 255, 255, .035);
    border-color: rgba(255, 255, 255, .07);
}
[data-bs-theme="dark"] .web321-mini-slide-v2 {
    background: rgba(13, 110, 253, .12);
    border-color: rgba(255, 255, 255, .08);
}
[data-bs-theme="dark"] .web321-hero-light-btn {
    background: rgba(255,255,255,.05);
    color: #dbeafe;
    border-color: rgba(255,255,255,.10);
}

@media (max-width: 991.98px) {
    .web321-home-hero-v2 { padding-top: 2.4rem; }
    .web321-hero-v2-content { max-width: 100%; text-align: center; }
    .web321-hero-subtitle-v2,
    .web321-hero-search-v2 { margin-inline: auto; }
    .web321-quick-tags,
    .web321-hero-actions-v2 { justify-content: center; }
    .web321-hero-stats-v2 { margin-inline: auto; }
    .web321-hero-visual-v2 { min-height: auto; max-width: 560px; margin-top: 1rem; }
    .web321-floating-note-v2 { display: none; }
}
@media (max-width: 575.98px) {
    .web321-home-hero-v2 { padding: 1.65rem 0 1.75rem; }
    .web321-kicker-v2 { font-size: .76rem; padding: .42rem .66rem; }
    .web321-hero-title-v2 { font-size: 2rem; line-height: 1.42; letter-spacing: -.025em; }
    .web321-hero-subtitle-v2 { font-size: .9rem; line-height: 1.9; }
    .web321-hero-search-v2 {
        min-height: 3.65rem;
        border-radius: 1.05rem;
        gap: .35rem;
        padding: .42rem;
    }
    .web321-hero-search-icon { display: none; }
    .web321-hero-search-v2 input { font-size: .82rem; }
    .web321-hero-search-v2 button {
        min-height: 2.8rem;
        padding: 0 .85rem;
        border-radius: .85rem;
        font-size: .82rem;
    }
    .web321-quick-tags { gap: .38rem; font-size: .76rem; }
    .web321-quick-tags a { padding: .22rem .5rem; }
    .web321-hero-actions-v2 .btn { width: 100%; }
    .web321-hero-stats-v2 { grid-template-columns: 1fr; gap: .5rem; }
    .web321-hero-stats-v2 div { padding: .7rem .85rem; }
    .web321-hero-visual-v2 { margin-top: .8rem; }
    .web321-hero-visual-v2:before { display: none; }
    .web321-visual-main-card { border-radius: 1.25rem; }
    .web321-visual-topbar { padding: .7rem .75rem; }
    .web321-visual-status { display: none; }
    .web321-visual-body { padding: .8rem; }
    .web321-code-panel { display: none; }
    .web321-mini-slide-v2 { min-height: 74px; padding: .72rem; }
    .web321-mini-slide-v2 i { width: 2.55rem; height: 2.55rem; font-size: 1.12rem; }
    .web321-mini-slide-v2 b { font-size: .87rem; }
    .web321-mini-slide-v2 p { font-size: .72rem; }
    .web321-visual-services { grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .65rem; }
    .web321-visual-services a { min-height: 66px; border-radius: .85rem; font-size: .68rem; }
    .web321-visual-services i { font-size: 1.1rem; }
}

/* web321 hero visual overlap fix - 1405/04/10 */
.web321-hero-visual-v2 {
    padding: 1.5rem 1.25rem 4.25rem;
    min-height: 520px;
    align-items: flex-start;
    justify-content: center;
}

.web321-hero-visual-v2:before {
    inset: 4.5rem 1.2rem 4.15rem 3rem;
}

.web321-visual-main-card {
    margin-top: .75rem;
    margin-bottom: 0;
}

.web321-floating-note-green {
    right: 2.4rem;
    bottom: 1.05rem;
}

.web321-floating-note-blue {
    left: .65rem;
    top: 5.65rem;
}

@media (max-width: 1199.98px) {
    .web321-hero-visual-v2 {
        padding-inline: .75rem;
    }

    .web321-floating-note-green {
        right: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .web321-hero-visual-v2 {
        padding: 1rem .5rem 1.25rem;
        min-height: auto;
    }

    .web321-visual-main-card {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .web321-hero-visual-v2 {
        padding: .25rem 0 0;
    }
}
