
/* ==========================================================
   VIJAY ENTERPRISES
   WHY CHOOSE US — REDESIGNED

   FEATURES:
   - Premium editorial layout
   - SEO-friendly content hierarchy
   - Navy and blue brand colors
   - Subtle gold accents
   - Four numbered features
   - No heavy card backgrounds
   - Desktop two-column grid
   - Mobile single-column layout
   - Existing reveal JS compatibility
========================================================== */


/* ==========================================================
   01. DESIGN TOKENS
========================================================== */

.ve-why {
  --why-blue: #203f83;
  --why-dark: #112b48;
  --why-text: #536276;
  --why-border: #e3e9f0;
  --why-soft: #f1f5fb;
  --why-gold: #c99852;
  --why-focus: #b37a32;

  position: relative;

  width: 100%;

  padding: 92px 0 96px;

  color: var(--why-dark);
  background: #ffffff;

  scroll-margin-top: 90px;
}

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


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

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

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


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

.ve-why-header {
  display: grid;

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

  align-items: end;

  column-gap: 65px;

  margin-bottom: 23px;
}

.ve-why-heading-area,
.ve-why-header-description {
  min-width: 0;
}


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

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

  gap: 12px;

  margin-bottom: 17px;

  color: var(--why-blue);

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

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

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

  text-transform: uppercase;
}

.ve-why-line {
  display: block;

  flex: 0 0 30px;

  width: 30px;
  height: 2px;

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


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

.ve-why-heading-area h2 {
  max-width: 750px;

  margin: 0;

  color: var(--why-dark);

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

  font-size: clamp(39px, 4.15vw, 59px);
  font-weight: 800;

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

  text-wrap: balance;
}

.ve-why-heading-area h2 span {
  display: block;

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


/* ==========================================================
   06. HEADER DESCRIPTION
========================================================== */

.ve-why-header-description {
  max-width: 490px;
}

.ve-why-header-description p {
  margin: 0 0 3px;

  color: var(--why-text);

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

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

  line-height: 1.9;
}


/* ==========================================================
   07. SUPPORTING INTRO
========================================================== */

.ve-why-intro {
  max-width: 820px;

  margin-bottom: 42px;
}

.ve-why-intro p {
  margin: 0;

  color: var(--why-text);

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

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

  line-height: 1.85;
}


/* ==========================================================
   08. EDITORIAL FEATURE GRID
========================================================== */

.ve-why-grid {
  display: grid;

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

  column-gap: 54px;

  border-top: 1px solid var(--why-border);
  border-bottom: 1px solid var(--why-border);
}


/* ==========================================================
   09. FEATURE ITEM
========================================================== */

.ve-why-item {
  position: relative;

  display: grid;

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

  align-items: start;

  gap: 19px;

  min-width: 0;
  min-height: 215px;

  padding: 35px 12px 34px 0;
}


/* ==========================================================
   10. ROW DIVIDERS
========================================================== */

.ve-why-item:nth-child(-n + 2) {
  border-bottom:
    1px solid var(--why-border);
}


/* ==========================================================
   11. COLUMN DIVIDERS
========================================================== */

.ve-why-item:nth-child(odd) {
  padding-right: 28px;
}

.ve-why-item:nth-child(odd)::after {
  content: "";

  position: absolute;

  top: 26px;
  right: -27px;
  bottom: 26px;

  width: 1px;

  background: var(--why-border);

  pointer-events: none;
}


/* ==========================================================
   12. FEATURE ICON
========================================================== */

.ve-why-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  color: var(--why-blue);

  background: var(--why-soft);

  border-radius: 10px;

  transition:
    background-color 220ms ease,
    transform 220ms ease;
}

.ve-why-item-icon svg {
  display: block;

  width: 24px;
  height: 24px;

  stroke-width: 1.7;
}


/* ==========================================================
   13. FEATURE COPY
========================================================== */

.ve-why-item-content {
  min-width: 0;
}


/* ==========================================================
   14. NUMBER LABEL
========================================================== */

.ve-why-item-number {
  display: block;

  margin: 1px 0 10px;

  color: var(--why-blue);

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

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

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

  text-transform: uppercase;
}


/* ==========================================================
   15. FEATURE HEADING
========================================================== */

.ve-why-item-content h3 {
  max-width: 480px;

  margin: 0 0 11px;

  color: var(--why-dark);

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

  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 750;

  line-height: 1.42;
  letter-spacing: -0.55px;
}


/* ==========================================================
   16. FEATURE DESCRIPTION
========================================================== */

.ve-why-item-content p {
  max-width: 480px;

  margin: 0;

  color: var(--why-text);

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

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

  line-height: 1.85;
}


/* ==========================================================
   17. SUBTLE INTERACTIONS
========================================================== */

@media (hover: hover) and (pointer: fine) {

  .ve-why-item:hover .ve-why-item-icon {
    background: #e5edfa;

    transform: translateY(-2px);
  }

}


/* ==========================================================
   18. BOTTOM CTA
========================================================== */

.ve-why-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;

  margin-top: 36px;
}

.ve-why-bottom-copy {
  min-width: 0;
}

.ve-why-bottom-label {
  display: block;

  margin-bottom: 8px;

  color: var(--why-blue);

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

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

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

  text-transform: uppercase;
}

.ve-why-bottom p {
  max-width: 660px;

  margin: 0;

  color: var(--why-dark);

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

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

  line-height: 1.55;
}


/* ==========================================================
   19. CTA LINK
========================================================== */

.ve-why-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  gap: 13px;

  min-height: 46px;

  padding: 10px 0;

  color: var(--why-blue);

  border-bottom:
    2px solid var(--why-blue);

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

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

  line-height: 1.5;
  text-decoration: none;

  white-space: nowrap;

  transition:
    color 180ms ease,
    gap 180ms ease,
    border-color 180ms ease;
}

.ve-why-link svg {
  display: block;

  width: 18px;
  height: 18px;

  flex-shrink: 0;

  stroke-width: 1.8;
}

.ve-why-link:hover {
  color: var(--why-dark);

  gap: 18px;

  border-color: var(--why-dark);
}


/* ==========================================================
   20. ACCESSIBILITY
========================================================== */

.ve-why-link:focus-visible {
  outline: 3px solid var(--why-focus);
  outline-offset: 5px;
}


/* ==========================================================
   21. SCROLL REVEAL COMPATIBILITY

   Hidden states activate only when
   js/why-us.js adds .ve-why-ready.

   Without JS, the content remains visible.
========================================================== */

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

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

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

    transition:
      opacity 650ms ease,
      transform 650ms ease;

    transition-delay: 0ms;
  }

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

    transform: translate3d(0, 0, 0);

    transition-delay:
      var(--why-delay, 0ms);
  }

}


/* ==========================================================
   22. LAPTOP
========================================================== */

@media (max-width: 1199.98px) {

  .ve-why {
    padding: 80px 0 85px;
  }

  .ve-why-header {
    column-gap: 40px;
  }

  .ve-why-grid {
    column-gap: 34px;
  }

  .ve-why-item {
    gap: 15px;
    min-height: 230px;
  }

  .ve-why-item:nth-child(odd) {
    padding-right: 17px;
  }

  .ve-why-item:nth-child(odd)::after {
    right: -17px;
  }

  .ve-why-item-content h3 {
    font-size: 19px;
  }

}


/* ==========================================================
   23. TABLET
========================================================== */

@media (max-width: 991.98px) {

  .ve-why {
    padding: 70px 0 76px;
  }

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

  .ve-why-header {
    grid-template-columns:
      minmax(0, 1fr) minmax(0, 0.9fr);

    gap: 24px;
  }

  .ve-why-heading-area h2 {
    font-size: 43px;
    letter-spacing: -1.5px;
  }

  .ve-why-header-description p,
  .ve-why-intro p {
    font-size: 14.5px;
  }

  .ve-why-grid {
    column-gap: 24px;
  }

  .ve-why-item {
    grid-template-columns:
      45px minmax(0, 1fr);

    gap: 12px;

    min-height: 250px;

    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ve-why-item:nth-child(odd) {
    padding-right: 10px;
  }

  .ve-why-item:nth-child(odd)::after {
    right: -12px;
  }

  .ve-why-item-icon {
    width: 45px;
    height: 45px;
  }

  .ve-why-item-icon svg {
    width: 21px;
    height: 21px;
  }

  .ve-why-item-content h3 {
    font-size: 17px;
  }

  .ve-why-item-content p {
    font-size: 13.5px;
    line-height: 1.75;
  }

}


/* ==========================================================
   24. MOBILE
========================================================== */

@media (max-width: 767.98px) {

  .ve-why {
    padding: 57px 0 64px;
    scroll-margin-top: 72px;
  }

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

  .ve-why-header {
    grid-template-columns: minmax(0, 1fr);

    gap: 16px;
    margin-bottom: 18px;
  }

  .ve-why-eyebrow {
    margin-bottom: 13px;

    font-size: 10px;
    letter-spacing: 1.25px;
  }

  .ve-why-heading-area h2 {
    font-size: clamp(35px, 8vw, 45px);

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

  .ve-why-header-description {
    max-width: 100%;
  }

  .ve-why-header-description p {
    font-size: 14.5px;
    line-height: 1.8;
  }

  .ve-why-intro {
    max-width: 100%;

    margin-bottom: 27px;
  }

  .ve-why-intro p {
    font-size: 14.5px;
    line-height: 1.8;
  }

  /*
    Single-column feature list.
    No horizontal overflow.
  */

  .ve-why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .ve-why-item,
  .ve-why-item:nth-child(odd) {
    grid-template-columns:
      44px minmax(0, 1fr);

    gap: 14px;

    min-height: 0;

    padding: 24px 0;

    border-bottom:
      1px solid var(--why-border);
  }

  .ve-why-item:last-child {
    border-bottom: 0;
  }

  .ve-why-item:nth-child(odd)::after {
    display: none;
  }

  .ve-why-item-icon {
    width: 44px;
    height: 44px;
  }

  .ve-why-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .ve-why-item-number {
    margin-bottom: 8px;

    font-size: 9.5px;
    letter-spacing: 0.8px;
  }

  .ve-why-item-content h3 {
    margin-bottom: 9px;

    font-size: 17px;
    line-height: 1.4;
  }

  .ve-why-item-content p {
    font-size: 14px;
    line-height: 1.8;
  }

  .ve-why-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 17px;

    margin-top: 28px;
  }

  .ve-why-bottom p {
    font-size: 16px;
  }

  .ve-why-link {
    font-size: 14px;
  }

}


/* ==========================================================
   25. SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

  .ve-why .ve-why-container {
    padding-inline: 13px;
  }

  .ve-why-heading-area h2 {
    font-size: 33px;
  }

  .ve-why-item,
  .ve-why-item:nth-child(odd) {
    gap: 11px;
  }

  .ve-why-item-content h3 {
    font-size: 16px;
  }

  .ve-why-item-content p {
    font-size: 13.5px;
  }

  .ve-why-bottom p {
    font-size: 15px;
  }

}


/* ==========================================================
   26. REDUCED MOTION
========================================================== */

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

  .ve-why-reveal,
  .ve-why.ve-why-ready
  .ve-why-reveal {
    opacity: 1 !important;
    transform: none !important;

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

  .ve-why-item-icon,
  .ve-why-link {
    animation: none !important;
    transition: none !important;
  }

}


/* ==========================================================
   27. PRINT
========================================================== */

@media print {

  .ve-why {
    padding: 30px 0;
  }

  .ve-why .ve-why-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .ve-why-item {
    break-inside: avoid;
  }

}


/* ==========================================================
   END OF WHY CHOOSE US CSS
========================================================== */
