/* ============================================================
   MEDHAS LAW — about.css
   About Us page styles — Premium Law Firm
   Builds on shared styles.css design tokens
   ============================================================ */


/* ============================================================
   NAV ACTIVE STATE
   ============================================================ */
.nav-link--active {
  color: var(--gold) !important;
  font-weight: 600;
}

.mobile-nav-link--active {
  color: var(--gold) !important;
  font-weight: 600;
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-fade,
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-fade { transform: translateY(18px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-up { transform: translateY(28px); }

.reveal-fade.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-up.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   A. HERO SECTION
   ============================================================ */
.about-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 31, 58, 0.90) 0%,
    rgba(16, 43, 80, 0.82) 45%,
    rgba(16, 43, 80, 0.60) 100%
  );
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-hero-content {
  max-width: 660px;
}

.about-hero-heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
  margin-top: 10px;
}

.about-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.about-hero-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 580px;
}

.about-hero-flags {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.hero-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4px;
}

.hero-flag-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  display: block;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll cue */
.about-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  animation: bounceDown 1.8s ease-in-out infinite;
}

.about-scroll-cue:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(-50%) translateY(2px);
}

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


/* ============================================================
   B. WHO WE ARE
   ============================================================ */
.about-who {
  background: var(--white);
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-who-img-wrap {
  position: relative;
}

.about-who-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.about-who-accent-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(16, 43, 80, 0.35);
  min-width: 220px;
  border-left: 3px solid var(--gold);
}

.about-who-accent-card .accent-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196, 154, 82, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.about-who-accent-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.about-who-accent-card span {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.about-who-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-who-text > p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.85;
}

.about-who-text .section-heading {
  margin-bottom: 24px;
  margin-top: 10px;
}

.about-who-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 8px;
}

.who-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.highlight-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 154, 82, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}


/* ============================================================
   C. MISSION & VISION
   ============================================================ */
.about-mission {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.about-mission::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 154, 82, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.about-mission::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 70, 142, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.about-mission .section-header {
  position: relative;
  z-index: 1;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.mv-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 4px;
  padding: 44px 40px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.mv-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(196, 154, 82, 0.30);
  transform: translateY(-4px);
}

.mv-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 82, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  background: rgba(196, 154, 82, 0.08);
}

.mv-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.mv-heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.mv-text {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.85;
}


/* ============================================================
   D. CORE VALUES
   ============================================================ */
.about-values {
  background: var(--ivory);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(16, 43, 80, 0.08);
  border: 1px solid rgba(16, 43, 80, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.value-card {
  background: var(--white);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.value-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover .value-icon-wrap {
  background: rgba(196, 154, 82, 0.15);
  border-color: rgba(196, 154, 82, 0.40);
  color: var(--gold);
}

.value-card:hover .value-heading {
  color: var(--white);
}

.value-card:hover .value-text {
  color: rgba(255, 255, 255, 0.70);
}

.value-card:hover .value-number {
  color: rgba(196, 154, 82, 0.15);
}

.value-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(16, 43, 80, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 22px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.value-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
  transition: color var(--transition);
}

.value-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
  transition: color var(--transition);
}

.value-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(16, 43, 80, 0.06);
  line-height: 1;
  margin-top: 24px;
  letter-spacing: -1px;
  transition: color var(--transition);
  font-family: var(--font-serif);
}


/* ============================================================
   E. INTERNATIONAL PRESENCE
   ============================================================ */
.about-intl {
  background: var(--white);
}

.intl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.intl-card {
  border: 1px solid rgba(16, 43, 80, 0.10);
  border-radius: 4px;
  padding: 44px 40px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.intl-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.intl-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(16, 43, 80, 0.08);
}

.intl-flag {
  width: 42px !important;
  height: 28px !important;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.intl-country-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.intl-country-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.intl-desc {
  font-size: 0.95rem;
  line-height: 1.80;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.intl-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 28px;
}

.intl-list li {
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  padding-left: 14px;
  position: relative;
}

.intl-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.intl-offices {
  border-top: 1px solid rgba(16, 43, 80, 0.08);
  padding-top: 20px;
}

.intl-office-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.intl-office-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.intl-office-row svg {
  color: var(--gold);
  flex-shrink: 0;
}


/* ============================================================
   F. OUR APPROACH
   ============================================================ */
.about-approach {
  background: var(--ivory);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.approach-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-number-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
  width: 100%;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(16, 43, 80, 0.25);
  transition: background var(--transition), box-shadow var(--transition);
}

.approach-step:hover .step-number {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(196, 154, 82, 0.35);
}

/* Connector lines between steps */
.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  width: calc(100% - 64px);
  height: 1px;
  background: linear-gradient(to right, rgba(16, 43, 80, 0.25), rgba(196, 154, 82, 0.25));
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 82, 0.30);
  background: rgba(196, 154, 82, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
  transition: background var(--transition), border-color var(--transition);
}

.approach-step:hover .step-icon {
  background: rgba(196, 154, 82, 0.15);
  border-color: var(--gold);
}

.step-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
}


/* ============================================================
   G. CALL TO ACTION
   ============================================================ */
.about-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.about-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 58, 0.94) 0%,
    rgba(16, 43, 80, 0.88) 100%
  );
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-cta-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 12px;
  line-height: 1.2;
}

.about-cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin-bottom: 40px;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}

.about-cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

.cta-contact-item:hover {
  color: var(--gold);
}

.cta-contact-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
}


/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step-connector { display: none; }

  .approach-step:nth-child(1),
  .approach-step:nth-child(2) {
    border-bottom: 1px dashed rgba(16, 43, 80, 0.12);
    padding-bottom: 40px;
  }

  .about-who-img { height: 440px; }
}


/* ============================================================
   RESPONSIVE — Tablet (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .about-hero-content { max-width: 100%; }

  .about-who-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-who-img { height: 360px; }

  .about-who-accent-card {
    position: static;
    margin-top: 16px;
  }

  .about-who-highlights {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .intl-list {
    grid-template-columns: 1fr;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }

  .approach-step {
    border-bottom: 1px dashed rgba(16, 43, 80, 0.12);
    padding-bottom: 36px;
    margin-bottom: 12px;
  }

  .approach-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .about-cta { padding: 72px 0; }
}


/* ============================================================
   RESPONSIVE — Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .about-hero-heading { font-size: 2rem; }
  .about-hero-actions { flex-direction: column; }
  .about-hero-actions .btn { width: 100%; justify-content: center; }

  .about-hero-flags {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-flag-divider { display: none; }

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

  .value-card { padding: 32px 24px; }

  .mv-card { padding: 32px 24px; }

  .intl-card { padding: 32px 24px; }

  .intl-card-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .about-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-cta-contacts {
    flex-direction: column;
    gap: 10px;
  }

  .cta-contact-sep { display: none; }
}
