/* ============================================
   WHY UNITAMA SECTION STYLES
   ============================================ */

.why-unitama-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
  overflow: hidden;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Background Pattern */
.section-pattern-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(1, 22, 77, 0.02) 50px, rgba(1, 22, 77, 0.02) 51px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */

.why-content-wrapper {
  position: relative;
  z-index: 1;
}

/* Content Card */
.content-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(1, 22, 77, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #01164D 0%, #063CAD 50%, #03287B 100%);
}

.content-card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.content-inner {
  position: relative;
  z-index: 1;
}

.content-inner p {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.content-inner p:last-child {
  margin-bottom: 0;
}

.content-inner h1,
.content-inner h2,
.content-inner h3,
.content-inner h4,
.content-inner h5,
.content-inner h6 {
  color: #063CAD;
  margin-bottom: 1rem;
  font-weight: 700;
}

.content-inner ul,
.content-inner ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-inner li {
  color: #444;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.content-inner strong {
  color: #01164D;
  font-weight: 600;
}

/* Modern CTA Button */
.modern-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #01164D 0%, #063CAD 100%);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(1, 22, 77, 0.25);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.modern-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.modern-cta-button:hover::before {
  left: 100%;
}

.modern-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(1, 22, 77, 0.35);
  color: #ffffff;
}

.modern-cta-button .button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.modern-cta-button:hover .button-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.modern-cta-button .button-icon i {
  font-size: 1rem;
}

/* ============================================
   IMAGE WRAPPER
   ============================================ */

.why-image-wrapper {
  position: relative;
  z-index: 1;
}

/* Image Decorations */
.image-decoration {
  position: absolute;
  border-radius: 20px;
  z-index: -1;
  animation: decorationFloat 8s ease-in-out infinite;
}

.image-decoration.decoration-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(1, 22, 77, 0.08) 0%, rgba(6, 60, 173, 0.05) 100%);
  top: -30px;
  right: -30px;
  animation-delay: 0s;
}

.image-decoration.decoration-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(6, 60, 173, 0.06) 0%, rgba(3, 40, 123, 0.04) 100%);
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes decorationFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

/* Image Card */
.why-image-wrapper .image-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.why-image-wrapper .image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.why-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.why-image-wrapper .image-card:hover .why-image {
  transform: scale(1.05);
}

.image-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(1, 22, 77, 0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-image-wrapper .image-card:hover .image-gradient-overlay {
  opacity: 1;
}

/* Floating Badge */
.floating-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: badgeFloat 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #01164D 0%, #063CAD 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-label {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-value {
  font-size: 1.125rem;
  color: #01164D;
  font-weight: 700;
  line-height: 1.2;
}

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

@media (max-width: 992px) {
  .why-content-wrapper {
    margin-bottom: 3rem;
  }

  .content-card {
    padding: 2rem;
  }

  .floating-badge {
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0.875rem 1.25rem;
  }

  .badge-icon {
    width: 45px;
    height: 45px;
  }

  .badge-icon i {
    font-size: 1.25rem;
  }

  .section-pattern-bg {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .content-card {
    padding: 1.5rem;
  }

  .content-inner p {
    font-size: 0.9375rem;
  }

  .modern-cta-button {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .floating-badge {
    bottom: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .badge-icon {
    width: 40px;
    height: 40px;
  }

  .badge-icon i {
    font-size: 1.125rem;
  }

  .badge-label {
    font-size: 0.7rem;
  }

  .badge-value {
    font-size: 1rem;
  }

  .image-decoration.decoration-1 {
    width: 150px;
    height: 150px;
  }

  .image-decoration.decoration-2 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .content-card::before {
    width: 3px;
  }

  .modern-cta-button {
    width: 100%;
    justify-content: center;
  }

  .floating-badge {
    position: static;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   ADDITIONAL ENHANCEMENTS
   ============================================ */

/* Focus States for Accessibility */
.modern-cta-button:focus {
  outline: 2px solid #063CAD;
  outline-offset: 4px;
}

/* Print Styles */
@media print {

  .image-decoration,
  .section-pattern-bg {
    display: none;
  }

  .content-card,
  .why-image-wrapper .image-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .modern-cta-button {
    background: #01164D;
    box-shadow: none;
  }
}