:root {
  /* Primary Colors */
  --color-primary-blue: #007bff;
  --color-primary-darkblue: #0056b3;

  /* Neutrals */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-light-grey: #f8f9fa;
  --color-grey: #616161;
  --color-dark-grey: #6c757d;
  --color-border-grey: #dee2e6;
  --color-border-light-grey: #e9ecef;

  /* Brand Colors */
  --color-brand-blue: #000a87;
  --color-brand-dark: #2d3748;

  /* Text & Link Colors */
  --color-text-dark: #333;
  --color-text-medium: #555;
  --color-text-light: #888;
  --color-text-muted: #cbd5e0;
  --color-text-lighter: #a0aec0;

  /* Accent Colors */
  --color-accent-light: #e9f2ff;
  --color-accent-blue: #0056b3;
  --color-accent-grey: #e2e8f0;

  /* Danger Color */
  --color-danger: #dc3545;
  --color-danger-dark: #bd2130;

  /* Backgrounds */
  --bg-section-dark: #FFF6EE;
  --bg-primary-light: #f9f9f9;
  --bg-brand-blue: #000a87;
}




a {
  color: var(--color-black);
}

a:hover {
  color: var(--color-grey);
  text-decoration: none;
}


.edit-section {
    min-height: 50px;
    align-content: center;
    justify-content: center;
}


.home-page-rencent-joined-lawyers-col {
    padding-left: 0 !important;
}

.home-page-rencent-joined-lawyers-col .field--name-lawyer-profile-profiles a.btn-blk {
    position: absolute;
    bottom: 15px;
    right: 15px;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
}

.home-page-rencent-joined-lawyers-col .field--name-lawyer-profile-profiles .card-body{
    min-height: 280px !important;
}

.sidebar {
    background: #ffffff;
    padding: 15px;
    opacity: 1;
    /* background: #fff; */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* border-radius: 25px; */
}

a.flex-prev {
  color: var(--color-white);
  background: var(--color-black);
}

a.flex-next {
  color: var(--color-black) !important;
}

a.flex-next:before {
  color: var(--color-black) !important;
}

img.logo {
    width: 50px;
}

a.navbar-brand.text-white.nav-link {
    /* padding: 0; */
    /* display: flex; */
    /* align-items: center; */
    /* font-weight: bold; */
    /* color: var(--bg-brand-blue) !important; */
}

.btn:hover, .node-readmore a:hover, .flexslider .more-link:hover, input[type="submit"]:hover {
  background: var(--color-black);
  color: var(--color-white);
}
/* Pagination container */
.js-pager__items {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 8px;
  padding: 16px 0;
  margin: 0;
}

/* Individual pager items */
.js-pager__items > li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 12px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.js-pager__items > li a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

/* Hover / Focus */
.js-pager__items > li:hover,
.js-pager__items > li a:focus {
  background-color: #e9ecef;
  border-color: #bbb;
}

/* Active Page */
.js-pager__items > li.is-active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}

/* Next / Last buttons */
.js-pager__items > li a[rel="next"],
.js-pager__items > li a[rel="last"] {
  font-weight: bold;
  color: #007bff;
}

/* Hover for next/last */
.js-pager__items > li a[rel="next"]:hover,
.js-pager__items > li a[rel="last"]:hover {
  background-color: #e7f1ff;
  border-color: #99c2ff;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .js-pager__items {
    gap: 4px;
  }
  .js-pager__items > li {
    min-width: 30px;
    min-height: 30px;
    font-size: 13px;
    padding: 4px 8px;
  }
}


.question-title.views-row a {
    font-size: 14px;
    text-decoration: underline;
    color: #000000 !important;
    font-weight: 500;
}

.node--view-mode-forum-topic-small .card-body {
    display : flex;
    align-items: center;
    justify-content: space-between;
}

.node--view-mode-forum-topic-small .card-body h2 {
  margin: 0;
  padding: 0;
}


.section-question-wrapper footer,  .section-recent-advocate-wrapper footer {
  display: flex;
  justify-content: flex-end;
}

.section-question-wrapper footer a, .section-recent-advocate-wrapper footer a {
  background: none !important;
  text-decoration: underline;
  font-size: 15px;
  font-weight: normal;
  border: 1px solid #000;
  margin-top: 15px;
  border-radius: 8px !important;
}


.section-question-wrapper {
    background: linear-gradient(135deg, #000000, #35476d, #022924);
}

.section-question-wrapper h2 {
    color: #fff
}

.section-question-wrapper footer a {
    background: #fff !important;
}
.node--view-mode-forum-topic-small.card {/* box-shadow: none; *//* background: no-repeat; */}

.node--view-mode-forum-topic-small.card .card-body {
  padding: 15px;
}

.node--view-mode-forum-topic-small .small.text-muted.date-wrapper {
    min-width: 140px;
}

.flexslider .slider-description {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 25px auto;
  text-align: left;
  color: #000; /* soft white for readability */
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5); /* improves visibility over images */
  /* padding: 0 15px; */
}

.flexslider .slider-description strong {
  color: #f9a825; /* highlight in gold */
  font-weight: 600;
}

.flexslider .slider-description a {
  color: #1a237e; /* deep navy for trust */
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #f9a825;
  transition: all 0.3s ease;
}

.flexslider .slider-description a:hover {
  color: #f9a825;
  border-bottom-color: #1a237e;
}


.btn, .node-readmore a, input[type="submit"] {
  background: #2dd4bf !important;
  color: var(--color-black) !important;
  font-weight: bold;
}

.flexslider .more-link {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  color: #ffffff;
  border: 2px solid #1a237e;
  transition: all 0.3s ease;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
  /* margin: 15px; */
}

.node--type-forum.node--view-mode-teaser .field--name-taxonomy-forums,
.node--view-mode-full .field--name-taxonomy-forums
{
 display: none;
}


/* General Form Styling */
.node-forum-form {
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 24px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    margin: 15px;
}

/* Labels */
.node-forum-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* Input Fields */
.node-forum-form input[type="text"],
.node-forum-form select,
.node-forum-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus Effect */
.node-forum-form input[type="text"]:focus,
.node-forum-form select:focus,
.node-forum-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
    outline: none;
}

/* Textarea Height */
.node-forum-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Buttons */
.node-forum-form button,
.node-forum-form input[type="submit"] {
    padding: 10px 24px;
    background-color: #007bff;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.node-forum-form button:hover,
.node-forum-form input[type="submit"]:hover {
    background-color: #0056b3;
}

.node-forum-form .link-edit-summary, .js-form-item-body-0-value label[for="edit-body-0-value"] {
  display: none;
}

.node-forum-form .form-actions {
  align-items: flex-start;
  justify-content: flex-start;
}


/* Summary Textarea (hidden by default) */
.node-forum-form .text-summary, .node-forum-form input[value="Preview"], .js-form-item-body-0-format, #edit-body-0-format-help {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .node-forum-form {
        padding: 16px;
    }
}


.comment-comment-forum-form.comment-form {
  margin: 0 auto;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;

  .js-form-item-comment-body-0-format, #edit-comment-body-0-format-help {
    display: none;
  }

  .form-wrapper {
    margin-bottom: 20px;

    label {
      display: block;
      font-weight: 600;
      margin-bottom: 8px;
      color: #1f2937; // dark gray-blue
    }

    input[type="text"],
    textarea,
    select {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid #cbd5e1; // light gray border
      border-radius: 6px;
      font-size: 16px;
      transition: border-color 0.2s, box-shadow 0.2s;
      background-color: #f8fafc;
    }

    input[type="text"]:focus,
    textarea:focus,
    select:focus {
      border-color: #3b82f6; // blue
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
      outline: none;
      background-color: #fff;
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }

    .ck.ck-editor__editable_inline {
      min-height: 150px;
      background-color: #f8fafc;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 12px;
      font-size: 16px;
    }

    select {
      appearance: none;
      background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 3 18 9"/></svg>');
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
    }
  }

  .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;

    input[type="submit"] {
      padding: 10px 22px;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s, color 0.2s;

      &.button--primary {
        background-color: #3b82f6;
        color: #ffffff;

        &:hover {
          background-color: #2563eb;
        }
      }

      &:not(.button--primary) {
        background-color: #e2e8f0;
        color: #1f2937;

        &:hover {
          background-color: #cbd5e1;
        }
      }
    }
  }

  a {
    color: #3b82f6;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}


.flexslider .more-link:hover,
.flexslider .more-link:focus {
  background-color: #f9a825; /* gold on hover */
  border-color: #f9a825;
  color: #1a237e; /* text switches to navy */
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}


.flexslider .flex-direction-nav a.flex-next:before {
  color: var(--color-black);
}

.user-form-page {
    display: flex;
    flex-wrap: wrap;
    /* background: var(--bg-section-dark); */
    height: 100vh;
    /* background: url('/themes/lawyers/images/sliders/hero_bg_1_1.jpg'); */
    /* background-position: left !important; */
    /* background-size: cover !important; */
    /* background-position: center center !important; */
    /* background-repeat: no-repeat !important; */
    /* background-attachment: fixed !important; */ /* Optional: keeps the background in place during scrolling */
    background: linear-gradient(135deg, #1A365D, #2563EB, #2DD4BF);
}

.register-client {
     /* background: url('/themes/lawyers/images/register-client.jpg'); */
}

.register-lawyer {
     /* background: url('/themes/lawyers/images/register-advocate.jpg'); */
}

.user-form-page__wallpaper {
    display: flex;
    /* flex-wrap: wrap; */
    flex-basis: 40%;
    /* opacity: .3; */
    /* background: var(--bg-brand-blue); */
    flex-direction: column;
    justify-content: center;
}


.region.region-content {
    /* background: #fff; */
    /* border-radius: 25px; */
    /* padding: 30px; */
}

.user-form-page::before {
    content: " ";
    /* background: #000000bd; */
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}

.user-form-page__user-form {
    display: flex;
    flex-grow: 2;
    flex-basis: 60%;
    flex-direction: column;
    /* background: var(--bg-section-dark); */
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.user-form-page .header {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    background: transparent;
    border-bottom: 0;
    /* padding: 20px; */
}

.user-form-page .header h1 {
    font-size: 1.5rem;
    color: #fff;
}

.user-form-page .header h3 {
    font-size: 15px;
    color: #fff;
}

header.content-header.clearfix {
    flex-basis: 100%;
    padding-top: 2.25rem;
    background: transparent;
}

/* Wrapper */
.edit-hover-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
  min-height: 50px;
}

.card.profile-card.main-content {
    margin-top: 0;
}

/* Always visible edit button */
.btn-hover-edit {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0px;
  font-size: 13px;
  /* font-weight: 500; */
  border-radius: 27px;
  cursor: pointer;

  /* Glassmorphism style */
  /* background: #51aff6 !important; */
  backdrop-filter: blur(6px);
  /* border: 1px dashed #000; */
  color: #fff;

  /* Animation */
  opacity: 0.85;
  transition: all 0.3s ease;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hover effects */
.btn-hover-edit:hover {
  opacity: 1;
  transform: scale(1.5);
  background: rgba(0, 123, 255, 0.35);
  /* border-color: rgba(255, 255, 255, 0.6); */
  /* box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4); */
}

/* Subtle glow effect */
.btn-hover-edit::before {
  /* content: ""; */
  /* position: absolute; */
  /* inset: 0; */
  border-radius: 17px;
  /* background: linear-gradient(135deg, rgba(0,123,255,0.6), rgba(0,200,255,0.4)); */
  /* opacity: 0; */
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-hover-edit:hover::before {
  opacity: 0.6;
}


#navbarContent ul li {
  list-style-type: none;
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
}

#navbarContent ul li a {
  /* color: var(--bg-brand-blue) !important; */
  /* background: unset !important; */
  /* display: flex; */
  /* align-items: center; */
  justify-content: center;
}

span.site-url {
    color: #fff;
    font-size: 15px;
    margin: 15px;
}

.lawyer-card {
  border: 1px solid var(--color-border-grey);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.lawyer-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}
.lawyer-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 12px;
}
.lawyer-specialization,
.lawyer-location {
  font-size: 0.95rem;
  color: var(--color-dark-grey);
}

.lawyer-card-container {
  width: 100%;
  max-width: 22rem; /* Increased width slightly */
}
.card {
  border: none;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  width: 100%;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.card-img-top {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  object-fit: cover;
  height: 280px;
}

/* Profile Card Base */

.left-sidebar-laywer-section .profile-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
}

.left-sidebar-laywer-section .profile-card {
  /* background: linear-gradient(145deg, #ffffff, #f7f9fc); */
  border: none;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 24px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift effect on hover */
.left-sidebar-laywer-section .profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* Profile Image Wrapper */
.left-sidebar-laywer-section .profile-header-img {
  position: relative;
  display: flex;
  padding: 6px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #6fb1fc, #4364f7); */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
}

/* Profile Image */
.left-sidebar-laywer-section .profile-header-img img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Subtle zoom on hover */
.left-sidebar-laywer-section .profile-header-img:hover img {
  transform: scale(1.05);
}

/* Profile Name */
.left-sidebar-laywer-section .profile-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #222;
  margin-top: 16px;
  margin-bottom: 12px;
}

/* Decorative underline effect */
.left-sidebar-laywer-section .profile-name::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #6fb1fc, #4364f7);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Optional subtle animation for underline */
.left-sidebar-laywer-section .profile-card:hover .profile-name::after {
  width: 80px;
  transition: width 0.3s ease;
}

.card-body {
  /* padding: 1.75rem; */
}
.card-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.practice-areas-title {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.practice-areas {
  margin-bottom: 1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  list-style-type: none;
}
.practice-area-item {
  background-color: var(--color-border-light-grey);
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  list-style: none;
}
.address-block {
  font-size: 0.9rem;
  color: var(--color-dark-grey);
  line-height: 1.5;
  margin-top: 1rem;
}
.btn-primary {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.card {
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
      color: var(--color-black)  !important;
  }
}


a.view-btn {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
}

.section-dark {
  background: #fff;
  min-height: 450px;
  display: flex;
  align-items: center;
}

section.py-5.section-white {
  /* background: var(--bg-brand-blue); */
}

.flexslider .flex-direction-nav li {
  background: unset !important;
}

i.fas {
  color: var(--color-black) !important;
}

.btn-blk {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 50px;
}

#views-exposed-form-lawyers-page-1 .form-item {
  display: flex;
  flex-direction: column;
}

#views-exposed-form-lawyers-page-1 input,  #views-exposed-form-lawyers-page-1 select, #views-exposed-form-lawyers-page-1  .chosen-container {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

#views-exposed-form-lawyers-page-1 input[type=submit] {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  margin-top: 15px;
}

.lawyer-search-header h1 {
  color: var(--color-white);
}

.lawyer-search-header {
  background: url('../../images/laywers-search-header.jpeg') no-repeat center center;
  background-size: cover;
  background-position: top;
  background-blend-mode: luminosity;
}

.profile-card {
  background-color: var(--color-white);
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease-in-out;
}

.profile-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.profile-header-img .profile-image-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -75px;
  display: inline-block;
  overflow: hidden;
  background-color: var(--color-border-light-grey);
}

.profile-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--color-text-dark);
}

.profile-title {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-section .card-header {
  background-color: var(--color-light-grey);
  border-bottom: 1px solid var(--color-border-light-grey);
  font-weight: 600;
  font-size: 1.1rem;
  color: #343a40;
}

.info-section .list-group-item {
  border: none;
  padding: 0.85rem 1.25rem;
}

.info-section .list-group-item i {
  margin-right: 15px;
  color: var(--color-primary-blue);
  width: 20px;
  text-align: center;
}

.main-content .card-header {
  background-color: transparent;
  border-bottom: none;
  padding-bottom: 0;
}

.main-content .nav-tabs {
  /* border-bottom: 1px solid var(--color-border-grey); */
}
/* Tabs Container */
.advocate-tabs {
  border-bottom: none;
  display: flex;
  justify-content: space-around;
  /* background-color: #fff; */
  /* border-radius: 12px; */
  /* padding: 6px; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
}

/* Tab Items */
.advocate-tabs .nav-item {
  flex: 1;
  text-align: center;
}

/* Tab Links */
.advocate-tabs .nav-link {
  border: none;
  color: #666;
  font-weight: 500;
  padding: 10px 0;
  font-size: 14px;
  border-radius: 8px;
  position: relative;
  transition: all 0.25s ease;
}

/* Active Tab */
.advocate-tabs .nav-link.active {
  background-color: #f0f4ff;
  color: #2b4eff;
  font-weight: 600;
  box-shadow: inset 0 -3px 0 #2b4eff;
}

/* Hover State */
.advocate-tabs .nav-link:hover {
  background-color: #f8f9fa;
  color: #2b4eff;
}

/* Mobile-friendly */
@media (max-width: 576px) {
  .advocate-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 6px;
  }
  .advocate-tabs .nav-item {
    flex: 0 0 auto;
  }
  .advocate-tabs .nav-link {
    font-size: 13px;
    padding: 8px 12px;
  }
}


.main-content .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-dark-grey);
  font-weight: 600;
  transition: all 0.2s ease;
}

.main-content .nav-tabs .nav-link.active,
.main-content .nav-tabs .nav-link:hover {
  border-bottom-color: var(--color-primary-blue);
  color: var(--color-primary-blue);
}

.practice-area-badge {
  background-color: var(--color-accent-light);
  color: var(--color-accent-blue);
  font-weight: 500;
  padding: 8px 12px;
  margin: 4px;
  border-radius: 20px;
  display: inline-block;
}

.social-links-container {
  padding: 10px 0;
}

.social-links a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: var(--color-dark-grey);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--color-primary-blue);
}
.not-provided {
  color: var(--color-text-light);
  font-style: italic;
}

.path-profile ul.social-link-field.vertical li {
  list-style-type: none;
  width: auto;
}

.path-profile  ul.social-link-field {
  display: flex;
  padding: 0;
  margin-top: 15px;
  flex-wrap: wrap;
}

.path-profile li {
  list-style-type: none;
}

.path-profile .tab-content h5 {
  display: flex;
  gap: 10px;
}

h5.section-title.Professional , 
.field--name-field-experience, 
.field--name-field-online-consultation-availa,
.field--name-field-gender, .field--name-field-license-bar-id, .field--name-field-languages-spoken
{
  display: inline-block !important;
  /* float: left; */
  /* width: 100%; */
}

.container.my-5.profile-container .main-content {
    padding-bottom: 0 !important;
}

h5.section-title {
  font-weight: 600;
}

.card.profile-card.info-section ul li {
  display: flex;
  align-items: center;
}

.card.profile-card.info-section ul li {
  display: flex;
  align-items: center;
  gap: 5px;
  /* border: 1px solid #ccc; */
  justify-content: left;
}

/* Custom Dark Navbar Styling */
.navbar {
  background-color: var(--color-brand-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.75rem;
}

.navbar-brand .text-white-accent {
  color: #000 !important;
}

.nav-link {
  color: var(--color-text-muted) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-white) !important;
}

/* Adjust icon color for better visibility */
.nav-link .fas {
  color: var(--color-text-lighter);
}

.nav-link:hover .fas {
  color: var(--color-white);
}

/* Navbar Toggler Icon */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.lawyer-section {
      padding: 60px 0;
    }
    .lawyer-section h2 {
      font-weight: bold;
      color: var(--bg-brand-blue);
      letter-spacing: 1px;
      color: #1a237e;
      background: linear-gradient(to right, #1a237e, #283593, #f9a825);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    }
    .lawyer-section p {
      color: #000;
      font-size: 1.1rem;
    }
    .lawyer-section .btn-primary {
      background-color: #007bff;
      border: none;
      padding: 10px 30px;
      font-size: 1rem;
    }
    .lawyer-section .btn-primary:hover {
      background-color: #0056b3;
    }
    .lawyer-section img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      /* box-shadow: 0 10px 25px #1a237e5e; */
    }
    .disclaimer {
      font-size: 0.9rem !important;
      color: #6c757d !important;
      margin-top: 20px !important;
      font-style: italic;
    }
    .text-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

/* Login Button */
.btn-outline-light {
  color: var(--color-text-muted);
  border-color: var(--color-text-muted);
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--color-brand-dark);
  background-color: var(--color-text-muted);
  border-color: var(--color-text-muted);
}

/* Register Button - Custom White Accent Style */
.btn-white-accent {
  background-color: var(--color-accent-grey);
  color: var(--color-brand-dark);
  border-color: var(--color-accent-grey);
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.field.field--name-field-languages-spoken {
  display: flex;
  display: flex !important;
  flex-wrap: wrap !important;
  width: calc(100% - 200px);
}

.card.profile-card li.list-group-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: row;
  position: relative;
}

.card.profile-card i.fa.fa-info-circle.text-muted {
  position: absolute;
  right: 0;
  cursor: pointer;
}

.section.fees-section {
  display: flex;
  gap: 14px;
}

.card.profile-card  strong i {
  color: var(--color-black) !important;
  border-radius: 50%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  font-size: 20px;
}

.btn-white-accent:hover,
.btn-white-accent:focus {
  background-color: var(--color-text-muted);
  border-color: var(--color-text-muted);
  color: var(--color-brand-dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Shadow for sticky-top navbar */
.navbar.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* General Form Styling */
.profile-form {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 40px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text-dark);
  box-sizing: border-box;
}

/* Section Headings (like "Date of Birth") */
.profile-form h4.label {
  font-size: 1.2em;
  color: var(--color-primary-darkblue);
  margin-top: 25px;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}

/* Wrapper for form fields */
.form-wrapper {
  margin-bottom: 20px;
}

/* Individual Form Items (labels and inputs/textareas/selects) */
.form-item {
  margin-bottom: 15px;
}

/* Labels */
.form-item label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #040404;
  font-size: 0.95em;
}

/* Required field indicator */
.form-required:after {
  content: " *";
  color: var(--color-danger);
  margin-left: 2px;
}

/* Text Inputs, Textareas, and Selects */
input[type="text"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  color: var(--color-text-dark);
  box-sizing: border-box;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

/* Specific styling for textareas to ensure proper resizing */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Date input specific styling */
input[type="date"] {
  appearance: none;
  padding-right: 10px;
}

/* Important step theme */
.important-step {
  background: #fff3f3;
  border-left: 6px solid #dc3545; /* Bootstrap danger red */
  padding: 12px;
  border-radius: 4px;
  color: #721c24;
  font-weight: 500;
}

/* Profile Image Section */
.image-widget {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed #ddd;
  border-radius: 5px;
  background-color: var(--bg-primary-light);
}

.image-preview img {
  border-radius: 5px;
  border: 1px solid #eee;
  background-color: var(--color-white);
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.image-widget-data {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.file-link a {
  color: var(--color-primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.file-link a:hover {
  text-decoration: underline;
}

/* Action Buttons (Save, Delete) */
.form-actions {
  display: flex;
  gap: 15px;
  /* margin-top: 30px; */
  /* padding-top: 20px; */
  /* border-top: 1px solid #eee; */
  justify-content: space-around;
}

.button {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.button--primary {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
}

.button--primary:hover {
  background-color: var(--color-primary-darkblue);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.button--danger {
  background-color: var(--color-danger);
  color: var(--color-white);
}

.button--danger:hover {
  background-color: var(--color-danger-dark);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Remove button for image */
input[name*="remove-button"] {
  background-color: var(--color-dark-grey);
  color: var(--color-white);
  padding: 8px 15px;
  font-size: 0.9em;
  align-self: flex-start;
  width: auto;
}

.header-menu-bar .navbar {
    /* background: var(--bg-section-dark); */
    z-index: 9;
}

input[name*="remove-button"]:hover {
  background-color: #5a6268;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.navbar-top.navbar-dark.bg-light.d-none.d-xl-block.py-0 {
    /* background: var(--bg-brand-blue) !important; */
}

.navbar-dark .navbar-brand {
  color: var(--color-black) !important;
}

a.talk-to-lawyer {
    color: var(--color-danger-dark) !important;
    background: #fff;
    border-radius: 25px !important;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container .field--type-address {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 8px 0;
}

.profile-container .field--type-address .field__item {
  background: #fafafa; /* soft background to separate from page */
  border-radius: 8px;
  padding: 12px 14px;
}

.profile-container .field--type-address .address {
  margin: 0;
}

.profile-container .field--type-address .address-line1 {
  font-weight: 600;
  font-size: 1.05em;
  color: #222;
  margin-bottom: 4px;
}

.profile-container .field--type-address .address-line3 {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 4px;
}

.profile-container .field--type-address .locality {
  font-weight: 500;
  color: #333;
}

.profile-container .field--type-address .postal-code {
  color: #2a4d8f;
  font-weight: bold;
  font-size: 0.9em;
  margin-left: 4px;
}

.profile-container .field--type-address .administrative-area {
  font-size: 0.9em;
  color: #007BFF;
  font-weight: 500;
}

.profile-container .field--type-address .country {
  display: block;
  margin-top: 6px;
  font-size: 0.8em;
  text-transform: uppercase;
  color: #777;
  letter-spacing: 0.5px;
}

.advocate-tabs li a {
    color: var(--bg-brand-blue) !important;
    /* border-bottom-color: var(--bg-brand-blue) !important; */
}

.advocate-tabs a.active,
.advocate-tabs a:hover
{
    color: var(--bg-brand-blue) !important;
}

.whatsapp-btn-img svg {
    width: 40px;
    height: 40px;
}

.call-btn {
    display: inline-block;
    background-color: #007BFF; /* Blue button */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.themed-link {
    color: #fff; /* Bootstrap blue */
    font-weight: bold;
    text-decoration: none;
    padding: 8px 14px;
    background: #007BFF;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    /* width: 40px; */
    /* height: 40px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.contact-numbers-list.list-group.d-flex.flex-row {
    /* align-items: center; */
    /* justify-content: center; */
    flex-wrap: wrap;
    /* display: inline-block !important; */
}

a.whatsapp-btn-img {
    /* margin-bottom: 0; */
    /* padding-bottom: 0; */
    /* display: flex; */
}

svg#_x32_ {
    transform: scale(1.8);
}


.themed-link i {
    font-size: 24px;
}

.themed-link:hover {
    background-color: #007BFF;
    color: white;
    text-decoration: none;
}


.call-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* 
 * Sliders theme
*/
.sliders-wrapper, .section-white {
  background-image: url('/themes/lawyers/images/sliders/hero_bg_1_1.jpg') !important;
  height: 500px !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  display: flex;
  align-items: center;
}

.sliders-wrapper img.overlay-image, .section-white img.overlay-image {
    position: absolute;
    left: 0;
    width: 100%;
    height: 500px;
    top: 0;
    opacity: .9;
}

.sliders-wrapper .flexslider .slides li:after {
    content: unset !important;
}

.sliders-wrapper .slider-caption {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    width: unset !important;
    max-width: calc(100% - 350px) !important;
    padding: 0;
    margin-right: 15px;
}

.sliders-wrapper li.li-slide {
    display: flex !important;
    height: 500px !important;
    flex-direction: row;
    align-items: center;
}

.sliders-wrapper .slide-img img {
    width: 400px;
    border-radius: 25px;
    /* border: 2px solid var(--bg-section-dark); */
    /* height: 300px; */
    box-shadow: -5px 5px 1px #2996d7;
}

.sliders-wrapper div#slider {
    background: transparent;
}

.sliders-wrapper .flexslider .slider-title {
  font-size: 2rem;
}


.sliders-wrapper .flexslider .slider-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a237e; /* Deep navy blue */
  background: linear-gradient(to right, #1a237e, #283593, #f9a825); /* Navy to gold */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  /* padding: 15px; */
}


.sliders-wrapper ul.flex-direction-nav {
    display: none !important;
}

footer.bg-dark {/* background: var(--bg-brand-blue) !important; */}

hr {
    color: #fff !important;
    background-color: #fff;
}

footer ul li a , footer i.fas {
    color: #fff !important;
}

.contact-btn,
.call-btn,
.whatsapp-btn,
.website-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 46px; */
  /* height: 46px; */
  /* border-radius: 50%; */
  /* font-size: 20px; */
  /* color: #fff; */
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Floating & Glow on Hover */
.contact-btn:hover,
.call-btn:hover,
.whatsapp-btn:hover,
.website-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Contact / Message */
.contact-btn {
  background: linear-gradient(135deg, #6fb1fc, #4364f7);
}
.contact-btn:hover {
  background: linear-gradient(135deg, #4364f7, #6fb1fc);
}

/* Call */
.call-btn {
  background: linear-gradient(135deg, #42e695, #3bb2b8);
}
.call-btn:hover {
  background: linear-gradient(135deg, #3bb2b8, #42e695);
}

/* WhatsApp */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
}

/* Website */
.website-btn {
  background: linear-gradient(135deg, #ff9966, #ff5e62);
}
.website-btn:hover {
  background: linear-gradient(135deg, #ff5e62, #ff9966);
}

/* Optional: Ripple Effect */
.contact-btn::after,
.call-btn::after,
.whatsapp-btn::after,
.website-btn::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  transition: transform 0.4s ease;
}
.contact-btn:active::after,
.call-btn:active::after,
.whatsapp-btn:active::after,
.website-btn:active::after {
  transform: scale(1.2);
  opacity: 0;
}


footer h5, footer h6 {
    font-size: 20px;
}

.curvv-img {
  border-radius: 25px !important;
  /* border: 4px solid var(--bg-brand-blue); */
  box-shadow: 0 5px 25px #2dd4bf45;
}

.how-it-works {
    background: #fff;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.how-it-works h2 {
    font-weight: bold;
    color: var(--bg-brand-blue);
    letter-spacing: 1px;
    color: #1a237e;
    background: linear-gradient(to right, #1a237e, #283593, #f9a825);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.how-it-works p.card-text {
    color: #000;
}

.how-it-works h5 {
    /* color: var(--bg-brand-blue) !important; */
    font-weight: bold;
    color: var(--bg-brand-blue);
    letter-spacing: 1px;
    color: #1a237e;
    /* background: linear-gradient(to right, #1a237e, #283593, #f9a825); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.how-it-works i {
    /* fill: var(--bg-brand-blue) !important; */
    /* color: var(--bg-brand-blue) !important; */
}

.how-it-works .card {
    /* border: 2px solid var(--bg-brand-blue) !important; */
}

.more-link {
  margin-bottom: 5px;
}

.field.field--name-field-services,
.field.field--name-field-practice-areas,
.field.field--name-field-court,
.field--name-field-languages-spoken
{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.field.field--name-field-services .field__item,
.field.field--name-field-practice-areas .field__item,
.field.field--name-field-court .field__item,
.field.field--name-field-court  a,
.field--name-field-languages-spoken .field__item
{
    background: #cccccc61;
    padding: 3px 5px;
    border-radius: 5px;
    color: #007BFF !important;
    /* border: 1px dotted; */
}

form#user-login-form,
form#user-register-form
{
    /* border: none; */
    /* background: transparent; */
    /* margin-top: 0; */
    border-radius: 25px;
    padding: 30px;
}

.page-links {
    display: flex;
    gap: 15px;
    padding: 20px;
}

/* ====== COLOR PALETTE ======
Primary: Deep Blue #1A365D
Accent: Teal #2DD4BF
Light Accent: Sky #60A5FA
Text: White #FFFFFF
================================= */

/* Top Bar */
.navbar-top {
  background-color: #1A365D !important;
  color: #fff;
}
.navbar-top ul li a {
  color: #cbd5e1;
  font-size: 16px;
}
.navbar-top ul li a:hover {
  color: #2DD4BF;
}

/* Main Navbar */
.navbar {
  background: linear-gradient(135deg, #1A365D, #2563EB, #2DD4BF);
  padding: 0.6rem 0;
}

/* Brand Logo + Text (Vertically Centered) */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-size: 20px;
  font-weight: 600;
}
.navbar-brand img.logo {
  width: 45px;
  /* display: block; */
  filter: brightness(0) invert(1); /* makes image white */
}

/* Nav Links */
.navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  /* padding: 8px 14px; */
  transition: background-color 0.3s ease, transform 0.25s ease;
}
.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Sign In Button */
.navbar .sing-in .nav-link {
  background-color: #2DD4BF;
  color: #1A365D !important;
  font-weight: 600;
  padding: 8px 16px;
}
.navbar .sing-in .nav-link:hover {
  background-color: #60A5FA;
  color: #fff !important;
}

/* Mobile Menu */
@media (max-width: 991px) {
  .navbar-top .list-unstyled {
    display: none !important;
  }
  .navbar-nav {
    background: #1A365D;
    padding: 12px;
    /* background: linear-gradient(135deg, #010305, #8986b0, #17420e); */
  }
  .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
    padding: 10px 12px;
  }
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}


form#user-login-form #edit-actions,
form#user-register-form #edit-actions
{
    border-top: none;
    margin: 0;
    padding: 0;
}

form#user-login-form .button-wrapper,
form#user-register-form .button-wrapper
{
    display: flex;
    align-items: center;
}

form#user-login-form input,
form#user-register-form input
{
    border: 1px solid var(--bg-brand-blue);
    padding: 14px;
    border-radius: 10px;
    /* color: var(--bg-brand-blue) !important; */
    width: 100%;
    height: 50px;
}

input#edit-submit {
  background: var(--bg-brand-blue) !important;
  color: #fff !important;
}


form#user-login-form label,
form#user-register-form label
{
    color: var(--bg-brand-blue);
}

form#user-login-form .description,
form#user-register-form .description
{
    display: none;
}

form#user-login-form button,
form#user-register-form button
{
    color: var(--bg-brand-blue);
}

.user-form-page__wallpaper {
    color: #fff;
    padding: 50px;
    gap: 15px;
    position: relative;
    z-index: 1;
    border: none;
}

.user-form-page__wallpaper header {
  display: flex;
}

.user-form-page img.logo.white {
  filter: brightness(0) invert(1);
}

.user-form-page__user-form h1 {
  font-size: 1.5rem;
}

.language-wrapper {
    display: flex;
    gap: 5px;
}

.data-wrapper {
    display: flex;
    gap: 10px;
}

form#user-login-form  a,
form#user-register-form a,
.user-form-page .page-links a
{
    text-decoration: underline;
    /* color: #fff; */
    font-weight: 500;
}

.user-form-page a.forget-password {
    color: var(--bg-brand-blue);
}

.user-form-page a.google-icon-link {
    background: #dd4b39 !important;
    color: #fff !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.social-login-btn-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    align-items: center;
    color: var(--bg-brand-blue);
}

span.link-wrapper a {
    padding: 5px 10px;
}

span.link-wrapper a.active {
    border-bottom: 5px solid #fff;
    /* color: #000 !important; */
    /* padding: 5px 10px; */
    text-decoration: none;
}

span.link-wrapper {
    max-width: 500px;
    display: flex;
    gap: 15px;
    width: 500px;
}

.show-in-mobile {
  display: none;
}

.views-exposed-form {
  /* padding: 20px; */
  /* background-color: #f9f9f9; */
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  font-family: sans-serif;
}

.views-exposed-form h2 {
  /* text-align: center; */
  /* margin-bottom: 20px; */
  /* color: #333; */
  font-size: 1.35rem;
  font-weight: 700;
}

.views-exposed-form .content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.views-exposed-form .js-form-item {
  flex: 1 1 200px;
  /* Flex-grow, flex-shrink, flex-basis */
  display: flex;
  flex-direction: column;
}

.views-exposed-form .js-form-item label {
  margin-bottom: 5px;
  font-weight: bold;
  /* color: #555; */
}

.views-exposed-form .form-select,
.views-exposed-form .form-text,
.views-exposed-form .chosen-container-multi, .views-exposed-form #edit_court_ids__2_chosen {
  width: 100%;
  /* padding: 10px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}


.views-exposed-form .chosen-container-multi .chosen-choices, .views-exposed-form .chosen-single {
  padding: 7px;
  border: none;
}

.views-exposed-form #edit_court_ids__2_chosen .chosen-single,
.views-exposed-form #edit_languages_spoken__2_chosen .chosen-single
{
  padding: 11px;
  border: none;
}

.views-exposed-form .form-actions {
  /* display: flex; */
  /* justify-content: flex-end; */
  /* gap: 10px; */
  /* width: 100%; */
  /* margin-top: 20px; */
  flex-direction: column;
  flex-direction: row;
}

.views-exposed-form .form-submit {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.views-exposed-form #edit-submit-lawyers--2 {
  background-color: #007bff;
}

.views-exposed-form #edit-reset-lawyers--2 {
  background-color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-form {
      margin: 20px auto;
      padding: 20px;
  }

  .node--view-mode-forum-topic-small.card .card-body {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .node--view-mode-forum-topic-small.card .card-body .date-wrapper span {
    margin-left: 0 !important;
  }

  #mobileNavbar  .nav-link {
    /* flex-direction: column; */
    font-size: 10px;
    gap: 0px;
    /* padding-right: 7px; */
    /* padding-left: 0; */
    /* font-size: 10px; */
    align-items: center;
    /* height: 47px; */
  }

    #mobileNavbar  .nav-link  img {
      width: 20px;
      height: 20px;
      /* border: 1px solid; */
    }

  .sliders-wrapper {
    height: 400px !important;
    margin-top: 35px;
  }

  .sliders-wrapper img.overlay-image {
    height: 100%;
  }

  .sliders-wrapper li.li-slide {
    height: auto !important;
  }

   #sidebar-wrapper {
    position: relative;
    left: 0;
    box-shadow: none;
    height: auto;
    width: 100%;
  }

  .form-actions {
      flex-direction: column;
      gap: 10px;
  }

  .button {
      width: 100%;
  }
   .navbar-toggler {
    /* border-color: var(--bg-brand-blue) !important; */
    background: var(--color-white);
    /* color: #000 !important; */
  }

  .slide-img, .curvv-img {
    display:none;
  }

  .sliders-wrapper .slider-caption {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto;
    text-align: center;
  }

  .sliders-wrapper .flexslider .slider-title, 
  .lawyer-section h2, .section-white h2,
  .how-it-works h2
  {
    font-size: 1.4rem;
    text-align: center;
  }

  .header-menu-bar .navbar {
    position: fixed;
    width: 100vw;
  }

  .how-it-works h5 {
    font-size: 1.2rem;
  }

  .flexslider .slider-description {
    text-align: center;
    font-size: 16px;
  }

  .lawyer-section p, .section-white .lead {
    font-size: .9rem;
    text-align: center;
  }

  .flexslider .more-link {
    padding: 10px;
    font-size: .8rem;
    width: auto;
  }

  .more-link {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .user-form-page {

  }

  .user-form-page form#user-register-form {
    /* width: 350px; */
    max-width: 90%;
    /* margin: 15px auto; */
  }

  form#user-register-form {
    padding: 15px;
    margin: 40px auto;
    width: 100% !important;
    max-width: 100% !important;
  }

  .user-form-page .user-form-page__user-form {
  flex: 100%;
  margin-top: 60px;
  margin: 15px;
  }

  .user-form-page .user-form-page__wallpaper {display: none;}

  .user-form-page__wallpaper .user-form-page__user-form {

  }
  .user-form-page span.link-wrapper {
    width: auto;
  }
  
  .user-form-page__wallpaper .user-form-page__user-form .user-form {
    
  }

  form#user-login-form, form#user-register-form {
    padding: 15px;
  }

  header.content-header.show-in-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
}

header.content-header.show-in-mobile a {
    margin: 10px 0;
}

  .sidebar-wrapper {
    margin-top: 0 !important;
    height: 0;
  }

  .sidebar-wrapper button {
    position: fixed;
    width: 100px;
    z-index: 999 !important;
    z-index: 9999 !important;
    /* top: 130px; */
    /* background: var(--bg-brand-blue) !important; */
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 9px;
    box-shadow: 0px 1px 12px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #000 !important;
    /* padding: 0.6rem 0; */
    left: calc(50% - 50px);
    bottom: 60px;
    display: flex;
    gap: 5px;
    font-weight: normal;
}


  div#sidebar-wrapper {
    /* position: fixed; */
    /* left: -350px; */
    /* top: 70px; */
}


.sidebar-wrapper.active button {
  left: calc(100vw - 45px);
  /* width: 150px; */
  top: 20px;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  position: absolute;
  border-radius: 20px;
}

  .views-exposed-form .content {
    flex-direction : column;
  }

  .sidebar-wrapper.active {
    width: 100vw;
    /* height: 100vh; */
    position: fixed;
    z-index: 999;
    height: auto;
    top: 0;
    overflow-y: auto;
  }
  
.sidebar-wrapper.active div#sidebar-wrapper {
    left: 0;
    /* height: 100vh; */
    width: 100vw;
    /* top: 64px; */
}


/* Sidebar hidden by default on mobile */
#sidebar-wrapper {
  /* position: fixed; */
  /* top: -120px; */
  left: -280px; /* Hidden */
  width: 280px;
  /* height: 100%; */
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto;
}

/* When visible */
#sidebar-wrapper.active {
  left: 0;
}



  
}

/* Footer Theme for Advotalk */
footer {
  /* background: linear-gradient(145deg, #1A365D, #0F172A); */ /* deep navy gradient */
  /* color: #E2E8F0; */
  /* font-size: 15px; */
  /* line-height: 1.6; */
}

footer h5,
footer h6 {
  color: #2DD4BF !important; /* teal accent */
  font-weight: 600 !important;
  font-size: 16px;
  background: none !important;
}

footer p,
footer a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #2DD4BF;
}

footer .btn-floating {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid rgba(255,255,255,0.2); */
  /* border-radius: 19px; */
  transition: all 0.3s ease;
}

footer .btn-floating:hover {
  background-color: #2DD4BF;
  border-color: #2DD4BF;
  color: #0F172A;
}

/* Divider line */
footer hr {
  border-color: rgba(255,255,255,0.1);
}

/* Copyright */
footer .text-white-50 {
  color: rgba(255,255,255,0.5) !important;
}

/* Responsive Layout */
@media (max-width: 768px) {
  footer {
    /* text-align: center; */
    /* padding: 40px 0px; */
  }
  footer .row > div {
    margin-bottom: 20px;
  }
  footer .btn-floating {
    margin: 5px;
  }
}

/* ====== CARD ====== */
.home-page-rencent-joined-lawyers .profile .card {
  background: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page-rencent-joined-lawyers .profile .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* ====== IMAGE AREA ====== */
.home-page-rencent-joined-lawyers .profile img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

/* ====== NAME ====== */
.home-page-rencent-joined-lawyers .profile .card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

/* ====== PRACTICE AREAS ====== */
.home-page-rencent-joined-lawyers .profile .practice-areas-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.home-page-rencent-joined-lawyers .profile .practice-areas .badge {
  background: #e9ecef;
  color: #0d1b2a;
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  font-weight: 500;
  border-radius: 4px;
  line-height: 1.2;
  white-space: normal; /* Allow wrapping for long tags */
}

.sidebar-wrapper {
    margin-top: 60px;
    /* background: #fff; */
    /* border-radius: 15px; */
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.15); */
    padding: 0;
}

.views-exposed-form .form-actions input {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
}

.home-page-rencent-joined-lawyers  .practice-areas-wrapper .text-muted::before {
    content: "" !important;
}

/* ====== LOCATION ====== */
.home-page-rencent-joined-lawyers .profile .text-muted {
  font-size: 0.88rem;
  color: #6c757d !important;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 1rem;
}

#views-bootstrap-lawyers-block-1 .left-sidebar-laywer-section .profile-name {
  font-size: 16px;
}

.home-page-rencent-joined-lawyers .profile .text-muted::before {
  content: "\f3c5"; /* Font Awesome location-dot */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #1b263b;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ====== BUTTON ====== */
.home-page-rencent-joined-lawyers .profile .btn-blk {
  background: #1b263b;
  color: #fff;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 3px;
  transition: background 0.25s ease;
}

.home-page-rencent-joined-lawyers-col {
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
}

.home-page-rencent-joined-lawyers .profile .btn-blk:hover {
  background: #0d1b2a;
}

ul.social-link-field.vertical a {
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #027bff;
    /* border-radius: 50px; */
    color: #fff;
    margin-right: 15px;
    /* box-shadow: 2px 1px 5px 2px #000; */
}

.contact-numbers-list {
  gap: 5px;
}

.contact-item {
  /* display: inline-block !important; */
  /* flex-direction: column; */
  /* align-items: center; */
}

.contact-item a {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  text-decoration: none;
  /* color: #333; */
  gap: 10px;
  /* width: 120px; */
  justify-content: space-between;
}

.contact-item i {
  font-size: 22px;
  margin-bottom: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-item .contact-label {
  font-size: 10px;
  font-weight: 500;
  /* color: #555; */
}

.contact-item a:hover i {
  transform: scale(1.2);
  /* color: #007bff; Bootstrap primary color */
}

.contact-item a:hover .contact-label {
  /* color: #007bff; */
}

/* ---------- Scope to this modal only ---------- */
.modal-content.profile-card {
  border: 0;
  /* border-radius: 0px; */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
}

/* Header */
.profile-card .modal-header, .ui-dialog-titlebar {
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  background: linear-gradient(180deg, #225ee6 0%, #1b6460 100%) !important;
}

.profile-card .modal-title, .ui-dialog-title {
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff !important;
  margin: 0;
  font-size: 20px;
  /* text-align: center !important; */
}
.profile-card .close {
  outline: 0;
  text-shadow: none;
  opacity: 1;
  transition: opacity .2s ease;
  color: #fff !important;
}
.profile-card .close:hover { opacity: 1; }

/* Body spacing */
.profile-card .modal-body {
  padding: 18px;
  /* border-left: 4px solid #235de6; */
  /* border-right: 4px solid #235de6; */
  /* border-bottom: 4px solid #235de6; */
}

/* Webform container */
#webform-submission-contact-me-profile-3-add-form .js-form-item,
#webform-submission-contact-me-profile-3-add-form .form-item {
  margin-bottom: 14px;
}

/* Labels (use existing label markup) */
#webform-submission-contact-me-profile-3-add-form label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: #374151; /* gray-700 */
  margin-bottom: 6px;
  line-height: 1.2;
}

/* Required asterisk for Drupal's .form-required */
#webform-submission-contact-me-profile-3-add-form label.form-required::after {
  content: " *";
  color: #dc2626; /* red-600 */
  font-weight: 700;
}

/* Inputs, selects, textarea */
#webform-submission-contact-me-profile-3-add-form input.form-email,
#webform-submission-contact-me-profile-3-add-form input.form-tel,
#webform-submission-contact-me-profile-3-add-form select.form-select,
#webform-submission-contact-me-profile-3-add-form .form-textarea {
  width: 100%;
  border: 1px solid #e5e7eb; /* gray-200 */
  background: #fff;
  border-radius: 10px;
  height: 44px;
  padding: 10px 12px;
  font-size: .95rem;
  line-height: 1.2;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

/* Textarea sizing */
#webform-submission-contact-me-profile-3-add-form .form-textarea-wrapper .form-textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
}

/* Placeholder color */
#webform-submission-contact-me-profile-3-add-form ::placeholder {
  color: #9ca3af; /* gray-400 */
}

/* Focus states */
#webform-submission-contact-me-profile-3-add-form input.form-email:focus,
#webform-submission-contact-me-profile-3-add-form input.form-tel:focus,
#webform-submission-contact-me-profile-3-add-form select.form-select:focus,
#webform-submission-contact-me-profile-3-add-form .form-textarea:focus,
.profile-card .select2-container--default .select2-selection--single:focus,
.profile-card .select2-container--default .select2-selection--multiple:focus {
  outline: none;
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 .2rem rgba(59,130,246,.15);
}

/* Select2 — keep using existing classes generated by the module */
.profile-card .select2-container { width: 100% !important; }
.profile-card .select2-container .select2-selection--single,
.profile-card .select2-container .select2-selection--multiple {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  min-height: 44px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Single select alignment */
.profile-card .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 12px;
  color: #111827;
}
.profile-card .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 8px;
}

.edit-hover-btn:hover {
    border: 1px dashed #101010;
}

.language-wrapper.data-wrapper .field.field--name-field-languages-spoken {
    width: unset;
}

/* Multiple select chips */
.profile-card .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
}
.profile-card .select2-selection--multiple .select2-selection__choice {
  background: #eef2ff; /* indigo-50 */
  border: 1px solid #c7d2fe; /* indigo-200 */
  color: #3730a3; /* indigo-700 */
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .85rem;
}
.profile-card .select2-selection--multiple .select2-search__field {
  margin: 6px 4px;
  line-height: 1.4;
}

/* Dropdown */
.profile-card .select2-container .select2-dropdown {
  border-color: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.profile-card .select2-results__option--highlighted[aria-selected] {
  background: #eff6ff; /* blue-50 */
  color: #1f2937; /* gray-800 */
}

/* Actions */
.profile-card .webform-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.ui-dialog.ui-corner-all {
  padding: 0;
  border: none !important;
}

.ui-dialog .profile-form {
  padding: 15px;
  margin: 0;
  box-shadow: none;
}

.profile-card .webform-button--submit.button.button--primary , .ui-dialog-buttonset button{
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: .2px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(29,78,216,.25);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.ask-qst a.nav-link {
    background: #1a365d;
}

.section-recent-advocate-wrapper {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.section-recent-advocate-wrapper .card-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Mobile: 1 card per row */
@media (max-width: 640px) {
  .section-recent-advocate-wrapper .card-group {
    grid-template-columns: 1fr;
  }
}

.section-recent-advocate-wrapper .card {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-recent-advocate-wrapper .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.section-recent-advocate-wrapper .card img {
  /* width: 100%; */
  /* height: 300px; */
  /* object-fit: cover; */   /* show full image without cutting */
  /* background: #f1f5f9; */
  /* display: block; */
  /* padding: 8px; */
}

.section-recent-advocate-wrapper .card-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a8a;
  padding: 12px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid #e0e0e0;
}

.section-recent-advocate-wrapper .card-body {
  /* padding: 16px; */
  /* font-size: 0.95rem; */
  /* color: #444; */
  /* line-height: 1.5; */
  /* min-height: 80px; */
}

.section-recent-advocate-wrapper .card-body:empty {
  display: none; /* hides empty body like Abbhishek Tiwari case */
}


.profile-card .webform-button--submit.button.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(29,78,216,.28);
  filter: brightness(1.02);
}
.profile-card .webform-button--submit.button.button--primary:active {
  transform: translateY(0);
}

/* Error states (Drupal/Webform commonly adds .error & message wrappers) */
.profile-card input.error,
.profile-card select.error,
.profile-card textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 .2rem rgba(220,38,38,.12);
}
.profile-card .form-item--error-message,
.profile-card .webform-has-error .form-item__error-message,
.profile-card .messages--error {
  color: #b91c1c;
  font-size: .85rem;
  margin-top: 6px;
}

.navbar .nav-link {
    padding-left: 0px;
  }

/* Small screens */
@media (max-width: 575.98px) {
  .profile-card .modal-body { padding: 14px; }
  #webform-submission-contact-me-profile-3-add-form .js-form-item,
  #webform-submission-contact-me-profile-3-add-form .form-item { margin-bottom: 12px; }
  .profile-card .webform-button--submit.button.button--primary {
    width: 100%;
  }
}


.path-post-forum-question .page-title {
  padding-left: 0px;
}

img.edit-png {
    width: 15px;
}
/* 🔴 Google+ */
a[title="Google+"] {
    background: linear-gradient(45deg, #dd4b39, #ff4f4f) !important;
    color: #fff !important;
    box-shadow: 0 4px 8px rgba(221, 75, 57, 0.4);
    border-radius: 6px;
}

/* 📸 Instagram */
a[title="Instagram"] {
    background: linear-gradient(45deg, #833AB4, #E1306C, #FD1D1D, #F77737, #FCAF45) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(131, 58, 180, 0.5);
    border-radius: 6px;
}

/* ▶️ YouTube */
a[title="Youtube Channel"] {
    background: linear-gradient(45deg, #FF0000, #CC0000) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    border-radius: 6px;
}

/* 💼 LinkedIn */
a[title="LinkedIn"] {
    background: linear-gradient(45deg, #0077B5, #0E76A8, #00A0DC) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.5);
    border-radius: 6px;
}

/* 🖤 X (Twitter) */
a[title="X (Twitter)"] {
    background: linear-gradient(45deg, #000000, #1a1a1a, #333333) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
}

/* 🔵 Facebook */
a[title="Facebook"] {
    background: linear-gradient(45deg, #1877F2, #3b5998, #4267B2) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.5);
    border-radius: 6px;
}

.social-link-field a[title] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link-field a[title]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

input.field-add-more-submit {
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    letter-spacing: .2px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(29, 78, 216, .25);
    transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.profile-form input[value="Remove"] {
    background: red !important;
    color: #fff !important;
}

.navbar-dark .navbar-toggler-icon {
    filter: brightness(0);
    width: 25px;
    height: 25px;
}

.page-title {
  font-size: 1.5rem;            /* ~24px on mobile */
  font-weight: 600;             /* semi-bold */
  color: #2c2c2c;               /* softer dark gray */
  margin: 0.75rem 0;            /* reduced spacing */
  line-height: 1.2;
  position: relative;
  padding-left: 15px;
}

.page-title::after {
  content: "";
  display: block;
  width: 40px;                  /* shorter underline */
  height: 2px;                  /* thinner */
  background-color: #007bff;    /* Bootstrap primary */
  /* margin: 0.4rem auto 0;        centered */
  border-radius: 2px;
}

.h1-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* FAQ Section Styling */
#faqAccordion .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
    margin-bottom: 15px; /* space between FAQ items */

}

div#faqAccordion h5 {
    font-size: 1rem;
    font-weight: bold;
}

#faqAccordion .card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  padding: 15px;
}

#faqAccordion .btn-link {
  text-align: left;
  font-weight: 600;
  color: #004085;
  text-decoration: none;
  font-size: 16px;
}

#faqAccordion .btn-link:hover {
  color: #0056b3;
}

#faqAccordion .card-body {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

#faqAccordion .btn-link span {
  transition: transform 0.3s ease;
}

#faqAccordion .collapsed span {
  transform: rotate(-90deg);
}


/* ====== MOBILE ====== */
@media (max-width: 768px) {

  .page-title {
    font-size: 1.75rem;         /* ~28px on tablet */
    text-align: left;
    text-align: center;
  }
  .page-title::after {
    margin: 0.4rem auto 0;     
  }

  .profile-container .profile-card .contact-label {
    display: none !important;
  }

  .home-page-rencent-joined-lawyers .profile .row.no-gutters {
    flex-direction: column;
  }
  .home-page-rencent-joined-lawyers .profile .card-body {
    text-align: center;
    padding: 12px;
  }
  .home-page-rencent-joined-lawyers .profile .practice-areas-wrapper {
    justify-content: center;
  }
  .home-page-rencent-joined-lawyers .profile .text-muted {
    justify-content: center;
    text-align: center;
    display: block;
  }
  .home-page-rencent-joined-lawyers .profile .btn-blk {
    width: 100%;
  }

  .home-page-rencent-joined-lawyers .profile .practice-areas .badge {
    background: no-repeat;
    color: var(--blue);
    padding: 0 !important;
    margin: 0;
    border: 1px solid #00000017;
    padding: 2px !important;
  }

  .home-page-rencent-joined-lawyers .profile .card-title {
    margin-bottom: 15px !important;
  }

  .practice-areas .list-inline-item.text-muted {
    color: var(--blue) !important;
    padding: 0;
    gap: 0;
    font-weight: bold;
    margin: unset;
    font-size: 0.8rem;
    /* display: contents !important; */
  }

  .navbar .nav-link {
    padding-left: 15px;
  }

  .main-content {
    margin-top: 70px;
  }

  .ui-dialog {
    max-width: 350px;
  }

  input[name='field_contact_email[0][value]'], input[name='field_website_url[0][uri]'] {
    max-width: 350px !important;
    padding: 11px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
}

.comment-wrap p, .comment-wrap  a {
  color: #000 !important;
}

.field--name-comment-body {
  color: #000 !important;
}
