/* =========================================================
   ABOUT PAGE ADDITIONS
   Ovaj fajl ide NAKON tvog glavnog style.css fajla.
========================================================= */

.about-hero {
  min-height: 100vh;
}

.about-hero .hero-content {
  max-width: 68rem;
}

.about-hero .hero-title {
  font-size: clamp(3rem, 8.5vw, 6.5rem);
}

.about-hero .hero-text strong {
  color: #fff;
  font-weight: 600;
}

/* INTRO */
.about-intro {
  padding: 8rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 5rem;
}

.about-label {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.about-label span,
.about-section-tag {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-label p {
  margin: 0;
}

.about-intro-content h2,
.process-heading h2,
.about-company h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 60rem;
}

.about-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.about-copy-grid p,
.company-content > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* STATS */
.about-stats {
  padding: 0 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card {
  min-height: 14rem;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

/* MISSION */
.about-mission {
  padding: 8rem 1.5rem;
}

.mission-card {
  position: relative;
  overflow: hidden;
  padding: 5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent);
}

.mission-card::after {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -8rem;
  bottom: -8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.mission-tag {
  display: inline-block;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mission-card h2 {
  max-width: 58rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.mission-card p {
  max-width: 42rem;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* VALUES */
.about-values {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-values .about-section-tag {
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-values .feature-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
}

.about-values .feature-card p {
  line-height: 1.75;
}

.about-values .feature-card .icon {
  margin-bottom: auto;
}

/* PROCESS */
.about-process {
  padding: 8rem 1.5rem;
}

.process-heading {
  margin-bottom: 5rem;
}

.process-heading .about-section-tag {
  display: block;
  margin-bottom: 1.5rem;
}

.process-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-item {
  display: grid;
  grid-template-columns: 5rem 0.8fr 1.3fr;
  gap: 2rem;
  align-items: center;
  min-height: 9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.35s;
}

.process-item:hover {
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.process-number {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.process-item h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.process-item p {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* COMPANY */
.about-company {
  padding: 8rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
}

.about-company .about-section-tag {
  display: block;
  margin-bottom: 1.5rem;
}

.company-content strong {
  color: #fff;
}

.company-details {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.company-details strong {
  font-size: 0.95rem;
}

/* CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07), transparent 30%),
    rgba(255, 255, 255, 0.02);
}

.cta-panel::after {
  content: '';
  position: absolute;
  left: -7rem;
  bottom: -10rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.cta-panel .about-section-tag {
  position: relative;
  z-index: 2;
}

.cta-panel .cta-flex {
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .about-intro-grid,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-item {
    grid-template-columns: 4rem 1fr;
    padding: 2rem 0;
  }

  .process-item p {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }

  .about-hero .hero-title {
    font-size: clamp(2.8rem, 13vw, 4.7rem);
  }

  .about-intro,
  .about-mission,
  .about-process,
  .about-company {
    padding: 6rem 1.5rem;
  }

  .about-copy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .mission-card,
  .cta-panel {
    padding: 2.5rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    min-height: 11rem;
    padding: 1.5rem;
  }

  .process-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .company-details > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-hero .hero-btns {
    flex-direction: column;
  }

  .about-hero .btn-white,
  .about-hero .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* FINAL HEADER / LOADING / FOOTER FIXES */

.loading-wordmark {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  margin-bottom: 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-left > a {
  display: inline-flex;
  align-items: center;
}

.nav-left .logo {
  display: block;
}

.velarivo-footer-grid {
  grid-template-columns: 1.15fr 1fr 1fr 0.55fr;
  align-items: start;
}

.footer-brand-block {
  padding-right: 2rem;
}

.footer-wordmark {
  display: inline-block !important;
  margin-bottom: 1.1rem !important;
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem !important;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.06em;
  color: #fff !important;
  text-transform: lowercase;
}

.footer-brand-block p {
  max-width: 18rem;
  line-height: 1.65;
}

.footer h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

@media (max-width: 900px) {
  .velarivo-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .velarivo-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    padding-right: 0;
  }
}

/* =========================================================
   MOBILE BUTTON ARROW + FINAL CTA FIX
========================================================= */

/* SVG arrow keeps the same shape on every browser and device */
.button-arrow {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  display: block;
  overflow: visible;
  transition: transform 0.3s ease;
}

.button-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.btn-white:hover .button-arrow,
.btn-outline-lg:hover .button-arrow {
  transform: translate(3px, -3px);
}

/* Keep both button contents aligned on every device */
.btn-white,
.btn-outline-lg {
  align-items: center;
  justify-content: center;
}

/* More controlled final CTA proportions */
.cta-panel .cta-flex {
  align-items: center;
}

.cta-panel .cta-flex > div {
  min-width: 0;
  flex: 1 1 34rem;
}

.cta-project-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Tablet and mobile */
@media (max-width: 768px) {
  .cta {
    padding: 5rem 1rem;
  }

  .cta .container {
    padding-left: 0;
    padding-right: 0;
  }

  .cta-panel {
    width: 100%;
    padding: 2.5rem 1.35rem;
    border-radius: 0.85rem;
  }

  .cta-panel .cta-flex {
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .cta-panel .cta-flex > div {
    width: 100%;
    flex: none;
  }

  .cta-panel h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, 10vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  .cta-panel p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .cta-project-btn {
    width: 100%;
    min-height: 3.5rem;
    padding: 0.95rem 1.25rem;
    display: inline-flex;
    white-space: normal;
    text-align: center;
  }

  .cta-panel::after {
    width: 14rem;
    height: 14rem;
    left: -7rem;
    bottom: -9rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .about-hero .hero-btns {
    width: 100%;
    gap: 0.8rem;
  }

  .about-hero .btn-white,
  .about-hero .btn-outline {
    min-height: 3.4rem;
    padding: 0.9rem 1.15rem;
  }

  .cta {
    padding: 4rem 0.75rem;
  }

  .cta-panel {
    padding: 2rem 1rem;
  }

  .cta-panel .about-section-tag {
    display: block;
    line-height: 1.5;
  }

  .cta-panel .cta-flex {
    padding-top: 2rem;
    gap: 1.5rem;
  }

  .cta-panel h2 {
    font-size: clamp(2rem, 11vw, 2.9rem);
  }

  .cta-project-btn {
    font-size: 1rem;
  }
}

/* Stable button spacing for inline SVG arrows */
.btn-white,
.btn-outline-lg {
  gap: 0.65rem;
}

@media (max-width: 480px) {
  .button-arrow {
    width: 0.95rem;
    height: 0.95rem;
    flex-basis: 0.95rem;
  }
}
