/* =============================================================
   MISSION SECTION - GRADIENT BLOCKS LAYOUT
   Storytelling with dramatic gradient backgrounds
============================================================= */

.mission-section {
  background: linear-gradient(180deg, #0D1B2A 0%, #162838 50%, #0D1B2A 100%);
  overflow: hidden;
}

/* Mission Header */
.mission-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.mission-header .section-label {
  display: inline-block;
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.mission-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1E88E5, #00D4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission-header .section-subtitle {
  color: #B0BEC5;
  font-size: 1.1rem;
  margin: 0;
}

/* Mission Blocks Container */
.mission-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual Mission Block */
.mission-block {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(30, 136, 229, 0.1) 2px,
    rgba(30, 136, 229, 0.1) 4px
  );
}

/* Left-aligned blocks */
.mission-block--left {
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.08) 0%, transparent 60%);
  border-left: 4px solid rgba(30, 136, 229, 0.5);
}

.mission-block--left .block-content {
  text-align: left;
}

/* Right-aligned blocks */
.mission-block--right {
  background: linear-gradient(90deg, transparent 40%, rgba(30, 136, 229, 0.08) 100%);
  border-right: 4px solid rgba(30, 136, 229, 0.5);
}

.mission-block--right .block-content {
  text-align: right;
  margin-left: auto;
}

/* Block Content */
.block-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.mission-block h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #1E88E5;
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mission-block--right h3 {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.mission-block p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #B0BEC5;
  margin: 0;
}

/* Animation on scroll */
.mission-block.animate-on-scroll {
  opacity: 0;
  animation: slideInBlock 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mission-block--left.animate-on-scroll {
  animation-delay: 0.1s;
}

.mission-block--right.animate-on-scroll {
  animation-delay: 0.2s;
}

@keyframes slideInBlock {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.mission-block:hover {
  padding-left: 2rem;
  padding-right: 2rem;
}

.mission-block--left:hover {
  border-left-width: 6px;
  border-left-color: #1E88E5;
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.12) 0%, transparent 60%);
}

.mission-block--right:hover {
  border-right-width: 6px;
  border-right-color: #1E88E5;
  background: linear-gradient(90deg, transparent 40%, rgba(30, 136, 229, 0.12) 100%);
}

/* Why Choose Us Section */
.why-choose-section {
  background: linear-gradient(180deg, rgba(30, 136, 229, 0.05) 0%, transparent 100%);
  padding: 4rem 0;
  border-top: 1px solid rgba(30, 136, 229, 0.2);
}

.why-choose-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-choose-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFD700;
  margin: 0;
}

/* Why Choose Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

/* Why Choose Cards */
.why-choose-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1E88E5, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(30, 136, 229, 0.3);
  box-shadow:
    0 12px 40px rgba(30, 136, 229, 0.15),
    0 0 0 1px rgba(30, 136, 229, 0.1);
}

.why-choose-card:hover::before {
  opacity: 1;
}

/* Card Icon */
.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: rgba(30, 136, 229, 0.1);
  border: 2px solid rgba(30, 136, 229, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: #1E88E5;
}

.why-choose-card:hover .card-icon {
  background: rgba(30, 136, 229, 0.2);
  border-color: #1E88E5;
  box-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

/* Card Text */
.why-choose-card h3 {
  font-size: 1.2rem;
  color: #1E88E5;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.why-choose-card p {
  font-size: 0.95rem;
  color: #B0BEC5;
  line-height: 1.7;
  margin: 0;
}

/* Animation for why-choose cards */
.why-choose-card.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.why-choose-grid .why-choose-card:nth-child(1) {
  animation-delay: 0.1s;
}

.why-choose-grid .why-choose-card:nth-child(2) {
  animation-delay: 0.2s;
}

.why-choose-grid .why-choose-card:nth-child(3) {
  animation-delay: 0.3s;
}

.why-choose-grid .why-choose-card:nth-child(4) {
  animation-delay: 0.4s;
}

.why-choose-grid .why-choose-card:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-block {
    padding: 3rem 0;
  }

  .mission-block--left,
  .mission-block--right {
    text-align: center !important;
    border: none;
    border-top: 3px solid rgba(30, 136, 229, 0.3);
    background: none !important;
  }

  .mission-block--left h3,
  .mission-block--right h3 {
    justify-content: center;
    flex-direction: row;
  }

  .mission-block--right .block-content {
    margin-left: 0;
  }

  .mission-block:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-choose-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .mission-header {
    padding: 2rem 0 1rem;
  }

  .mission-block {
    padding: 2rem 0;
  }

  .mission-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .mission-block p {
    font-size: 1rem;
  }

  .why-choose-card {
    padding: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon svg {
    width: 28px;
    height: 28px;
  }
}
