/* =========================================
   INNER HERO
========================================= */

.inner-hero {

  position: relative;

  padding: 220px 0 120px;

  background:
    linear-gradient(
      rgba(8,20,38,0.82),
      rgba(8,20,38,0.88)
    ),
    url('../images/hero/scbanner2.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;

}

.inner-hero-content {

  max-width: 850px;

  color: #fff;

}

.inner-tag {

  display: inline-block;

  padding: 10px 18px;

  border-radius: 50px;

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);

  font-size: 13px;

  margin-bottom: 25px;

  letter-spacing: 1px;

}

.inner-hero h1 {

  font-size: 68px;

  line-height: 1.08;

  margin-bottom: 22px;

}

.inner-hero p {

  max-width: 650px;

  color: rgba(255,255,255,0.75);

  font-size: 17px;

}




/* =========================================
   PRACTICE PAGE
========================================= */

.practice-page{

  background:#f8fafc;

}

.practice-grid{

  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:28px;

  margin-top:70px;

}

.practice-card{

  background:#fff;

  padding:40px 32px;

  border-radius:24px;

  border:1px solid rgba(0,0,0,.05);

  transition:.4s ease;

  box-shadow:
  0 10px 35px rgba(0,0,0,.04);

  position:relative;

  overflow:hidden;

}

.practice-card::before{

  content:'';

  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:4px;

  background:#c62828;

  transform:scaleX(0);

  transition:.4s ease;

}

.practice-card:hover{

  transform:translateY(-8px);

  box-shadow:
  0 18px 45px rgba(0,0,0,.08);

}

.practice-card:hover::before{

  transform:scaleX(1);

}

.practice-card i{

  font-size:42px;

  color:#c62828;

  margin-bottom:24px;

}

.practice-card h3{

  font-size:24px;

  margin-bottom:16px;

  line-height:1.3;

}

.practice-card p{

  color:#5f6b7a;

  line-height:1.8;

  font-size:15px;

}

/* =========================================
   WHY MAXLAW
========================================= */

.why-maxlaw{

  background:#fff;

}

.why-grid{

  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:25px;

  margin-top:70px;

}

.why-card{

  background:#f8fafc;

  padding:40px 30px;

  border-radius:24px;

  text-align:center;

  border:1px solid rgba(0,0,0,.05);

  transition:.4s ease;

}

.why-card:hover{

  transform:translateY(-8px);

  box-shadow:
  0 18px 40px rgba(0,0,0,.08);

}

.why-card i{

  font-size:48px;

  color:#c62828;

  margin-bottom:22px;

}

.why-card h3{

  font-size:22px;

  margin-bottom:15px;

}

.why-card p{

  color:#5f6b7a;

  line-height:1.8;

}

/* =========================================
   CTA SECTION
========================================= */

.practice-cta{

  padding:120px 0;

  background:
  linear-gradient(
  rgba(10,24,45,.92),
  rgba(10,24,45,.92)
  ),
  url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80');

  background-size:cover;

  background-position:center;

  background-repeat:no-repeat;

}

.practice-cta-content{

  max-width:850px;

  margin:auto;

  text-align:center;

  color:#fff;

}

.practice-cta-content h2{

  font-size:58px;

  line-height:1.15;

  margin-bottom:20px;

}

.practice-cta-content p{

  font-size:18px;

  color:rgba(255,255,255,.78);

  margin-bottom:35px;

  line-height:1.8;

}

.practice-cta-content .primary-btn{

  display:inline-flex;

}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1200px){

  .practice-grid{

    grid-template-columns:repeat(3,1fr);

  }

}

@media(max-width:991px){

  .practice-grid{

    grid-template-columns:repeat(2,1fr);

  }

  .why-grid{

    grid-template-columns:repeat(2,1fr);

  }

  .practice-cta-content h2{

    font-size:46px;

  }

}

@media(max-width:767px){

  .practice-grid{

    grid-template-columns:1fr;

  }

  .why-grid{

    grid-template-columns:1fr;

  }

  .practice-card{

    padding:32px 24px;

  }

  .why-card{

    padding:32px 24px;

  }

  .practice-cta{

    padding:90px 0;

  }

  .practice-cta-content h2{

    font-size:34px;

  }

  .practice-cta-content p{

    font-size:15px;

  }

}

@media(max-width:480px){

  .practice-card h3{

    font-size:21px;

  }

  .why-card h3{

    font-size:20px;

  }

  .practice-cta-content h2{

    font-size:30px;

  }

}




/* =========================================
   WHY CHOOSE MAXLAW
========================================= */

.why-maxlaw{

  background:#ffffff;

}

.why-grid{

  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:30px;

  margin-top:60px;

}

.why-card{

  background:#ffffff;

  padding:40px 30px;

  border-radius:24px;

  text-align:center;

  border:1px solid #edf2f7;

  transition:all .35s ease;

  box-shadow:
  0 10px 30px rgba(0,0,0,.04);

}

.why-card:hover{

  transform:translateY(-8px);

  box-shadow:
  0 18px 40px rgba(0,0,0,.08);

}

.why-card i{

  width:80px;
  height:80px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin:0 auto 25px;

  border-radius:20px;

  background:#0f2e57;

  color:#fff;

  font-size:32px;

}

.why-card h3{

  font-size:22px;

  margin-bottom:14px;

  color:#102947;

}

.why-card p{

  color:#64748b;

  line-height:1.8;

  font-size:15px;

}

/* =========================================
   TABLET
========================================= */

@media(max-width:991px){

  .why-grid{

    grid-template-columns:repeat(2,1fr);

  }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:767px){

  .why-grid{

    grid-template-columns:1fr;

  }

  .why-card{

    padding:32px 24px;

  }

}