/*--------------------------------------------------------------
# Wyizeman brand overrides — layered on top of Axis's main.css
# Real brand colors, confirmed by the client from the logo file:
# Wyizeman Blue #0188F5, Wyizeman Orange #F7941E.
---------------------------------------------------------------*/

:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Source Serif 4", Georgia, serif;
  --nav-font: "Inter", system-ui, sans-serif;
}

:root {
  --background-color: #FAF8F4;      /* warm off-white */
  --default-color: #4A4E52;         /* charcoal body text */
  --heading-color: #1C2B39;         /* deep charcoal-navy */
  --accent-color: #0188F5;          /* Wyizeman Blue */
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --wz-orange: #F7941E;             /* Wyizeman Orange — sparing use only */
}

:root {
  --nav-color: #5B6B76;
  --nav-hover-color: #0188F5;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #4A4E52;
  --nav-dropdown-hover-color: #0188F5;
}

.dark-background {
  --background-color: #16232E;
  --default-color: #D8DEE3;
  --heading-color: #ffffff;
  --accent-color: #F7941E;
  --surface-color: #1F2F3B;
  --contrast-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
}

/*--------------------------------------------------------------
# Shared components used across the new Wyizeman pages
---------------------------------------------------------------*/

/* Numbered eyebrow used in "what we evaluate" / step lists */
.wz-number {
  display: inline-block;
  font-family: var(--heading-font);
  color: var(--wz-orange);
  font-weight: 600;
  margin-right: 0.4em;
}

/* Page hero used on interior pages (Approach, Investments, CORE, NRI, About, Insights, Contact, 404) */
.page-hero {
  padding: 140px 0 70px;
  background-color: var(--background-color);
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--default-color);
}

@media (max-width: 575px) {
  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: 30px; }
}

/* Generic content section spacing (used instead of Axis's default section title block on inner pages) */
.wz-section { padding: 50px 0; }

@media (max-width: 575px) {
  .wz-section { padding: 36px 0; }
}
.wz-section h2 { color: var(--heading-color); margin-bottom: 18px; }
.wz-section .lead-text { font-size: 18px; color: var(--default-color); max-width: 760px; }

/* Simple bordered card used for evaluation criteria, principles, risk lists, process steps */
.wz-card {
  background: var(--surface-color);
  border: 1px solid rgba(28, 43, 57, 0.08);
  border-radius: 6px;
  padding: 28px;
  height: 100%;
}

.wz-card h3, .wz-card h4 {
  color: var(--heading-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.wz-card p { margin-bottom: 0; color: var(--default-color); }

/* Simple checklist bullets (used for FEMA/documentation/etc lists) */
.wz-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wz-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--default-color);
}

.wz-list li::before {
  content: "\f26e"; /* bootstrap-icons check2 */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-color);
}

/* Process step layout (CORE page) */
.wz-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .wz-process { grid-template-columns: 1fr; }
}

/* Disclaimer / legal callout box */
.wz-disclaimer {
  background: var(--surface-color);
  border-left: 3px solid var(--wz-orange);
  padding: 22px 26px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--default-color);
}

.wz-disclaimer h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--heading-color);
  margin-bottom: 10px;
}

/* Insight article cards (Insights page) */
.wz-article-card {
  background: var(--surface-color);
  border: 1px solid rgba(28, 43, 57, 0.08);
  border-radius: 6px;
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wz-article-card .category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wz-orange);
  margin-bottom: 10px;
}

.wz-article-card h3 { font-size: 20px; margin-bottom: 10px; }
.wz-article-card p { color: var(--default-color); flex-grow: 1; }
.wz-article-card a { font-weight: 600; }

/* Final CTA band reused across every page */
.wz-final-cta {
  padding: 70px 0;
  text-align: center;
  background-color: var(--background-color);
}

.wz-final-cta h2 {
  font-size: 30px;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.wz-final-cta p { color: var(--default-color); margin-bottom: 26px; }

/* Placeholder-content marker (visible only as an HTML comment convention; this class is a
   subtle visual flag during build so it's easy to find things still needing real assets) */
.wz-placeholder-note {
  display: inline-block;
  font-size: 12px;
  color: var(--wz-orange);
  border: 1px dashed var(--wz-orange);
  padding: 2px 8px;
  border-radius: 3px;
}

/*--------------------------------------------------------------
# Type-scale tuning — wider contrast between headings and body
# than Axis's defaults, for a more editorial feel
---------------------------------------------------------------*/
.page-hero h1 { font-size: 48px; letter-spacing: -0.01em; }
.wz-section h2 { font-size: 32px; line-height: 1.25; }
.hero-content h1 { letter-spacing: -0.01em; }

@media (max-width: 575px) {
  .wz-section h2 { font-size: 26px; }
}

/*--------------------------------------------------------------
# Criteria Carousel — editorial numeral + text slides, used on Home
# ("What do we look at...") and Approach ("Evaluation Framework").
# Swiper handles the mechanics (already loaded sitewide); slidesPerView
# is fractional on purpose so the next numeral peeks in at every size,
# signalling there's more to scroll to.
---------------------------------------------------------------*/
.wz-criteria-slider {
  padding-bottom: 10px;
}

.wz-criteria-slider .swiper-wrapper {
  align-items: stretch;
}

.wz-criteria-slide {
  height: 100%;
  margin: 8px 18px 20px 0;
  padding: 24px 22px;
  background: var(--surface-color);
  border-radius: 10px;
  border: none;
  box-shadow: 0 16px 32px -8px rgba(28, 43, 57, 0.18), 0 4px 10px rgba(28, 43, 57, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wz-criteria-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -8px rgba(28, 43, 57, 0.24), 0 6px 14px rgba(28, 43, 57, 0.1);
}

.wz-criteria-slide .num {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--wz-orange);
  margin-bottom: 18px;
}

.wz-criteria-slide h4 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.wz-criteria-slide p {
  color: var(--default-color);
  margin: 0;
}

.wz-criteria-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.wz-criteria-nav .swiper-button-prev,
.wz-criteria-nav .swiper-button-next {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  margin-top: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background-color 0.25s, color 0.25s;
}

.wz-criteria-nav .swiper-button-prev::after,
.wz-criteria-nav .swiper-button-next::after {
  font-family: "bootstrap-icons";
  font-size: 16px;
}

.wz-criteria-nav .swiper-button-prev::after { content: "\f284"; }
.wz-criteria-nav .swiper-button-next::after { content: "\f285"; }

.wz-criteria-nav .swiper-button-prev:hover,
.wz-criteria-nav .swiper-button-next:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.wz-criteria-nav .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 575px) {
  .wz-criteria-slide { padding: 8px 24px 8px 0; }
  .wz-criteria-slide .num { font-size: 48px; }
}

/*--------------------------------------------------------------
# Process Chain — horizontal connected-step diagram used on CORE
---------------------------------------------------------------*/
.wz-process-chain {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 20px 0 10px;
  max-width: 100%;
}

.wz-process-chain .chain-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 118px;
  flex-shrink: 0;
}

.wz-process-chain .chain-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 1.5px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--wz-orange);
  font-size: 18px;
  flex-shrink: 0;
}

.wz-process-chain .chain-step h4 {
  font-size: 15px;
  margin: 12px 0 4px;
  color: var(--heading-color);
}

.wz-process-chain .chain-step p {
  font-size: 12px;
  color: var(--default-color);
  margin: 0;
}

.wz-process-chain .chain-line {
  flex: 1 1 auto;
  height: 1.5px;
  background: var(--accent-color);
  opacity: 0.3;
  margin-top: 28px;
  min-width: 16px;
}

/*--------------------------------------------------------------
# Pull-quote — editorial rhythm break, deliberately not a card
---------------------------------------------------------------*/
.wz-pullquote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 20px;
}

.wz-pullquote .rule {
  width: 60px;
  height: 2px;
  background: var(--wz-orange);
  margin: 0 auto 24px;
}

.wz-pullquote p {
  font-family: var(--heading-font);
  font-size: 32px;
  line-height: 1.4;
  color: var(--heading-color);
  margin: 0;
}

.wz-pullquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--default-font);
  font-size: 14px;
  font-style: normal;
  color: var(--default-color);
}

@media (max-width: 575px) {
  .wz-pullquote p { font-size: 22px; }
}

/*--------------------------------------------------------------
# Custom line-art illustrations (placeholder for real photography)
---------------------------------------------------------------*/
.wz-illustration {
  width: 100%;
  height: auto;
  display: block;
}

.wz-illustration .stroke {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.wz-illustration .stroke-faint {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 1;
  opacity: 0.25;
}

.wz-illustration .accent {
  fill: none;
  stroke: var(--wz-orange);
  stroke-width: 2.5;
}

.wz-illustration .accent-dot {
  fill: var(--wz-orange);
}

.wz-icon-line {
  width: 44px;
  height: 44px;
}

/* Small labeled-node marks used inside .wz-illustration SVGs (e.g. NRI's overseas/India diagram) */
.wz-node-circle {
  fill: var(--surface-color);
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.wz-node-label {
  fill: var(--heading-color);
  font-family: var(--nav-font);
  font-weight: 500;
  text-anchor: middle;
}

/*--------------------------------------------------------------
# Team photos — force a consistent crop regardless of the source
# photo's native aspect ratio (real headshots vary; Axis's default
# width:100%/height:auto assumed uniform stock-photo dimensions)
---------------------------------------------------------------*/
.team .team-member .member-img {
  aspect-ratio: 1 / 1;
}

.team .team-member .member-img img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/*--------------------------------------------------------------
# Logo — header icon + footer lockup
---------------------------------------------------------------*/
.header .logo img {
  max-height: 84px;
  width: auto;
  margin-right: 0;
}

@media (max-width: 575px) {
  .header .logo img { max-height: 68px; }
}

.footer-about .logo img {
  max-height: 130px;
  width: auto;
  margin-bottom: 4px;
}

/*--------------------------------------------------------------
# Real photography sections (hero photo, feature photos)
---------------------------------------------------------------*/
.wz-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
}

.wz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reserved for full-width single banner photos (e.g. CORE's land shot) — a wider, shorter crop than the default card ratio */
.wz-photo.wz-photo-tall { aspect-ratio: 16 / 9; }

/* NRI "local judgement" photo — crop to the clean left portion, avoids debris on the right edge of the source image */
.wz-photo-nri img {
  object-position: 20% center;
}

/*--------------------------------------------------------------
# Developer logos marquee (Home)
---------------------------------------------------------------*/
.wz-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.wz-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: wz-marquee-scroll 52s linear infinite;
}

.wz-marquee:hover .wz-marquee-track {
  animation-play-state: paused;
}

.wz-marquee-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.3s, filter 0.3s;
}

.wz-marquee-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes wz-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/*--------------------------------------------------------------
# Testimonial cards (text-based, simple/generic placeholders)
---------------------------------------------------------------*/
.wz-testimonial p {
  font-family: var(--heading-font);
  font-size: 17px;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.wz-testimonial cite {
  display: block;
  font-family: var(--default-font);
  font-style: normal;
  font-size: 13px;
  color: var(--default-color);
}

.wz-video-testimonial {
  background: var(--surface-color);
  border: 1px solid rgba(28, 43, 57, 0.08);
  border-radius: 6px;
  padding: 16px;
}

.wz-video-testimonial video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
  display: block;
}

.wz-video-testimonial cite {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-style: normal;
  font-size: 13px;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Long-form legal page copy (Privacy / Terms / Disclaimer)
---------------------------------------------------------------*/
.wz-legal-content {
  max-width: 760px;
}

.wz-legal-content .wz-legal-meta {
  color: var(--default-color);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 24px;
}

.wz-legal-content h3 {
  color: var(--heading-color);
  font-size: 19px;
  margin-top: 36px;
  margin-bottom: 10px;
}

.wz-legal-content p,
.wz-legal-content ul.wz-list {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.75;
  list-style: disc;
  padding-left: 20px;
}

.wz-legal-content ul.wz-list li {
  padding-left: 4px;
  margin-bottom: 8px;
}

.wz-legal-content ul.wz-list li::before {
  content: none;
}

/*--------------------------------------------------------------
# Heading accent — short colored underline under every section's
# eyebrow subtitle, sitewide, for more consistent brand-color presence
---------------------------------------------------------------*/
.section-title .subtitle {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--wz-orange);
  border-radius: 2px;
}

/*--------------------------------------------------------------
# Left-aligned eyebrow label — for two-column teaser sections that
# aren't wrapped in Axis's centered .section-title (e.g. CORE/NRI
# teasers on Home), since Axis's .subtitle styling is scoped there.
---------------------------------------------------------------*/
.wz-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wz-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# "Why Wyizeman" feature items (Identify / Evaluate / Facilitate) —
# Axis's own .feature-item/.icon-wrapper styling only applies under
# .why-us, but this content lives under #about, so it rendered as
# plain text. Scoped fix below, independent of Axis's scoping.
---------------------------------------------------------------*/
#about .feature-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface-color);
  border-radius: 10px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(28, 43, 57, 0.06);
}

#about .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px -8px rgba(28, 43, 57, 0.18);
}

#about .icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wz-orange);
  color: #ffffff;
  font-size: 26px;
}

#about .col-lg-4:nth-child(2) .icon-wrapper {
  background: var(--accent-color);
}

#about .feature-content h3 {
  color: var(--wz-orange);
  font-size: 20px;
  margin-bottom: 10px;
}

#about .col-lg-4:nth-child(2) .feature-content h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# "Our Discipline" principle cards — center-aligned, orange headings
# (scoped to #why-us only, doesn't affect .wz-card elsewhere)
---------------------------------------------------------------*/
#why-us .wz-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#why-us .wz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px -8px rgba(28, 43, 57, 0.18);
  border-color: var(--accent-color);
}

#why-us .wz-card h3 {
  color: var(--wz-orange);
}

/*--------------------------------------------------------------
# "Access" cards (Curated Real Estate / CORE by Wyizeman) —
# top accent bar + hover lift, so they're not just plain text blocks
---------------------------------------------------------------*/
.wz-access-card {
  position: relative;
  border-top: 4px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wz-access-card-orange { border-top-color: var(--wz-orange); }
.wz-access-card-blue { border-top-color: var(--accent-color); }

.wz-access-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(28, 43, 57, 0.2);
}

/* The underlying Axis .service-item::before hover bar is always accent-color (blue);
   on the card whose default top border is already blue, override it to orange on hover
   so the hover state isn't redundant with the static state. */
.wz-access-card-blue::before {
  background: linear-gradient(90deg, var(--wz-orange), color-mix(in srgb, var(--wz-orange), var(--heading-color) 30%)) !important;
}

/* Access photos: grayscale by default, full color on card hover */
.wz-access-card .wz-photo img {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.wz-access-card:hover .wz-photo img {
  filter: grayscale(0%);
}

/*--------------------------------------------------------------
# "Focus Areas" (Investment Focus) icons — turn orange on hover
# (scoped to #portfolio only; Access section icons keep default blue)
---------------------------------------------------------------*/
#portfolio .service-item:hover .service-icon {
  background: linear-gradient(135deg, var(--wz-orange), color-mix(in srgb, var(--wz-orange), var(--heading-color) 20%));
}
