/* ============================================================
   Vasantha Advanced Systems — Shared Design System
   Reused across index.html, about.html, pcba-services.html
   ============================================================ */

      :root {
        --red: #e01a1f;
        --red-dark: #c4131a;
        --coral: #f3a399;
        --navy: #ffffff;
        --navy-2: #ffffff;
        --charcoal: #9da2a5;
        --charcoal-2: #ffffff;
        --light-bg: #eef1f6;
        --alt-bg: #eaecf3;
        --ink: #12161f;
        --ink-soft: #3a414d;
        --muted: #8b93a1;
        --muted-dark: #6b7075;
        --white: #ffffff;
        --dark-bg: #0a0d12;
        --topbar-gray: #eaeaea;
        --soft-gray: #edeff3;
        --panel-light: #f5f6f8;
        --line: rgba(18, 22, 31, 0.12);
        --line-dark: rgba(18, 22, 31, 0.1);
        --maxw: 1300px;
        --font-head: "Poppins", sans-serif;
        --font-body: "Poppins", sans-serif;
        --font-round: "Baloo 2", cursive;
        --font-num: "Chakra Petch", sans-serif;
      }
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--font-body);
        color: var(--ink);
        background: var(--white);
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }
      img {
        max-width: 100%;
        display: block;
      }
      a {
        text-decoration: none;
        color: inherit;
      }
      ul {
        list-style: none;
      }
      button {
        font-family: inherit;
        cursor: pointer;
      }
      .wrap {
        max-width: var(--maxw);
        margin: 0 auto;
        padding: 0 40px;
      }
      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
      }

      /* ============ TOP BAR ============ */
      .topbar {
        background: var(--topbar-gray);
        font-size: 13px;
        color: var(--ink-soft);
      }
      .topbar .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 9px;
        padding-bottom: 9px;
      }
      .topbar-left {
        display: flex;
        align-items: center;
        gap: 28px;
      }
      .topbar-left span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
      }
      .topbar-left svg {
        width: 14px;
        height: 14px;
        flex: none;
      }
      .topbar-right {
        display: flex;
        align-items: center;
        gap: 22px;
        font-weight: 500;
      }

      /* ============ NAVBAR ============ */
      .navbar {
        background: var(--white);
        border-bottom: 1px solid var(--line);
        position: relative;
        z-index: 50;
      }
      .navbar .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 14px;
      }
      .logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1;
      }
      .logo-img {
        width: 225px;
        height: auto;
        display: block;
      }
      .logo-row {
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .logo-bolt {
        width: 26px;
        height: 30px;
      }
      .logo-text {
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 15.5px;
        letter-spacing: -0.3px;
        color: var(--ink);
        text-transform: lowercase;
        white-space: nowrap;
      }
      .logo-text .hl {
        color: var(--red);
      }
      .logo-tag {
        font-family: var(--font-round);
        font-weight: 600;
        font-size: 10px;
        letter-spacing: 0.3px;
        color: var(--ink);
        margin-top: 2px;
        white-space: nowrap;
      }
      .nav-links {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 14px;
        font-weight: 500;
        color: var(--ink);
        white-space: nowrap;
      }
      .nav-links a {
        position: relative;
        padding: 4px 0 10px;
      }
      .nav-links a:hover {
        color: var(--red);
      }
      .nav-links a.active {
        color: var(--red);
      }
      .nav-links a.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: var(--red);
      }
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        font-weight: 600;
        font-size: 15px;
        padding: 13px 26px;
        border-radius: 30px;
        border: 2px solid transparent;
        transition: all 0.2s ease;
        white-space: nowrap;
      }
      .btn-black {
        background: var(--dark-bg);
        color: var(--white);
      }
      .btn-black:hover {
        background: var(--ink);
      }
      .btn-red {
        background: var(--red);
        color: var(--white);
        border-radius: 8px;
      }
      .btn-red:hover {
        background: var(--red-dark);
      }
      .btn-outline {
        background: transparent;
        color: var(--white);
        border-color: rgba(255, 255, 255, 0.55);
        border-radius: 8px;
      }
      .btn-outline:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: var(--white);
      }
      .btn svg {
        width: 16px;
        height: 16px;
      }

      .hamburger {
        display: none;
        width: 52px;
        height: 52px;
        background: var(--dark-bg);
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        flex: none;
        border: none;
      }
      .hamburger svg {
        width: 22px;
        height: 22px;
      }

      /* ============ MOBILE NAV DRAWER ============ */
      .mobile-drawer {
        position: fixed;
        inset: 0;
        z-index: 200;
        background: var(--navy);
        display: flex;
        flex-direction: column;
        padding: 26px 30px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -10px 0 40px rgba(20, 25, 35, 0.18);
      }
      .mobile-drawer.open {
        transform: translateX(0);
      }
      .mobile-drawer-top {
        display: flex;
        justify-content: flex-end;
      }
      .mobile-drawer-close {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: rgba(18, 22, 31, 0.06);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .mobile-drawer-close svg {
        width: 20px;
        height: 20px;
        stroke: var(--ink);
      }
      .mobile-drawer nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 40px;
      }
      .mobile-drawer nav a {
        color: var(--ink);
        font-size: 22px;
        font-weight: 600;
        padding: 14px 4px;
        border-bottom: 1px solid rgba(18, 22, 31, 0.08);
      }
      .mobile-drawer .btn {
        margin-top: 30px;
        width: 100%;
      }

      .stat-item {
        text-align: left;
        padding: 6px 4px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        min-width: 0;
      }
      .stat-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1;
      }
      .stat-icon {
        display: flex;
        width: 56px;
        height: 56px;
        border-radius: 12px;
        flex: none;
        border: 1.5px solid rgba(18, 22, 31, 0.14);
        align-items: center;
        justify-content: center;
        color: var(--ink);
      }
      .stat-icon svg {
        width: 26px;
        height: 26px;
      }
      .stat-num {
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 26px;
        color: var(--ink);
        letter-spacing: -0.3px;
        display: block;
      }
      .stat-label {
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 0.2px;
        color: var(--red);
        display: block;
        margin-top: 2px;
        overflow-wrap: break-word;
      }
      .stat-desc {
        font-size: 11.5px;
        color: var(--muted);
        margin-top: 2px;
        display: block;
      }

      .section {
        padding: 90px 40px;
      }
      .section-head {
        text-align: center;
        max-width: 760px;
        margin: 0 auto 50px;
      }
      .section-head h2 {
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 38px;
        letter-spacing: -0.3px;
        color: var(--ink);
        margin-bottom: 16px;
      }
      .section-head h2 .accent {
        color: var(--red);
      }
      .section-head p {
        font-size: 16px;
        color: var(--ink-soft);
        line-height: 1.6;
      }
      .section-head.on-dark h2 {
        color: var(--ink);
      }
      .section-head.on-dark p {
        color: var(--ink-soft);
      }
      .eyebrow {
        align-items: center;
        gap: 10px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--red);
        margin-bottom: 14px;
      }
      .eyebrow::before,
      .eyebrow::after {
        content: "";
        width: 22px;
        height: 2px;
        background: var(--red);
        display: inline-block;
      }


      /* ============ PROCESS ============ */
      .proc-section {
        background: var(--navy-2);
        border-top: 1px solid rgba(18, 22, 31, 0.08);
        border-bottom: 1px solid rgba(18, 22, 31, 0.08);
      }
      .proc-track {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        max-width: var(--maxw);
        margin: 0 auto 0;
        position: relative;
      }
      .proc-track::before {
        content: "";
        position: absolute;
        top: 22px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: rgba(18, 22, 31, 0.14);
        z-index: 1;
      }
      .proc-num {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: var(--white);
        border: 2px solid var(--red);
        color: var(--ink);
        font-family: var(--font-num);
        font-weight: 700;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 22px;
        position: relative;
        z-index: 2;
        box-shadow: 0 6px 16px -6px rgba(20, 25, 35, 0.25);
        transition:
          background 0.45s ease,
          color 0.45s ease,
          box-shadow 0.45s ease,
          transform 0.45s ease;
      }
      .proc-num.active {
        background: var(--red);
        color: var(--white);
        transform: scale(1.12);
        box-shadow:
          0 0 0 8px rgba(224, 26, 31, 0.16),
          0 6px 16px -6px rgba(20, 25, 35, 0.25);
      }
      .proc-step {
        text-align: center;
        padding: 0 14px;
      }
      .proc-step svg {
        width: 32px;
        height: 32px;
        stroke: var(--red);
        margin-bottom: 14px;
        transition: transform 0.45s ease;
      }
      .proc-step.active svg {
        transform: scale(1.12);
      }
      .proc-step h4 {
        font-size: 15.5px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 8px;
      }
      .proc-step p {
        font-size: 12.5px;
        color: var(--ink-soft);
        line-height: 1.55;
      }

      .btn-white {
        background: var(--white);
        color: var(--ink);
        border-color: var(--line);
      }
      .btn-white:hover {
        background: var(--panel-light);
      }

      /* ============ RICH FOOTER ============ */
      .rich-footer {
        background: var(--navy);
        color: var(--ink-soft);
        padding: 0;
        border-top: 1px solid rgba(18, 22, 31, 0.08);
      }
      .footer-badge-row {
        border-bottom: 1px solid var(--line-dark);
        padding: 18px 40px;
        display: flex;
        justify-content: flex-end;
      }
      .mii-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--white);
        color: var(--ink);
        border: 1px solid rgba(18, 22, 31, 0.14);
        border-radius: 8px;
        padding: 8px 16px;
        font-size: 13px;
        font-weight: 700;
      }
      .mii-badge .accent {
        color: var(--red);
      }
      .mii-badge svg {
        width: 22px;
        height: 22px;
      }
      .rich-footer-top {
        max-width: var(--maxw);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 40px;
        padding: 56px 40px;
      }
      .rf-brand .logo-img {
        width: 190px;
      }
      .rf-brand .logo-text {
        color: var(--ink);
      }
      .rf-brand .logo-tag {
        color: var(--ink-soft);
      }
      .rf-brand > p {
        font-size: 13.5px;
        line-height: 1.7;
        color: var(--ink-soft);
        margin: 16px 0 22px;
      }
      .rf-office {
        border-top: 1px solid var(--line-dark);
        padding-top: 16px;
        margin-top: 16px;
      }
      .rf-office h5 {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: var(--ink);
        margin-bottom: 8px;
      }
      .rf-office .rf-row {
        display: flex;
        gap: 8px;
        font-size: 12.5px;
        color: var(--ink-soft);
        margin-bottom: 5px;
        align-items: flex-start;
        overflow-wrap: anywhere;
      }
      .rf-office .rf-row svg {
        width: 13px;
        height: 13px;
        flex: none;
        margin-top: 2px;
        stroke: var(--red);
      }
      .rf-col h5 {
        color: var(--ink);
        font-size: 13.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 16px;
        position: relative;
        padding-bottom: 10px;
      }
      .rf-col h5::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 22px;
        height: 2px;
        background: var(--red);
      }
      .rf-col ul {
        display: flex;
        flex-direction: column;
        gap: 11px;
      }
      .rf-col a {
        font-size: 13px;
        color: var(--ink-soft);
      }
      .rf-col a:hover {
        color: var(--red);
      }
      .rf-follow {
        margin-top: 6px;
      }
      .rf-social {
        display: flex;
        gap: 10px;
        margin-top: 14px;
      }
      .rf-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 22, 31, 0.16);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink-soft);
      }
      .rf-social a svg {
        width: 15px;
        height: 15px;
      }
      .rf-bottom {
        border-top: 1px solid var(--line-dark);
        padding: 20px 40px;
        max-width: var(--maxw);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12.5px;
        color: var(--muted);
      }
      .rf-bottom .rf-links {
        display: flex;
        gap: 18px;
      }
      .rf-bottom a {
        color: var(--muted);
      }
      .rf-bottom a:hover {
        color: var(--red);
      }

      /* ============ TALK TO OUR TEAM MODAL ============ */
      .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(10, 12, 16, 0.7);
        z-index: 500;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 24px;
        overflow-y: auto;
      }
      .modal-overlay.open {
        display: flex;
      }
      .modal-box {
        background: var(--white);
        border-radius: 20px;
        max-width: 820px;
        width: 100%;
        padding: 44px 46px;
        position: relative;
        max-height: 92vh;
        overflow-y: auto;
      }
      .modal-close {
        position: absolute;
        top: 26px;
        right: 26px;
        width: 36px;
        height: 36px;
        border: none;
        background: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink-soft);
        cursor: pointer;
      }
      .modal-close svg {
        width: 22px;
        height: 22px;
      }
      .modal-box h2 {
        font-family: var(--font-head);
        font-weight: 800;
        font-size: 30px;
        margin-bottom: 14px;
      }
      .modal-box h2 .accent {
        color: var(--red);
      }
      .modal-underline {
        width: 56px;
        height: 4px;
        background: var(--red);
        border-radius: 2px;
        margin-bottom: 20px;
      }
      .modal-box > p {
        font-size: 14.5px;
        color: var(--ink-soft);
        line-height: 1.6;
        margin-bottom: 26px;
        max-width: 560px;
      }
      .modal-box > p .accent {
        color: var(--red);
        font-weight: 700;
      }
      .modal-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-bottom: 18px;
      }
      .modal-form .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
      }
      .modal-form .form-group.full {
        grid-column: 1/-1;
      }
      .modal-form label {
        font-size: 13px;
        font-weight: 600;
        color: var(--ink);
      }
      .modal-form label .req {
        color: var(--red);
      }
      .modal-input-wrap {
        position: relative;
      }
      .modal-input-wrap svg {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        stroke: var(--muted);
        pointer-events: none;
      }
      .modal-form input,
      .modal-form select,
      .modal-form textarea {
        width: 100%;
        max-width: 100%;
        border: 1.5px solid var(--line);
        border-radius: 10px;
        padding: 13px 40px 13px 14px;
        font-family: inherit;
        font-size: 14px;
        color: var(--ink);
        background: var(--panel-light);
      }
      .modal-form select {
        padding-right: 36px;
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233A414D" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
      }
      .modal-form textarea {
        min-height: 100px;
        resize: vertical;
        padding-right: 14px;
      }
      .modal-form input:focus,
      .modal-form select:focus,
      .modal-form textarea:focus {
        outline: none;
        border-color: var(--red);
        background: var(--white);
      }
      .modal-dropzone {
        border: 1.5px dashed var(--line);
        border-radius: 12px;
        padding: 34px 20px;
        text-align: center;
        background: var(--panel-light);
        margin-bottom: 24px;
      }
      .modal-dropzone svg {
        width: 30px;
        height: 30px;
        stroke: var(--red);
        margin-bottom: 10px;
      }
      .modal-dropzone p {
        font-size: 14px;
        color: var(--ink);
        margin-bottom: 4px;
      }
      .modal-dropzone .browse {
        color: var(--red);
        font-weight: 700;
      }
      .modal-dropzone .hint {
        font-size: 12px;
        color: var(--muted);
        margin-top: 2px;
      }
      .modal-footer-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
      }
      .modal-privacy {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--ink-soft);
      }
      .modal-privacy svg {
        width: 16px;
        height: 16px;
        stroke: var(--red);
      }


      /* ============ SHARED RESPONSIVE (nav, section, stats, proc, footer, modal) ============ */
      @media (max-width: 1100px) {
        .wrap {
          padding: 0 20px;
        }
        .navbar .wrap {
          padding-top: 14px;
          padding-bottom: 14px;
        }
        .nav-links,
        .navbar .btn-black {
          display: none;
        }
        .hamburger {
          display: flex;
        }
        .logo-text {
          font-size: 15px;
        }
        .logo-bolt {
          width: 20px;
          height: 24px;
        }
        .logo-img {
          width: 170px;
        }
        .logo-tag {
          font-size: 8.5px;
        }
        .btn {
          padding: 14px 20px;
          font-size: 14px;
        }
        .section {
          padding: 56px 20px;
        }
        .section-head h2 {
          font-size: 28px;
        }
        .section-head {
          margin-bottom: 34px;
        }
        .proc-track {
          grid-template-columns: 1fr;
          gap: 26px;
        }
        .proc-track::before {
          display: none;
        }
        .rich-footer-top {
          grid-template-columns: 1fr 1fr;
          gap: 30px 24px;
        }
        .footer-badge-row {
          justify-content: flex-start;
        }
        .modal-form .form-row {
          grid-template-columns: 1fr;
        }
        .modal-box {
          padding: 32px 24px;
        }
      }

      @media (max-width: 480px) {
        .stat-item {
          border-right: none;
          gap: 10px;
        }
        .stat-icon {
          width: 40px;
          height: 40px;
          border-radius: 10px;
        }
        .stat-icon svg {
          width: 19px;
          height: 19px;
        }
        .stat-num {
          font-size: 19px;
        }
        .stat-label {
          font-size: 10.5px;
        }
        .navbar .wrap {
          padding-top: 12px;
          padding-bottom: 12px;
          gap: 10px;
        }
        .wrap {
          padding: 0 16px;
        }
        .logo-text {
          font-size: 12px;
          white-space: normal;
          line-height: 1.15;
        }
        .logo-tag {
          display: none;
        }
        .logo-bolt {
          width: 17px;
          height: 20px;
        }
        .logo-img {
          width: 150px;
        }
        .hamburger {
          width: 42px;
          height: 42px;
          border-radius: 7px;
        }
        .hamburger svg {
          width: 18px;
          height: 18px;
        }
      }

      /* ============ SHARED SCROLL ANIMATION UTILITY ============ */
      .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition:
          opacity 0.6s ease,
          transform 0.6s ease;
      }
      .fade-up.in-view {
        opacity: 1;
        transform: translateY(0);
      }
      .fade-up.d1 {
        transition-delay: 0.08s;
      }
      .fade-up.d2 {
        transition-delay: 0.16s;
      }
      .fade-up.d3 {
        transition-delay: 0.24s;
      }
      .fade-up.d4 {
        transition-delay: 0.32s;
      }
      .fade-up.d5 {
        transition-delay: 0.4s;
      }
      .fade-up.d6 {
        transition-delay: 0.48s;
      }
      @media (prefers-reduced-motion: reduce) {
        .fade-up {
          opacity: 1;
          transform: none;
          transition: none;
        }
      }
