@media (min-width: 360px) and (max-width: 479px) {
body {
  overflow-x: hidden;
}
.navbar-toggler{
  border: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
#mobileMenu{
background-color: rgba(0, 0, 0, 0.87);
}
.offcanvas-header .btn-close{
    color: aliceblue;
}
.offcanvas-body .navbar-nav .nav-link {
  font-weight: 500;
  margin: 15px 25px;
  color: white;
  font-size: 18px;
  font-family: 'Mulish', sans-serif;
}
.hero-content h1 {
   font-size: 2rem;
}
.brand{
  width:200px;
 }
 .hero-content p {
  font-size: .9rem;
 }
 .experience-badge {
    width: 100px;
    right: 20px;
    bottom: 30px;
 }
.shape-divider {
  height: 50px;
}
.form-about {
  margin: 0;
}
.book{
  box-shadow: none;
  margin: -120px 0px 0 0px;
}
.form-about h3 {
   font-size: 20px;
}
.about{
  margin: 20px 0;
}
.about h3{
  font-size: 16px;
  line-height: 27px;
}
.about p{
  font-size: 15px;
}
.service{
  background-color:#F2F2F0;
  padding: 0px;
}
.section-title{
   font-size: 22px;
  line-height: 33px;
  padding-top: 32px;
}
 .service-card {
      width: 168px;
      height: 168px;
 }
    .service-card img {
      width:40px;
    }
    .service-card h5 {
      font-size: 16px;
    }
    .service-card p {
      font-size: 12px;
      color: #a14a3f;
      margin: 0;
      line-height: 1.4;
      font-family: 'Mulish', sans-serif;
    }
    .card4{
      border-top-right-radius: 0px;
    }
    .card2{
      border-top-right-radius: 12px;
    }
    .card9{
      border-bottom-left-radius: 0px;
    }
    .card11{
      border-bottom-left-radius: 12px;
    }
     .legal-text-box {
      width:300px;
      height:460px;
      padding: 30px 30px;
      margin: -80px 0 0 17px;
    }
    .legal-heading {
      font-size: 14px;
      line-height: 24px;
      text-align: justify;
    }
    .legal-text {
      font-size: 13px;
      line-height: 19px;
      text-align: justify;
    }
    .img-box img {
      width:310px;
      height:310px;
    }
    .cta2 .legal-text-box {
      width:300px;
      height:340px;
      padding: 30px 30px;
      margin: 0px 0 0 17px;
    }
   .cta2 .img-box {
      margin: -40px 0 0 13px;
   }
    .action1 .legal-box, .action2 .legal-box{
      padding: 40px 20px;
      width:100%;
      margin:20px auto;
    }
    .legal-box h2 {
      font-size: 18px;
      line-height:27px;
      text-align: left;
    }
    .legal-box p {
      margin-top: 1px;
      font-size: 12px;
      text-align: left;
    }
    .btn-call .btn-black {
      padding:8px;
    }
    .action1 .img-box img , .action2 .img-box img  {
      width: 310px;
      height: 310px;
      margin: 15px;
    }
     .action-btn{
      display: flex;
      width:100%;
      gap:10px;
    }
    .why-choose-section {
      display: flex;
      flex-direction: column;
    }
    .accordion{
  padding: 0rem;
  margin:  1rem;
}
    .left-box {
      width:360px;
      height: 500px;
    }
    .left-box h2 {
      font-size: 24px;
      line-height: 36px;
    }
     .faq-box {
    padding:20px 10px;
    }
   .faq-question {
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    }
    .faq-answer {
      font-size: 12px;
      text-align: justify;
    }
    .sub-line{
      font-size: 12px;
    }
   .law-section  .section-title {
      width: 100%;
    }
   .law-section  .section-text {
      margin: 1px;
      width: 100%;
    }
    .law-section  .buttons {
      margin:20px;
    }
    .law-images {
      margin-left: 0px;
    }
    .law-images img {
      width: 160px;
    }
    .years-box {
      width: 160px;
      height: 80px;
      font-size: 20px;
    }
     .testimonial-section {
  padding: 80px 20px;
}

.testimonial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.884); /* semi-transparent black */
  z-index: -1;
}
    .testimonial-section h2 {
      font-size: 24px;
      margin-bottom: 40px;
    }
    .testimonial-card {
      background-color: #2C2C2C;
      border-radius: 20px 20px 20px 0;
      padding: 80px 20px;
    }
    /* Top-Left border */
     .testimonial-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 70%;
      height: 76%;
      border-top: 2px solid #fff;
      border-left: 2px solid #fff;
      border-top-left-radius: 20px;
      box-sizing: border-box;
    }

    /* Top-right-Bottom border only */
    .testimonial-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom:0;
      width: 30%;
      height: 100%;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      border-bottom: 2px solid #fff;
      border-top-right-radius: 20px;
      border-bottom-right-radius: 20px;
      box-sizing: border-box;
    }
    .testimonial-card p {
      font-size: 12px;
    }
    .stars {
      color: #f5c518;
      margin-top: 15px;
    }
    .profile {
     background-color: rgba(0, 0, 0, 0.87);
      width:12.5rem;
      height:3.75rem;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      left:0;
      bottom:0;
      border-radius: 0 12px 0 0;
      padding: 0.3rem;
    }
     .profile::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom:0;
      width: 91%;
      height: 80%;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      border-top-right-radius: 12px;
      box-sizing: border-box;
    }
.profile::after{
  top:-18px;
  left:0px;
}
.curve1{
  left: 67%;
}
.quote-icon img{
   width: 40px;
}
.card-content{
   margin-top: -40px;
 }
 .bottom-bar{
  padding-top: 15px;
  margin-top: 0px;
  flex-direction: column;
 }
.panel .vertical-text {
  font-size: 1.5rem;
}
    .footer1-content h1 {
      font-size: 1rem;
      margin-top: 2rem;
    }
    .footer1-content .btn-custom {
      margin: 10px;
    }  
}
@media (min-width: 375px) and (max-width: 479px) {
  .service-card {
      width: 172px;
      height: 172px;
 }
     .cta1 .legal-text-box {
      margin: -80px 0 0 27px;
    }
    .cta1 .img-box {
    margin-left: 10px;
}
   .cta2 .legal-text-box {
      margin: 0px 0 0 27px;
    }
   .cta2 .img-box {
      margin: -40px 0 0 13px;
    }
    .action1 .img-box img , .action2 .img-box img  {
      margin-left: 22px;
    }
    .left-box {
      width:375px;
    }
    .law-section  .buttons {
      margin:28px;
    }
    .testimonial-card::before {
      width: 30.5%;
    }
    .curve1{
  left: 63.8%;
}
 .footer1-image-left img{
      border-bottom-right-radius: 0px;
      width: 320px;
      height: 320px;
    }    
}
@media (min-width: 390px) and (max-width: 479px) {
  .service-card {
      width: 180px;
      height: 180px;
 }
     .cta1 .legal-text-box {
      margin: -80px 0 0 33px;
    }
    .cta1 .img-box {
    margin-left: 16px;
}
   .cta2 .legal-text-box {
      margin: 0px 0 0 33px;
    }
   .cta2 .img-box {
      margin: -40px 0 0 28px;
   }
    .action1 .img-box img , .action2 .img-box img  {
      margin-left: 28px;
    }
    .left-box {
      width:390px;
    }
    .law-section  .buttons {
      margin:35px;
    }
     .testimonial-card::before {
      width: 34%;
    }
    .curve1{
  left: 60.8%;
}
 .footer1-image-left img{
      border-bottom-right-radius: 0px;
      width: 350px;
      height: 350px;
    }    
}

@media (min-width: 768px) and (max-width: 1024px) {
  body {
  overflow-x: hidden;
}
.navbar-toggler{
  border: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
body {
  overflow-x: hidden;
}
.navbar-toggler{
  border: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
#mobileMenu{
background-color: rgba(0, 0, 0, 0.87);
}
.offcanvas-header .btn-close{
    color: aliceblue;
}
.offcanvas-body .navbar-nav .nav-link {
  font-weight: 500;
  margin: 15px 25px;
  color: white;
  font-size: 18px;
  font-family: 'Mulish', sans-serif;
}
.book{
  box-shadow: none;
  margin: -120px 0px 0px -25px;
}
.about{
  margin: 40px 0 0 100px;
}
.service{
  padding: 60px 0;
}
.service-card {
      width: 230px;
      height: 230px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .card4{
      border-top-right-radius: 0px;
    }
    .card3{
      border-top-right-radius: 12px;
    }
    .card9{
      border-bottom-left-radius: 0px;
    }
    .card10{
      border-bottom-left-radius: 12px;
    }
      .legal-text-box {
        width:600px;
        height: 460px;
        padding: 30px 30px;
        margin:  -50px 0 0 50px;
    } 
    .img-box img {
     margin-left: 20px;
    }
     .cta2 .legal-text-box {
      width:600px;
      height:360px;
      padding: 30px 30px;
      margin: 0px 0 0 50px;
    }
   .cta2 .img-box {
      margin: -40px 0 0 13px;
   }
    .action1 .legal-box{
      padding: 40px 70px;
      position: relative;
      background-color: transparent;
      width:80%;
      margin-left: 100px; 
    }
    .action1 .img-box img , .action2 .img-box img  {
      margin: 30px;
    }
    .accordion{
  padding: 0rem;
  margin:  1rem;
}
    .left-box {
      width:360px;
      height: 660px;
    }
    .left-box h2 {
      font-size: 24px;
      line-height: 36px;
    }
     .faq-box {
    padding:20px 10px;
    }
   .faq-question {
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    }
    .faq-answer {
      font-size: 12px;
      text-align: justify;
    }
    .sub-line{
      font-size: 12px;
    }
     .law-section  .section-title {
      width: 100%;
    }
   .law-section  .section-text {
      margin: 1px;
      width: 100%;
    }
    .law-section  .buttons {
      margin:20px;
    }
    .law-images {
      margin-left: 0px;
    }
    .law-images img {
      width: 160px;
    }
    .years-box {
      width: 160px;
      height: 80px;
      font-size: 20px;
    }
     .testimonial-section {
  padding: 80px 20px;
}
    /* Top-Left border */
     .testimonial-card::after {
      width: 70%;
      height: 78.5%;
    }

    /* Top-right-Bottom border only */
    .testimonial-card::before {
      width: 30.5%;
      height: 100%;
    }
    .testimonial-card p {
      font-size: 12px;
    }
    .stars {
      color: #f5c518;
      margin-top: 15px;
    }
    .profile {
     background-color: rgba(0, 0, 0, 0.87);
      width:9.2rem;
      height:3.75rem;
    }
     .profile::before {
      width: 91%;
      height: 80%;
    }
.profile::after{
  top:-18px;
  left:0px;
}
.curve1{
  left: 67%;
}
.quote-icon img{
   width: 40px;
}
.card-content{
   margin-top: -40px;
 }
}

  