/* ================= MISSION & VISION CARDS ================= */
* { box-sizing: border-box; }
body { margin: 0; }

.mvc {
  --red: #e3121b;
  --red-dark: #a80c12;
  --blue: #1f45c4;
  --blue-dark: #12297c;
  --navy: #1a2c8c;
  --text: #1b2a6b;
  padding: 70px 2%;
  font-family: "Inter", Arial, sans-serif;
  background: linear-gradient(180deg, #f3f6fb 0%, #e9eef7 100%);
  overflow: hidden;
}

.mvc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1900px;
  margin: 0 auto;
}

/* ---------- Card ---------- */
.mvc__card {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 41, 124, 0.12), 0 2px 6px rgba(18, 41, 124, 0.06);
  isolation: isolate;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.mvc__card--vision { transition-delay: 0.2s; }
.mvc__card.is-visible { opacity: 1; transform: none; }
.mvc__card.is-visible:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(18, 41, 124, 0.2), 0 2px 6px rgba(18, 41, 124, 0.06);
  transition-delay: 0s;
}

/* ---------- Photo on the right, fading into white ---------- */
.mvc__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
  z-index: -1;
}
.mvc__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transform: scale(1.12);
  transition: transform 1.6s cubic-bezier(.2,.8,.2,1);
}
.mvc__card.is-visible .mvc__photo img { transform: scale(1); }
.mvc__card.is-visible:hover .mvc__photo img { transform: scale(1.08); }

/* white fade on the left of the photo */
.mvc__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, #fff 14%, rgba(255,255,255,0.75) 32%, rgba(255,255,255,0) 60%);
}
/* light sweep across the photo */
.mvc__photo::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: 2;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: mvcSweep 6s ease-in-out 2s infinite;
}

/* ---------- Ribbon tag ---------- */
.mvc__ribbon {
  position: absolute;
  top: -16px;
  left: 34px;
  width: 150px;
  height: 196px;
  display: flex;
  justify-content: center;
  padding-top: 42px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 14% 100%, 14% 93%, 0 89%);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.2));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(.2,1.2,.4,1) 0.35s;
}
.mvc__card--vision .mvc__ribbon { transition-delay: 0.55s; }
.mvc__card.is-visible .mvc__ribbon { transform: scaleY(1); }

.mvc__ribbon--red  { background: linear-gradient(160deg, #ff2a2a 0%, var(--red) 45%, #c40d15 100%); }
.mvc__ribbon--blue { background: linear-gradient(160deg, #2f5be0 0%, var(--blue) 45%, #1a38a8 100%); }

/* folded top edge */
.mvc__ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: rgba(0,0,0,0.25);
}
/* darker fold at the bottom-left tail */
.mvc__ribbon::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14%;
  height: 22%;
  background: rgba(0,0,0,0.3);
}

.mvc__ribbon svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: #fff;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s ease;
}
.mvc__ribbon svg .mvc__fill { fill: #fff; }
.mvc__ribbon svg circle,
.mvc__ribbon svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s ease 0.9s;
}
.mvc__card--vision .mvc__ribbon svg circle,
.mvc__card--vision .mvc__ribbon svg path { transition-delay: 1.1s; }
.mvc__card.is-visible .mvc__ribbon svg circle,
.mvc__card.is-visible .mvc__ribbon svg path { stroke-dashoffset: 0; }
.mvc__card:hover .mvc__ribbon svg { transform: scale(1.1) rotate(-6deg); }

/* ---------- Text ---------- */
.mvc__body {
  position: relative;
  padding: 46px 35% 46px 222px;
}

.mvc__title {
  margin: 0 0 8px;
  font-size: clamp(30px, 2.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}
.mvc__title span { color: var(--red); }

.mvc__sub {
  margin: 0 0 16px;
  font-size: clamp(20px, 1.75vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #142b85;
  white-space: nowrap;
}

.mvc__body p {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.15vw, 21px);
  line-height: 1.5;
  color: var(--text);
}

.mvc__bar {
  display: block;
  width: 0;
  height: 8px;
  border-radius: 8px;
  background: var(--red);
  transition: width 0.9s ease 1.2s;
}
.mvc__card.is-visible .mvc__bar { width: 100px; }
.mvc__card.is-visible:hover .mvc__bar { width: 150px; transition-delay: 0s; }

/* text lines fade up */
.mvc__body > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.mvc__body > .mvc__bar { opacity: 1; transform: none; }
.mvc__card.is-visible .mvc__body > * { opacity: 1; transform: none; }
.mvc__card.is-visible .mvc__body > *:nth-child(1) { transition-delay: 0.5s; }
.mvc__card.is-visible .mvc__body > *:nth-child(2) { transition-delay: 0.65s; }
.mvc__card.is-visible .mvc__body > *:nth-child(3) { transition-delay: 0.8s; }
.mvc__card--vision.is-visible .mvc__body > *:nth-child(1) { transition-delay: 0.7s; }
.mvc__card--vision.is-visible .mvc__body > *:nth-child(2) { transition-delay: 0.85s; }
.mvc__card--vision.is-visible .mvc__body > *:nth-child(3) { transition-delay: 1s; }

/* ---------- Keyframes ---------- */
@keyframes mvcSweep { 0% { left: -60%; } 40%, 100% { left: 140%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .mvc__ribbon { width: 120px; height: 160px; left: 26px; padding-top: 36px; }
  .mvc__ribbon svg { width: 72px; height: 72px; }
  .mvc__body { padding: 40px 34% 40px 178px; }
  .mvc__sub { white-space: normal; }
}

@media (max-width: 1100px) {
  .mvc__grid { grid-template-columns: 1fr; max-width: 900px; }
}

@media (max-width: 640px) {
  .mvc { padding: 50px 16px; }
  .mvc__grid { gap: 50px; }
  .mvc__card { min-height: 0; }
  .mvc__photo {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 20px 20px 0 0;
  }
  .mvc__photo img { object-position: center; }
  .mvc__photo::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 45%); }
  .mvc__ribbon { width: 92px; height: 124px; left: 20px; padding-top: 30px; }
  .mvc__ribbon svg { width: 54px; height: 54px; }
  .mvc__body { padding: 10px 24px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .mvc *, .mvc *::before, .mvc *::after { animation: none !important; transition: none !important; }
  .mvc__card, .mvc__body > * { opacity: 1 !important; transform: none !important; }
  .mvc__ribbon { transform: none; }
  .mvc__ribbon svg circle, .mvc__ribbon svg path { stroke-dashoffset: 0; }
  .mvc__bar { width: 100px; }
}
/* ================= END MISSION & VISION CARDS ================= */

/* ================= DECORATION: dots, rings and floating shapes ================= */
.mvc__card { --acc: #e3121b; --acc-soft: rgba(227,18,27,.14); }
.mvc__card--vision { --acc: #1f45c4; --acc-soft: rgba(31,69,196,.14); }

.mvc__deco {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.mvc__body { z-index: 1; }

/* dot grid in the bottom-left corner */
.mvc__dots {
  position: absolute;
  left: 26px;
  bottom: 24px;
  width: 150px;
  height: 120px;
  background-image: radial-gradient(circle, var(--acc) 2.6px, transparent 3px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(45deg, #000 20%, transparent 85%);
          mask-image: linear-gradient(45deg, #000 20%, transparent 85%);
  opacity: 0;
  transform: translate(-20px, 20px);
  transition: opacity 1s ease .6s, transform 1s cubic-bezier(.2,.8,.2,1) .6s;
}
.mvc__card.is-visible .mvc__dots {
  opacity: .75;
  transform: none;
  animation: mvcDotsDrift 6s ease-in-out 1.8s infinite;
}
.mvc__card:hover .mvc__dots { opacity: 1; }

/* soft rings behind the dots */
.mvc__ring {
  position: absolute;
  left: -90px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px dashed var(--acc);
  opacity: 0;
  transition: opacity 1.2s ease .4s;
  animation: mvcSpin 40s linear infinite;
}
.mvc__ring--2 {
  left: -50px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border: 0;
  background: radial-gradient(circle, var(--acc-soft) 0%, transparent 70%);
  animation: mvcPulse 4s ease-in-out infinite;
}
.mvc__card.is-visible .mvc__ring { opacity: .22; }
.mvc__card.is-visible .mvc__ring--2 { opacity: 1; }

/* thin corner line that draws in */
.mvc__corner {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 0;
  height: 0;
  border-left: 3px solid var(--acc);
  border-bottom: 3px solid var(--acc);
  border-bottom-left-radius: 8px;
  opacity: .8;
  transition: width .8s ease 1s, height .8s ease 1.2s;
}
.mvc__card.is-visible .mvc__corner { width: 60px; height: 60px; }

/* small floating shapes */
.mvc__float {
  position: absolute;
  display: block;
  opacity: 0;
  transition: opacity .8s ease 1.4s;
}
.mvc__card.is-visible .mvc__float { opacity: 1; }
.mvc__float--1 {               /* small ring */
  left: 190px; bottom: 46px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--acc);
  animation: mvcFloat 5s ease-in-out infinite;
}
.mvc__float--2 {               /* plus sign */
  left: 120px; top: 52%;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--acc), var(--acc)) center / 100% 3px no-repeat,
    linear-gradient(var(--acc), var(--acc)) center / 3px 100% no-repeat;
  animation: mvcFloat 6s ease-in-out .8s infinite, mvcSpin 10s linear infinite;
}
.mvc__float--3 {               /* tiny dot */
  left: 62%; bottom: 30px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  animation: mvcFloat 4.5s ease-in-out 1.5s infinite;
  z-index: 1;
}

/* hover: dots spread a little and rings speed up */
.mvc__card:hover .mvc__ring { animation-duration: 12s; }
.mvc__card:hover .mvc__dots { background-size: 18px 18px; }
.mvc__dots { transition-property: opacity, transform, background-size; }

@keyframes mvcDotsDrift { 0%,100% { background-position: 0 0; } 50% { background-position: 8px -8px; } }
@keyframes mvcSpin  { to { transform: rotate(360deg); } }
@keyframes mvcPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes mvcFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 640px) {
  .mvc__body { padding-bottom: 112px !important; }
  .mvc__dots { width: 110px; height: 70px; left: 22px; bottom: 18px; }
  .mvc__float--1 { left: auto; right: 24px; }
  .mvc__float--2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mvc__deco * { animation: none !important; }
}
