/*--------------------------------------------------------------
# Variable Solutions – Light professional theme for Clarity
# Loaded AFTER main.css. main.css is kept untouched so the
# template can be updated later without losing these changes.
--------------------------------------------------------------*/

/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global colours (brand blue taken from the VS logo) */
:root {
  --background-color: #ffffff;
  --default-color: #4a5468;
  --heading-color: #0f1d3a;
  --accent-color: #3561c9;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav colours */
:root {
  --nav-color: #2c3a55;
  --nav-hover-color: #3561c9;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #2c3a55;
  --nav-dropdown-hover-color: #3561c9;
}

.light-background {
  --background-color: #f4f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0f1d3a;
  --default-color: #c9d2e6;
  --heading-color: #ffffff;
  --surface-color: #1a2a4d;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --surface-color: #ffffff;
}

.header .header-container {
  box-shadow: 0 6px 24px rgba(15, 29, 58, 0.08);
  border: 1px solid rgba(15, 29, 58, 0.06);
}

.header .logo img {
  height: 36px;
  width: auto;
  max-height: none;
  margin-right: 0;
}

@media (max-width: 420px) {
  .header .logo img { height: 26px; }
}

.header .btn-getstarted {
  white-space: nowrap;
}

/* Desktop (1200-1399px): tighter menu spacing so logo, menu and button fit on one line */
@media (min-width: 1200px) and (max-width: 1399px) {
  .header .logo img { height: 32px; }
  .navmenu a, .navmenu a:focus { font-size: 14.5px; }
  .header .btn-getstarted { margin-left: 18px; }
}

/* Template quirk: its "max-width: 1200px" mobile ordering also fires at exactly 1200px,
   where the desktop menu is already showing. Restore desktop order at 1200px. */
@media (min-width: 1200px) {
  .header .logo, .header .btn-getstarted, .header .navmenu { order: 0; }
}

.scrolled .header .header-container {
  box-shadow: 0 8px 30px rgba(15, 29, 58, 0.12);
}

/* Very small phones (320-380px): keep logo, button and menu icon on one line
   (below 360px the header shows the VS mark only - see <picture> in header.php) */
@media (max-width: 359px) {
  .header .logo img { height: 30px; }
}
@media (max-width: 380px) {
  .header .btn-getstarted { padding: 5px 10px; font-size: 13px; margin-right: 6px; }
  .header .header-container { padding-left: 10px; }
}

@media (max-width: 1199px) {
  .navmenu ul {
    box-shadow: 0 10px 40px rgba(15, 29, 58, 0.15);
  }
}

/*--------------------------------------------------------------
# Small shared bits
--------------------------------------------------------------*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.section-title h2 {
  position: relative;
  padding-bottom: 14px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: var(--accent-color);
}

.section-title p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Hero – code/dashboard mock-up instead of a stock photo
--------------------------------------------------------------*/
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef3fd 55%, #e4ecfb 100%);
  padding: 90px 0 110px;
}

.hero .hero-content h1 span {
  color: var(--accent-color);
}

.hero .hero-stats .stat-item {
  text-align: left;
  padding-right: 2rem;
  border-right: 1px solid rgba(15, 29, 58, 0.1);
}

.hero .hero-stats .stat-item:last-child {
  border-right: 0;
  padding-right: 0;
}

@media (max-width: 992px) {
  .hero .hero-stats {
    justify-content: center;
  }

  .hero .hero-stats .stat-item {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero .hero-stats .stat-item {
    border-right: 0;
    padding-right: 0;
  }
}

.vs-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.vs-mockup .browser {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(15, 29, 58, 0.18);
  border: 1px solid rgba(15, 29, 58, 0.08);
  overflow: hidden;
}

.vs-mockup .browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f3f5fa;
  border-bottom: 1px solid rgba(15, 29, 58, 0.06);
}

.vs-mockup .browser-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.vs-mockup .browser-bar .dot:nth-child(2) { background: #febc2e; }
.vs-mockup .browser-bar .dot:nth-child(3) { background: #28c840; }

.vs-mockup .browser-bar .url {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
  background: #ffffff;
  border-radius: 6px;
  font-size: 12px;
  color: #6b7488;
  padding: 4px 10px;
  border: 1px solid rgba(15, 29, 58, 0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vs-mockup .browser-body {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 300px;
}

.vs-mockup .side {
  background: #0f1d3a;
  padding: 18px 14px;
}

.vs-mockup .side .brand {
  height: 10px;
  width: 70%;
  border-radius: 4px;
  background: #ffffff;
  opacity: 0.85;
  margin-bottom: 22px;
}

.vs-mockup .side .item {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 14px;
}

.vs-mockup .side .item.active {
  background: var(--accent-color);
}

.vs-mockup .main-area {
  padding: 18px;
}

.vs-mockup .kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.vs-mockup .kpi {
  border-radius: 10px;
  padding: 10px;
  background: #f4f7fc;
  border: 1px solid rgba(15, 29, 58, 0.05);
}

.vs-mockup .kpi b {
  display: block;
  font-family: var(--heading-font);
  font-size: 16px;
  color: var(--heading-color);
}

.vs-mockup .kpi small {
  font-size: 10px;
  color: #6b7488;
}

.vs-mockup .chart {
  height: 110px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #f4f7fc;
  margin-bottom: 14px;
}

.vs-mockup .chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-color), color-mix(in srgb, var(--accent-color), white 45%));
}

.vs-mockup .rows .row-line {
  height: 8px;
  border-radius: 4px;
  background: #e8edf6;
  margin-bottom: 10px;
}

.vs-mockup .rows .row-line:nth-child(2) { width: 85%; }
.vs-mockup .rows .row-line:nth-child(3) { width: 65%; }

.vs-mockup .float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 15px 35px rgba(15, 29, 58, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}

.vs-mockup .float-card i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #ffffff;
  background: var(--accent-color);
}

.vs-mockup .float-card small {
  display: block;
  font-weight: 400;
  color: #6b7488;
  font-size: 11px;
}

.vs-mockup .float-card.fc-1 { top: -22px; right: -18px; }
.vs-mockup .float-card.fc-2 { bottom: 40px; left: -36px; animation-delay: 1.5s; }
.vs-mockup .float-card.fc-2 i { background: #16a34a; }
.vs-mockup .float-card.fc-3 { bottom: -22px; right: 30px; animation-delay: 3s; }
.vs-mockup .float-card.fc-3 i { background: #f59e0b; }

.vs-mockup .code-chip {
  position: absolute;
  top: -44px;
  left: -24px;
  background: #0f1d3a;
  color: #c9d2e6;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.6;
  box-shadow: 0 15px 35px rgba(15, 29, 58, 0.25);
  animation: float 7s ease-in-out infinite;
  animation-delay: 0.8s;
}

.vs-mockup .code-chip .k { color: #7aa2ff; }
.vs-mockup .code-chip .s { color: #7ee2a8; }

@media (max-width: 576px) {
  .vs-mockup .browser-body { grid-template-columns: 56px minmax(0, 1fr); min-height: 240px; }
  .vs-mockup .main-area { padding: 12px; }
  .vs-mockup .kpis { gap: 6px; }
  .vs-mockup .kpi { padding: 8px 6px; }
  .vs-mockup .kpi b { font-size: 13px; }
  .vs-mockup .kpi small { font-size: 9px; }
  .vs-mockup .chart { height: 80px; }
  .vs-mockup .code-chip { display: none; }
  .vs-mockup .float-card.fc-1 { right: -4px; }
  .vs-mockup .float-card.fc-2 { left: -4px; }
  .vs-mockup .float-card.fc-3 { display: none; }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content p {
  text-align: justify;
}

.about .image-composition .stats-card h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services – no "learn more" pages, so link opens contact
--------------------------------------------------------------*/
.services .service-card p {
  margin-bottom: 1rem;
}

.services .service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0.5rem;
}

.services .service-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Portfolio – illustrated project thumbnails
--------------------------------------------------------------*/
.portfolio .project-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--thumb-a, #3561c9), var(--thumb-b, #1e3a8a));
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .project-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
}

.portfolio .project-thumb i {
  position: relative;
  font-size: 54px;
  line-height: 1;
}

.portfolio .project-thumb span {
  position: relative;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.16);
  padding: 4px 12px;
  border-radius: 50px;
}

.portfolio .portfolio-wrapper:hover .project-thumb {
  transform: scale(1.05);
}

.portfolio .portfolio-wrapper .portfolio-image {
  height: 200px;
}

.portfolio .portfolio-wrapper .portfolio-content p {
  min-height: 72px;
}

.thumb-blue   { --thumb-a: #3561c9; --thumb-b: #1e3a8a; }
.thumb-teal   { --thumb-a: #0ea5a4; --thumb-b: #0f5f73; }
.thumb-indigo { --thumb-a: #6366f1; --thumb-b: #3730a3; }
.thumb-green  { --thumb-a: #16a34a; --thumb-b: #14532d; }
.thumb-orange { --thumb-a: #f59e0b; --thumb-b: #c2410c; }
.thumb-rose   { --thumb-a: #e11d48; --thumb-b: #881337; }
.thumb-slate  { --thumb-a: #334155; --thumb-b: #0f172a; }
.thumb-cyan   { --thumb-a: #0891b2; --thumb-b: #1e40af; }
.thumb-violet { --thumb-a: #8b5cf6; --thumb-b: #5b21b6; }

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-card {
  height: 100%;
}

.testimonials .testimonial-card .testimonial-content p {
  text-align: justify;
  font-size: 0.95rem;
}

.testimonials .testimonial-card .testimonial-content p.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonials .read-more {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
}

.testimonials .swiper-slide {
  height: auto;
}

.testimonials .testimonial-card .testimonial-content .quote-mark {
  position: static;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.testimonials .testimonial-card .testimonial-content .quote-mark i {
  font-size: 16px;
}

/*--------------------------------------------------------------
# Technologies strip (replaces old "Quick Links" logo carousel)
--------------------------------------------------------------*/
.tech-stack {
  padding: 50px 0;
}

.tech-stack .tech-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 26px;
  font-weight: 600;
}

.tech-stack .tech-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-stack .tech-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--surface-color);
  border: 1px solid rgba(15, 29, 58, 0.08);
  box-shadow: 0 4px 14px rgba(15, 29, 58, 0.05);
  font-weight: 500;
  color: var(--heading-color);
  font-size: 0.95rem;
  transition: 0.3s;
}

.tech-stack .tech-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.tech-stack .tech-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact .map-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 29, 58, 0.08);
  box-shadow: 0 10px 30px rgba(15, 29, 58, 0.06);
  margin-top: 40px;
}

.contact .map-card iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact .legal-card {
  margin-top: 40px;
  border-radius: 20px;
  padding: 28px 30px;
  background: var(--surface-color);
  border: 1px solid rgba(15, 29, 58, 0.08);
  box-shadow: 0 10px 30px rgba(15, 29, 58, 0.06);
  height: calc(100% - 40px);
}

.contact .legal-card h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact .legal-card .updated {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: block;
  margin-bottom: 16px;
}

.contact .legal-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  font-size: 0.92rem;
}

.contact .legal-card dt {
  font-weight: 500;
  color: var(--heading-color);
}

.contact .legal-card dd {
  margin: 0;
}

@media (max-width: 576px) {
  .contact .legal-card dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact .legal-card dd {
    margin-bottom: 8px;
  }
}

.contact .method-card a {
  color: inherit;
}

/*--------------------------------------------------------------
# Inner page title (Terms page)
--------------------------------------------------------------*/
.page-title {
  background: linear-gradient(135deg, #ffffff 0%, #eef3fd 60%, #e4ecfb 100%);
  padding: 50px 0 40px;
}

.terms-of-service .tos-content .list-items li {
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer .footer-about .logo img {
  height: 40px;
  width: auto;
  max-height: none;
}

.footer .footer-contact a {
  color: #ffffff;
}

.footer .footer-contact a:hover {
  color: color-mix(in srgb, var(--accent-color), white 45%);
}

.footer .footer-links ul a:hover {
  color: #ffffff;
}

.footer .footer-about p.about-text {
  font-size: 0.92rem;
  margin-top: 14px;
}
