/* ==========================================================================
   VedaX - Premium Interactive Annotations, Badges & CERN Client Showcase
   (Fully Responsive: Mobile, Tablets, Laptops & 4K Ultra-Wide Monitors)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Kalam:wght@700&family=Permanent+Marker&display=swap');

.logo {
  display: none !important;
}

/* -------------------------------------------------------------
   1. Sleek Top-Right Floating Dark/Light Mode Switcher
   ------------------------------------------------------------- */
.theme-toggle-corner {
  position: fixed !important;
  top: 1.4rem;
  right: 2rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
}

.theme-switch-btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.theme-switch-btn input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.theme-switch-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 56px;
  height: 28px;
  background: #182030;
  border-radius: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 0 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

html[data-theme="light"] .theme-switch-track {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.theme-icon-track {
  font-size: 11px;
  line-height: 1;
  z-index: 1;
  opacity: 0.85;
}

.theme-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.theme-switch-btn input:checked + .theme-switch-track .theme-switch-thumb {
  transform: translateX(28px);
  background: #f8fafc;
}

html[data-theme="light"] .theme-switch-btn input:checked + .theme-switch-track {
  background: #38bdf8;
  border-color: #0284c7;
}

/* -------------------------------------------------------------
   2. Clean Feature Toggle Switch (Header & Services)
   ------------------------------------------------------------- */
.vx-switch-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  position: relative;
  z-index: 25;
  user-select: none;
}

/* Subtle hand-drawn sparkle rays on the left */
.vx-switch-sparkles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-alt);
  opacity: 0.9;
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

body.chaos-mode-active .vx-switch-sparkles {
  color: var(--green-alt);
  transform: rotate(18deg) scale(1.2);
  filter: drop-shadow(0 0 6px rgba(6, 215, 156, 0.6));
}

/* The Pill Switch */
.vx-clean-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
  margin: 0 !important;
  flex-shrink: 0;
}

.vx-clean-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.vx-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #27496d;
  border-radius: 34px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid var(--mainColor);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .vx-slider {
  background-color: #e2e8f0;
  border-color: var(--mainColor);
}

.vx-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 2.5px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.vx-clean-switch input:checked + .vx-slider {
  background-color: var(--mainColor);
  border-color: var(--green-alt);
  box-shadow: 0 0 16px rgba(6, 215, 156, 0.45);
}

.vx-clean-switch input:checked + .vx-slider:before {
  transform: translateX(23px);
  background-color: #ffffff;
}

.vx-switch-label {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  cursor: pointer;
  transition: color 0.2s ease;
}

.vx-clean-switch:hover + .vx-switch-label,
.vx-switch-label:hover {
  color: var(--green-alt);
}

/* -------------------------------------------------------------
   3. Header Handwritten Annotations & Floating Sticky Notes
   ------------------------------------------------------------- */
.header-handwritten-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

body.chaos-mode-active .header-handwritten-note {
  opacity: 1;
  transform: translateY(0);
}

.header-handwritten-note svg {
  width: 38px;
  height: 24px;
  fill: none;
  stroke: var(--green-alt);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

html[data-theme="light"] .header-handwritten-note svg {
  stroke: #0d9488;
}

/* Floating Mini Post-Its in Header */
.header-floating-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.chaos-mode-active .header-floating-notes {
  opacity: 1;
  visibility: visible;
}

.header-mini-postit {
  position: absolute;
  padding: 0.65rem 1.1rem;
  border-radius: 4px;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: #18181b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.25s ease;
  white-space: nowrap;
}

.header-mini-postit:hover {
  transform: scale(1.06) rotate(0deg) !important;
}

.header-mini-postit::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 15px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.header-postit-left {
  top: 15%;
  left: max(3%, calc(50% - 620px));
  background: #dcfce7;
  border-left: 3.5px solid #16a34a;
  transform: rotate(-5deg);
}

.header-postit-right {
  top: 18%;
  right: max(3%, calc(50% - 620px));
  background: #d4f0ff;
  border-left: 3.5px solid #0284c7;
  transform: rotate(4deg);
}

/* -------------------------------------------------------------
   4. Services Section (Uniform Alignment, Pill Badges & Curved SVG Arrows)
   ------------------------------------------------------------- */
.project {
  grid-column: 2/14;
  padding: 6rem;
  max-width: 1440px;
  margin: 0 auto;
}

.project-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.project,
.project-item-container,
.project-box {
  overflow: visible !important;
}

.project-item-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  margin-top: 5.5rem !important;
  grid-gap: 5.5rem 3rem !important;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Box Structure with Pixel-Perfect Alignment */
.project-box {
  height: auto !important;
  min-height: 17.5rem !important;
  padding: 1.75rem 1.6rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 0 !important;
  position: relative;
  box-sizing: border-box !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-box__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: space-between !important;
  align-self: stretch !important;
  width: 100% !important;
  text-align: left !important;
}

/* Compact Title with Clean Tight Line Height */
.project-box__content h3 {
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
  min-height: 3.2rem !important;
  margin-bottom: 0.4rem !important;
  display: flex !important;
  align-items: flex-start !important;
  letter-spacing: -0.3px !important;
  font-weight: 800 !important;
  text-transform: capitalize !important;
  color: var(--whiteLight) !important;
}

/* Compact Tech Subtitle with Tight Line Height */
.project-box__content h5 {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
  min-height: 2.2rem !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  color: var(--secondColor) !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
}

/* In-Card Positive Value Note with Compact Line Height */
.card-inner-chaos-badge {
  display: none;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px !important;
  color: var(--green-alt) !important;
  margin-top: 0.65rem !important;
  padding-top: 0.45rem !important;
  border-top: 1px dashed rgba(6, 215, 156, 0.45) !important;
  transition: color 0.3s ease !important;
  min-height: 2.2rem !important;
  box-sizing: border-box !important;
}

html[data-theme="light"] .card-inner-chaos-badge {
  color: #0d9488 !important;
  border-top-color: rgba(13, 148, 136, 0.35) !important;
}

body.chaos-mode-active .card-inner-chaos-badge {
  display: block;
}

/* Centered Non-Overlapping Callout Directly Above Each Card */
.vx-handwritten-item {
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  z-index: 12;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  width: max-content;
  max-width: 95%;
}

body.chaos-mode-active .vx-handwritten-item {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Tactile Post-It / Washi Tape Pill Badge */
.vx-hand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 6px;
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #18181b !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

/* Washi Tape Strip on Top of Badge */
.vx-hand-pill::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 13px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
}

/* Distinctive Mellow Pastel Background Themes */
.pill-yellow { background: #fff3a8; border-left: 3.5px solid #d97706; }
.pill-pink   { background: #ffd3e2; border-left: 3.5px solid #db2777; }
.pill-blue   { background: #d4f0ff; border-left: 3.5px solid #0284c7; }
.pill-orange { background: #ffe2c6; border-left: 3.5px solid #ea580c; }
.pill-green  { background: #dcfce7; border-left: 3.5px solid #16a34a; }
.pill-purple { background: #f3e8ff; border-left: 3.5px solid #9333ea; }

/* Hand-Drawn Natural SVG Arrow */
.vx-hand-arrow {
  width: 38px;
  height: 26px;
  fill: none;
  stroke: var(--green-alt);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

html[data-theme="light"] .vx-hand-arrow {
  stroke: #0d9488;
}

/* -------------------------------------------------------------
   5. Hand-Drawn Horizontal Curly Bracket
   ------------------------------------------------------------- */
.vx-bracket-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 4.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  width: 100%;
}

body.chaos-mode-active .vx-bracket-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.vx-curly-bracket-svg {
  width: min(650px, 90%);
  height: 32px;
  stroke: var(--secondColor);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

html[data-theme="light"] .vx-curly-bracket-svg {
  stroke: #0284c7;
  filter: none;
}

.vx-bracket-caption {
  margin-top: 0.65rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* -------------------------------------------------------------
   6. Our Clients Section (Featuring CERN)
   ------------------------------------------------------------- */
.clients-section {
  padding: 5rem 6rem;
  background: var(--bg);
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.clients-title {
  margin-bottom: 3rem;
}

.clients-title h5 {
  text-transform: uppercase;
  color: var(--whiteLight) !important;
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.clients-title h2 {
  font-size: 2.2rem;
  text-transform: capitalize;
  letter-spacing: -1px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
  max-width: 1440px;
}

.client-feature-card {
  position: relative;
  background: var(--darkBlue);
  border: 1px solid var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.client-feature-card:after {
  content: "";
  position: absolute;
  width: 102%;
  height: 102%;
  top: 0.8rem;
  right: 0.4rem;
  z-index: -1;
  background: var(--mainColor);
  outline: 2px solid var(--mainColor);
  transition: all 0.3s ease;
}

.client-feature-card:hover {
  transform: translateY(-4px);
}

.client-feature-card:hover:after {
  background: var(--green-alt);
  outline-color: var(--green-alt);
}

html[data-theme="light"] .client-feature-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.client-logo-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.client-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--mainColor);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.client-feature-card:hover .client-logo-circle {
  transform: scale(1.05);
}

.cern-official-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-badge-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--white);
}

html[data-theme="light"] .client-badge-text {
  color: #0f172a;
}

.client-tagline {
  color: var(--secondColor);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

html[data-theme="light"] .client-tagline {
  color: #0284c7;
}

.client-description {
  color: var(--whiteLight);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

html[data-theme="light"] .client-description {
  color: #334155;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.client-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--mainColor);
  color: var(--mainColor);
  background: rgba(52, 163, 163, 0.08);
  transition: all 0.25s ease;
  user-select: none;
}

.client-tag:hover {
  background: rgba(52, 163, 163, 0.2);
  transform: translateY(-1px);
}

html[data-theme="light"] .client-tag {
  color: #0369a1;
  background: #f0f9ff;
  border-color: #7dd3fc;
}

html[data-theme="light"] .client-tag:hover {
  background: #e0f2fe;
}

/* =============================================================
   7. Comprehensive Responsive Breakpoints (Mobile, Tablet, Large Monitors)
   ============================================================= */

/* --- 1. Large & 4K Displays (> 1440px) --- */
@media screen and (min-width: 1441px) {
  .project,
  .clients-section {
    padding: 6rem 8rem;
  }
  .project-item-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- 2. Laptops & Medium Desktops (1024px – 1440px) --- */
@media screen and (max-width: 1440px) and (min-width: 1024px) {
  .project,
  .clients-section {
    padding: 5rem 4rem;
  }
  .project-item-container {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    grid-gap: 5.5rem 2.5rem !important;
  }
}

/* --- 3. Tablets & iPads (769px – 1023px) --- */
@media screen and (max-width: 1023px) {
  .theme-toggle-corner {
    top: 1.2rem;
    right: 1.5rem;
  }
  .project,
  .clients-section {
    padding: 4.5rem 2.5rem;
  }
  .project-item-container {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5rem 2rem !important;
  }
  .header-mini-postit {
    font-size: 1.15rem;
    padding: 0.5rem 0.9rem;
  }
  .header-postit-left {
    top: 10%;
    left: 2%;
  }
  .header-postit-right {
    top: 12%;
    right: 2%;
  }
  .vx-curly-bracket-svg {
    width: 90%;
  }
}

/* --- 4. Small Tablets & Large Mobile (481px – 768px) --- */
@media screen and (max-width: 768px) {
  .theme-toggle-corner {
    top: 1rem;
    right: 1rem;
  }
  .header-floating-notes {
    display: none;
  }
  .landing-text h1 {
    font-size: clamp(4rem, 14vw, 6.5rem) !important;
    padding: 0.5rem !important;
  }
  .landing-text p {
    font-size: 0.82rem !important;
    padding: 0 1.25rem !important;
  }
  .vx-switch-wrap {
    margin-top: 1.2rem;
    gap: 0.5rem;
  }
  .vx-switch-label {
    font-size: 0.92rem;
  }
  .header-handwritten-note {
    font-size: 1.15rem;
    max-width: 90%;
    gap: 0.4rem;
  }
  .header-handwritten-note svg {
    width: 30px;
    height: 20px;
  }
  .project {
    padding: 3.5rem 1.75rem !important;
  }
  .project-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .project-item-container {
    grid-template-columns: 1fr;
    grid-gap: 4.8rem 1.5rem !important;
    margin-top: 4.8rem !important;
  }
  .project-box {
    padding: 1.6rem 1.4rem !important;
    min-height: auto !important;
  }
  .vx-handwritten-item {
    top: -3.8rem;
    max-width: 96%;
  }
  .vx-hand-pill {
    font-size: 1.15rem;
    padding: 0.35rem 0.8rem;
    white-space: normal;
    text-align: center;
  }
  .vx-bracket-wrapper {
    margin-top: 3.5rem;
  }
  .vx-curly-bracket-svg {
    width: 94%;
    height: 26px;
  }
  .vx-bracket-caption .vx-hand-pill {
    font-size: 1.1rem;
    white-space: normal;
    text-align: center;
  }
  .clients-section {
    padding: 3.5rem 1.75rem;
  }
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .client-feature-card {
    padding: 2rem 1.5rem;
  }
}

/* --- 5. Small Mobile Phones (320px – 480px) --- */
@media screen and (max-width: 480px) {
  .theme-toggle-corner {
    top: 0.8rem;
    right: 0.8rem;
  }
  .theme-switch-track {
    width: 50px;
    height: 25px;
    padding: 0 4px;
  }
  .theme-icon-track {
    font-size: 10px;
  }
  .theme-switch-thumb {
    width: 17px;
    height: 17px;
  }
  .theme-switch-btn input:checked + .theme-switch-track .theme-switch-thumb {
    transform: translateX(25px);
  }
  .landing-text h1 {
    font-size: clamp(3rem, 13vw, 4.2rem) !important;
    letter-spacing: 2px !important;
  }
  .landing-text p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    padding: 0 0.5rem !important;
  }
  .vx-switch-wrap {
    margin-top: 1rem;
    gap: 0.4rem;
  }
  .vx-switch-label {
    font-size: 0.82rem;
  }
  .vx-clean-switch {
    width: 46px;
    height: 25px;
  }
  .vx-slider:before {
    width: 17px;
    height: 17px;
    left: 2.5px;
    bottom: 2.5px;
  }
  .vx-clean-switch input:checked + .vx-slider:before {
    transform: translateX(21px);
  }
  .header-handwritten-note {
    font-size: 1rem;
    margin-top: 0.8rem;
  }
  .header-handwritten-note svg {
    display: none;
  }
  .project {
    padding: 3rem 1rem !important;
  }
  .project-item-container {
    grid-gap: 4.2rem 1rem !important;
    margin-top: 4.2rem !important;
  }
  .project-box {
    padding: 1.4rem 1.15rem !important;
  }
  .project-box__content h3 {
    font-size: 1.2rem !important;
    min-height: auto !important;
    margin-bottom: 0.35rem !important;
  }
  .project-box__content h5 {
    font-size: 0.75rem !important;
    min-height: auto !important;
    line-height: 1.35 !important;
  }
  .card-inner-chaos-badge {
    font-size: 0.74rem !important;
    min-height: auto !important;
    margin-top: 0.5rem !important;
    padding-top: 0.4rem !important;
  }
  .vx-handwritten-item {
    top: -3.4rem;
    max-width: 98%;
  }
  .vx-hand-pill {
    font-size: 1.05rem;
    padding: 0.3rem 0.65rem;
  }
  .vx-hand-pill::before {
    width: 22px;
    height: 9px;
    top: -5px;
  }
  .vx-hand-arrow {
    width: 28px;
    height: 20px;
  }
  .vx-bracket-wrapper {
    margin-top: 2.8rem;
  }
  .vx-curly-bracket-svg {
    width: 98%;
    height: 22px;
  }
  .vx-bracket-caption .vx-hand-pill {
    font-size: 0.98rem;
    padding: 0.3rem 0.6rem;
  }
  .clients-section {
    padding: 3rem 1rem;
  }
  .client-feature-card {
    padding: 1.6rem 1.15rem;
  }
  .client-logo-box {
    gap: 0.85rem;
  }
  .client-logo-circle {
    width: 48px;
    height: 48px;
    padding: 7px;
  }
  .client-badge-text {
    font-size: 1.3rem;
  }
  .client-tagline {
    font-size: 0.82rem;
  }
  .client-description {
    font-size: 0.85rem;
    line-height: 1.55;
  }
  .client-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
}

/* -------------------------------------------------------------
   8. Footer Section & VedaX SVG Logo Styling
   ------------------------------------------------------------- */
.footer {
  background: var(--bg);
  padding: 5rem 6rem 3rem !important;
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.footer hr {
  border: none;
  border-top: 1px solid var(--whiteLight);
  margin-bottom: 3.5rem;
  opacity: 0.25;
}

html[data-theme="light"] .footer hr {
  border-top-color: #cbd5e1;
  opacity: 0.6;
}

.footer-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: transform 0.25s ease;
  cursor: pointer;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
  transform: scale(1.04);
}

html[data-theme="light"] .footer-logo-img {
  filter: brightness(0);
}

.footer-brand-subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mainColor);
  margin-top: 2px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--whiteLight);
  margin-top: 0.5rem;
}

html[data-theme="light"] .footer-brand-desc {
  color: #475569;
}

.footer-head {
  margin-top: 0;
  font-size: 1rem;
}

.footer-head h5 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: var(--whiteLight) !important;
}

.footer-head .link-container .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-head .link-container .footer-links p {
  margin-bottom: 0;
}

.footer-head .link-container .footer-links p a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--mainColor);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-head .link-container .footer-links p a:hover {
  color: var(--secondColor);
  transform: translateX(4px);
}

html[data-theme="light"] .footer-head .link-container .footer-links p a:hover {
  color: #0369a1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.footer-copy {
  color: var(--whiteLight);
  padding: 0;
  font-size: 0.85rem;
  text-align: left;
}

html[data-theme="light"] .footer-copy {
  color: #64748b;
}

/* Footer Responsive Overrides */
@media screen and (max-width: 768px) {
  .footer {
    padding: 3.5rem 1.75rem 2rem !important;
  }
  .footer-content-wrap {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-brand {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 3rem 1rem 1.5rem !important;
  }
  .footer-logo-img {
    height: 38px;
    max-width: 170px;
  }
  .footer-brand-desc {
    font-size: 0.82rem;
  }
}
