
/* ==========================================================
   VIJAY ENTERPRISES
   GLOBAL WEBSITE STYLESHEET

   Website: https://vijayenterprises1986.in/
   Fonts: Inter, Plus Jakarta Sans

   Includes:
   - Global variables
   - Accessibility foundations
   - Existing navigation styles
   - Top information bar
   - Custom scrollbar
   - Responsive adjustments
========================================================== */


/* ==========================================================
   01. ROOT VARIABLES
========================================================== */

:root {
  --ve-navy: #122e4f;
  --ve-navy-hover: #20476e;
  --ve-gold: #c7a36c;
  --ve-heading: #142d49;
  --ve-text: #354358;
  --ve-muted: #778393;
  --ve-border: #e8ecf0;
  --ve-white: #ffffff;

  --ve-font-primary: "Inter", sans-serif;
  --ve-font-heading: "Plus Jakarta Sans", sans-serif;

  /* Global scrollbar */

  --ve-scrollbar-width: 9px;
  --ve-scrollbar-track: #f1f4f8;
  --ve-scrollbar-thumb: #203f83;
  --ve-scrollbar-hover: #112b48;

  /* Accessibility */

  --ve-focus-color: #c7a36c;
  --ve-focus-width: 3px;
  --ve-focus-offset: 3px;

  /* Layout */

  --ve-header-scroll-offset: 100px;
}


/* ==========================================================
   02. GLOBAL BOX MODEL
========================================================== */

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


/* ==========================================================
   03. HTML
========================================================== */

html {
  scroll-behavior: smooth;

  scroll-padding-top: var(
    --ve-header-scroll-offset
  );

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  scrollbar-width: thin;

  scrollbar-color:
    var(--ve-scrollbar-thumb)
    var(--ve-scrollbar-track);
}


/* ==========================================================
   04. BODY
========================================================== */

body {
  margin: 0;

  min-width: 320px;

  font-family: var(--ve-font-primary);

  color: var(--ve-text);

  background: var(--ve-white);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ==========================================================
   05. GLOBAL TYPOGRAPHY
========================================================== */

body {
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
  Do not apply global heading font sizes.

  Each website section already has its own
  approved typography and spacing.

  Heading-scale adjustments will be handled
  inside the relevant section stylesheet.
*/

p {
  overflow-wrap: break-word;
}

address {
  font-style: normal;
}


/* ==========================================================
   06. MEDIA ELEMENT FOUNDATIONS
========================================================== */

img {
  max-width: 100%;
}

video {
  max-width: 100%;
}

svg {
  flex-shrink: 0;
}


/* ==========================================================
   07. GLOBAL ACCESSIBILITY
========================================================== */

/*
  Visible keyboard focus.

  Section-specific focus states may override
  this rule when needed for contrasting backgrounds.
*/

:where(
  a,
  button,
  input,
  textarea,
  select,
  summary,
  [tabindex]
):focus-visible {
  outline:
    var(--ve-focus-width)
    solid
    var(--ve-focus-color);

  outline-offset: var(--ve-focus-offset);
}


/* ==========================================================
   08. SKIP TO MAIN CONTENT
========================================================== */

/*
  Used in index.html:

  <a class="skip-link" href="#main-content">
    Skip to main content
  </a>

  Visible only when the visitor navigates
  using a keyboard.
*/

.skip-link {
  position: fixed;

  top: 12px;
  left: 12px;

  z-index: 99999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  max-width: calc(100vw - 24px);

  padding: 11px 18px;

  background: #ffffff;
  color: #112b48;

  border: 2px solid #c7a36c;
  border-radius: 7px;

  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.18);

  font-family: var(--ve-font-primary);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

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

  transform: translateY(-180%);

  visibility: hidden;

  transition:
    transform 180ms ease,
    visibility 180ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);

  visibility: visible;

  color: #112b48;

  outline: 3px solid #203f83;
  outline-offset: 3px;
}


/* ==========================================================
   09. MAIN CONTENT TARGET
========================================================== */

#main-content {
  position: relative;
  min-width: 0;
}

/*
  Maintains the current fixed-header offset
  for internal section navigation.
*/

section[id] {
  scroll-margin-top: var(
    --ve-header-scroll-offset
  );
}


/* ==========================================================
   10. EXISTING SITE HEADER
========================================================== */

.site-header {
  position: sticky;
  top: 0;

  z-index: 1050;

  background: var(--ve-white);

  border-bottom:
    1px solid var(--ve-border);

  transition:
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow:
    0 5px 24px rgba(
      18,
      46,
      79,
      0.07
    );
}


/* ==========================================================
   11. NAVBAR
========================================================== */

.ve-navbar {
  padding: 13px 0;

  min-height: 94px;

  background: #ffffff;
}


/* ==========================================================
   12. BRAND
========================================================== */

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

  gap: 14px;

  margin: 0;
  padding: 0;

  min-width: 0;

  text-decoration: none;
}

.ve-logo-circle {
  position: relative;

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

  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  overflow: hidden;

  border-radius: 50%;

  background: #ffffff;

  border: 1px solid #e7e9ec;
}

.ve-brand-logo {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  transform: scale(1.35);

  transform-origin: center;
}

.ve-brand-content {
  display: flex;
  flex-direction: column;

  justify-content: center;

  gap: 5px;
}

.ve-brand-name {
  font-family: var(--ve-font-heading);

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

  line-height: 1.25;

  letter-spacing: -0.45px;

  color: var(--ve-heading);

  white-space: nowrap;
}

.ve-brand-tagline {
  font-family: var(--ve-font-primary);

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

  color: var(--ve-muted);

  letter-spacing: 0.14px;

  line-height: 1.5;
}


/* ==========================================================
   13. NAVIGATION COLLAPSE
========================================================== */

.ve-navbar-collapse {
  min-width: 0;
}

.ve-nav-links {
  gap: 7px;
}


/* ==========================================================
   14. NAVIGATION LINKS
========================================================== */

.ve-nav-links .nav-link {
  position: relative;

  display: inline-block;

  padding: 12px 12px !important;

  color: var(--ve-text);

  font-family: var(--ve-font-primary);

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

  letter-spacing: -0.1px;

  white-space: nowrap;

  transition: color 0.2s ease;
}

.ve-nav-links .nav-link:hover,
.ve-nav-links .nav-link.active {
  color: var(--ve-navy);
}


/* ==========================================================
   15. NAVIGATION ACTIVE UNDERLINE
========================================================== */

.ve-nav-links .nav-link::after {
  content: "";

  position: absolute;

  bottom: 5px;
  left: 12px;
  right: 12px;

  height: 2px;

  background: var(--ve-gold);

  transform: scaleX(0);

  transform-origin: center;

  transition:
    transform 0.25s ease;
}

.ve-nav-links .nav-link:hover::after,
.ve-nav-links .nav-link.active::after {
  transform: scaleX(1);
}


/* ==========================================================
   16. NAVIGATION ACTION
========================================================== */

.ve-nav-action {
  display: flex;
  align-items: center;
}


/* ==========================================================
   17. QUOTATION BUTTON
========================================================== */

.ve-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 15px;

  min-height: 45px;

  padding: 12px 18px;

  border: 1px solid var(--ve-navy);
  border-radius: 5px;

  background: var(--ve-navy);

  color: #ffffff;

  text-decoration: none;

  font-family: var(--ve-font-primary);

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

  white-space: nowrap;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.ve-quote-btn svg {
  display: block;

  width: 17px;
  height: 17px;

  stroke-width: 1.8;

  transition:
    transform 0.2s ease;
}

.ve-quote-btn:hover {
  background: var(--ve-navy-hover);

  border-color: var(--ve-navy-hover);

  color: #ffffff;
}

.ve-quote-btn:hover svg {
  transform: translate(2px, -2px);
}


/* ==========================================================
   18. MOBILE NAVIGATION TOGGLE
========================================================== */

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

  width: 43px;
  height: 43px;

  padding: 0;

  border: 1px solid var(--ve-border);
  border-radius: 6px;

  box-shadow: none !important;
}

.ve-toggler svg {
  width: 23px;
  height: 23px;

  color: var(--ve-navy);

  stroke-width: 1.8;
}


/* ==========================================================
   19. NAVIGATION FOCUS STATES
========================================================== */

.ve-nav-links .nav-link:focus-visible,
.ve-quote-btn:focus-visible,
.ve-toggler:focus-visible,
.ve-brand:focus-visible {
  outline: 3px solid var(--ve-gold);
  outline-offset: 3px;
}


/* ==========================================================
   20. LAPTOP NAVIGATION
========================================================== */

@media (
  max-width: 1199.98px
) and (
  min-width: 992px
) {

  .ve-brand {
    gap: 9px;
  }

  .ve-logo-circle {
    width: 53px;
    height: 53px;

    flex-basis: 53px;
  }

  .ve-brand-name {
    font-size: 12px;
  }

  .ve-brand-tagline {
    font-size: 9px;
  }

  .ve-nav-links {
    gap: 0;
  }

  .ve-nav-links .nav-link {
    font-size: 11.5px;

    padding: 11px 7px !important;
  }

  .ve-nav-links .nav-link::after {
    left: 7px;
    right: 7px;
  }

  .ve-quote-btn {
    padding: 11px 12px;

    gap: 7px;

    font-size: 11.5px;
  }

}


/* ==========================================================
   21. TABLET & MOBILE NAVIGATION
========================================================== */

@media (max-width: 991.98px) {

  .ve-navbar {
    min-height: 78px;

    padding: 10px 0;
  }

  .ve-logo-circle {
    width: 54px;
    height: 54px;

    flex-basis: 54px;
  }

  .ve-brand-name {
    font-size: 13.5px;
  }

  .ve-brand-tagline {
    font-size: 9.5px;
  }

  .ve-navbar-collapse {
    padding: 20px 0 8px;
  }

  .ve-nav-links {
    gap: 0;

    margin-bottom: 20px;
  }

  .ve-nav-links .nav-link {
    display: block;

    padding: 14px 8px !important;

    font-size: 14px;

    border-bottom: 1px solid #edf0f3;
  }

  .ve-nav-links .nav-link::after {
    display: none;
  }

  .ve-nav-action,
  .ve-quote-btn {
    width: 100%;
  }

  .ve-quote-btn {
    min-height: 48px;

    justify-content: space-between;

    padding: 13px 18px;

    font-size: 13px;
  }

}


/* ==========================================================
   22. SMALL MOBILE NAVIGATION
========================================================== */

@media (max-width: 420px) {

  .ve-brand {
    gap: 9px;
  }

  .ve-logo-circle {
    width: 47px;
    height: 47px;

    flex-basis: 47px;
  }

  .ve-brand-name {
    font-size: 11.5px;

    letter-spacing: -0.3px;
  }

  .ve-brand-tagline {
    font-size: 8.5px;
  }

  .ve-toggler {
    width: 39px;
    height: 39px;
  }

}


/* ==========================================================
   23. TOP INFORMATION BAR
========================================================== */

.ve-topbar {
  width: 100%;

  min-height: 39px;

  display: flex;
  align-items: center;

  background:
    var(--ve-navy, #122e4f);

  color: #ffffff;

  font-family:
    var(
      --ve-font-primary,
      "Inter",
      sans-serif
    );

  border-bottom:
    1px solid rgba(
      255,
      255,
      255,
      0.09
    );
}


/* ==========================================================
   24. TOPBAR LAYOUT
========================================================== */

.ve-topbar-inner {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  align-items: center;

  gap: 20px;

  min-height: 39px;
}

.ve-topbar-left,
.ve-topbar-center,
.ve-topbar-right {
  display: flex;
  align-items: center;

  min-width: 0;
}

.ve-topbar-left {
  justify-content: flex-start;
}

.ve-topbar-center {
  justify-content: center;

  gap: 9px;

  white-space: nowrap;

  color: rgba(
    255,
    255,
    255,
    0.88
  );

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

  letter-spacing: 0.08px;
}

.ve-topbar-right {
  justify-content: flex-end;

  gap: 16px;
}


/* ==========================================================
   25. TOPBAR CONTACT LINKS
========================================================== */

.ve-topbar-link {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  min-width: 0;

  color: rgba(
    255,
    255,
    255,
    0.92
  );

  text-decoration: none;

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

  white-space: nowrap;

  transition:
    color 0.2s ease;
}

.ve-topbar-link:hover {
  color: #e5c18b;
}

.ve-topbar-link:focus-visible {
  outline: 3px solid #e5c18b;
  outline-offset: 3px;
}


/* ==========================================================
   26. TOPBAR ICONS
========================================================== */

.ve-topbar-link svg,
.ve-topbar-center svg {
  width: 13px;
  height: 13px;

  flex-shrink: 0;

  color: #d3b07a;

  stroke-width: 1.9;
}

.ve-topbar-center svg {
  margin-right: 3px;
}


/* ==========================================================
   27. TOPBAR DECORATIVE DOT
========================================================== */

.ve-topbar-dot {
  width: 3px;
  height: 3px;

  flex: 0 0 3px;

  border-radius: 50%;

  background: #d3b07a;

  opacity: 0.9;
}


/* ==========================================================
   28. TOPBAR SEPARATOR
========================================================== */

.ve-topbar-separator {
  width: 1px;
  height: 14px;

  flex-shrink: 0;

  background: rgba(
    255,
    255,
    255,
    0.23
  );
}


/* ==========================================================
   29. MEDIUM DESKTOP TOPBAR
========================================================== */

@media (max-width: 1199.98px) {

  .ve-topbar-inner {
    grid-template-columns:
      1fr
      auto;

    gap: 12px;
  }

  .ve-topbar-center {
    display: none;
  }

}


/* ==========================================================
   30. TABLET & MOBILE TOPBAR
========================================================== */

@media (max-width: 767.98px) {

  .ve-topbar {
    min-height: 37px;
  }

  .ve-topbar-inner {
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    min-height: 37px;

    gap: 10px;
  }

  .ve-topbar-link {
    font-size: 10px;

    gap: 5px;
  }

  .ve-topbar-link svg {
    width: 12px;
    height: 12px;
  }

  .ve-topbar-right {
    gap: 0;
  }

  .ve-topbar-separator,
  .ve-email {
    display: none;
  }

}


/* ==========================================================
   31. SMALL MOBILE TOPBAR
========================================================== */

@media (max-width: 380px) {

  .ve-topbar-link {
    font-size: 9px;
  }

  .ve-topbar-link svg {
    width: 11px;
    height: 11px;
  }

  .ve-topbar-inner {
    gap: 6px;
  }

}


/* ==========================================================
   32. CUSTOM WEBSITE SCROLLBAR
========================================================== */

/* Chrome, Edge and Safari */

html::-webkit-scrollbar {
  width: var(--ve-scrollbar-width);
}

html::-webkit-scrollbar-track {
  background: var(--ve-scrollbar-track);
}

html::-webkit-scrollbar-thumb {
  background-color:
    var(--ve-scrollbar-thumb);

  border-radius: 100px;

  border:
    2px solid
    var(--ve-scrollbar-track);
}

html::-webkit-scrollbar-thumb:hover {
  background-color:
    var(--ve-scrollbar-hover);
}

html::-webkit-scrollbar-corner {
  background: var(--ve-scrollbar-track);
}


/* ==========================================================
   33. PREVENT UNNECESSARY PAGE OVERFLOW
========================================================== */

html,
body {
  max-width: 100%;
}

/*
  Do not apply overflow-x: hidden globally.

  That can mask responsive layout problems
  and interfere with sticky elements.

  Actual overflow should be fixed in the
  responsible section stylesheet.
*/


/* ==========================================================
   34. MOBILE SCROLLBAR
========================================================== */

@media (max-width: 767.98px) {

  :root {
    --ve-scrollbar-width: 5px;
  }

}


/* ==========================================================
   35. HORIZONTAL SERVICE/TESTIMONIAL SCROLLBARS
========================================================== */

/*
  Existing hidden scrollbar design is retained.

  Keyboard and touch scrolling functionality
  must remain available in the relevant
  service/testimonial controllers.
*/

.ve-services-track,
.ve-testimonials-track {
  scrollbar-width: none;

  -ms-overflow-style: none;
}

.ve-services-track::-webkit-scrollbar,
.ve-testimonials-track::-webkit-scrollbar {
  display: none;
}


/* ==========================================================
   36. FORM FONT INHERITANCE
========================================================== */

/*
  Ensures browser-default control fonts do not
  conflict with the website typography.

  Component-specific sizing remains controlled
  by the existing section stylesheets.
*/

button,
input,
select,
textarea {
  font-family: inherit;
}


/* ==========================================================
   37. IMPROVED TOUCH INTERACTION
========================================================== */

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color:
    rgba(32, 63, 131, 0.12);
}


/* ==========================================================
   38. REDUCED MOTION ACCESSIBILITY
========================================================== */

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

  html {
    scroll-behavior: auto;
  }

  .site-header,
  .ve-nav-links .nav-link,
  .ve-nav-links .nav-link::after,
  .ve-quote-btn,
  .ve-quote-btn svg,
  .ve-topbar-link,
  .skip-link {
    transition: none !important;
  }

  /*
    Avoid forcing all animations to one frame
    globally; section controllers must also
    respect the visitor's motion preference.
  */

  .skip-link {
    transition: none;
  }

}


/* ==========================================================
   END OF GLOBAL STYLESHEET
========================================================== */
