/* ==========================================================================
   About Us Dedicated Stylesheet (about-us.css)
   Effective Desk — Institutional Corporate Advisory
   (Full Cross-Device Responsive Layer: Desktop, Tablet & Mobile)
   ========================================================================== */

/* Balanced Section Spacing */
.about-page .section {
  padding: 68px 0;
}

.about-page .section-header {
  margin-bottom: 40px;
}

/* Inverse Gradient Heading Text */
.about-page .gradient-text-inverse,
.about-page .text-gradient-inverse {
  background: linear-gradient(135deg, #39C6F4 0%, #007bbd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  font-weight: inherit;
}

.about-hero .gradient-text-inverse,
.about-hero .text-gradient-inverse {
  background: linear-gradient(135deg, #39C6F4 0%, #00A9DD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 1. Lively Hero Section */
.about-hero {
  background-color: var(--color-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(57, 198, 244, 0.22) 0%, rgba(2, 22, 43, 0.98) 70%);
  color: #ffffff;
  padding: 56px 0 64px 0;
  position: relative;
  overflow: hidden;
}

/* Cityscape Ambient Layer */
.about-hero-cityscape-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0.24;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 0;
}

/* Watermark Brandmark (Tilted & Animated) */
.about-hero-brandmark-watermark {
  position: absolute;
  top: -15px;
  right: 25px;
  width: 420px;
  height: 420px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  transform: rotate(18deg);
  animation: floatBrandmark 6s ease-in-out infinite;
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(57, 198, 244, 0.3));
}

.about-hero-container {
  position: relative;
  z-index: 1;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-hero .breadcrumbs {
  margin-bottom: 18px;
}

.about-hero .hero-trust-badge {
  align-self: flex-start;
  display: inline-flex;
  width: auto;
  max-width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 5px 14px;
  margin-top: 0;
  margin-bottom: 24px;
  background: rgba(2, 22, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 9999px;
  box-shadow: none;
}

.about-hero .trust-text {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.about-hero .subpage-hero-title {
  font-size: 40px;
  line-height: 48px;
  margin-top: 6px;
  margin-bottom: 20px;
}

.about-hero .subpage-hero-subtitle {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 580px;
}

/* Hero Media Visual Showcase */
.about-hero-media-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-main-photo {
  width: 100%;
  height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 48px rgba(1, 18, 36, 0.50);
}

.about-hero-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-inset-photo {
  position: absolute;
  bottom: -18px;
  right: -14px;
  width: 185px;
  height: 135px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid #04284d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.40);
}

.about-hero-inset-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-stat-card {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(1, 18, 36, 0.25);
  z-index: 2;
}

.about-hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 169, 221, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.about-hero-stat-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-10deg);
}

.about-hero-stat-title {
  display: block;
  color: var(--color-dark);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 18px;
}

.about-hero-stat-desc {
  display: block;
  font-size: 11.5px;
  color: var(--color-dark-muted);
  font-weight: 500;
  line-height: 16px;
}

/* 2. Company Story Split Grid (Balanced Height) */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}

.about-story-content {
  display: flex;
  flex-direction: column;
}

.about-story-lead {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: var(--color-dark);
  margin: 14px 0 14px 0;
}

.about-story-body {
  font-size: 15px;
  color: var(--color-dark-muted);
  line-height: 25px;
  margin-bottom: 16px;
}

/* Story Right Multi-Photo Gallery Showcase */
.about-story-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.story-gallery-main {
  width: 100%;
  height: 270px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 36px rgba(4, 40, 77, 0.08);
}

.story-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-gallery-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-gallery-sub-photo {
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(4, 40, 77, 0.06);
}

.story-gallery-sub-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-gallery-badge {
  position: absolute;
  bottom: -14px;
  left: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(1, 18, 36, 0.16);
  z-index: 2;
}

.story-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(0, 169, 221, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
}

.story-badge-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-10deg);
}

.story-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.story-badge-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 17px;
}

.story-badge-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 14px;
}

/* 3. Practice Areas Grid */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.practice-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition-fast);
  position: relative;
}

.practice-card:hover {
  border-color: var(--color-blue);
}

.practice-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.practice-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 169, 221, 0.08);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.practice-card:hover .practice-icon {
  background: rgba(0, 169, 221, 0.15);
  color: var(--color-blue);
}

.practice-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  color: var(--color-dark);
  margin-bottom: 0;
}

.practice-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 23px;
  color: var(--color-dark-muted);
}

/* 4. Leadership Team Grid */
.leadership-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.leader-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast);
}

.leader-card:hover {
  border-color: var(--color-blue);
}

.leader-thumb {
  width: 100%;
  height: 240px;
  background-color: #04284d;
  overflow: hidden;
  position: relative;
}

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

.leader-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
  color: var(--color-dark);
}

.leader-role {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 18px;
  color: var(--color-blue);
}

.leader-bio {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 21px;
  color: var(--color-dark-muted);
  margin-top: 4px;
}

/* 5. Operational Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--color-blue);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  background: rgba(0, 169, 221, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  color: var(--color-dark);
}

.pillar-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 23px;
  color: var(--color-dark-muted);
}

/* 6. Credentials & Accreditations (Section Navy) */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.accred-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.accred-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(57, 198, 244, 0.6);
}

.accred-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(57, 198, 244, 0.15);
  color: #39C6F4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accred-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 23px;
  color: #ffffff;
}

.accred-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.75);
}

/* 7. Trust Proof Grid */
.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.trust-proof-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition-fast);
  border-top: 3.5px solid var(--color-blue);
}

.trust-proof-card:hover {
  border-color: var(--color-blue);
}

.trust-proof-metric {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 38px;
  color: var(--color-dark);
}

.trust-proof-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: var(--color-blue);
}

.trust-proof-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 21px;
  color: var(--color-dark-muted);
}

/* ==========================================================================
   Responsive Breakpoint Rules (Tablet, Mobile & Small Devices)
   ========================================================================== */

/* Tablet Landscape / Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .about-page .section {
    padding: 56px 0;
  }
  
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .about-hero-main-photo {
    height: 280px;
  }
  
  .about-hero-brandmark-watermark {
    width: 280px;
    height: 280px;
    top: -10px;
    right: 10px;
  }
  
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .story-gallery-main {
    height: 250px;
  }
  
  .story-gallery-sub-photo {
    height: 150px;
  }
  
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .leadership-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .accred-grid,
  .trust-proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Tablet Portrait & Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
  .about-page .section {
    padding: 44px 0;
  }
  
  .about-page .section-header {
    margin-bottom: 28px;
  }
  
  .about-hero {
    padding: 36px 0 44px 0;
  }
  
  .about-hero .subpage-hero-title {
    font-size: 28px;
    line-height: 36px;
    margin-top: 4px;
    margin-bottom: 14px;
  }
  
  .about-hero .subpage-hero-subtitle {
    font-size: 14.5px;
    line-height: 23px;
    margin-bottom: 22px;
  }
  
  .about-hero .hero-trust-badge {
    padding: 4px 12px;
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .about-hero .trust-text {
    font-size: 12px;
  }
  
  .about-hero .mainland-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-bottom: 32px;
  }
  
  .about-hero .mainland-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
  }
  
  .about-hero-media-wrap {
    display: none;
  }
  
  .about-hero-brandmark-watermark {
    width: 200px;
    height: 200px;
    opacity: 0.10;
  }
  
  .about-story-gallery {
    gap: 12px;
  }
  
  .story-gallery-main {
    height: 210px;
  }
  
  .story-gallery-sub-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .story-gallery-sub-photo {
    height: 130px;
  }
  
  .story-gallery-badge {
    position: static;
    margin-top: 10px;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
  
  .practice-card {
    padding: 22px 18px;
    gap: 10px;
  }
  
  .practice-title {
    font-size: 16.5px;
    line-height: 22px;
  }
  
  .practice-desc {
    font-size: 13.5px;
    line-height: 21px;
  }
  
  .leadership-grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .leader-thumb {
    height: 250px;
  }
  
  .pillar-card {
    padding: 24px 20px;
    gap: 12px;
  }
  
  .pillar-title {
    font-size: 16.5px;
    line-height: 23px;
  }
  
  .accred-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .accred-card {
    padding: 20px 18px;
  }
  
  .trust-proof-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .trust-proof-card {
    padding: 22px 18px;
  }
  
  .trust-proof-metric {
    font-size: 28px;
    line-height: 34px;
  }
}

/* Small Smartphone Devices (max-width: 480px) */
@media (max-width: 480px) {
  .about-hero {
    padding: 30px 0 38px 0;
  }
  
  .about-hero .subpage-hero-title {
    font-size: 24px;
    line-height: 32px;
  }
  
  .about-story-lead {
    font-size: 15px;
    line-height: 24px;
  }
  
  .about-story-body {
    font-size: 14px;
    line-height: 22px;
  }
  
  .story-gallery-main {
    height: 180px;
  }
  
  .story-gallery-sub-photo {
    height: 110px;
  }
  
  .leader-thumb {
    height: 220px;
  }
  
  .leader-body {
    padding: 16px 14px;
  }
}
