body {
  font-style: normal;
}

.text-success {
  color: #2ECC71 !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: 'Playfair Display', serif !important;
}

/* ---------- Font Utility Classes ---------- */
.font-primary {
  font-family: "Source Sans Pro", sans-serif;
}

.font-secondary {
  font-family: "Playfair Display", serif;
}

/* ---------- Button Customization ---------- */
.btn-login {
  min-width: 124px;
  height: 48px;
  background: #2ecc71 !important;
  color: #1E1E1E !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  border-radius: 8px;
  gap: 10px;
  opacity: 1;
  transition: background 0.3s ease !important;
  font-family: "Source Sans Pro", sans-serif;
  text-align: center;
  align-content: center;
}

.btn-login:hover {
  background: #0f5132 !important;
  color: #fff !important;
}

.navbar .nav-item .nav-link.btn-login {
  font-size: 20px;
  color: #000000 !important;

}

.navbar .nav-item .nav-link {
  font-size: 20px;

}

.bottom-menu-right {
  padding: 7px;
  background-color: #ffffff4f;
  border-radius: 5px;
  width: fit-content;
  justify-self: end;
}

.bg-transparent {
  background-color: #F8F9FA21 !important;
}

.custom-search-panel {
  width: fit-content;
  border-radius: 5px !important;
  padding: 0px !important;
}

.custom-search-panel .btn {
  padding: 10px 20px;
  border-radius: 0px 5px 5px 0px;
}

.bottom-menu-right .search-field {
  width: auto;
}

.main-menu,
hr {
  transition: all 0.8s ease;
  opacity: 1;
  max-height: 200px;
  /* adjust based on real height */
  overflow: visible;
}

.sticky .main-menu,
.sticky hr {
  opacity: 0;
  max-height: 0px;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.hero-text-title h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 60px;
  line-height: 121%;
  letter-spacing: 0;
  text-align: center;
}

.hero-text-description p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.18;
}

.sticky .col-md-7.align-items-end {
  align-items: center !important;
}

/* Common button styles */
.btn-custom {
  display: inline-flex;
  /* center content */
  align-items: center;
  justify-content: center;
  width: 178px;
  height: 48px;
  padding: 10px;
  border-radius: 8px;
  gap: 10px;
  /* space between text/icons */
  text-decoration: none;
  /* remove underline from <a> */
  font-weight: 500;
  cursor: pointer;
}

/* Filled button */
.btn-custom-filled {
  background-color: rgb(var(--bs-primary-rgb));
  color: #fff;
  border: none;
}

.btn-custom-filled:hover {
  background-color: rgb(var(--bs-secondary-rgb));
  color: #fff;
}

/* Outline button */
.btn-custom-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-custom-outline:hover {
  background-color: transparent;
  color: rgb(var(--bs-primary-rgb));
  border: 1px solid rgb(var(--bs-primary-rgb));
}

.bg-category {
  /* background-image: url('../../images/updated-images/bg-categories.png'); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f5f5f5;
  /* fallback color */
  min-height: 400px;
  /* adjust as needed */
}

.title-categories h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500 !important;
  font-size: 2.2rem;
  line-height: 1.1;
    max-width: 600px;
}

.title-categories h2 {

}

.card-categrories-wrap .card-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: 22px;
  color: #2ECC71;
  min-height: 55px;
}
.card-categrories-wrap .card-body span {

  color: #000;
}
.card-categrories-wrap  {
    background: #F8F8F8;
    cursor: pointer;
}

.card-categrories-wrap hr {
  color: #2ECC71;
}


.card-categrories-wrap .card-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* limits to 3 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  color: #000000;
}


.card-ads-wrap{
    background: linear-gradient(#1B3744, #268C5D);

}

.card-ads-wrap .card-body .card-title{
  font-family: "Source Sans Pro", sans-serif !important;
}
.active-card  {
      background: linear-gradient(#1B3744, #268C5D);
  cursor: pointer;
}
.active-card .card-text {
    color: #FFF;
}
.active-card .card-body span {

  color: #fff;
}

.category-box {
    border: 1px solid #dee2e6;
    background: linear-gradient(#1B3744, #268C5D);
    padding: 0.5rem 0.75rem;
    border-radius: 0.575rem;
    background-color: #fff;
    transition: all 0.2s ease;
    color: #f5f5f5;
}

.category-box:hover {
    background-color: #f8f9fa;
    border-color: #2fCC71;
}



.section_Categories {
  padding: 85px 0px !important;
}

.premium_lawyers-wrap h2 {
  font-family: 'Playfair Display', serif;
}

.nearest-lawyer-wrap h3:first-of-type {
  font-family: 'Playfair Display', serif;
  font-weight: 500 !important;
  font-size: 2.2rem;
  color: #2ECC71;
}

.nearest-lawyer-wrap h3:nth-of-type(2) {
  font-family: 'Playfair Display', serif;
  font-weight: 500 !important;
  font-size: 2.2rem;
}

.cu-text-title span {
  color: #2ECC71;
}

.cu-text-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600 !important;
  font-style: normal;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.cu-text-title p{
  color: #494949 !important;
}
.trusty-service-wrapper h3 {
  font-family: 'Playfair Display', serif !Important;
  font-weight: 500 !Important;
}

.free-consulation {
  margin-top: 100px;
  background: rgb(16, 32, 38);
  background-image: url(../../images/updated-images/Rectangle.png),
    linear-gradient(32deg, rgb(16, 32, 38) 0%, rgb(16, 32, 38) 35%, #1A283C 100%) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
}


.free-consulation .label span {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: white;
  background-color: #2ECC71;
  padding: 8px 25px;
  border-radius: 8px;
}

.free-consulation h4 {
  font-family: "Source Sans Pro", sans-serif !Important;
  font-weight: 400 !Important;
  font-size: 16px !Important;
  color: white;
  background-color: #2ECC71;
  padding: 8px 25px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.free-consulation h3 {
  color: white;
  font-size: 2.2rem;
  max-width: 350px;
  font-weight: 500 !Important;
  margin-bottom: 10px;
}

.btn-outline-white {
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
}

.btn-outline-white:hover {
  background-color: #0F5132;
  color: #ffffff;
  /* or your brand color */
}

.section.login .nav-tabs .nav-item {
  width: fit-content !important;
  margin-bottom: 5px !important;
  min-width: 48%;
}

.cu-bg-law {
  padding-top: 150px !Important;
  background: linear-gradient(to top right, rgba(var(--bs-secondary-rgb), 0.1) 35%, rgba(var(--bs-primary-rgb), 0.35) 220%), url("../../images/updated-images/bg-breadcrum.png") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center;
  margin-top: -150px !Important;

}

.cu-bg-law .min-height {
  min-height: 250px;
}

.about-us-wrap h5.card-title {
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 17px;
}

.about-us-wrap .card-text {
  font-family: Source Sans Pro;
  font-weight: 400;
  font-size: 16px;

}
.about-text-heading p{
  font-size: 20px;
  line-height: normal;
}   
.about-card-body{
  padding: 64px 20px !important;
}
.gradient-card {
  background: linear-gradient(302.59deg, #2ECC71 -15.11%, #1A2A40 67.61%);
  color: #fff;
  border: 0;
  border-radius: 12px;
  /* optional */
}
.card-font-title{
  font-size: 24px !important;
}
.card-font-text{
  font-size: 17px;
  line-height: normal;
  color: #1E1E1E;
  letter-spacing: 0px;
}
.outer-card{
  box-shadow: 0px 9px 16px #0000001f !important;
  border: none !important;
}
.border-gradient{
  border: 1px solid #2ECC71 !important;
}
.card-gradient-02 {
  background: white;
  border: 0;
  border-radius: 12px;
}

section.about-us-wrap {
  border-radius: 30px 30px 0px 0px;
  margin-top: 64px;
  background-color: #F1F1F1;
}

section.about-us-wrap .card-2 {
  border-radius: 12px;
  /* optional */
}

.bg-gradient-02 {
  background: linear-gradient(283.72deg, #28A063 -6.02%, #1A2A40 52.82%);
}

.practice-area-wrap {
  background-image: url('../../images/updated-images/bg-categories.png ');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  /* Adjust as needed */
  overflow: hidden;
  /* Prevent corners from leaking */
  padding: 80px 40px;
}

.practice-area-wrap .li {
  font-family: Source Sans Pro;
  font-weight: 400;
  font-size: 24px;

}

.practice-area-wrap h3 {
  font-weight: 500;
  font-size: 2.2rem;

}

section.about-u h3 {
  margin-top: 0px;
}

.faqs-section{
  background-color: #F8F9FA;
  padding: 60px 0px 60px 0px !important;
}

.faqs-section .accordion-button{
  background-color: #FFFFFF !important;
  padding: 24px 35px !important;
}

.accordion-item{
  border-radius: 10px !important;
}
.faqs-item__items span{
  color: #1E1E1E !important;
  font-weight: 600 !important;
}
.breadcrumb-item + .breadcrumb-item::before{
  color: #fff !important;
}
.coming-soon-banner {
  background-image: url('/images/updated-images/justice-image-full-re.png');
  border-radius: 8px;
  padding: 180px 30px;
  font-weight: 600 !important;
  background-repeat: no-repeat;
  text-align: center;
  background-position: center;
  background-size: contain;
  position: relative;
  height: 100vh;
}
.coming-soon-banner::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.9);
    z-index: 1;
}
.coming-soon-banner span{
  font-size: 45px;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', serif !important;
  z-index: 9;
  position: relative;
  font-style: italic;
}
.coming-soon-banner span::before {
    content: "";
    position: absolute;
    top: 58%;
    left: -50px;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    z-index: -1;
    height: 2px;
    width: 80px;
    background-color: #888;
}
.coming-soon-banner span::after {
    content: "";
    position: absolute;
    top: 58%;
    right: -90px;
    border-radius: 8px;
    z-index: -1;
    height: 2px;
    width: 80px;
    background-color: #888;
}
.social__links{
  position: relative;
  z-index: 1;
  margin-top: 50px;
}
.social__links .footer-socails li {
  list-style: none;
  margin-right: 10px;
  margin-top: 10px;
}
.social__links .footer-socails li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: 0.6s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.contact__links{
  position: relative;
  z-index: 1;
  margin-top: 50px;
}
.contact__links i{
  color: #fff !important;
  font-size: 40px !important;
  margin-right: 10px;
}
.contact__links label{
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: normal;
}
.contact__links  a{
  text-decoration: none !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}
.main-category-card,
.main-category-card:hover{
  width: 24%;
  text-align: left;
  background-color: #fff;
  color: #494949;
  border-radius: 8px !important;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Playfair Display';
  border: none !important;
}
.main-category-card.active{
  width: 24%;
  text-align: left;
  background: #1A2A40;
  background: linear-gradient(160deg, rgba(26, 42, 64, 1) 0%, rgba(46, 204, 113, 1) 100%);
  color: #fff !important;
  border-radius: 8px !important;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Playfair Display';
  border: none !important;
}
.category_tabs_wrapper {
  background-color: #F8F8F8;
  border: 1px solid rgb(0 0 0 / 20%);
  border-radius: 8px;
  padding: 12px 23px;
}
.badge-sub-category {
    background-color: #F8F8F8 !important;
    border: 1px solid rgb(0 0 0 / 20%);
    border-radius: 8px;
    width: calc(25% - 1rem);
    padding: 0px !important;
}
.badge-sub-category a:hover{
  color: #fff !important;
  background: linear-gradient(160deg, rgba(26, 42, 64, 1) 0%, rgba(46, 204, 113, 1) 100%) !important;
}
.badge-sub-category a {
    color: #1E1E1E !important;
    padding: 22px 16px !important;
    font-size: 18px;
    font-family: 'Playfair Display';
    min-height: 105px;
    display: flex !important;
    border-radius: 8px;
    white-space: pre-line;
    align-items: center;
    text-align: left;
    line-height: 24px;
}
.badge-sub-category:hover a{
  color: #fff !important;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1240px !important;
  }
}

@media (max-width: 1200px) {
  .hero-text-title h2 {
    font-size: 42px;
  }

  .hero-text-description p {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {

  .hero-text-title h2 {
    font-size: 28px
  }

  .hero-text-description p {
    font-size: 18px;
  }

  .section.login .nav-tabs .nav-item {
    width: fit-content !important;
    margin-bottom: 5px !important;
    min-width: 47%;
    font-size: 12px;
  }
}

@media (max-width: 991.98px) {
  .w-md-50 {
    width: 50% !important;
  }

  .hero-text-title h2 {
    font-size: 32px
  }

  .hero-text-description p {
    font-size: 18px;
  }

  .navbar.sticky {
    min-height: 75px;
    overflow: hidden !Important;
    height: 75px !Important;
  }

  .navbar-collapse.collapse.show {
    position: fixed;
    width: 100%;
    top: 75px;
    left: 0px;
    background-color: #0F5132;
    /* max-height: 70vh; */
    height: 100vh;
  }

  .navbar-collapse.collapse {
    transform: translateY(-100%);
    transition: transform 0.5s ease;
  }

  .navbar-collapse.collapse.show {
    transform: translateY(0);
  }

  .bottom-menu.w-100.w-md-50 {
    overflow: hidden;
    height: 40px;

  }

  .bottom-menu-left {
    width: 70px;
  }

  .btn-login {
    display: none !important;
  }

  button.navbar-toggler {

    /* Button background */
    border-color: #ffffff;
    /* Border color */
  }

  button.navbar-toggler .navbar-toggler-icon {
    filter: invert(1);
    /* Inverts the icon color */
  }

  section.about-us-wrap h3 {
    margin-top: 0px !important;
  }
  .badge-sub-category {
    color: #1E1E1E !important;
    padding: 22px 16px !important;
    font-size: 18px;
    font-family: 'Playfair Display';
    background-color: #F8F8F8 !important;
    border: 1px solid rgb(0 0 0 / 20%);
    border-radius: 8px;
    width: calc(50% - 1rem);
    min-height: 105px;
    display: flex;
    align-items: center;
}
.main-category-card,
.main-category-card:hover{
  width: calc(33% - 10px);
  text-align: left;
  background-color: #fff;
  color: #494949;
  border-radius: 8px !important;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Playfair Display';
  border: none !important;
}
.main-category-card.active{
 width: calc(33% - 10px);
  text-align: left;
  background: #1A2A40;
  background: linear-gradient(160deg, rgba(26, 42, 64, 1) 0%, rgba(46, 204, 113, 1) 100%);
  color: #fff !important;
  border-radius: 8px !important;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Playfair Display';
  border: none !important;
}
}


@media (max-width: 767.98px) {
  .w-md-50 {
    width: 50% !important;
  }
  
  .card-categrories-wrap .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500 !important;
    font-size: 20px;
    color: #2ECC71;
    min-height: 55px;
  }
  .main-category-card.active {
    font-size: 16px;
    width: calc(50% - 10px);
  }
  .main-category-card, .main-category-card:hover {
    font-size: 16px;
    width: calc(50% - 10px);
  }
  .badge-sub-category {
    color: #1E1E1E !important;
    padding: 18px 16px !important;
    font-size: 16px;
}
}

@media (max-width: 557px) {
  .w-md-50 {  
    width: 50% !important;
  }

  .hero-text-title h2 {
    font-size: 24px;
  }

  .hero-text-description p {
    font-size: 16px;
  }

  .header {
    padding-top: 92px;

  }

  .navbar.sticky {
    min-height: 75px;
    overflow: hidden !Important;
    height: 75px !Important;
  }

  .navbar-collapse.collapse.show {
    position: fixed;
    width: 100%;
    top: 75px;
    left: 0px;
    background-color: #0F5132;
    /* max-height: 70vh; */
    height: 100vh;
  }

  .navbar-collapse.collapse {
    transform: translateY(-100%);
    transition: transform 0.5s ease;
  }

  .navbar-collapse.collapse.show {
    transform: translateY(0);
  }

  .bottom-menu.w-100.w-md-50 {
    overflow: hidden;
    height: 40px;

  }

  .bottom-menu-left {
    width: 70px;
  }

  .cu-bg-law .min-height {
    min-height: 150px;
  }

  section.about-us-wrap h3 {
    margin-top: 0px !important;
  }

  .section_Categories h2 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .section_Categories {
    padding: 45px 0px !important;
  }

  .nearest-lawyer-wrap h3:first-of-type {
    font-size: 1.8rem;
  }

  .nearest-lawyer-wrap h3:nth-of-type(2) {
    font-size: 1.8rem;
  }

  .cu-text-title {
    font-size: 1.8rem;
  }
  .mobile-closed-message-avatar {
    align-content: center;
    text-align: -webkit-center;
  }
  .card-categrories-wrap .card-title {
    min-height: auto;
  }
  .about-text-heading p {
    font-size: 17px;
    line-height: normal;
  }
  .card-font-title {
    font-size: 20px !important;
  }
  .card-font-text {
    font-size: 15px;
    line-height: normal;
    color: #1E1E1E;
    letter-spacing: 0px;
  }
}