/* Vector Services — modern service page (scoped .vs-page) */
:root {
    --vs-ink: #091e3e;
    --vs-primary: #ca3200;
    --vs-accent: #34ad54;
    --vs-violet: #5b4dff;
    --vs-border: rgba(9, 30, 62, 0.1);
    --vs-soft: #f3f8ff;
    --vs-hero-image: url("../img/vextorcover.webp");
}

.vs-page {
    background: #fff;
    overflow-x: hidden;
}

.vs-hero {
    position: relative;
    color: #fff;
    padding: 88px 0 72px;
    overflow: hidden;
    background-color: #0a1628;
    background-image:
        linear-gradient(120deg, rgba(9, 30, 62, 0.88) 0%, rgba(91, 77, 255, 0.45) 45%, rgba(202, 50, 0, 0.55) 100%),
        var(--vs-hero-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.vs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(52, 173, 84, 0.25), transparent 55%);
    pointer-events: none;
    animation: vs-hero-glow 14s ease-in-out infinite alternate;
}

@keyframes vs-hero-glow {
    0% { opacity: 0.65; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .vs-hero::before {
        animation: none;
    }
}

.vs-hero-inner {
    position: relative;
    z-index: 1;
}

/* Hero trust chips — explicit contrast (Bootstrap badge + bg-white can render solid white) */
.vs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.3;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.vs-hero-badge i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95em;
}

.vs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
}

.vs-hero-title {
    color: #fff !important;
    font-weight: 900;
    margin-top: 18px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.12;
}

.vs-hero-lead {
    color: rgba(255, 255, 255, 0.93);
    font-size: 1.06rem;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 640px;
}

.vs-hero-actions .btn {
    font-weight: 800;
    border-radius: 14px;
    padding: 12px 22px;
}

.vs-hero-actions .btn-primary {
    box-shadow: 0 10px 28px rgba(202, 50, 0, 0.28);
}

.vs-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vs-hero-image {
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.vs-hero-ring {
    position: absolute;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    border: 2px dashed rgba(52, 173, 84, 0.5);
    right: -10%;
    top: -8%;
    pointer-events: none;
    animation: vs-spin-slow 28s linear infinite;
}

@keyframes vs-spin-slow {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .vs-hero-ring { animation: none; }
}

.vs-section-kicker {
    color: var(--vs-accent);
    font-weight: 900;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.vs-section-title {
    font-weight: 900;
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 2.2vw, 2.15rem);
    line-height: 1.25;
    color: var(--vs-ink);
}

.vs-section-subtitle {
    color: rgba(9, 30, 62, 0.76);
    line-height: 1.7;
    font-size: 1rem;
}

.vs-about-visual {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--vs-border);
    background: var(--vs-soft);
    padding: 14px;
}

.vs-card {
    background: #fff;
    border: 1px solid var(--vs-border);
    border-radius: 18px;
    padding: 24px 22px;
    height: 100%;
    box-shadow: 0 16px 34px rgba(9, 30, 62, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.vs-card:hover {
    transform: translateY(-6px);
    border-color: rgba(91, 77, 255, 0.28);
    box-shadow: 0 22px 60px rgba(9, 30, 62, 0.1);
}

.vs-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vs-violet);
    background: rgba(91, 77, 255, 0.12);
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.vs-card-title {
    font-weight: 900;
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: var(--vs-ink);
}

.vs-card-text {
    color: rgba(9, 30, 62, 0.74);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.98rem;
}

.vs-process {
    background: linear-gradient(180deg, rgba(243, 248, 255, 1) 0%, #fff 72%);
}

.vs-step {
    background: #fff;
    border: 1px solid var(--vs-border);
    border-radius: 18px;
    padding: 20px 18px;
    display: flex;
    gap: 16px;
    box-shadow: 0 16px 34px rgba(9, 30, 62, 0.05);
}

.vs-step-num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(91, 77, 255, 0.12);
    color: var(--vs-violet);
    font-weight: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.vs-step-body h3 {
    font-weight: 1000;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.vs-step-body p {
    margin-bottom: 0;
    color: rgba(9, 30, 62, 0.72);
    line-height: 1.65;
    font-weight: 700;
}

.vs-portfolio {
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.vs-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.vs-filter-btn {
    border: 1px solid var(--vs-border);
    background: #fff;
    color: var(--vs-ink);
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vs-filter-btn:hover {
    border-color: rgba(91, 77, 255, 0.35);
    transform: translateY(-2px);
}

.vs-filter-btn.active {
    background: linear-gradient(135deg, var(--vs-primary), #9a2600);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(202, 50, 0, 0.25);
}

.vs-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.vs-portfolio-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--vs-border);
    background: #fff;
    box-shadow: 0 14px 40px rgba(9, 30, 62, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vs-portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(9, 30, 62, 0.12);
}

.vs-portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.vs-deep {
    background: linear-gradient(135deg, #0f1729 0%, #1a2744 100%);
    color: rgba(255, 255, 255, 0.92);
}

.vs-deep .vs-section-title {
    color: #fff !important;
}

.vs-deep p {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    line-height: 1.75;
}

.vs-why {
    background: linear-gradient(180deg, rgba(255, 243, 238, 0.55) 0%, #fff 100%);
}

.vs-stats {
    background: linear-gradient(135deg, rgba(9, 30, 62, 0.98), rgba(91, 77, 255, 0.55));
}

.vs-stat-num {
    font-weight: 1000;
    font-size: 1.55rem;
    margin-bottom: 6px;
    color: #fff;
}

.vs-stat-label {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.86);
}

.vs-accordion .accordion-item {
    border: 1px solid var(--vs-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.vs-accordion .accordion-button {
    font-weight: 1000;
    background: rgba(243, 248, 255, 0.95);
    box-shadow: none;
}

.vs-accordion .accordion-body {
    color: rgba(9, 30, 62, 0.76);
    line-height: 1.75;
    font-weight: 700;
}

.vs-cta-inner {
    padding: 52px 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 15% 25%, rgba(52, 173, 84, 0.28), rgba(52, 173, 84, 0) 55%),
        linear-gradient(135deg, rgba(202, 50, 0, 0.95), rgba(9, 30, 62, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.vs-cta-title {
    color: #fff !important;
    font-weight: 1000;
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.vs-cta-lead {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    line-height: 1.7;
}

.vs-cta-btn {
    font-weight: 900;
    padding: 14px 22px;
    border-radius: 14px;
}

@media (max-width: 991.98px) {
    .vs-hero {
        padding: 72px 0 52px;
    }
}
