/* Visualsoft public site. Layout classes (vs-section, vs-row, vs-col-*) are produced by the
   WordPress import (Import/DiviConverter.cs) and can be used the same way in new pages. */

:root {
    --vs-navy: #0a1628;
    --vs-navy-2: #12283f;
    --vs-teal: #00c4b4;
    --vs-teal-dark: #00786f;
    --vs-blue: #0074bd;
    --vs-green: #6eba01;
    --vs-text: #4a5568;
    --vs-heading: #1a202c;
    --vs-muted: #718096;
    --vs-line: #e2e8f0;
    --vs-bg: #ffffff;
    --vs-soft: #f7fafc;
    --vs-width: 1180px;
    --vs-header-h: 76px;
    --vs-font: "Open Sans", "Segoe UI", Tahoma, Arial, sans-serif;
    --vs-font-head: "Montserrat", "Raleway", "Segoe UI", Tahoma, Arial, sans-serif;
}

.rtl {
    --vs-font: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
    --vs-font-head: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font: 15px/1.75 var(--vs-font);
    color: var(--vs-text);
    background: var(--vs-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--vs-font-head);
    color: var(--vs-heading);
    line-height: 1.3;
    margin: 0 0 .6em;
    font-weight: 700;
}
h1 { font-size: clamp(28px, 4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
a { color: var(--vs-blue); text-decoration: none; }
a:hover { color: var(--vs-teal-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { padding-inline-start: 1.3em; }
:focus-visible { outline: 2px solid var(--vs-teal); outline-offset: 3px; }

/* Hidden above the page, not to the side: a sideways offset widens the page in RTL. */
.vs-skip { position: absolute; top: -60px; inset-inline-start: 8px; z-index: 100; background: #fff; padding: 8px 14px; }
.vs-skip:focus { top: 8px; }

/* ------------------------------------------------------------ header */
.vs-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--vs-navy);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 18px rgba(10, 22, 40, .18);
}
.vs-header-inner {
    max-width: var(--vs-width); margin: 0 auto; padding: 0 20px;
    height: var(--vs-header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.vs-logo img { display: block; height: 46px; width: auto; }
.vs-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.vs-nav li { position: relative; }
.vs-nav a { display: block; color: #fff; font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.vs-nav > ul > li > a:hover, .vs-nav > ul > li.active > a { color: var(--vs-teal); }
.vs-nav > ul > li.active > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.vs-nav li ul {
    list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px;
    background: #fff; border-top: 3px solid var(--vs-teal); border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(10, 22, 40, .18);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.vs-nav li:hover > ul, .vs-nav li:focus-within > ul, .vs-nav li.open > ul { opacity: 1; visibility: visible; transform: none; }
.vs-nav li ul a { color: var(--vs-navy); font-weight: 500; padding: 8px 18px; border-radius: 0; }
.vs-nav li ul a:hover { background: #eef6f5; color: var(--vs-teal-dark); }
.vs-sub-toggle { display: none; }

/* Dropdown with a third level: groups side by side, each with a heading */
.vs-nav li ul.vs-groups { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); min-width: 640px; padding: 14px 6px; }
.vs-nav li.vs-group ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; background: none; }
.vs-nav .vs-group-title { display: block; padding: 6px 18px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--vs-muted); }
.vs-nav a.vs-group-title:hover { color: var(--vs-teal-dark); background: none; }
.rtl .vs-nav .vs-group-title { text-transform: none; letter-spacing: 0; font-size: 13px; }
.vs-lang a { border: 1px solid rgba(255, 255, 255, .35); margin-inline-start: 8px; }
.vs-lang a:hover { border-color: var(--vs-teal); }

.vs-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.vs-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

@media (max-width: 1080px) {
    .vs-burger { display: block; }
    .vs-nav {
        position: fixed; top: var(--vs-header-h); inset-inline: 0; bottom: 0; overflow-y: auto;
        background: var(--vs-navy); border-top: 3px solid var(--vs-teal); padding: 10px 20px 40px;
        display: none;
    }
    .vs-nav.open { display: block; }
    .vs-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .vs-nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .vs-nav a { padding: 14px 4px; font-size: 16px; }
    .vs-nav li ul { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px; }
    .vs-nav li.open > ul { display: block; }
    .vs-nav li ul a { color: #c9d6e3; padding: 10px 16px; }
    .vs-nav li ul.vs-groups { display: none; min-width: 0; padding: 0 0 8px; }
    .vs-nav li.open > ul.vs-groups { display: block; }
    .vs-nav li.vs-group { border: 0; }
    .vs-nav li.vs-group ul, .vs-nav li.vs-group:hover > ul { display: block; }
    .vs-nav .vs-group-title { color: #8aa0b8; padding: 12px 16px 2px; }
    .vs-nav li ul a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .vs-sub-toggle {
        display: block; position: absolute; top: 6px; inset-inline-end: 0; width: 44px; height: 40px;
        background: none; border: 0; color: #fff; cursor: pointer;
    }
    .vs-sub-toggle::after { content: "▾"; font-size: 18px; }
    .vs-nav li.open > .vs-sub-toggle::after { content: "▴"; }
    .vs-nav li:hover > ul { display: none; }
    .vs-nav li.open:hover > ul { display: block; }
    .vs-lang a { margin: 10px 0 0; text-align: center; }
    body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------ layout */
.vs-section { position: relative; padding: 64px 0; background-size: cover; background-position: center; }
.vs-section.vs-fullwidth { padding: 0; }
.vs-row {
    max-width: var(--vs-width); margin: 0 auto; padding: 24px 20px;
    display: flex; flex-wrap: wrap; gap: 0 4%; position: relative;
}
.vs-row .vs-row { padding-inline: 0; }
.vs-col { flex: 0 0 100%; min-width: 0; }
.vs-col-1_2 { flex-basis: 48%; }
.vs-col-1_3 { flex-basis: 30.66%; }
.vs-col-2_3 { flex-basis: 65.33%; }
.vs-col-1_4 { flex-basis: 22%; }
.vs-col-3_4 { flex-basis: 74%; }
.vs-col-1_5 { flex-basis: 16.8%; }
.vs-col-1_6 { flex-basis: 13.33%; }
.vs-col-2_5 { flex-basis: 37.6%; }
.vs-col-3_5 { flex-basis: 58.4%; }
.vs-col > * + * { margin-top: 24px; }
.vs-col > .vs-spacer + *, .vs-col > * + .vs-spacer { margin-top: 0; }

@media (max-width: 980px) {
    .vs-col-1_4, .vs-col-1_5, .vs-col-1_6 { flex-basis: 48%; }
    .vs-col-1_3, .vs-col-2_3, .vs-col-3_4, .vs-col-2_5, .vs-col-3_5 { flex-basis: 100%; }
    .vs-col + .vs-col { margin-top: 28px; }
    .vs-col-1_4 + .vs-col-1_4:nth-child(2) { margin-top: 0; }
}
@media (max-width: 640px) {
    .vs-col { flex-basis: 100% !important; }
    .vs-col-1_4 + .vs-col-1_4:nth-child(2) { margin-top: 28px; }
    .vs-section { padding: 40px 0; }
    /* Imported pages often carry large fixed paddings that only fit wide screens. */
    .vs-section[style*="padding"], .vs-row[style*="padding"] { padding-top: 32px !important; padding-bottom: 32px !important; }
}

.vs-center { text-align: center; }
.vs-right { text-align: right; }
.vs-left { text-align: left; }
.rtl .vs-left { text-align: right; }
.rtl .vs-right { text-align: left; }

/* Light text on dark backgrounds */
.vs-dark, .vs-dark h1, .vs-dark h2, .vs-dark h3, .vs-dark h4, .vs-dark h5, .vs-dark h6, .vs-dark a:not(.vs-btn) { color: #fff; }
.vs-dark { color: rgba(255, 255, 255, .88); }

/* ------------------------------------------------------------ modules */
.vs-text > :last-child, .vs-blurb-body > :last-child, .vs-cta > :last-child { margin-bottom: 0; }
.vs-text img { border-radius: 6px; }

.vs-hero {
    position: relative; padding: clamp(70px, 10vw, 130px) 20px; text-align: center;
    background: linear-gradient(135deg, var(--vs-navy), var(--vs-navy-2)) center / cover no-repeat;
}
.vs-hero-inner { max-width: 900px; margin: 0 auto; }
.vs-hero h1 { font-size: clamp(32px, 5vw, 58px); margin-bottom: .3em; }
.vs-hero-sub { font-size: 20px; font-weight: 600; }
.vs-hero-text { font-size: clamp(16px, 2vw, 21px); }
.vs-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.vs-hero-logo { max-height: 120px; margin-bottom: 20px; }
.vs-hero-img { margin-top: 30px; }

.vs-btn-wrap { margin: 8px 0; }
.vs-btn-wrap.vs-center { text-align: center; }
.vs-btn-wrap.vs-right { text-align: end; }
.vs-btn {
    display: inline-block; padding: 11px 26px; border-radius: 6px; font-weight: 700; font-size: 15px; letter-spacing: .02em;
    background: var(--vs-blue); color: #fff; border: 2px solid var(--vs-blue); text-decoration: none; transition: .15s ease; cursor: pointer;
}
.vs-btn:hover { background: var(--vs-teal-dark); border-color: var(--vs-teal-dark); color: #fff; text-decoration: none; }
.vs-btn-primary { background: var(--vs-green); border-color: var(--vs-green); }
.vs-btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.vs-btn-ghost:hover { background: #fff; color: var(--vs-green); border-color: #fff; }
.vs-btn.vs-dark { background: transparent; border-color: #fff; }

.vs-image { margin: 0; }
.vs-image.vs-center { text-align: center; }
.vs-image.vs-right { text-align: end; }
.vs-image-full img { width: 100%; }
.vs-image img { border-radius: 4px; }

.vs-blurb { text-align: center; }
.vs-blurb-img { margin-bottom: 18px; }
.vs-blurb-img img { max-height: 120px; width: auto; }
.vs-blurb h4 { font-size: 18px; margin-bottom: .5em; }
.vs-blurb-left { display: flex; gap: 18px; text-align: start; align-items: flex-start; }
.vs-blurb-left .vs-blurb-img { flex: 0 0 64px; margin: 0; }

.vs-divider { border: 0; border-top: 1px solid var(--vs-line); }

.vs-testimonial {
    margin: 0; padding: 28px; border-radius: 10px; background: var(--vs-soft); border: 1px solid var(--vs-line);
}
.vs-testimonial blockquote { margin: 0 0 18px; font-style: italic; }
.vs-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.vs-testimonial figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.vs-testimonial small { display: block; color: var(--vs-muted); }

.vs-cta { padding: 28px; border-radius: 10px; }
.vs-cta h3 { margin-bottom: .4em; }

.vs-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.vs-price { border: 1px solid var(--vs-line); border-radius: 12px; padding: 28px 22px; text-align: center; background: #fff; display: flex; flex-direction: column; }
.vs-price.vs-featured { border-color: var(--vs-blue); box-shadow: 0 10px 30px rgba(0, 116, 189, .15); }
.vs-price h3 { font-size: 20px; }
.vs-price-sum { font-size: 40px; font-weight: 800; color: var(--vs-heading); margin: 10px 0 16px; }
.vs-price-sum small { font-size: 20px; vertical-align: top; }
.vs-price-sum span { display: block; font-size: 14px; font-weight: 400; color: var(--vs-muted); }
.vs-price ul { list-style: none; padding: 0; text-align: start; flex: 1; }
.vs-price li { padding: 6px 0; border-bottom: 1px solid var(--vs-line); }
.vs-price li.vs-no { color: #a0aec0; text-decoration: line-through; }
.vs-price .vs-btn { margin-top: auto; }

.vs-toggle { border: 1px solid var(--vs-line); border-radius: 8px; padding: 12px 18px; }
.vs-toggle summary { cursor: pointer; font-weight: 700; color: var(--vs-heading); }
.vs-toggle[open] summary { margin-bottom: 10px; }

.vs-table-wrap { overflow-x: auto; }
.vs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vs-table th, .vs-table td { border: 1px solid var(--vs-line); padding: 10px 12px; text-align: start; vertical-align: top; }
.vs-table thead th { background: var(--vs-navy); color: #fff; }
.vs-table tbody tr:nth-child(even) { background: var(--vs-soft); }

/* Sliders: horizontal scroll-snap, moved by site.js */
.vs-slider { position: relative; overflow: hidden; }
.vs-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vs-slides::-webkit-scrollbar { display: none; }
.vs-slide { flex: 0 0 100%; scroll-snap-align: start; background-size: cover; background-position: center; min-height: 420px; display: flex; align-items: center; }
.vs-slide-inner { max-width: var(--vs-width); margin: 0 auto; padding: 60px 20px; display: flex; gap: 40px; align-items: center; width: 100%; }
.vs-slide-img { max-width: 45%; }
.vs-slide-body { flex: 1; }
.vs-dots { position: absolute; bottom: 16px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.vs-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; }
.vs-dots button[aria-current="true"] { background: #fff; }
@media (max-width: 760px) { .vs-slide-inner { flex-direction: column; } .vs-slide-img { max-width: 80%; } }

.vs-logos { overflow: hidden; }
.vs-logos-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 24px; align-items: center; }
.vs-logos-track::-webkit-scrollbar { display: none; }
.vs-logo-item { flex: 0 0 calc((100% - (var(--per, 4) - 1) * 24px) / var(--per, 4)); scroll-snap-align: start; text-align: center; }
.vs-logo-item img { max-height: 90px; width: auto; filter: grayscale(.2); transition: .2s; }
.vs-logo-item img:hover { filter: none; }
@media (max-width: 760px) { .vs-logo-item { flex-basis: calc(50% - 12px); } }

/* Embeds (maps, video) load only after a click, so no third party sees the visit by default */
.vsp-embed { position: relative; background: var(--vs-soft); border: 1px solid var(--vs-line); border-radius: 8px; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.vsp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }

.vs-page-head { max-width: var(--vs-width); margin: 0 auto; padding: 48px 20px 0; }
.vs-page-title { text-align: center; }

/* ------------------------------------------------------------ contact form */
.vs-form { max-width: 760px; margin: 0 auto; text-align: start; }
.vs-form label { display: block; font-weight: 600; color: var(--vs-heading); margin-bottom: 14px; font-size: 14px; }
.vs-form input, .vs-form textarea {
    display: block; width: 100%; margin-top: 6px; padding: 11px 14px; font: inherit; color: var(--vs-heading);
    border: 1px solid #cbd5e0; border-radius: 6px; background: #fff;
}
.vs-form input:focus, .vs-form textarea:focus { border-color: var(--vs-blue); outline: 2px solid rgba(0, 116, 189, .2); }
.vs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .vs-form-grid { grid-template-columns: 1fr; } }
.vs-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vs-alert { padding: 12px 16px; border-radius: 6px; }
.vs-alert-ok { background: #e6fffa; color: #234e52; border: 1px solid #81e6d9; }
.vs-alert-error { background: #fff5f5; color: #742a2a; border: 1px solid #feb2b2; }

/* ------------------------------------------------------------ footer */
.vs-footer { background: var(--vs-navy); color: #c9d6e3; font-size: 14px; }
.vs-footer-inner { max-width: var(--vs-width); margin: 0 auto; padding: 56px 20px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.vs-footer h2 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.vs-footer ul { list-style: none; padding: 0; margin: 0; }
.vs-footer li { margin-bottom: 8px; }
.vs-footer a { color: #c9d6e3; }
.vs-footer a:hover { color: var(--vs-teal); }
.vs-footer-about img { height: 41px; width: auto; margin-bottom: 12px; }
.vs-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08); max-width: var(--vs-width); margin: 0 auto; padding: 18px 20px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.vs-social { display: flex; gap: 16px; }
@media (max-width: 860px) { .vs-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vs-footer-inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ error page */
.vs-error { padding: 100px 0; }
.vs-error .vs-row { flex-direction: column; align-items: center; }
.vs-error-code { font-size: 96px; font-weight: 800; color: var(--vs-line); line-height: 1; margin: 0; }
