/* ========================================= */
/* PREMIUM STORY SECTION */
/* ========================================= */

.story-section {
  position: relative;
  height: fit-content;
  background: var(--color-white); /* White background as requested */
  overflow: hidden;
  font-family: var(--font-primary);
  z-index: 3;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 3;
  background: var(--color-white);
}

/* ========================================= */
/* PANELS */
/* ========================================= */

.story-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 8vw;

  opacity: 0;
  pointer-events: none; /* Prevent interaction when hidden */
  background: var(--color-white);
}

.story-panel.active {
  pointer-events: all;
  z-index: 5;
}

.story-left {
  width: 45%;
  z-index: 2;
}

.story-right {
  width: 45%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================= */
/* TYPOGRAPHY */
/* ========================================= */

.story-label {
  display: inline-block;
  margin-bottom: 24px;

  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;

  color: var(--color-core-blue);
}

.story-panel h4 {

  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;

  color: var(--color-deep-navy);

  margin-bottom: 30px;

  max-width: 850px;
}

.story-panel p {
  font-size: clamp(1.1rem, 1.2vw, 1.35rem);
  line-height: 1.7;
  font-weight: 400;

  color: var(--color-deep-navy);
  opacity: 0.8;

  max-width: 600px;
}

/* ========================================= */
/* VISUALS */
/* ========================================= */

.vision-visual, 
.mission-visual {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 600px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -12px rgba(0, 37, 90, 0.15);
  border: 1px solid rgba(0, 37, 90, 0.05);
}

.vision-visual img,
.mission-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

/* ========================================= */
/* MISSION CARDS */
/* ========================================= */

.mission-cards-overlay {
  position: absolute;
  right: -20px;
  bottom: -20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 5;
}

.mission-card {
  opacity: 0;
  transform: translateX(40px);
  padding: 18px 36px;
  border-radius: 100px;
  background: var(--color-white);
  border: 1px solid rgba(0, 37, 90, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-deep-navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  box-shadow: 0 15px 35px rgba(0, 37, 90, 0.1);
}

/* ========================================= */
/* VALUES */
/* ========================================= */

.values-panel {
  flex-direction: column;
  justify-content: center;
}

.story-top {
  width: 100%;
  margin-bottom: 60px;
  text-align: center;
}

.story-top h4 {
  margin-left: auto;
  margin-right: auto;
}

.values-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  opacity: 0;
  transform: translateY(50px);
  padding: 40px;
  border-radius: 32px;
  background: var(--color-grey);
  border: 1px solid rgba(0, 37, 90, 0.05);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card:hover {
  background: var(--color-white);
  border-color: var(--color-light-blue);
  box-shadow: 0 20px 40px rgba(0, 37, 90, 0.08);
  transform: translateY(-12px) !important;
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--color-grey);
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-fast);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-core-blue);
  stroke-width: 1.8;
  fill: none;
  transition: all var(--transition-fast);
}

.value-card:hover .value-icon {
  background: var(--color-core-blue);
  transform: rotate(-5deg);
}

.value-card:hover .value-icon svg {
  stroke: var(--color-white);
  transform: scale(1.1);
}

.value-card h4 {
  font-size: 22px;
  color: var(--color-deep-navy);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 15px;
  color: var(--color-deep-navy);
  opacity: 0.7;
  margin-bottom: 0;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 1200px) {
  .story-panel h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }
}

@media (max-width: 991px) {
  .story-panel {
    flex-direction: column;
    justify-content: center;
    padding: 80px 4vw;
  }

  .story-left,
  .story-right {
    width: 100%;
    text-align: center;
  }

  .story-panel p {
    margin-left: auto;
    margin-right: auto;
  }

  .vision-visual, 
  .mission-visual {
    margin-top: 40px;
    max-width: 400px;
  }

  .mission-cards-overlay {
    right: 0;
    bottom: -10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mission-card {
    padding: 12px 24px;
    font-size: 12px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .values-grid {
        grid-template-columns: 1fr 1fr;
           gap:5px; 
  }
    .value-card h4{ 
    font-size: 16px;
  }
  .value-card  {
    padding: 10px;
    border-radius: 10px;

  }

  .story-panel h2 {
    font-size: 2.5rem;
  }
}