﻿/* ==========================================================================
   Axis Fintech — About Page Styles
   Shared tokens/reset/navbar/footer → css/global.css
   ========================================================================== */

/* ---------- Page-specific CSS Variables ---------- */
:root {
  --text-hero:    clamp(2.75rem, 5.83vw, 5.25rem);
  --text-h2:      clamp(2rem, 3.33vw, 3rem);
  --text-h3:      clamp(1.5rem, 2.22vw, 2rem);
  --text-body-lg: clamp(1.125rem, 1.67vw, 1.5rem);
  --text-body:    clamp(1rem, 1.39vw, 1.25rem);
  --text-back:    clamp(1.125rem, 1.67vw, 1.5rem);
  --text-scroll:  1.25rem;
  --space-16:  1rem;
  --space-31:  1.9375rem;
  --space-35:  2.1875rem;
  --space-43:  2.6875rem;
  --space-45:  2.8125rem;
  --space-55:  3.4375rem;
  --space-73:  4.5625rem;
  --space-74:  4.625rem;
}

/* ==========================================================================
   HERO / HEADER
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, var(--color-primary-dark) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-43) var(--space-30);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-16);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-back);
  transition: opacity 0.2s;
}

.btn-back:hover,
.btn-back:focus-visible {
  opacity: 0.8;
}

.btn-back__arrow {
  width: 12.5px;
  height: 24px;
  flex-shrink: 0;
}

.hero__heading-block {
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 98px;
  max-width: 720px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-hero);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-45);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.4;
  max-width: 717px;
}

.hero__scroll {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-scroll);
  cursor: pointer;
  transition: opacity 0.2s;
  animation: scrollBounce 2s infinite;
}

.hero__scroll:hover { opacity: 0.8; }

.hero__scroll-arrow {
  width: 24px;
  height: auto;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.main-content {
  position: relative;
  background: var(--color-white);
  width: 100%;
}

.main-content__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

.main-content__decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.main-content__decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
}

.main-content__body {
  position: relative;
  z-index: 2;
  margin-left: 31%;
  padding: 8rem 0;
  max-width: 896px;
}

/* ==========================================================================
   VISION + MISSION
   ========================================================================== */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1.36fr;
  gap: var(--space-74);
  margin-bottom: var(--space-73);
}

.vision-mission__block h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h2);
  color: var(--color-primary);
  margin-bottom: var(--space-34);
  line-height: 1.2;
}

.vision-mission__block p {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.5;
}

.divider {
  width: 100%;
  margin-bottom: var(--space-73);
}

.divider img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   WHO WE ARE
   ========================================================================== */
.who-we-are { max-width: 808px; }

.who-we-are__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h2);
  color: var(--color-primary);
  margin-bottom: var(--space-55);
  line-height: 1.2;
}

.who-we-are__text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.6;
}

.who-we-are__text p { margin-bottom: 1em; }
.who-we-are__text p:last-child { margin-bottom: 0; }

.who-we-are__text ul {
  list-style: disc;
  padding-left: var(--space-30);
  margin-bottom: 1em;
}

.who-we-are__text li {
  margin-bottom: 0.15em;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__heading-block { padding-left: 30px; }
  .main-content__decoration { width: 180px; }
  .main-content__body { margin-left: 20%; padding: 100px 30px 80px 0; }
  .vision-mission { gap: var(--space-35); }
}

/* ==========================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .hero { min-height: 100vh; }
  .hero__heading-block { padding-left: 0; max-width: 100%; }
  .hero__title { margin-bottom: var(--space-30); }
  .hero__scroll { bottom: 50px; }
  .main-content__decoration { display: none; }
  .main-content__body { margin-left: 0; padding: 60px var(--space-30) 60px; }
  .vision-mission { grid-template-columns: 1fr; gap: var(--space-45); margin-bottom: var(--space-45); }
  .divider { margin-bottom: var(--space-45); }
  .who-we-are__title { margin-bottom: var(--space-35); }
}

/* ==========================================================================
   RESPONSIVE — Small mobile (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .hero { min-height: 100vh; }
  .hero__content { padding: var(--space-30) var(--space-16); }
  .navbar__inner { padding: var(--space-16); }
  .main-content__body { padding: 40px var(--space-16) 40px; }
}
