/* =========================================
   ABOUT US PAGE STYLING
   ========================================= */

/* --- 1. Breadcrumb Hero --- */
.navbar {
  background: white;
}

.bg-pink {
  background: linear-gradient(180deg, #ffe7eb 0%, #ffffff 70%);
}

/* --- 2. Why AI Split Section --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: 80px;
  justify-content: space-between;
}

.circular-frame-wrapper {
  position: relative;
  width: fit-content;
}

.circular-frame-wrapper img {
  aspect-ratio: 551 / 470;
  max-width: 551px;
  width: 100%;
  transition: transform 0.2s ease-in-out;
}

.circular-frame-wrapper img:hover{
  transform: scale(1.02);
}



.about-text-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.about-highlight-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-highlight-box h3 {
  font-size: 24px;
  font-weight: 700;
}

/* --- 3. Ally Cards --- */
.section-subtitle {
  margin: 25px auto 50px;
}

.ally-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ally-card {
  background: var(--white);
  padding: 40px 15px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 511px;
  transition: transform 0.3s;
}

.ally-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.ally-card-icon {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ally-card-icon img {
  aspect-ratio: 300/200;
}

.ally-card p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral-900);
}

/* --- 4. What To Expect (Full Width Grid) --- */
.no-bottom-padding {
  padding: 0;
}

.expect-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1440px;
  margin: 0 auto;
}

.expect-visual {
  background: url("../assets/images/why-ai-bg.png");

  /* Ensures the image covers the area and stays centered */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 36px 30px;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.collage-item:hover img {
  transform: scale(1.02); /* Smooth zoom in */
}

.collage-large {
  grid-column: span 5;
}

.collage-medium {
  grid-column: span 3;
}

.collage-small {
  grid-column: span 2;
}

.expect-content {
  display: flex;
  align-items: center;
  padding: 45px 50px;
}

.expect-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.warning-list {
  max-width: 100%;
}

.warning-list li {
  align-items: center;
}

.warning-list li:first-child {
  padding: 28px 0px;
}

.warning-list li:last-child {
  border-bottom: 1px solid #fc607a;
  padding: 28px 0px;
}

.expect-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expect-icon img {
  width: 22px;
}

.expect-list p {
  font-weight: 600;
  font-size: 18px;
  color: var(--neutral-900);
}

/* --- 5. RESPONSIVE --- */

@media (min-width: 1025px) and (max-width: 1280px) {
  .expect-text-wrap {
    gap: 0px;
  }

  .warning-list li {
    padding: 15px 0px;
  }

  .expect-layout {
    gap: 0;
  }
  .expect-content {
    padding: 30px 30px;
  }

  .expect-text-wrap h2 {
    font-size: 34px;
  }
}

@media (max-width: 1024px) {

  .about-split {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    text-align: center;
  }

  .circular-frame-wrapper {
    margin: 0 auto;
  }

  .about-text-side {
    gap: 18px;
  }

  .about-highlight-box h4 {
    font-weight: 600;
  }
  .ally-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }

  .ally-grid > * {
    max-width: 430px; /* match single-column card width */
    width: 100%;
  }

  .ally-grid > :nth-child(3) {
    grid-column: 1 / -1; /* span both columns */
    justify-self: center; /* center horizontally */
  }

  .ally-card p {
    font-size: 24px;
    font-weight: 400;
  }

  .section-subtitle {
    margin: 25px auto 35px;
  }

  .expect-layout {
    grid-template-columns: 1fr;
    padding: 0 30px;
    gap: 0;
  }

  .expect-visual {
    padding: 30px 25px;
    max-width: 720px;
    margin: 0 auto;
  }
  .expect-content {
    padding: 36px 0px 50px;
  }

  .expect-text-wrap {
    gap: 8px;
    width: 100%;
    flex: 1;
    padding: 0px 10px;
  }

  .expect-text-wrap h2 {
    text-align: center;
    margin: 0 auto;
  }

  .warning-list {
    margin: 0;
  }
}

@media (max-width: 767px) {

  .about-split {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-inline: 16px;
  }

  .about-highlight-box h4 {
    font-weight: 700;
  }
  .about-text-side {
    gap: 26px;
  }
  .ally-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ally-card {
    justify-self: center;
    padding: 40px 20px;
  }

  .ally-card p {
    font-size: 20px;
    font-weight: 500;
  }

  .expect-layout {
    padding: 0;
  }

  .expect-visual {
    padding: 30px 20px;
  }
  .expect-content {
    padding: 20px 20px;
  }

  .expect-text-wrap {
    gap: 15px;
  }

  .warning-list li:first-child {
    padding: 0px 0px 28px;
  }

  .warning-list li:last-child {
    border-bottom: none;
    padding: 28px 0px 20px;
  }

  .collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 30px;
  }

  .collage-large {
    grid-column: span 2;
    height: 285px;
  }

  .collage-medium,
  .collage-small {
    grid-column: span 1;
    height: 257px;
  }
}
