/* =====================================================
   WHY US PAGE – TRUST & COMPETENCE
   ===================================================== */

/* Hero Section – Diagonal Credibility Statement */
body[data-page="why-us"] .hero {
  position: relative;
  min-height: 820px;
  padding: 9rem 0 6rem;
  background: linear-gradient(135deg, rgba(14, 59, 95, 0) 0%, rgba(255, 255, 255, 0) 100%),
    url('../assets/images/background/global-logistics-operations.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  margin-bottom: 4rem;
}

body[data-page="why-us"] .hero::before {
  display: none;
}

body[data-page="why-us"] .hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

body[data-page="why-us"] .hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

body[data-page="why-us"] .hero h1::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
}

body[data-page="why-us"] .hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 750px;
  margin: 2rem auto 0;
}

/* Core Advantages Section – Diagonal Transition */
body[data-page="why-us"] .section-advantages {
  position: relative;
  background: linear-gradient(to bottom, #f0f4f8 0%, #f8fafc 100%);
  padding: 6rem 0 4rem;
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
  margin-top: -4rem;
}

body[data-page="why-us"] .advantage-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 6rem;
}

body[data-page="why-us"] .advantage-block:last-child {
  margin-bottom: 0;
}

/* Premium Enterprise Image Treatment */
.advantage-image {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 1.5rem;
  z-index: 1;
}

/* Gold Outline Frame Behind */
.advantage-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 85%;
  border: 3px solid var(--gold);
  opacity: 0.5;
  z-index: -1;
  transform: translate(-12px, -12px);
}

/* Decorative Curved Line Pattern */
.advantage-image::after {
  content: "";
  position: absolute;
  top: 5%;
  right: -8%;
  width: 130px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg width='130' height='220' viewBox='0 0 130 220' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10C45 55 45 165 10 210M30 15C65 60 65 160 30 205M50 20C85 65 85 155 50 200' stroke='white' stroke-opacity='0.15' stroke-width='1'/%3E%3Cpath d='M70 25C105 70 105 150 70 195M90 30C125 75 125 145 90 190' stroke='%23b91c1c' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

.advantage-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.2);
  border: none;
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
  animation: advantageImageFade 1s ease-out;
}

.advantage-image:hover img {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0.5deg) scale(1.02);
}

@keyframes advantageImageFade {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(10px);
  }

  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(0);
  }
}

/* Alignment Adjustments */
.advantage-block .advantage-image {
  margin-right: 0;
  margin-left: auto;
}

.advantage-block:nth-child(even) .advantage-image {
  margin-left: 0;
  margin-right: auto;
}

.advantage-text {
  z-index: 5;
}

body[data-page="why-us"] .advantage-text h3 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
}

body[data-page="why-us"] .advantage-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  max-width: none;
}

/* Operational Strength – Structured Proof (Redesigned) */
body[data-page="why-us"] .section-operational {
  background: #ffffff;
  padding: 6rem 0;
}

body[data-page="why-us"] .section-operational h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  text-align: left;
  margin-bottom: 5rem;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

body[data-page="why-us"] .operational-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 6.5rem;
  /* Generous vertical and horizontal spacing */
  max-width: 1200px;
  margin: 0;
}

.strength-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.strength-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.strength-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.strength-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
  display: inline-block;
}

.strength-block h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.strength-block p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-soft);
  opacity: 0.9;
  margin: 0;
}

/* Responsive Design Adjustments */
@media (max-width: 1100px) {
  body[data-page="why-us"] .advantage-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  body[data-page="why-us"] .operational-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4.5rem;
  }
}

@media (max-width: 850px) {
  body[data-page="why-us"] .operational-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Core Commitments – Modern Card Design */
body[data-page="why-us"] .section-value {
  position: relative;
  background: #f8fafc;
  padding: 6rem 0;
  color: var(--primary-blue);
}

body[data-page="why-us"] .section-value h2 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 5.5rem;
  letter-spacing: -0.02em;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.commitment-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.commitment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.commitment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.commitment-card:hover::before {
  transform: scaleX(1);
}

.commitment-icon {
  width: 54px;
  height: 54px;
  background: #fdfdfd;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--gold);
  border: 1px solid rgba(185, 28, 28, 0.1);
  transition: all 0.3s ease;
}

.commitment-card:hover .commitment-icon {
  background: var(--gold);
  color: #fff;
  transform: rotate(-5deg);
}

.commitment-card h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.commitment-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 1100px) {
  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .commitments-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body[data-page="why-us"] .section-value {
    padding: 7rem 0;
  }
}

@media (max-width: 768px) {
  body[data-page="why-us"] .hero {
    padding: 10rem 0 8rem;
    min-height: 50vh;
  }

  body[data-page="why-us"] .section-advantages {
    padding: 6rem 0 4rem;
  }

  body[data-page="why-us"] .advantage-block {
    gap: 2.5rem;
    margin-bottom: 4rem;
  }

  body[data-page="why-us"] .section-operational {
    padding: 5rem 0;
  }

  body[data-page="why-us"] .operational-grid {
    gap: 2.5rem;
  }

  body[data-page="why-us"] .section-value {
    padding: 5rem 0;
  }

  body[data-page="why-us"] .section-cta {
    padding: 3.75rem 0;
  }
}