/* ============================================
   WHY CHOOSE SECTION STYLES (WC SECTION)
   ============================================ */

/* Section Container */
.wc-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1d2e 0%, #0f1119 100%);
  overflow: hidden;
}

/* Background Pattern */
.wc-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 60px 60px;
  background-position:
    0 0,
    0 30px,
    30px -30px,
    -30px 0;
  opacity: 0.5;
  pointer-events: none;
}

/* Main Container */
.wc-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ============================================
   LEFT CONTENT COLUMN
   ============================================ */

.wc-content {
  padding-right: 40px;
}

/* Section Label */
.wc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.wc-label-text {
  color: #f5a524;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Main Heading */
.wc-heading {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Description */
.wc-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 550px;
}

/* Divider Line */
.wc-divider {
  width: 100%;
  max-width: 350px;
  height: 2px;
  background: linear-gradient(to right, #f5a524, transparent);
  margin-bottom: 40px;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.wc-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wc-feature-card {
  display: grid;
  grid-template-columns: 80px 1fr 180px;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
  border-color: rgba(245, 165, 36, 0.3);
  box-shadow: 0 10px 30px rgba(245, 165, 36, 0.2);
}

/* Feature Icon */
.wc-feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(245, 165, 36, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wc-feature-card:hover .wc-feature-icon {
  background: rgba(245, 165, 36, 0.2);
  transform: scale(1.1);
}

.wc-feature-icon svg {
  width: 40px;
  height: 40px;
}

/* Feature Content */
.wc-feature-text {
  flex: 1;
}

.wc-feature-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Feature Image */
/* Feature Image Hover */
.wc-feature-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.wc-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

/* Scale image on hover */
.wc-feature-img:hover img {
  transform: scale(1.05);
  opacity: 0.7;
}

/* Centered Arrow Overlay */
.wc-hover-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg); /* initially rotated */
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(245, 165, 36, 0.8);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Show arrow on image hover */
.wc-feature-img:hover .wc-hover-arrow {
  opacity: 1;
}

/* Arrow rotation on hover */
.wc-hover-arrow:hover {
  transform: translate(-50%, -50%) rotate(0deg); /* horizontal */
  background: #000;
  color: #ffffff;
}

/* ============================================
   RIGHT IMAGE COLUMN
   ============================================ */

.wc-image-column {
  position: relative;
  height: 600px;
}

.wc-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Decorative Shapes */
.wc-decorative-shapes .wc-shape-curve {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
}

.wc-shape-1 {
  top: -30px;
  left: -30px;
}

.wc-shape-2 {
  bottom: -30px;
  right: -30px;
}

.wc-shape-accent {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Main Image */
.wc-main-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  z-index: 4;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wc-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.wc-main-image img:hover {
  opacity: 0.5;
  transform: scale(1.05);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .wc-container {
    gap: 60px;
  }
  .wc-heading {
    font-size: 42px;
  }
  .wc-feature-card {
    grid-template-columns: 70px 1fr 160px;
  }
  .wc-feature-img {
    width: 160px;
  }
}

@media (max-width: 992px) {
  .wc-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .wc-content {
    padding-right: 0;
    max-width: 100%;
  }
  .wc-heading {
    font-size: 38px;
  }
  .wc-image-column {
    height: 500px;
  }
  .wc-main-image {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .wc-section {
    padding: 60px 0;
  }
  .wc-heading {
    font-size: 32px;
  }
  .wc-feature-card {
    grid-template-columns: 60px 1fr;
    gap: 15px;
  }
  .wc-feature-img {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
    margin-top: 10px;
  }
  .wc-feature-icon {
    width: 60px;
    height: 60px;
  }
  .wc-feature-icon svg {
    width: 32px;
    height: 32px;
  }
  .wc-feature-title {
    font-size: 18px;
  }
  .wc-image-column {
    height: 450px;
  }
  .wc-shape-curve {
    width: 150px;
  }
  .wc-shape-accent {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .wc-section {
    padding: 40px 0;
  }
  .wc-container {
    padding: 0 15px;
    gap: 40px;
  }
  .wc-heading {
    font-size: 28px;
  }
  .wc-description {
    font-size: 15px;
  }
  .wc-feature-cards {
    gap: 15px;
  }
  .wc-feature-card {
    padding: 15px;
  }
  .wc-image-column {
    height: 400px;
  }
  .wc-main-image {
    width: 100%;
  }
  .wc-shape-curve {
    display: none;
  }
  .wc-shape-accent {
    width: 100px;
    height: 100px;
    right: 50%;
  }
}

@media (max-width: 400px) {
  .wc-heading {
    font-size: 24px;
  }
  .wc-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .wc-feature-icon {
    margin: 0 auto;
  }
  .wc-feature-img {
    height: 160px;
  }
  .wc-image-column {
    height: 350px;
  }
}

/* ============================================
   ACCESSIBILITY & REDUCED MOTION
   ============================================ */

.wc-feature-card:focus-within {
  outline: 2px solid #f5a524;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .wc-feature-card,
  .wc-feature-icon,
  .wc-feature-img img,
  .wc-main-image img {
    transition: none;
  }
}

@media (prefers-contrast: high) {
  .wc-feature-card {
    border: 2px solid #ffffff;
  }
  .wc-heading,
  .wc-feature-title {
    color: #ffffff;
  }
}

@media print {
  .wc-section {
    background: white;
    color: black;
  }
  .wc-heading,
  .wc-feature-title {
    color: black;
  }
  .wc-decorative-shapes {
    display: none;
  }
}
