/* ===================================
   ABOUT PAGE - PREMIUM NAVY / LIGHT THEME
   Based on uploaded about.html structure
   =================================== */

/* ---------- ROOT ---------- */
:root {
  --navy-900: #123d6a;
  --navy-850: #173f6a;
  --navy-800: #1b4a7c;
  --navy-700: #285987;

  --light-bg: #eef3f8;
  --card-bg: #f8fafc;
  --white: #ffffff;

  --text-dark: #26486d;
  --text-main: #35597e;
  --text-soft: #7087a0;
  --text-white-soft: rgba(255, 255, 255, 0.82);

  --border-soft: rgba(22, 63, 106, 0.08);
  --border-white: rgba(255, 255, 255, 0.16);

  --shadow-sm: 0 8px 20px rgba(8, 28, 52, 0.08);
  --shadow-md: 0 14px 34px rgba(8, 28, 52, 0.12);
  --shadow-lg: 0 22px 50px rgba(8, 28, 52, 0.18);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --transition-fast: 0.3s ease;
  --transition-smooth: 0.45s ease;
}

/* ---------- PAGE WRAPPER ---------- */
.about-content {
  background: var(--light-bg);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

/* ---------- BADGE ---------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1;
  transition: all var(--transition-fast);
}

.center-badge {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- HEADER ---------- */
.about-header {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 110px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 25%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 100%);
}

.about-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.22;
  pointer-events: none;
}

.about-header-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  animation: fadeUp 0.9s ease;
}

.about-header .section-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-white);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
}

.about-header .section-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.about-header h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  line-height: 1.12;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.about-header .subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-white-soft);
}

/* ---------- STORY SECTION ---------- */
.story-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.story-image {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: fadeLeft 0.9s ease;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.26), transparent 52%);
  pointer-events: none;
}

.story-image:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.story-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.8s ease;
}

.story-image:hover img {
  transform: scale(1.03);
}

.story-content {
  color: var(--text-main);
  animation: fadeRight 0.9s ease;
}

.story-content .section-badge {
  background: rgba(22, 63, 106, 0.06);
  border: 1px solid rgba(22, 63, 106, 0.12);
  color: var(--navy-700);
  margin-bottom: 16px;
}

.story-content h2 {
  margin: 0 0 18px;
  color: var(--text-dark);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.story-content p {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.85;
}

/* ---------- HIGHLIGHTS ---------- */
.story-highlights {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.highlight {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border: 1px solid rgba(22, 63, 106, 0.10);
  border-radius: 14px;
  padding: 18px 14px;
  box-shadow: 0 10px 24px rgba(8, 28, 52, 0.07);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 89, 135, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.highlight:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 89, 135, 0.18);
}

.highlight:hover::before {
  opacity: 1;
}

.highlight-number {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
}

.highlight-label {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ---------- GENERIC SECTION TITLES ---------- */
.mvv-section,
.team-highlight-section {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.045), transparent 24%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 100%);
}

.values-section {
  background: var(--light-bg);
}

.mvv-section,
.values-section,
.team-highlight-section {
  padding: 78px 20px;
}

.mvv-section .section-badge,
.team-highlight-section .section-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-white);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}

.values-section .section-badge {
  background: rgba(22, 63, 106, 0.06);
  border: 1px solid rgba(22, 63, 106, 0.12);
  color: var(--navy-700);
  margin-bottom: 16px;
}

.mvv-section h2,
.team-highlight-section h2,
.values-section h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mvv-section h2,
.team-highlight-section h2 {
  color: #ffffff;
}

.values-section h2 {
  color: var(--text-dark);
}

/* ---------- MVV GRID ---------- */
.mvv-grid {
  max-width: 920px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mvv-card {
  background: #f8fafc;
  border: 1px solid rgba(22, 63, 106, 0.08);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(8, 28, 52, 0.10);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease;
}

.mvv-card:nth-child(2) { animation-delay: 0.1s; }
.mvv-card:nth-child(3) { animation-delay: 0.2s; }

.mvv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 89, 135, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(40, 89, 135, 0.16);
}

.mvv-card:hover::before {
  opacity: 1;
}

.mvv-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(27, 74, 124, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  z-index: 1;
}

.mvv-card:hover .mvv-card-icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 24px rgba(27, 74, 124, 0.28);
}

.mvv-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 700;
}

.mvv-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* ---------- SERVICES / VALUES ---------- */
.values-grid {
  max-width: 980px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-item {
  background: #ffffff;
  border: 1px solid rgba(22, 63, 106, 0.08);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(8, 28, 52, 0.08);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
  animation: popIn 0.7s ease;
}

.value-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 89, 135, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.value-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 89, 135, 0.16);
}

.value-item:hover::before {
  opacity: 1;
}

.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(27, 74, 124, 0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  z-index: 1;
}

.value-item:hover .value-icon {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 10px 22px rgba(27, 74, 124, 0.24);
}

.value-item h4 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.value-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ---------- CTA ---------- */
.team-highlight-section {
  text-align: center;
}

.team-highlight-section > .section-badge,
.team-highlight-section > h2,
.team-highlight-section > p,
.team-highlight-section > a,
.team-highlight-section > .btn-group {
  position: relative;
  z-index: 2;
}

.team-highlight-section {
  position: relative;
}

.team-highlight-section::before,
.team-highlight-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.team-highlight-section::before {
  width: 118px;
  height: 118px;
  left: calc(50% - 260px);
  bottom: 18px;
}

.team-highlight-section::after {
  width: 156px;
  height: 156px;
  right: calc(50% - 280px);
  top: 30px;
}

.team-highlight-section h2 {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.team-highlight-section p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: var(--text-white-soft);
  line-height: 1.8;
  font-size: 1rem;
}

.team-highlight-section .btn,
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.team-highlight-section .btn.btn-primary,
.btn.btn-primary {
  background: #ffffff;
  color: var(--navy-850);
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.10);
}

.team-highlight-section .btn.btn-primary:hover,
.btn.btn-primary:hover {
  transform: translateY(-3px);
  background: #eff5fb;
  box-shadow: 0 14px 28px rgba(8, 28, 52, 0.18);
}

.team-highlight-section .btn.btn-outline,
.team-highlight-section .secondary-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.team-highlight-section .btn.btn-outline:hover,
.team-highlight-section .secondary-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.82);
}

.team-highlight-section .btn-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- OPTIONAL CTA INNER BOX ---------- */
.team-highlight-section .cta-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(29, 75, 125, 0.72), rgba(23, 63, 106, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.team-highlight-section .cta-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(5, 22, 44, 0.18);
}

.team-highlight-section .cta-inner::before,
.team-highlight-section .cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.team-highlight-section .cta-inner::before {
  width: 132px;
  height: 132px;
  right: -28px;
  top: -28px;
}

.team-highlight-section .cta-inner::after {
  width: 92px;
  height: 92px;
  left: -18px;
  bottom: -18px;
}

/* ---------- ACCESSIBLE FOCUS ---------- */
.about-header a:focus-visible,
.about-content a:focus-visible,
.about-content button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.55);
  outline-offset: 3px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .story-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .mvv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-header {
    min-height: 360px;
    padding: 88px 18px 70px;
  }

  .story-section,
  .mvv-section,
  .values-section,
  .team-highlight-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-section,
  .mvv-section,
  .values-section,
  .team-highlight-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .mvv-grid,
  .values-grid,
  .story-highlights {
    grid-template-columns: 1fr;
  }

  .team-highlight-section::before,
  .team-highlight-section::after {
    display: none;
  }

  .team-highlight-section .cta-inner {
    padding: 34px 18px;
  }
}

@media (max-width: 480px) {
  .about-header h1,
  .mvv-section h2,
  .values-section h2,
  .team-highlight-section h2,
  .story-content h2 {
    font-size: 1.9rem;
  }

  .story-image {
    padding: 12px;
  }

  .story-image img {
    min-height: 220px;
  }
}
/* =========================
   ABOUT HEADER FULL STYLE
   ========================= */

.about-header {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 110px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: linear-gradient(180deg, #123d6a 0%, #173f6a 100%);
}

/* grid overlay (optional premium effect) */
.about-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

/* content */
.about-header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeUp 0.8s ease;
}

/* badge */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);

  margin-bottom: 18px;
}

/* title */
.about-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.15;
}

/* subtitle */
.about-header .subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.8;
}

/* =========================
   BUBBLES
   ========================= */

.hero-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  z-index: 1;
}

/* big bubble right */
.bubble-1 {
  width: 230px;
  height: 230px;
  top: 40px;
  right: 120px;
  animation: floatBubble 7s ease-in-out infinite;
}

/* medium bottom left */
.bubble-2 {
  width: 150px;
  height: 150px;
  left: 80px;
  bottom: 30px;
  animation: floatBubble 9s ease-in-out infinite reverse;
}

/* small bubble */
.bubble-3 {
  width: 60px;
  height: 60px;
  top: 120px;
  right: 350px;
  animation: floatBubble 6s ease-in-out infinite;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes floatBubble {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .about-header {
    padding: 90px 20px 70px;
    min-height: 320px;
  }

  .bubble-1 {
    width: 150px;
    height: 150px;
    right: 20px;
  }

  .bubble-2 {
    width: 90px;
    height: 90px;
    left: 10px;
  }

  .bubble-3 {
    display: none;
  }
}