/* About Us: page-specific styles (prefix ab-) */

main {
  --ab-font: "Archivo", var(--font);
  --ab-title: #4a6192;
  --ab-tint: #ebf4f9;
  --ab-grey: #6a6b6c;
  font-family: var(--ab-font);
}

.ab-inner { max-width: 1080px; margin: 0 auto; }
.ab-h2 { font-size: 42px; font-weight: 900; line-height: 1.2; color: var(--blue); }

/* ---------- Hero ---------- */
.ab-hero { position: relative; min-height: calc(100vh + 60px); padding: 120px 40px 95px; display: flex; align-items: flex-end; color: var(--white); background: linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.52)), url("../assets/img/about-hero.webp") center / cover no-repeat; }
.ab-hero .ab-inner { position: relative; z-index: 1; width: 100%; }
.ab-hero h1 { font-size: 60px; font-weight: 900; font-style: italic; line-height: 1.2; padding-bottom: 35px; }
.ab-hero p { font-size: 23px; line-height: 1.4; max-width: 900px; text-shadow: 2px 2px 2px rgba(0,0,0,.25), 2px 2px 2px #000; }
.ab-hero p + p { margin-top: 32px; }
.ab-hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 134px; fill: #f8f8f8; }

/* ---------- Our Philosophy ---------- */
.ab-philosophy { background: #f8f8f8; padding: 80px 40px 120px; }
.ab-philosophy .ab-h2 { padding-bottom: 20px; margin-bottom: 30px; position: relative; }
.ab-philosophy .ab-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 58px; height: 2px; background: var(--blue); }
.ab-philosophy-grid { display: grid; grid-template-columns: 51fr 49fr; gap: 30px; align-items: center; }
.ab-philosophy-lead { font-size: 22px; line-height: 1.4; color: #000; text-align: justify; max-width: 90%; }
.ab-believe { font-size: 22px; line-height: 1.4; color: #000; text-align: center; margin-bottom: 20px; }
.ab-checks { width: max-content; max-width: 100%; margin: 0 auto; }
.ab-checks li { display: flex; align-items: center; font-size: 22px; line-height: 1.4; color: #000; padding-bottom: 20px; }
.ab-checks li:last-child { padding-bottom: 0; }
.ab-checks svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 4px; margin-right: 20px; border: 2px solid rgba(58, 125, 187, .4); border-radius: 50%; fill: var(--blue); }
.ab-quote { margin-top: 60px; padding: 20px; font-size: 22px; font-style: italic; line-height: 1.4; color: #000; text-align: center; background: #e9f2f7; border-bottom: 1px solid var(--blue); border-radius: 20px; box-shadow: 0 8px 12px rgba(0,0,0,.05); }

/* ---------- Cards (How We Help / Your Transformation) ---------- */
.ab-help { padding: 40px 40px 60px; }
.ab-help .ab-h2 { text-align: center; padding-bottom: 20px; margin-bottom: 40px; }
.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-card { position: relative; overflow: hidden; min-height: 294px; padding: 30px 20px 20px; background: var(--ab-tint); border-radius: 20px; }
.ab-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 93px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 244' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.37' d='M0,0H1000V134C889.3,75,752,35.7,602,35.7C349.4,35.7,121.4,127.4,0,244Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.ab-card > * { position: relative; }
.ab-icon { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 50%; background: var(--white); }
.ab-icon svg { width: 21px; height: 21px; fill: var(--blue); }
.ab-card h3 { font-size: 20px; font-weight: 900; line-height: 1.2; color: var(--ab-title); margin-top: 24px; padding-bottom: 15px; }
.ab-card p { font-size: 18px; line-height: 1.4; color: #000; text-align: justify; padding-bottom: 12px; }

/* ---------- Why Businesses Choose Us ---------- */
.ab-why { padding: 103px 40px 80px; }
.ab-why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.ab-why-head { padding-right: 80px; }
.ab-why-head p { font-size: 26px; line-height: 1.4; color: #000; margin-top: 10px; }
.ab-reasons { position: relative; list-style: none; margin: 0; padding: 0; }
.ab-reasons::before { content: ""; position: absolute; right: 8px; bottom: -12px; width: 484px; height: 484px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, transparent 0 32%, rgba(34, 115, 185, .12) 32.4%); }
.ab-reasons li { position: relative; display: flex; gap: 16px; width: 532px; max-width: 100%; margin: 0 0 20px auto; padding: 22px 20px; background: rgba(255,255,255,.6); box-shadow: 0 11px 22px 5px rgba(0,0,0,.03); }
.ab-reasons li:last-child { margin-bottom: 0; }
.ab-reasons li:nth-child(odd) { left: -73px; }
.ab-reason-num { flex: 0 0 48px; font-size: 40px; line-height: 1.4; color: #2868cd; }
.ab-reasons li:nth-child(even) .ab-reason-num { color: #b8cce0; }
.ab-reasons h3 { font-size: 24px; font-weight: 900; line-height: 1.2; color: var(--ab-title); }
.ab-reasons p { font-size: 20px; line-height: 1.4; color: #000; text-align: justify; margin-top: 20px; }

/* ---------- Your Transformation ---------- */
.ab-transform { padding: 100px 40px 100px; }
.ab-transform-head { display: grid; grid-template-columns: 27.6fr 72.4fr; gap: 30px; align-items: center; margin-bottom: 50px; }
.ab-transform-head h2 { font-size: 32px; font-weight: 900; line-height: 1.2; color: var(--blue); }
.ab-transform-head p { font-size: 22px; line-height: 1.4; color: #000; text-align: justify; }
.ab-cards-steps .ab-card { padding-top: 40px; min-height: 304px; }
.ab-cards-steps .ab-card::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 244' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.53' d='M0,0H1000V134C889.3,75,752,35.7,602,35.7C349.4,35.7,121.4,127.4,0,244Z'/%3E%3C/svg%3E"); }
.ab-cards-steps .ab-card h3 { font-size: 25px; font-weight: 400; color: var(--blue); }
.ab-cards-steps .ab-card p { font-size: 20px; color: #17314c; text-align: left; }
.ab-cards-two { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.ab-cards-two .ab-card { width: 100%; max-width: 500px; margin: 0 auto; }

/* ---------- Meet the Team ---------- */
.ab-team { padding: 60px 40px; background: linear-gradient(rgba(246,246,246,.84), rgba(246,246,246,.84)), url("../assets/img/audience-crowd.webp") 87% 50% / cover no-repeat; }
.ab-team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.ab-team-head .ab-h2 { font-size: 45px; text-align: center; }
.ab-team-head p, .ab-team-bio p { font-size: 18px; line-height: 1.4; color: var(--ab-grey); text-align: justify; }
.ab-team-head blockquote { margin: 10px 0 0; padding-left: 16px; border-left: 2px solid var(--blue); font-size: 20px; line-height: 1.4; color: var(--blue); }
.ab-team-lead { display: grid; grid-template-columns: 39.3fr 60.7fr; gap: 70px; align-items: start; margin-top: 30px; }
.ab-team-photo { overflow: hidden; }
.ab-team-photo img { width: 214%; max-width: none; height: auto; margin-left: -60%; }
.ab-team-bio { padding-top: 70px; }
.ab-team-bio .ab-team-role { font-size: 20px; font-style: italic; color: var(--blue); text-align: left; padding-bottom: 26px; }
.ab-team-bio p + p { margin-top: 0; }
.ab-team-bio p { padding-bottom: 30px; }
.ab-team-bio p:last-child { padding-bottom: 0; }
.ab-more { font-weight: 700; font-style: italic; font-size: 16px; }
.ab-more:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ab-hero h1 { font-size: 48px; }
  .ab-hero p { font-size: 20px; }
  .ab-hero p br { display: none; }
  .ab-why-head { padding-right: 40px; }
  .ab-reasons li:nth-child(odd) { left: -30px; }
  .ab-team-lead { gap: 40px; }
}
@media (max-width: 820px) {
  .ab-h2 { font-size: 30px; }
  .ab-hero { min-height: 0; padding: 80px 20px 110px; }
  .ab-hero h1 { font-size: 34px; padding-bottom: 24px; }
  .ab-hero p { font-size: 18px; }
  .ab-hero p + p { margin-top: 20px; }
  .ab-hero-curve { height: 60px; }
  .ab-philosophy { padding: 48px 20px 56px; }
  .ab-help { padding: 40px 20px; }
  .ab-why { padding: 48px 20px; }
  .ab-transform { padding: 48px 20px; }
  .ab-team { padding: 48px 20px; }
  .ab-philosophy-grid, .ab-cards, .ab-cards-two, .ab-why-grid, .ab-transform-head, .ab-team-head, .ab-team-lead { grid-template-columns: 1fr; }
  .ab-philosophy-lead { max-width: none; font-size: 18px; text-align: left; }
  .ab-believe { text-align: left; font-size: 18px; }
  .ab-checks { margin: 0; width: auto; }
  .ab-checks li { font-size: 18px; padding-bottom: 14px; }
  .ab-quote { margin-top: 36px; font-size: 18px; }
  .ab-help .ab-h2 { margin-bottom: 20px; }
  .ab-card, .ab-cards-steps .ab-card { min-height: 0; }
  .ab-card p, .ab-reasons p, .ab-transform-head p, .ab-team-head p, .ab-team-bio p { text-align: left; }
  .ab-why-grid { gap: 32px; }
  .ab-why-head { padding-right: 0; }
  .ab-why-head p { font-size: 20px; }
  .ab-reasons li, .ab-reasons li:nth-child(odd) { left: 0; width: 100%; margin-left: 0; }
  .ab-reasons h3 { font-size: 20px; }
  .ab-reasons h3 br, .ab-card h3 br, .ab-team-head .ab-h2 br { display: none; }
  .ab-reasons p { font-size: 18px; margin-top: 12px; }
  .ab-transform-head { gap: 12px; margin-bottom: 28px; }
  .ab-transform-head h2 { font-size: 26px; }
  .ab-transform-head p { font-size: 18px; }
  .ab-cards-steps .ab-card h3 { font-size: 22px; }
  .ab-cards-steps .ab-card p { font-size: 18px; }
  .ab-cards-two .ab-card { max-width: none; }
  .ab-team-head .ab-h2 { font-size: 30px; text-align: left; }
  .ab-team-head { gap: 16px; }
  .ab-team-head blockquote { font-size: 18px; }
  .ab-team-lead { gap: 24px; }
  .ab-team-photo { max-width: 340px; margin: 0 auto; }
  .ab-team-bio { padding-top: 0; }
}
