
/* ==========================================================
   VIJAY ENTERPRISES
   EXPERIENCE & LEGACY SECTION

   Website:
   https://vijayenterprises1986.in/

   Dependencies:
   - sections/impact.html
   - js/impact.js
   - css/style.css

   Preserved:
   - Navy experience panel
   - Large experience counter
   - Decorative concentric circles
   - Curved SVG timeline
   - Scroll reveal animations
   - Original navy, blue and gold identity

   Improvements:
   - Accurate 1986–2026 presentation
   - No obsolete "40+" styling
   - Better responsive typography
   - Accessible focus states
   - Reduced-motion support
========================================================== */


/* ==========================================================
   01. SECTION VARIABLES
========================================================== */

.ve-impact {
  --impact-navy: #112b48;
  --impact-blue: #203f83;
  --impact-gold: #e5bc83;

  --impact-text: #52647a;
  --impact-muted: #6b7b8e;
  --impact-border: #dde5ee;
  --impact-background: #f7f9fc;

  position: relative;

  width: 100%;
  padding: 85px 0 75px;

  color: var(--impact-navy);
  background: var(--impact-background);

  font-family: "Inter", sans-serif;

  overflow: hidden;
  scroll-margin-top: 90px;
}

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


/* ==========================================================
   02. CONTENT CONTAINER
========================================================== */

.ve-impact .ve-impact-container {
  width: 100%;
  max-width: 1320px;

  margin-inline: auto;
  padding-inline: 24px;
}


/* ==========================================================
   03. SECTION HEADER
========================================================== */

.ve-impact-header {
  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, 0.8fr);

  align-items: end;

  gap: 65px;

  margin-bottom: 42px;
}

.ve-impact-header-left,
.ve-impact-header-right {
  min-width: 0;
}


/* ==========================================================
   04. SECTION EYEBROW
========================================================== */

.ve-impact-eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 21px;

  color: var(--impact-blue);

  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 1.6px;
}

.ve-impact-eyebrow-line {
  display: block;

  flex: 0 0 30px;

  width: 30px;
  height: 2px;

  background: var(--impact-gold);
}


/* ==========================================================
   05. MAIN SECTION HEADING
========================================================== */

.ve-impact-header h2 {
  max-width: 680px;

  margin: 0;

  color: var(--impact-navy);

  font-family:
    "Plus Jakarta Sans", sans-serif;

  font-size: clamp(40px, 4.3vw, 63px);
  font-weight: 800;

  line-height: 1.15;
  letter-spacing: -2.4px;

  overflow-wrap: break-word;
}

.ve-impact-header h2 span {
  display: block;

  color: var(--impact-blue);
}


/* ==========================================================
   06. INTRODUCTION TEXT
========================================================== */

.ve-impact-header-right {
  padding-bottom: 6px;
}

.ve-impact-header-right > p {
  max-width: 490px;

  margin: 0 0 19px;

  color: var(--impact-text);

  font-size: 16px;
  font-weight: 400;

  line-height: 1.85;
}


/* ==========================================================
   07. LOCATION LABEL
========================================================== */

.ve-impact-location {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: var(--impact-blue);

  font-size: 12.5px;
  font-weight: 650;

  line-height: 1.6;
}

.ve-impact-location svg {
  display: block;

  flex: 0 0 18px;

  width: 18px;
  height: 18px;

  stroke-width: 1.8;
}


/* ==========================================================
   08. EXPERIENCE PANEL
========================================================== */

.ve-impact-experience {
  position: relative;
  isolation: isolate;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, 0.8fr);

  align-items: center;

  gap: 50px;

  min-height: 385px;

  padding: 48px 62px;

  color: #ffffff;
  background: var(--impact-navy);

  border-radius: 13px;

  overflow: hidden;
}


/* ==========================================================
   09. PANEL CONTENT
========================================================== */

.ve-impact-panel-copy {
  position: relative;

  z-index: 2;

  min-width: 0;
}

.ve-impact-panel-eyebrow {
  display: block;

  margin-bottom: 19px;

  color: var(--impact-gold);

  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 1.6px;
}


/* ==========================================================
   10. PANEL HEADING
========================================================== */

.ve-impact-panel-copy h3 {
  max-width: 540px;

  margin: 0 0 19px;

  color: #ffffff;

  font-family:
    "Plus Jakarta Sans", sans-serif;

  font-size: clamp(29px, 3vw, 43px);
  font-weight: 800;

  line-height: 1.2;
  letter-spacing: -1.4px;
}

.ve-impact-panel-copy h3 span {
  display: block;

  color: var(--impact-gold);
}


/* ==========================================================
   11. PANEL DESCRIPTION
========================================================== */

.ve-impact-panel-copy p {
  max-width: 530px;

  margin: 0;

  color: #d5dfeb;

  font-size: 15px;

  line-height: 1.9;
}


/* ==========================================================
   12. PROJECT ENQUIRY BUTTON
========================================================== */

.ve-impact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 27px;

  min-height: 48px;

  margin-top: 26px;
  padding: 12px 19px;

  color: var(--impact-navy);
  background: #ffffff;

  border: 1px solid #ffffff;
  border-radius: 7px;

  font-size: 13px;
  font-weight: 750;

  line-height: 1.5;

  text-align: center;
  text-decoration: none;

  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.ve-impact-button:hover {
  color: var(--impact-navy);

  background: #e9eef5;
  border-color: #e9eef5;
}

.ve-impact-button:active {
  color: var(--impact-navy);

  background: #dbe5f0;
  border-color: #dbe5f0;
}

.ve-impact-button svg {
  display: block;

  flex: 0 0 17px;

  width: 17px;
  height: 17px;

  stroke-width: 1.8;
}


/* ==========================================================
   13. EXPERIENCE COUNTER BLOCK
========================================================== */

.ve-impact-counter-block {
  position: relative;

  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
}


/* ==========================================================
   14. COUNTER VALUE
========================================================== */

.ve-impact-counter-value {
  display: flex;
  align-items: flex-start;
  justify-content: center;

  max-width: 100%;

  color: #ffffff;

  font-family:
    "Plus Jakarta Sans", sans-serif;

  font-weight: 800;

  font-variant-numeric: tabular-nums;

  white-space: nowrap;
}

.ve-impact-counter {
  display: block;

  min-width: 2.1ch;

  font-size: clamp(110px, 12vw, 172px);

  line-height: 1;

  letter-spacing: -8px;

  text-align: center;
}


/* ==========================================================
   15. COUNTER CAPTION
========================================================== */

.ve-impact-counter-details {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  width: min(100%, 350px);

  margin-top: 19px;
  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.27);
}

.ve-impact-counter-unit {
  color: var(--impact-gold);

  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 1.1px;
}

.ve-impact-counter-dates {
  flex-shrink: 0;

  color: #d5dfeb;

  font-size: 11px;
  font-weight: 650;

  line-height: 1.5;

  white-space: nowrap;
}


/* ==========================================================
   16. DECORATIVE CIRCLES
========================================================== */

.ve-impact-panel-decoration {
  position: absolute;

  z-index: 0;
  inset: 0;

  pointer-events: none;

  overflow: hidden;
}

.ve-impact-panel-decoration span {
  position: absolute;

  display: block;

  width: 380px;
  height: 380px;

  border:
    1px solid rgba(255, 255, 255, 0.075);

  border-radius: 50%;
}

.ve-impact-panel-decoration span:nth-child(1) {
  top: -160px;
  right: -70px;
}

.ve-impact-panel-decoration span:nth-child(2) {
  top: -110px;
  right: -120px;
}

.ve-impact-panel-decoration span:nth-child(3) {
  top: -60px;
  right: -170px;
}


/* ==========================================================
   17. COMPACT TIMELINE SECTION
========================================================== */

.ve-impact-timeline {
  padding: 55px 0 0;
}


/* ==========================================================
   18. TIMELINE HEADING
========================================================== */

.ve-impact-timeline-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 28px;
}

.ve-impact-timeline-eyebrow {
  display: block;

  margin-bottom: 12px;

  color: var(--impact-blue);

  font-size: 10px;
  font-weight: 800;

  line-height: 1.5;
  letter-spacing: 1.5px;
}

.ve-impact-timeline-header h3 {
  margin: 0;

  color: var(--impact-navy);

  font-family:
    "Plus Jakarta Sans", sans-serif;

  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 800;

  line-height: 1.28;
  letter-spacing: -1px;
}

.ve-impact-timeline-header h3 span {
  color: var(--impact-blue);
}

.ve-impact-timeline-header > p {
  max-width: 290px;

  margin: 0 0 4px;

  color: var(--impact-text);

  font-size: 14px;

  line-height: 1.75;

  text-align: right;
}


/* ==========================================================
   19. TIMELINE TRACK
========================================================== */

.ve-impact-timeline-track {
  position: relative;

  width: 100%;

  padding: 0 0 8px;
}

.ve-impact-timeline-rule {
  position: relative;

  width: 100%;
  height: 103px;
}

.ve-impact-timeline-rule svg {
  display: block;

  width: 100%;
  height: 100%;

  overflow: visible;
}


/* ==========================================================
   20. SVG TIMELINE CURVES
========================================================== */

.ve-impact-line-background,
.ve-impact-line-progress {
  fill: none;

  stroke-width: 2.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ve-impact-line-background {
  stroke: #d4deea;
}

.ve-impact-line-progress {
  stroke: var(--impact-blue);
}


/* ==========================================================
   21. TIMELINE ENDPOINT DOTS
========================================================== */

.ve-impact-timeline-dot {
  position: absolute;

  z-index: 3;
  top: 50%;

  display: block;

  width: 14px;
  height: 14px;

  background: var(--impact-blue);

  border:
    3px solid var(--impact-background);

  border-radius: 50%;

  box-shadow:
    0 0 0 2px var(--impact-blue);

  transform: translate(-50%, -50%);
}

.ve-impact-timeline-dot-start {
  left: 1%;
}

.ve-impact-timeline-dot-end {
  left: 99%;
}


/* ==========================================================
   22. TIMELINE YEAR MARKERS
========================================================== */

.ve-impact-timeline-markers {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: start;

  gap: 20px;

  margin-top: 7px;
}

.ve-impact-timeline-year {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 9px;

  min-width: 0;
}

.ve-impact-timeline-year strong {
  color: var(--impact-blue);

  font-family:
    "Plus Jakarta Sans", sans-serif;

  font-size: clamp(43px, 5vw, 65px);
  font-weight: 800;

  line-height: 1.1;
  letter-spacing: -2.5px;
}

.ve-impact-timeline-year > span {
  color: var(--impact-muted);

  font-size: 10px;
  font-weight: 750;

  line-height: 1.5;
  letter-spacing: 1.1px;
}

.ve-impact-timeline-year-right {
  align-items: flex-end;

  text-align: right;
}


/* ==========================================================
   23. CENTER TIMELINE HIGHLIGHT
========================================================== */

.ve-impact-timeline-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;

  margin-top: -8px;

  text-align: center;
}

.ve-impact-center-diamond {
  display: grid;
  place-items: center;

  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  margin-bottom: 13px;

  color: #ffffff;
  background: var(--impact-blue);

  border:
    4px solid var(--impact-background);

  border-radius: 50%;

  box-shadow:
    0 0 0 1px #bdcbde;
}

.ve-impact-center-diamond svg {
  width: 17px;
  height: 17px;

  stroke-width: 2;
}

.ve-impact-timeline-center strong {
  color: var(--impact-navy);

  font-family:
    "Plus Jakarta Sans", sans-serif;

  font-size: clamp(17px, 2vw, 25px);
  font-weight: 800;

  line-height: 1.3;
  letter-spacing: -0.6px;
}

.ve-impact-timeline-center > span:last-child {
  margin-top: 5px;

  color: var(--impact-muted);

  font-size: 10px;
  font-weight: 750;

  line-height: 1.5;
  letter-spacing: 1px;
}


/* ==========================================================
   24. SCROLL REVEAL ANIMATIONS

   Only active when js/impact.js adds
   the .ve-impact-ready class.

   Content remains visible without JS.
========================================================== */

@media (prefers-reduced-motion: no-preference) {

  .ve-impact.ve-impact-ready
  .ve-impact-reveal {
    opacity: 0;

    transform:
      translate3d(0, 26px, 0);

    transition:
      opacity 750ms cubic-bezier(
        0.22, 1, 0.36, 1
      ),
      transform 750ms cubic-bezier(
        0.22, 1, 0.36, 1
      );
  }

  .ve-impact.ve-impact-ready
  .ve-impact-reveal.is-visible {
    opacity: 1;

    transform:
      translate3d(0, 0, 0);
  }

  .ve-impact-line-progress {
    transition:
      stroke-dashoffset 1750ms
      cubic-bezier(0.22, 1, 0.36, 1);
  }

}


/* ==========================================================
   25. LAPTOP
========================================================== */

@media (max-width: 1199.98px) {

  .ve-impact {
    padding: 73px 0 65px;
  }

  .ve-impact-header {
    gap: 38px;
  }

  .ve-impact-header h2 {
    font-size: clamp(38px, 4.4vw, 53px);
  }

  .ve-impact-experience {
    min-height: 350px;

    padding: 40px 43px;

    gap: 25px;
  }

  .ve-impact-panel-copy h3 {
    font-size: 34px;
  }

  .ve-impact-panel-copy p {
    font-size: 14px;
  }

  .ve-impact-counter {
    font-size: clamp(100px, 11vw, 129px);

    letter-spacing: -7px;
  }

}


/* ==========================================================
   26. TABLET
========================================================== */

@media (max-width: 991.98px) {

  .ve-impact .ve-impact-container {
    padding-inline: 20px;
  }

  .ve-impact-header {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .ve-impact-header-right > p {
    max-width: 710px;

    font-size: 15.5px;
  }

  .ve-impact-experience {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 0.8fr);

    padding: 35px 29px;

    gap: 16px;
  }

  .ve-impact-panel-copy h3 {
    font-size: 29px;
  }

  .ve-impact-panel-copy p {
    font-size: 13px;
  }

  .ve-impact-counter {
    min-width: 0;

    font-size: clamp(80px, 11vw, 112px);

    letter-spacing: -5px;
  }

  .ve-impact-counter-details {
    gap: 12px;
  }

  .ve-impact-counter-unit,
  .ve-impact-counter-dates {
    font-size: 9px;
  }

  .ve-impact-timeline-markers {
    gap: 12px;
  }

}


/* ==========================================================
   27. MOBILE
========================================================== */

@media (max-width: 767.98px) {

  .ve-impact {
    padding: 54px 0 56px;
  }

  .ve-impact .ve-impact-container {
    padding-inline: 16px;
  }

  .ve-impact-header {
    margin-bottom: 29px;
  }

  .ve-impact-eyebrow {
    margin-bottom: 17px;

    font-size: 9px;
  }

  .ve-impact-header h2 {
    font-size: clamp(34px, 8vw, 48px);

    line-height: 1.17;
    letter-spacing: -1.5px;
  }

  .ve-impact-header-right > p {
    font-size: 14.5px;

    line-height: 1.8;
  }

  .ve-impact-location {
    font-size: 12px;
  }

  /* Experience panel */

  .ve-impact-experience {
    grid-template-columns: 1fr;

    gap: 33px;

    min-height: 0;

    padding: 30px 24px;

    border-radius: 10px;
  }

  .ve-impact-panel-copy h3 {
    font-size: clamp(27px, 6.6vw, 35px);

    letter-spacing: -1px;
  }

  .ve-impact-panel-copy p {
    font-size: 14px;

    line-height: 1.85;
  }

  .ve-impact-button {
    margin-top: 23px;

    min-height: 48px;
  }

  /* Counter */

  .ve-impact-counter-block {
    align-items: flex-start;

    padding-top: 21px;

    border-top:
      1px solid rgba(255, 255, 255, 0.21);
  }

  .ve-impact-counter-value {
    justify-content: flex-start;
  }

  .ve-impact-counter {
    font-size: clamp(90px, 25vw, 135px);

    letter-spacing: -6px;
  }

  .ve-impact-counter-details {
    max-width: 350px;

    margin-top: 12px;
  }

  .ve-impact-counter-unit,
  .ve-impact-counter-dates {
    font-size: 10px;
  }

  /* Timeline introduction */

  .ve-impact-timeline {
    padding-top: 40px;
  }

  .ve-impact-timeline-header {
    display: block;

    margin-bottom: 21px;
  }

  .ve-impact-timeline-header h3 {
    font-size: 28px;
  }

  .ve-impact-timeline-header > p {
    max-width: 100%;

    margin-top: 11px;

    font-size: 13px;

    text-align: left;
  }

  /* Timeline illustration */

  .ve-impact-timeline-rule {
    height: 76px;
  }

  .ve-impact-timeline-markers {
    gap: 8px;
  }

  .ve-impact-timeline-year {
    gap: 5px;
  }

  .ve-impact-timeline-year strong {
    font-size: clamp(32px, 9vw, 48px);

    letter-spacing: -1.5px;
  }

  .ve-impact-timeline-year > span {
    font-size: 9px;

    letter-spacing: 0.2px;
  }

  /* Center highlight */

  .ve-impact-timeline-center {
    margin-top: -2px;
  }

  .ve-impact-center-diamond {
    flex-basis: 31px;

    width: 31px;
    height: 31px;

    margin-bottom: 9px;
  }

  .ve-impact-center-diamond svg {
    width: 14px;
    height: 14px;
  }

  .ve-impact-timeline-center strong {
    font-size: 13px;

    line-height: 1.35;

    white-space: normal;
  }

  .ve-impact-timeline-center > span:last-child {
    font-size: 9px;

    line-height: 1.45;
    letter-spacing: 0.2px;
  }

}


/* ==========================================================
   28. SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

  .ve-impact .ve-impact-container {
    padding-inline: 12px;
  }

  .ve-impact-experience {
    padding: 28px 19px;
  }

  .ve-impact-header h2 {
    font-size: 33px;
  }

  .ve-impact-counter {
    font-size: 95px;

    letter-spacing: -5px;
  }

  .ve-impact-counter-details {
    align-items: flex-start;

    gap: 12px;
  }

  .ve-impact-counter-unit {
    max-width: 165px;
  }

  .ve-impact-timeline-markers {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1.15fr)
      minmax(0, 1fr);

    gap: 5px;
  }

  .ve-impact-timeline-year strong {
    font-size: 30px;

    letter-spacing: -1px;
  }

  .ve-impact-timeline-year > span {
    font-size: 8px;

    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .ve-impact-timeline-center strong {
    font-size: 11px;
  }

  .ve-impact-timeline-center > span:last-child {
    font-size: 8px;
  }

}


/* ==========================================================
   29. KEYBOARD ACCESSIBILITY
========================================================== */

.ve-impact a:focus-visible {
  outline: 3px solid var(--impact-gold);

  outline-offset: 4px;
}

.ve-impact-button:focus-visible {
  box-shadow:
    0 0 0 5px rgba(17, 43, 72, 0.5);
}


/* ==========================================================
   30. REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .ve-impact .ve-impact-reveal {
    opacity: 1 !important;

    transform: none !important;

    animation: none !important;
    transition: none !important;
  }

  .ve-impact-line-progress {
    animation: none !important;
    transition: none !important;

    stroke-dashoffset: 0 !important;
    stroke-dasharray: none !important;
  }

  .ve-impact-button {
    animation: none !important;
    transition: none !important;
  }

}


/* ==========================================================
   31. PRINT SUPPORT
========================================================== */

@media print {

  .ve-impact {
    padding: 30px 0;

    background: #ffffff;

    overflow: visible;
  }

  .ve-impact .ve-impact-reveal {
    opacity: 1 !important;

    transform: none !important;
  }

  .ve-impact-experience {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .ve-impact-line-progress {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

}


/* ==========================================================
   END OF IMPACT STYLESHEET
========================================================== */
