/* =========================================================
   TBR RECTIFIER TECH - ABOUT US
   Editable in Visual Studio Code
   ========================================================= */

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Arial,Helvetica,sans-serif;
  color:#071b38;
  background:#fff;
}

.about-page{
  width:100%;
  overflow:hidden;
}

/* ================= HERO ================= */

.about-hero{
  width:100%;
  min-height:620px;
  display:grid;
  grid-template-columns:44% 56%;
  background:#fff;
}

.about-copy{
  position:relative;
  z-index:2;
  padding:85px 7% 65px 8%;
  background:linear-gradient(110deg,#fff 0%,#fff 82%,rgba(255,255,255,.94) 100%);
}

.about-copy h1{
  margin:0 0 18px;
  color:#071b38;
  font-size:clamp(48px,5vw,76px);
  line-height:.95;
  font-weight:900;
  letter-spacing:-2px;
}

.about-copy h3{
  margin:0;
  color:#06439a;
  font-size:18px;
  font-weight:800;
}

.title-line{
  display:block;
  width:64px;
  height:3px;
  margin:20px 0 30px;
  background:#145bd7;
}

.about-copy p{
  max-width:510px;
  margin:0 0 28px;
  color:#111;
  font-size:17px;
  line-height:1.55;
}

.learn-btn{
  display:inline-flex;
  align-items:center;
  gap:25px;
  margin-top:10px;
  padding:15px 20px;
  color:#083c8d;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  border:1.5px solid #145bd7;
  border-radius:3px;
  background:#fff;
}

.learn-btn span{font-size:22px}
.learn-btn:hover{background:#f3f7ff}

/* diagonal photo like Wix reference */
.hero-photo{
  position:relative;
  min-height:620px;
  overflow:hidden;
  clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);
  margin-left:-90px;
}

.hero-photo img{
  width:100%;
  height:100%;
  min-height:620px;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* ================= SETS APART ================= */

.sets-apart{
  padding:28px 4% 38px;
  background:linear-gradient(180deg,#fff,#fbfcfe);
}

.section-heading{
  text-align:center;
}

.section-heading h2{
  margin:0;
  color:#0a2145;
  font-size:28px;
  font-weight:900;
}

.heading-line{
  display:block;
  width:68px;
  height:3px;
  margin:12px auto 14px;
  background:#145bd7;
}

.section-heading p{
  margin:0 0 28px;
  color:#111;
  font-size:14px;
  line-height:1.45;
}

.feature-grid{
  width:min(1280px,94%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.feature{
  min-height:205px;
  padding:20px 50px 24px;
  text-align:center;
  border-right:1px solid #d7dce5;
  border-bottom:1px solid #d7dce5;
}

.feature:nth-child(3n){border-right:0}
.feature:nth-child(n+4){border-bottom:0}

.feature img{
  width:74px;
  height:74px;
  object-fit:contain;
  display:block;
  margin:0 auto 10px;
}

.feature h3{
  margin:0 0 11px;
  color:#0a2d68;
  font-size:17px;
  font-weight:900;
}

.feature p{
  max-width:285px;
  margin:auto;
  color:#111;
  font-size:13px;
  line-height:1.45;
}

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

@media(max-width:900px){
  .about-hero{
    grid-template-columns:1fr;
  }

  .about-copy{
    padding:55px 8%;
  }

  .hero-photo{
    margin-left:0;
    min-height:430px;
    clip-path:none;
  }

  .hero-photo img{min-height:430px}

  .feature-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .feature{
    border-right:1px solid #d7dce5 !important;
    border-bottom:1px solid #d7dce5 !important;
  }

  .feature:nth-child(2n){border-right:0 !important}
  .feature:nth-last-child(-n+2){border-bottom:0 !important}
}

@media(max-width:560px){
  .about-copy h1{font-size:46px}

  .feature-grid{
    grid-template-columns:1fr;
  }

  .feature{
    border-right:0 !important;
    border-bottom:1px solid #d7dce5 !important;
    padding-left:25px;
    padding-right:25px;
  }

  .feature:last-child{border-bottom:0 !important}
}
