@import url("https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600&display=swap");
@import url('https://fonts.cdnfonts.com/css/li-ador-noirrit');

:root {
  --primary-color: #0F2E1D;
  --secondary-color: #22C55E;
  --hover-color: #22C55E;
  --primary-rgb: 15, 46, 29;
  --secondary-rgb: 34, 197, 94;
  --primary-bg-light: #f4faf5;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================
   GLOBAL
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: #f4faf5;
  color: #1f3b22;
  text-align: left;
  line-height: 1.65;
  font-size-adjust: 0.58;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

input,
select,
textarea,
button {
  font-family: "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size-adjust: 0.58;
}


.container {
  width: min(92%, 1200px);
  margin: 0 auto;
}

button,
.btn,
.search-btn,
.hero-btn,
.cta-btn,
.bdlaw-btn,
.btn-login {
  font-family: inherit;
  border: none;
  border-radius: 999px;
  background: var(--secondary-color);
  color: #ffffff;
  padding: 14px 28px;
  min-width: 160px;
  box-shadow: 0 18px 35px rgba(var(--primary-rgb), 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

button:hover,
.btn:hover,
.search-btn:hover,
.hero-btn:hover,
.cta-btn:hover,
.bdlaw-btn:hover,
.btn-login:hover {
  transform: translateY(-1px);
  background: var(--primary-color);
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.24);
}

button:focus,
.btn:focus,
.search-btn:focus,
.hero-btn:focus,
.cta-btn:focus,
.bdlaw-btn:focus,
.btn-login:focus {
  outline: 3px solid rgba(22, 163, 74, 0.25);
  outline-offset: 2px;
}


/* =========================
   NAVBAR
========================= */
.navbar {
  background: #f4faf5;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e6f0e8;
  box-shadow: 0 12px 30px rgba(22, 83, 42, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu li {
  position: relative;
  display: flex;
  align-items: center;
  height: 70px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  text-decoration: none;
  color: #555;
  transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu .active {
  color: var(--primary-color);
}

.btn-login {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  min-width: 140px;
}

.btn-login:hover {
  background: var(--primary-color);
}



/* =========================
   MOBILE MENU
========================= */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}


/* =========================
   HERO
========================= */
.hero {
  padding: 60px 0;
  text-align: center;
}


/* =========================
   FOOTER
========================= */
.footer {
  background: #f4faf5;
  color: #1d3b24;
  padding: 42px 0 28px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 28px;
  align-items: start;
  width: min(92%, 1200px);
  margin: auto;
  padding-bottom: 24px;
}

.footer-col h4,
.footer-col p,
.footer-col ul,
.footer-col li,
.footer-col .contact p {
  text-align: left;
}

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #184724;
}

.footer-col ul {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col ul li {
  color: #435043;
  font-size: 0.95rem;
}

.footer-col .contact p {
  margin: 10px 0 0;
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #dfe6df;
  padding-top: 20px;
}

.footer-inner {
  width: min(92%, 1200px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #4b5d4c;
  font-size: 0.95rem;
}

.footer-inner .social i {
  margin-left: 16px;
  color: var(--primary-color);
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {


  .menu-toggle {
    display: block;
  }


  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
  }


  .nav-menu.active {
    display: flex;
  }
}


/* Parent */
.mega-parent {
  position: relative;
}


/* Mega Menu Box */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -500px;
  width: 800px;


  display: flex;
  gap: 30px;
  padding: 20px;


  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);


  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease all;
}


/* Show on hover */
.mega-parent:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Columns */
.mega-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.mega-column h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}


.mega-column a {
  color: #333;
  font-size: 14px;
}


.mega-column a:hover {
  color: var(--secondary-color);
}


/* Image Section */
.image-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 100px;
    margin-left: auto;
}


.image-box img {
  width: 200px;
  border-radius: 6px;
  margin-left: auto;   /* 🔥 push to right */
  display: block;
}


.image-box p {
  font-size: 13px;
  margin: 8px 0;
}


.mega-btn {
  padding: 6px 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.hero .btn-primary {
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.hero-simple {
  background: #f4faf5;
  padding: 100px 0 70px;
  text-align: center;
}


/* MAIN TEXT */
.hero-title {
  font-size: clamp(42px, 5.2vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  color: transparent;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  transform: scaleX(0.5);
  transform-origin: center;
  opacity: 0;
  animation: spreadText 1s ease forwards;
  letter-spacing: -1px;
}


/* FADE TEXT */
.fade {
  color: #222;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}


/* IMAGE INLINE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: #eaf7ed;
  margin: 0 22px;
  vertical-align: middle;
  transform: translateY(-4px);
}

.hero-badge img {
  width: 158px;
  height: 60px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}


/* SUB TEXT */
.hero-sub {
  margin: 24px auto 0;
  max-width: 720px;
  color: #40503f;
  font-size: 1.13rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}


 /* BUTTON */
 @property --angle {
   syntax: "<angle>";
   initial-value: 0deg;
   inherits: false;
 }


 .hero-btn {
  position: relative;
  margin-top: 24px;
  padding: 16px 32px;
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
}

.hero-btn::before,
.hero-btn::after {
  display: none;
}

.hero-btn span {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-weight: 700;
}


/* rotation */
@keyframes rotate {
  from { --angle: 0deg; }
  to { --angle: 360deg; }
}
/* BIG TEXT */
.big-text {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--primary-color);
}


/* 🔥 KEYFRAMES */
@keyframes spreadText {
  0% {
    transform: scaleX(0.5);
    opacity: 0;
    letter-spacing: -4px;
  }
  60% {
    transform: scaleX(1.1);
    letter-spacing: 2px;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
    letter-spacing: 0;
  }
}


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*features*/
/* SECTION */
/* SECTION */
/* SECTION */
.features {
  padding: 60px 0 50px;
  margin-top: 20px;
  background: #f4faf5;
}


.features .container {
  display: flex;
  align-items: stretch;
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.selection-box,
.bdlaw-card,
.whyus-header,
.faq-wrapper,
.bd-map-right,
.bd-map-left,
.footer-container,
.footer-bottom {
  border-radius: 24px;
}

.selection-box {
  background: #ffffff;
}

.bdlaw-card {
  background: #ffffff;
}


/* ================= LEFT SIDE - Image + Text ================= */
.left-side {
  width: 42%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}


.imgslide {
  width: 100%;
  height: 300px;
  overflow: hidden;
}


.imgslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 16px;
}


.imgslide img.active {
  display: block;
}


.overlay-text-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white;
  padding: 28px 30px;
  text-align: left;
}


.overlay-text-bottom h2 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
}


.overlay-text-bottom p {
  margin: 0;
  font-size: 1.05rem;
}


/* ================= RIGHT SIDE - Selection ================= */
.selection {
  width: 56%;
}


.selection-box {
  background: #f4faf5;
  padding: 40px 35px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  height: 100%;
}


.selection-title {
  text-align: left;
  margin-bottom: 32px;
  font-size: 1.55rem;
  color: #1f2937;
}


.select-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.select-group {
  flex: 1;
  min-width: 200px;
  position: relative;
}


/* ================= CUSTOM DROPDOWN (Premium Look + Scrollbar) ================= */
.custom-dropdown {
  position: relative;
  width: 100%;
}


.select-header {
  padding: 14px 16px;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #1f2937;
  transition: all 0.3s;
}


.select-header:hover {
  border-color: var(--primary-color);
}


.arrow {
  transition: transform 0.3s ease;
}


.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  margin-top: 5px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* ================= SCROLLBAR ================= */
.dropdown-options::-webkit-scrollbar {
  width: 8px;
}


.dropdown-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}


.dropdown-options::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}


.dropdown-options::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}


/* Firefox */
.dropdown-options {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) #f1f1f1;
}


.option {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}


.option:last-child {
  border-bottom: none;
}


.option:hover {
  background: #f0fdf4;
  color: var(--primary-color);
}


/* Open State */
.custom-dropdown.open .dropdown-options {
  display: block;
}


.custom-dropdown.open .arrow {
  transform: rotate(180deg);
}


/* ================= SEARCH BUTTON ================= */
.search-btn {
  padding: 14px 32px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  height: 52px;
  white-space: nowrap;
  margin-top: 6px;
}


.search-btn:hover {
  background: var(--primary-color);
}


/* Responsive */
@media (max-width: 992px) {
  .features .container {
    flex-direction: column;
  }
  .left-side, .selection {
    width: 100%;
  }
}
/*Sticky scrollber*/
/* Scrollbar width */
/* Container (track hidden style) */
.custom-scrollbar{
  position: fixed;
  top: 0;
  right: 4px;
  width: 6px;
  height: 100vh;
  z-index: 9999;
}
.scroll-thumb{
  position: absolute;
  width: 100%;
  height: 80px;
  background: linear-gradient(var(--secondary-color), var(--primary-color));
  border-radius: 10px;
  cursor: default; /* grab remove */
  will-change: transform; /* performance boost */
}






/* Chrome */
::-webkit-scrollbar {
  width: 0;
}


/* Firefox */
html {
  scrollbar-width: none;
}
/* ========================================
   FEEDBACK MODAL
   ======================================== */

/* ========================================
   OVERLAY
   ======================================== */

.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  z-index: 999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feedback-overlay.active {
  visibility: visible;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   MODAL CONTAINER
   ======================================== */

.feedback-modal {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.feedback-overlay.closing .feedback-modal {
  animation: modalSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
}

/* ========================================
   MODAL HEADER
   ======================================== */

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 2px solid #f8fafc;
  position: sticky;
  top: 0;
  background: white;
  border-radius: 16px 16px 0 0;
  z-index: 10;
}

.feedback-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.feedback-header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Toggle */
.language-toggle {
  display: flex;
  background: #f8fafc;
  border-radius: 8px;
  padding: 4px;
  gap: 2px;
}

.lang-btn {
  padding: 6px 12px;
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn.active {
  background: white;
  color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-btn:hover {
  color: var(--primary-color);
}

/* Close Button */
.feedback-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* ========================================
   MODAL BODY
   ======================================== */

.feedback-body {
  padding: 28px;
}

/* ========================================
   SECTION TITLE
   ======================================== */

.feedback-section {
  margin-bottom: 28px;
}

.feedback-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title.required::after {
  content: '*';
  color: #ef4444;
}

/* ========================================
   RATING SECTION
   ======================================== */

.rating-question {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 16px;
  line-height: 1.5;
}

.rating-scale {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.rating-btn {
  flex: 1;
  min-width: 40px;
  height: 44px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 13px;
}

.rating-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.rating-btn.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
  transform: scale(1.05);
}

.rating-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 24px;
}

/* ========================================
   PHONE NUMBER FIELD
   ======================================== */

.form-group {
  margin-bottom: 24px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label.required::after {
  content: '*';
  color: #ef4444;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.form-input::placeholder {
  color: #64748b;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
  animation: slideDown 0.3s ease;
}

.error-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   CHECKBOX SECTION
   ======================================== */

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--secondary-color);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.3);
}

.checkbox-label {
  flex: 1;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6px 0;
}

.checkbox-item:hover .checkbox-label {
  color: var(--primary-color);
}

/* ========================================
   TEXTAREA SECTION
   ======================================== */

.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  resize: vertical;
  min-height: 100px;
  max-height: 200px;
}

.form-textarea::placeholder {
  color: #64748b;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.textarea-counter {
  font-size: 12px;
  color: #64748b;
  text-align: right;
  margin-top: 6px;
}

.textarea-counter.limit {
  color: #ef4444;
}

/* Hidden Feedback Textarea */
.hidden-feedback {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hidden-feedback.show {
  max-height: 250px;
  opacity: 1;
  margin-bottom: 24px;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

.feedback-submit {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
  margin-top: 28px;
}

.feedback-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.4);
}

.feedback-submit:active:not(:disabled) {
  transform: translateY(0);
}

.feedback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback-submit.loading {
  position: relative;
  color: transparent;
}

.feedback-submit.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.6s linear infinite;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.success-message {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--secondary-color);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message.hide {
  animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Feedback Button (kept at end) */
.feedback-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border: 0;
  font-family: inherit;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  z-index: 9999;
  transition: 0.3s;
}

.feedback-btn:hover {
  background: var(--secondary-color);
  right: 5px;
}

/*iconslide*/
.legal-slider {
  padding: 40px 0;
  background: #f4f6f5;
  overflow: hidden;
}


.slider-wrapper {
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  position: relative;
}


/* side fade */
.slider-wrapper::before,
.slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}


.slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f4f6f5, transparent);
}


.slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f4f6f5, transparent);
}


/* track */
.slider-track {
  display: flex;
  gap: 50px;
  animation: autoSlide 18s linear infinite;
}


/* slide */
.slide {
  min-width: 140px;
  text-align: center;
}


/* icon styling */
.slide i {
  font-size: 26px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}


/* text */
.slide p {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}


/* animation */
@keyframes autoSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/*hero slider*/
/* =========================
   HERO CONTAINER
========================= */
/* ================= HERO ================= */


/* =========================
   HERO CONTAINER
========================= */
/* ===== SLIDER SECTION ===== */
.ukil-slider {
  position: relative;
  width: 100%;
  margin: 60px 0;
  overflow: hidden;
  padding-left: 0;   /* 🔴 REMOVE */
}


.slider-window {
  width: 100%;
  overflow: hidden;
  padding-left: 40px;
  padding-right: 0;
  box-sizing: border-box;
}
.slider-row {
  display: flex;
  gap: 30px;
  transition: transform 0.6s ease;
  will-change: transform;


  width: max-content;
  min-width: 100%;   /* 🔴 ADD THIS */
}
/* Card Style (UNCHANGED LOOK) */


.card {
  position: relative;
  width: 520px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;


  background-size: cover;
  background-position: center;
  color: white;
}


/* overlay */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}


/* ===== MAIN (default নিচে/center) ===== */
.card-main {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;


  text-align: left;          /* 🔴 important */
 
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* 🔴 text + button left align */
}


/* ===== HOVER CONTENT (top-left) ===== */
.card-hover {
  position: absolute;
  top: 20px;
  left: 25px;
  right: 25px;
  z-index: 2;


  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}


/* button */
.cta-btn {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: white;
  color: black;
  font-weight: 600;
   align-self: flex-start;
}


/* ===== HOVER EFFECT ===== */
.card:hover::before {
  opacity: 1;
}


/* 🔴 main hide হবে */
.card:hover .card-main {
  opacity: 0;
}


/* 🔴 hover content show হবে */
.card:hover .card-hover {
  opacity: 1;
  transform: translateY(0);
}
.card1 {
  background-image: url("https://img.freepik.com/premium-photo/lawyer-office-statue-justice-with-scales-lawyer-working-laptop_253401-3552.jpg?semt=ais_hybrid&w=740&q=80");
}


.card2 {
  background-image: url("https://media.istockphoto.com/id/1456104141/photo/lawyer-who-provides-legal-advice-in-the-office-businessman-and-lawyer-shaking-hands.jpg?s=612x612&w=0&k=20&c=ZOR5og7gF0T146o5xCUF2n0NJhual1KN_YWFhEWir-A=");
}


.card3 {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTroOz4tXYM5UQAJlnmtRj720Momy30Ij0MKg&s");
}


.card4 {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRXVo8nTyFa_x-GNJW5ENVHrsS6hOxLtdAhkA&s");
}


.card h2 {
  font-size: 25px;
  margin-bottom: 12px;


}


.card p {
  font-size: 15px;
  line-height: 1.40;
  margin-bottom: 24px;
   
   
}


.cta-btn {
  padding: 12px 26px;
  border-radius: 50px;
  border: none;
  background: #fff;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
}

.cta-btn:hover {
  color: white !important;
}

/* Arrow */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 25px;
  line-height: 1;
  aspect-ratio: 1 / 1;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.slider-arrow.left  { left: 55px; }
.slider-arrow.right { right: 55px; }

.slider-arrow:hover {
  transform: translateY(-50%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: white;
}

/*Expert lawyer bd*/
/*------------*/
/* ===== CONTAINER ===== */
.bdlaw-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 15px;
}


/* Title */
.bdlaw-header h2 {
  font-size: 32px;
  font-weight: 700;
  color:rgb(26, 95, 26); /* deep blue */
  margin-bottom: 12px;
}


/* Description */
.bdlaw-header p {
  font-size: 16px;
  line-height: 1.7;
  color: black;
}
/*-------*/
.bdlaw-slider {
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}


.bdlaw-window {
  overflow: hidden;
   width: 100%;
}


.bdlaw-row {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}


/* ===== CARD ===== */
.bdlaw-card {
  /*min-width: 280px;*/
  background: #f8f9fb;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
   min-width: calc((100% - 40px) / 3);
    flex: 0 0 calc((100% - 40px) / 3);
  box-sizing: border-box; /* 🔴 3 cards */
}


/* image */
.bdlaw-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 10px;
}


/* name */
.bdlaw-name {
  color: var(--primary-color);
  margin: 5px 0;
}


/* role */
.bdlaw-role {
  font-size: 14px;
  color:black;
}


/* top section */
.bdlaw-top {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}


.bdlaw-rating {
  background: #e6f0ff;
  padding: 4px 8px;
  border-radius: 6px;
}


.bdlaw-location {
  color:black;
}


/* tags */
.bdlaw-tags {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin: 10px 0;
}


.bdlaw-tags span {
  background: #eaeaea;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
}


/* description */
.bdlaw-desc {
  font-size: 13px;
  color:black;
  margin: 10px 0;
}


/* button */
.bdlaw-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background:#3A3A3A;
  color:#FFFFFF;
  cursor: pointer;
  font-weight: 600;
}
.bdlaw-btn:hover {
 color: white;
 background-color: var(--primary-color);
}


/* ===== BOTTOM BARS ===== */
.bdlaw-bars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}


.bdlaw-bar {
  width: 30px;
  height: 6px;
  background: #ccc;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}


.bdlaw-bar.active {
  width: 40px;
  background: var(--primary-color);
}
/*Bd map service*/
/*------------*/
/* layout */
.bd-map {
  padding: 20px 40px;
  background: #f5f7fa;
}


.bd-map-header {
   margin: 10px auto 20px;
  text-align: center;
}


.bd-map-header h2 {
  font-size: 30px;
  color: var(--primary-color);
 
     margin-bottom: 20px;
}


.bd-map-header p {
  color:black;
 
  margin-top: 2px;
  line-height: 1.3;
   
}


/* container */
/* ===== CONTAINER ===== */
.bd-map-container {
  display: grid;
  grid-template-columns: 220px 720px; /* একটু balanced width */
  justify-content: center;
  gap: 30px;
}


/* ===== LEFT ===== */
.bd-map-left {
  width: 220px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}


.division {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}


.division:hover {
  background: #f3f4f6;
}


.division.active {
  background: var(--primary-color);
  color: white;
}


/* ===== RIGHT ===== */
.bd-map-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-content: start;


  width: 100%;         /* 🔴 important */
  max-width: 720px;    /* 🔴 match grid */
  margin: 0 auto;      /* 🔴 center */
}


/* ===== DISTRICT ===== */
.district {
  background: white;
  min-height: 60px;


  display: flex;
  align-items: center;
  justify-content: center;


  padding: 12px;
  font-size: 14px;


  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}


/* hover */
.district:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}
/*what benefit get from this service*/
/*------------*/
/* section */
/* ===== SECTION ===== */


/* ===== LEFT TEXT BLOCK ===== */


/* SECTION */
/* SECTION */


/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */


/* ===== SECTION ===== */
.whyus-section {
  padding: 80px 20px 50px;
  background: #f8fafc;
}


/* ===== CONTAINER ===== */
.whyus-container {
  max-width: 1100px;
  margin: 0 auto;


  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}


/* ===== LEFT SIDE ===== */
.whyus-left {
  flex: 1;
    display: flex;
  flex-direction: column;
}


/* ===== HEADER ===== */
.whyus-header {
  display: flex;
  flex-direction: column;
  gap: 18px;        /* 🔥 gap */
  padding-top: 1px; /* 🔥 collapse break (trick) */
}


/* 🔴 TITLE (MAIN GAP CONTROL) */
.whyus-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.3;


  margin: 0 0 20px 0 !important;   /* 🔥 gap here */
}


/* 🔴 SUBTITLE */
.whyus-sub {
  font-size: 16px;
  color: black;
  line-height: 1.6;


  margin: 0 !important;
}


/* ===== LIST ===== */
.whyus-list {
 border-left: 3px solid transparent;
  padding-left: 20px;
  margin-top: 0;
}


/* ===== ITEMS ===== */
.whyus-item {
  margin-bottom: 20px;
  opacity: 0.4;
  transition: 0.3s;
  position: relative;
}


/* ACTIVE */
.whyus-item.active {
  opacity: 1;
  font-weight: 600;
}


/* ACTIVE LINE */
.whyus-item.active::before {
  content: "";
   background: transparent;
  position: absolute;
  left: -23px;
  top: 5px;
  width: 4px;
  height: 100%;
 
}


/* TEXT */
.whyus-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}


.whyus-item p {
  font-size: 14px;
  color: #6b7280;
}


/* ===== RIGHT SIDE ===== */
.whyus-right {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 65px;
}


/* ===== IMAGE ===== */
.whyus-right img {
  max-width: 360px;
  width: 100%;


  margin-top: 40px;


  transform: translateX(-40px); /* 🔥 image left এ আসবে */
}
/*Bd counter*/
/*------------*/
/* ===== COUNTER WRAP ===== */
.bd-counter-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 🔥 always 4 in one line */
  gap: 15px;


  margin-top: 25px;   /* 🔥 list এর নিচে gap */
  max-width: 600px;   /* 🔥 width control (red box fit) */
}


/* ===== COUNTER CARD ===== */
.bd-counter-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px 10px;


  text-align: center;


  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  transition: 0.3s;
}


.bd-counter-item:hover {
  transform: translateY(-5px);
}


/* ===== ICON ===== */
.bd-icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 8px;


  background: var(--primary-color);
  border-radius: 50%;


  display: flex;
  align-items: center;
  justify-content: center;


  color: #fff;
  font-size: 18px;
}


/* ===== NUMBER ===== */
.bd-count {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 5px;
}


/* ===== TEXT ===== */
.bd-counter-item p {
  font-size: 13px;
  color: #555;
  margin: 0;
}
/*FQA*/
/*------------*/
/* section */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== SECTION ===== */
/* ===== FAQ SECTION ===== */
/* ===== SECTION ===== */
/* ===== FAQ SECTION ===== */
/* ===== FAQ SECTION ===== */
/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 70px 0;
  background: #ffffff;
}


/* ===== SAME CONTAINER (WHYUS ALIGNMENT) ===== */
.faq-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ===== HEADER ===== */
.faq-header {
  margin-bottom: 30px;
  text-align: left;
}


.faq-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}


.faq-header p {
  font-size: 14px;
  color: #6b7280;
}


/* ===== CONTENT WIDTH ===== */
.faq-container {
  max-width: 850px;
}


/* ===== ITEM ===== */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}


/* ===== QUESTION ===== */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;


  font-size: 15px;
  font-weight: 500;
  color: #111827;


  cursor: pointer;
}


/* ===== ICON ===== */
.faq-icon i {
  font-size: 14px;
  color: #6b7280;
  transition: transform 0.3s ease;
}


.faq-item.active .faq-icon i {
  transform: rotate(180deg);
}


/* ===== ANSWER FIX (IMPORTANT PART) ===== */
/* ===== ANSWER WRAPPER ===== */
.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;


  margin-top: 0;
}


/* 🔥 TEXT PERFECT LEFT ALIGN */
.faq-answer p {
  margin: 0;              /* remove browser default */
  padding: 0;             /* no indent */
 
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;


  text-align: left;       /* 🔥 force left align */
}


/* OPEN STATE */
.faq-item.active .faq-answer {
  margin-top: 8px;
}
/*arrow+chatboat*/
/*---------------*/




/* ===== FLOAT WRAP ===== */
/* ===== FLOAT WRAP ===== */
/* FLOAT WRAP */
.floating-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;


  display: flex;
  flex-direction: column;
  align-items: flex-end;
}


/* 🔼 ARROW */
.scroll-top {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: #fff;


  display: flex;
  align-items: center;
  justify-content: center;


  border-radius: 50%;
  cursor: pointer;


  margin-bottom: 10px; /* 🔥 chat এর উপরে */
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}


.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}


/* 💬 CHAT BUTTON */
.chat-btn {
  display: flex;
  align-items: center;
  gap: 8px;


  background: var(--secondary-color);
  color: #fff;


  padding: 12px 16px;
  border-radius: 30px;
  cursor: pointer;
}


/* 💬 CHATBOX */
/*--------------------*/
/* ===== CHATBOX ===== */
.chatbox {
  position: fixed;
  right: 20px;
  bottom: 90px;


  width: 280px;
  background: #fff;
  border-radius: 18px;


  box-shadow: 0 12px 30px rgba(0,0,0,0.15);


  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;


  z-index: 9999;
}


.chatbox.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


/* ===== HEADER ===== */
.chat-header {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
  color: #fff;
  padding: 12px 14px;


  display: flex;
  justify-content: space-between;
  align-items: center;


  font-size: 14px;
}


/* 🔥 BEAUTIFUL CLOSE BUTTON */
.chat-close {
  min-width: 8px;
  min-height: 8px;


  border-radius: 50%;
  border: none;


  background: rgba(255,255,255,0.2);
  color: #fff;


  cursor: pointer;
  font-size: 16px;


  display: flex;
  align-items: center;
  justify-content: center;
}


.chat-close:hover {
  background: rgba(255,255,255,0.35);
}


/* ===== BODY ===== */
.chat-body {
  padding: 14px;
  text-align: center;
}


/* ===== GREETING ===== */
.chat-greeting {
  margin-bottom: 10px;
}


.bot-icon {
  width: 60px;
  height: 60px;


  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
  color: #fff;


  border-radius: 16px;


  display: flex;
  align-items: center;
  justify-content: center;


  margin: 0 auto 10px;
  font-size: 26px;
}
.greet-text {
  font-size: 14px;
  color: #6b7280;
}


.chat-greeting h4 {
  font-size: 16px;
  margin-top: 5px;
}


/* ===== MESSAGE ===== */
.chat-message {
  background: #f3f4f6;
  padding: 10px;
  border-radius: 12px;
  text-align: left;
  font-size: 13px;
  margin-top: 10px;
}


/* ===== INPUT ===== */
.chat-input {
  display: flex;
  border-top: 1px solid #eee;
}


.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}


.chat-input button {
  width: 45px;
  background: var(--secondary-color);
  border: none;
  color: #fff;
  cursor: pointer;
  padding-right: 25px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.chat-input button:hover {
  background: var(--primary-color);
}












/*footer*/
/*------------*/
/* ===== FOOTER =====*/
/* ===== FOOTER ===== */
.footer {
  background: var(--primary-color);
  color: #d1d5db;
  padding: 60px 20px 20px;
}


/* ===== CONTAINER ===== */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;


  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}


/* ===== LOGO ===== */
.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}


/* ===== TEXT ===== */
.footer p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}


/* ADDRESS */
.address {
  font-weight: 500;
}


/* CONTACT */
.contact i {
  margin-right: 8px;
  color: var(--secondary-color);
}


/* ===== COLUMN ===== */
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 16px;
}


/* ===== LIST ===== */
.footer-col ul {
  list-style: none;
  padding: 0;
}


.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}


.footer-col ul li:hover {
  color: var(--secondary-color);
}


/* ===== BOTTOM ===== */
/* ===== FIXED BOTTOM ALIGNMENT ===== */
/* OUTER */
.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 40px;
}


/* 🔥 INNER ALIGN */
.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;


  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ===== SOCIAL ===== */
.social i {
  margin-left: 10px;
  width: 35px;
  height: 35px;


  display: inline-flex;
  align-items: center;
  justify-content: center;


  background: #d1d7df;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}


.social i:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* ========================================
   FIND LAWYERS - CSS (MERGED)
   ======================================== */

:root {
  --primary-color: #0F2E1D;
  --secondary-color: #22C55E;
  --hover-color: #22C55E;
  --primary-rgb: 15, 46, 29;
  --secondary-rgb: 34, 197, 94;
  --text-muted: #64748b;
  --light-gray: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   SECTION STYLING
   ======================================== */

.find-lawyers-section {
  background: #f1f5f9;
  min-height: 100vh;
  padding: 40px 20px;
}

.find-lawyers-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

/* ========================================
   FILTER PANEL (SIDEBAR)
   ======================================== */

.filter-panel {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  height: fit-content;
  position: sticky;
  top: 20px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-gray);
}

.filter-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.reset-filters {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.reset-filters:hover {
  background: var(--light-gray);
  color: var(--primary-dark);
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  background: white;
  color: #1f2937;
  transition: var(--transition);
}

.filter-input:hover {
  border-color: var(--primary-color);
}

.filter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
  transition: var(--transition);
}

.checkbox-label:hover {
  color: var(--primary-dark);
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

/* ========================================
   CONTENT AREA
   ======================================== */

.content-area {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}

/* ========================================
   SEARCH BAR
   ======================================== */

.search-container {
  margin-bottom: 30px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.search-icon {
  position: absolute;
  left: 16px;
  font-size: 16px;
  color: var(--secondary-color);
  pointer-events: none;
}

.search-input {
  flex: 1;
  padding: 14px 16px 14px 44px;
  border: 2px solid var(--border-color);
  border-radius: 10px 0 0 10px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
}

.search-button {
  padding: 14px 28px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   RESULTS INFO
   ======================================== */

.results-info {
  margin-bottom: 20px;
  padding: 0 4px;
}

.results-info p {
  font-size: 14px;
  color: var(--secondary-color);
  font-weight: 500;
}

/* ========================================
   LAWYERS GRID
   ======================================== */

.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   LAWYER CARD
   ======================================== */

.lawyer-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.lawyer-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lawyer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.lawyer-card:hover .lawyer-avatar {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), 0.1);
}

.lawyer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  font-size: 12px;
  color: var(--primary-color);
}

.lawyer-degree {
  font-size: 12px;
  color: var(--secondary-color);
  text-align: center;
}

.availability-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  min-width: 120px;
}

.availability-badge.accepting {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
}

.availability-badge.not-accepting {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.card-middle {
  flex: 1;
}

.services-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-tag:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.lawyer-bio {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 120px;
}

.rating-section {
  text-align: right;
}

.rating-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
}

.star-rating {
  display: flex;
  gap: 2px;
  justify-content: flex-end;
  margin: 4px 0;
}

.star {
  color: #fbbf24;
  font-size: 12px;
}

.review-count {
  font-size: 12px;
  color: var(--secondary-color);
  margin-top: 4px;
}

.pricing-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.price-item {
  font-size: 12px;
  color: var(--secondary-color);
}

.price-value {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 13px;
}

.view-profile-btn {
  padding: 10px 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  margin-top: auto;
}

.view-profile-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   NO RESULTS
   ======================================== */

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--secondary-color);
}

.no-results i {
  font-size: 48px;
  color: var(--border-color);
  margin-bottom: 16px;
  display: block;
}

.no-results h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.no-results p {
  font-size: 14px;
}

/* ========================================
   PROFILE MODAL
   ======================================== */

.profile-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.profile-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 20px 30px;
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary-color);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary-dark);
  background: var(--light-gray);
  border-radius: 50%;
}

.modal-body {
  padding: 30px;
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.profile-image-large {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-color);
}

.profile-name-large {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.profile-username {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.profile-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--secondary-color);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-section {
  margin-bottom: 24px;
}

.profile-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-gray);
}

.section-content {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: var(--primary-dark);
}

.info-value {
  color: var(--secondary-color);
}

.education-item {
  padding: 12px;
  background: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.education-item:last-child {
  margin-bottom: 0;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-chip {
  display: inline-block;
  background: var(--light-gray);
  color: var(--primary-dark);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--light-gray);
}

.action-btn {
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn.primary {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.action-btn.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.action-btn.secondary {
  background: white;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.action-btn.secondary:hover {
  background: var(--light-gray);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .find-lawyers-container {
    grid-template-columns: 280px 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .find-lawyers-section {
    padding: 20px 16px;
  }

  .find-lawyers-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .filter-panel {
    position: relative;
    top: 0;
    height: auto;
  }

  .content-area {
    padding: 20px;
  }

  .search-input {
    font-size: 16px;
  }

  .lawyers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lawyer-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .card-left,
  .card-middle,
  .card-right {
    width: 100%;
  }

  .card-right {
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
  }

  .pricing-section {
    border-top: none;
    text-align: center;
  }

  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-body {
    padding: 20px;
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .find-lawyers-section {
    padding: 16px 12px;
  }

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .search-input,
  .search-button {
    font-size: 14px;
  }

  .lawyer-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-image-large {
    width: 100px;
    height: 100px;
  }

  .lawyer-card {
    gap: 12px;
    padding: 12px;
  }

  .modal-content {
    border-radius: 12px;
  }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--light-gray);
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.select-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: start;
  gap: 12px;
}

.select-group {
  min-width: 0;
}

.custom-dropdown {
  z-index: 20;
}

.custom-dropdown.open {
  z-index: 2000;
}

.select-header {
  min-height: 54px;
  gap: 12px;
}

.select-header span:first-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-options {
  max-height: 330px;
  border-color: #d7e2ea;
  box-shadow: 0 18px 45px rgba(var(--primary-rgb), 0.18);
}

.option {
  line-height: 1.45;
  font-size: 1rem;
}

.option:hover,
.option:focus {
  background: #e7f0f6;
  color: var(--primary-color);
}

.search-btn {
  margin-top: 0;
  height: 54px;
  border-radius: 10px;
}

@media (max-width: 1200px) {
  .select-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .selection {
    width: 100%;
  }

  .selection-box {
    padding: 26px 18px;
  }

  .select-row {
    grid-template-columns: 1fr;
  }

  .dropdown-options {
    max-height: 280px;
  }

  .search-btn {
    width: 100%;
  }
}

/* ================= UPDATED INDEX FILTER LAYOUT LIKE REFERENCE IMAGE ================= */
.features {
  padding: 70px 0 40px;
  margin-top: 10px;
  background: #f5fbf6;
}

.features .container {
  max-width: 1450px;
  display: flex;
  align-items: stretch;
  gap: 36px;
  padding: 0 22px;
}

.left-side {
  flex: 0 0 42%;
  width: auto;
  min-height: 374px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(var(--primary-rgb), 0.12);
}

.imgslide {
  height: 100%;
  min-height: 374px;
}

.imgslide img {
  border-radius: 16px;
}

.overlay-text-bottom {
  padding: 38px 36px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.28), transparent);
}

.overlay-text-bottom h2 {
  font-size: 2.45rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 12px;
}

.overlay-text-bottom p {
  font-size: 1.22rem;
  font-weight: 500;
}

.selection {
  flex: 1;
  width: auto;
}

.selection-box {
  min-height: 374px;
  height: 100%;
  background: #fbfffb;
  border-radius: 16px;
  padding: 52px 44px 42px;
  box-shadow: 0 20px 55px rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--secondary-rgb), 0.08);
}

.selection-title {
  text-align: center;
  margin: 0 0 36px;
  color: #1f2937;
  font-size: 1.78rem;
  line-height: 1.28;
  font-weight: 800;
}

.select-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.select-row .select-group:nth-of-type(1) {
  grid-column: span 6;
}

.select-row .select-group:nth-of-type(2) {
  grid-column: span 6;
}

.select-row .select-group:nth-of-type(3) {
  grid-column: span 8;
}

.select-row .search-btn {
  grid-column: span 4;
}

.select-group {
  min-width: 0;
  position: relative;
}

.select-header {
  min-height: 64px;
  padding: 0 18px;
  border: 2px solid #20c463;
  border-radius: 9px;
  background: #ffffff;
  color: #27313f;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 600;
  box-shadow: none;
}

.select-header span:first-child {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.arrow {
  flex: 0 0 auto;
  font-size: 1rem;
  color: #111827;
}

.custom-dropdown.open {
  z-index: 3000;
}

.dropdown-options {
  top: calc(100% + 7px);
  border: 1px solid #e0e7ea;
  border-radius: 4px;
  max-height: 330px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(var(--primary-rgb), 0.16);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #8b8b8b #f1f1f1;
}

.dropdown-options::-webkit-scrollbar {
  width: 9px;
}

.dropdown-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

.dropdown-options::-webkit-scrollbar-thumb {
  background: #8b8b8b;
  border-radius: 8px;
}

.option {
  padding: 11px 24px;
  color: #111827;
  font-size: 1.12rem;
  line-height: 1.45;
  border-bottom: 0;
}

.option:hover,
.option:focus {
  background: #dfe9f0;
  color: #111827;
}

.search-btn {
  width: 100%;
  height: 72px;
  margin-top: 0;
  padding: 0 22px;
  border-radius: 9px;
  background: #20c463;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: #14994a;
}

@media (max-width: 1180px) {
  .features .container {
    gap: 24px;
  }

  .selection-box {
    padding: 38px 28px 32px;
  }

  .selection-title {
    font-size: 1.58rem;
    margin-bottom: 28px;
  }

  .select-header,
  .search-btn {
    min-height: 58px;
    height: 58px;
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .features {
    padding: 45px 0 30px;
  }

  .features .container {
    flex-direction: column;
    max-width: 760px;
  }

  .left-side,
  .selection {
    width: 100%;
    flex: none;
  }

  .left-side,
  .imgslide {
    min-height: 330px;
  }

  .selection-box {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .features .container {
    padding: 0 16px;
  }

  .selection-box {
    padding: 28px 18px;
    border-radius: 14px;
  }

  .selection-title {
    font-size: 1.28rem;
    margin-bottom: 22px;
  }

  .select-row .select-group:nth-of-type(1),
  .select-row .select-group:nth-of-type(2),
  .select-row .select-group:nth-of-type(3),
  .select-row .search-btn {
    grid-column: 1 / -1;
  }

  .select-header,
  .search-btn {
    min-height: 54px;
    height: 54px;
    font-size: 0.92rem;
  }

  .overlay-text-bottom h2 {
    font-size: 1.9rem;
  }

  .overlay-text-bottom p {
    font-size: 1.05rem;
  }
}


/* Hero title responsive fix */
@media (max-width: 991px) {
  .hero-simple {
    padding: 75px 0 55px;
  }

  .hero-title {
    font-size: clamp(38px, 8vw, 58px);
    line-height: 1.22;
  }

  .hero-badge {
    padding: 11px 17px;
    margin: 0 12px;
  }

  .hero-badge img {
    width: 130px;
    height: 48px;
  }
}

@media (max-width: 575px) {
  .hero-simple {
    padding: 60px 0 45px;
  }

  .hero-title {
    font-size: 38px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .hero-badge {
    padding: 8px 12px;
    margin: 8px 6px;
    transform: translateY(0);
  }

  .hero-badge img {
    width: 108px;
    height: 40px;
  }
}


/* =========================================================
   UPDATED HERO BOTTOM-TO-TOP ANIMATION + LEFT SOCIAL HEADER
   ========================================================= */
.hero-simple {
  position: relative;
  overflow: hidden;
}

.hero-simple > .container:first-child {
  position: relative;
  z-index: 2;
}

.hero-simple .hero-title,
.hero-simple .hero-sub,
.hero-simple .hero-btn {
  opacity: 0;
  transform: translateY(80px);
  will-change: transform, opacity;
}

.hero-simple .hero-title {
  animation: heroSlideBottomToTop 0.95s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.hero-simple .hero-sub {
  animation: heroSlideBottomToTop 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.28s forwards;
}

.hero-simple .hero-btn {
  animation: heroSlideBottomToTop 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.48s forwards;
}

.hero-simple .hero-badge {
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.14);
}

.hero-simple .hero-badge img {
  transform: scale(0.86);
  opacity: 0;
  will-change: transform, opacity;
  animation: heroBadgeZoomIn 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.82s forwards;
}

.hero-simple .hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(var(--secondary-rgb), 0.22);
}

@keyframes heroSlideBottomToTop {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBadgeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  65% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.left-social-header {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--secondary-rgb), 0.18);
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(var(--primary-rgb), 0.12);
  backdrop-filter: blur(12px);
  animation: leftSocialIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.55s both;
}

.left-social-header a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4faf5;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.left-social-header a:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateX(5px) scale(1.08);
  box-shadow: 0 10px 22px rgba(var(--secondary-rgb), 0.28);
}

@keyframes leftSocialIn {
  from {
    opacity: 0;
    transform: translate(-28px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

/* Strong responsive corrections for the full index layout */
@media (max-width: 1200px) {
  .left-social-header {
    left: 10px;
  }

  .hero-simple .container,
  .features .container {
    width: min(94%, 1100px);
  }
}

@media (max-width: 991px) {
  .hero-simple {
    padding: 74px 0 48px;
  }

  .hero-title {
    font-size: clamp(34px, 7.8vw, 56px);
    line-height: 1.26;
  }

  .hero-badge {
    margin: 8px 10px;
  }

  .features .container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .left-side,
  .selection {
    width: 100%;
  }

  .selection-box {
    padding: 30px 24px;
  }

  .select-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .select-row .select-group:nth-of-type(3),
  .select-row .search-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    z-index: 1003;
  }

  .nav-wrapper {
    height: auto;
    min-height: 68px;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 19px;
  }

  .btn-login {
    min-width: auto;
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-simple {
    padding: 54px 0 36px;
  }

  .hero-title {
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.32;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.65;
    padding: 0 10px;
  }

  .hero-btn {
    padding: 13px 24px;
  }

  .hero-badge {
    padding: 7px 11px;
    margin: 8px 4px;
  }

  .hero-badge img {
    width: 104px;
    height: 40px;
  }

  .left-social-header {
    left: 8px;
    gap: 7px;
    padding: 8px 6px;
  }

  .left-social-header a {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .features {
    padding: 38px 0 36px;
  }

  .imgslide {
    height: 260px;
  }

  .selection-title {
    font-size: 1.28rem;
    line-height: 1.5;
  }

  .select-row {
    grid-template-columns: 1fr;
  }

  .select-group,
  .select-row .select-group:nth-of-type(1),
  .select-row .select-group:nth-of-type(2),
  .select-row .select-group:nth-of-type(3),
  .select-row .search-btn {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .select-header,
  .search-btn {
    width: 100%;
    min-height: 52px;
    height: auto;
    font-size: 0.96rem;
  }

  .dropdown-options {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-simple {
    padding-top: 44px;
  }

  .hero-title {
    font-size: 33px;
  }

  .hero-badge img {
    width: 92px;
    height: 36px;
  }

  .left-social-header {
    left: 6px;
    top: auto;
    bottom: 88px;
    transform: none;
    border-radius: 18px;
    animation: none;
  }

  .left-social-header a:hover {
    transform: scale(1.05);
  }

  .selection-box {
    padding: 24px 16px;
  }

  .imgslide {
    height: 230px;
  }

  .overlay-text-bottom {
    padding: 22px 20px;
  }

  .overlay-text-bottom h2 {
    font-size: 1.45rem;
  }

  .overlay-text-bottom p {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-simple .hero-title,
  .hero-simple .hero-sub,
  .hero-simple .hero-btn,
  .hero-simple .hero-badge img,
  .left-social-header {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Mobile navbar final fix */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.08);
  }

  .nav-menu {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px 16px 18px;
    border-top: 1px solid #e6f0e8;
    box-shadow: 0 18px 35px rgba(var(--primary-rgb), 0.08);
  }

  .nav-menu ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-menu li {
    width: 100%;
    height: auto;
    display: block;
  }

  .nav-menu a {
    padding: 12px 8px;
    justify-content: flex-start;
  }

  .mega-menu {
    position: static;
    width: 100%;
    left: auto;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    margin: 4px 0 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mega-parent:hover .mega-menu {
    display: flex;
  }

  .image-box {
    align-items: flex-start;
    gap: 12px;
    margin-left: 0;
  }

  .image-box img {
    width: 100%;
    max-width: 220px;
    margin-left: 0;
  }
}


/* =========================================================
   HERO TOP SLIDER - TWO CONTAINER SLIDES
   ========================================================= */
.hero-top-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-top-slider .hero-slide {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  animation: heroContainerSlide 10s infinite;
}

.hero-top-slider .hero-slide:nth-child(2) {
  animation-delay: 5s;
}

.hero-top-slider .hero-title,
.hero-top-slider .hero-sub,
.hero-top-slider .hero-btn {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero-top-slider .hero-slide .hero-title {
  transform: translateY(50px);
  opacity: 0;
  animation: heroInnerBottomToTop 10s infinite;
}

.hero-top-slider .hero-slide .hero-sub {
  transform: translateY(50px);
  opacity: 0;
  animation: heroInnerBottomToTop 10s infinite 0.18s;
}

.hero-top-slider .hero-slide .hero-btn {
  transform: translateY(50px);
  opacity: 0;
  animation: heroInnerBottomToTop 10s infinite 0.34s;
}

.hero-top-slider .hero-slide:nth-child(2) .hero-title {
  animation-delay: 5s;
}

.hero-top-slider .hero-slide:nth-child(2) .hero-sub {
  animation-delay: 5.18s;
}

.hero-top-slider .hero-slide:nth-child(2) .hero-btn {
  animation-delay: 5.34s;
}

.hero-top-slider .hero-badge img {
  opacity: 0;
  transform: scale(0.86);
  animation: heroSliderBadgeZoom 10s infinite 0.58s;
}

.hero-top-slider .hero-slide:nth-child(2) .hero-badge img {
  animation-delay: 5.58s;
}

@keyframes heroContainerSlide {
  0% {
    opacity: 0;
    transform: translateY(110px);
  }
  8%, 42% {
    opacity: 1;
    transform: translateY(0);
  }
  50%, 100% {
    opacity: 0;
    transform: translateY(-80px);
  }
}

@keyframes heroInnerBottomToTop {
  0% {
    opacity: 0;
    transform: translateY(55px);
  }
  8%, 42% {
    opacity: 1;
    transform: translateY(0);
  }
  50%, 100% {
    opacity: 0;
    transform: translateY(-45px);
  }
}

@keyframes heroSliderBadgeZoom {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  10%, 42% {
    opacity: 1;
    transform: scale(1.06);
  }
  50%, 100% {
    opacity: 0;
    transform: scale(1.13);
  }
}

@media (max-width: 991px) {
  .hero-top-slider {
    min-height: 315px;
  }
}

@media (max-width: 768px) {
  .hero-top-slider {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-top-slider {
    min-height: 285px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-top-slider .hero-slide,
  .hero-top-slider .hero-title,
  .hero-top-slider .hero-sub,
  .hero-top-slider .hero-btn,
  .hero-top-slider .hero-badge img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    position: relative;
  }

  .hero-top-slider .hero-slide:not(:first-child) {
    display: none;
  }
}

/* ========================================
   UKIL KHUJUN PAGE RESPONSIVE FIX
   Keeps original structure, fixes overflow/card UI
   ======================================== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.find-lawyers-section {
  background: #f3f8f4;
  padding: 48px 18px;
}

.find-lawyers-container {
  width: min(1280px, 100%);
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
  box-sizing: border-box;
}

.filter-panel,
.content-area,
.lawyer-card,
.search-wrapper,
.search-input,
.search-button {
  box-sizing: border-box;
}

.filter-panel {
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--secondary-rgb), 0.10);
  top: 96px;
}

.content-area {
  min-width: 0;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--secondary-rgb), 0.10);
  overflow: hidden;
}

.search-wrapper {
  width: 100%;
}

.search-input {
  min-width: 0;
  height: 54px;
  border-color: #dfe7ef;
  color: var(--primary-color);
}

.search-button {
  height: 54px;
  min-width: 160px;
  background: var(--secondary-color);
  color: #fff;
}

.lawyers-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.lawyer-card {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid #dbe5ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.04);
  cursor: default;
  overflow: hidden;
}

.lawyer-card:hover {
  transform: translateY(-3px);
  border-color: var(--secondary-color);
  box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.10);
}

.card-left,
.card-middle,
.card-right {
  min-width: 0;
}

.card-left {
  width: 100%;
  gap: 10px;
}

.lawyer-avatar {
  width: 108px;
  height: 108px;
  border-radius: 16px;
  background: #f8f9fb;
}

.lawyer-name {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  line-height: 1.35;
  color: var(--primary-color);
  word-break: break-word;
}

.lawyer-degree {
  width: 100%;
  color: #64748b;
  line-height: 1.35;
  word-break: break-word;
}

.availability-badge {
  min-width: 0;
  width: 100%;
  max-width: 145px;
  background: rgba(var(--secondary-rgb), 0.12);
}

.card-middle {
  overflow: hidden;
}

.services-title {
  font-size: 15px;
  color: var(--primary-color);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.service-tags {
  max-width: 100%;
  gap: 8px;
}

.service-tag {
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  padding: 7px 12px;
  border-radius: 18px;
  background: #f7faf8;
  overflow-wrap: anywhere;
}

.lawyer-bio {
  max-width: 100%;
  color: #64748b;
  line-height: 1.6;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 4;
}

.card-right {
  width: 140px;
  align-items: stretch;
  text-align: right;
  gap: 14px;
}

.rating-section,
.pricing-section {
  width: 100%;
}

.rating-number {
  font-size: 28px;
  color: var(--primary-color);
}

.star-rating {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.review-count,
.price-item,
.price-value {
  overflow-wrap: anywhere;
}

.pricing-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.price-value {
  color: var(--secondary-color);
}

.view-profile-btn {
  width: 100%;
  border-radius: 10px;
  background: var(--secondary-color);
  color: #ffffff;
  font-size: 13px;
  padding: 12px 10px;
}

.view-profile-btn:hover {
  background: var(--primary-color);
}

@media (max-width: 1200px) {
  .find-lawyers-container {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
  }

  .lawyers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .find-lawyers-container {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: relative;
    top: 0;
  }
}

@media (max-width: 640px) {
  .find-lawyers-section {
    padding: 22px 12px;
  }

  .content-area,
  .filter-panel {
    padding: 18px;
    border-radius: 16px;
  }

  .search-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-icon {
    top: 18px;
  }

  .search-input,
  .search-button {
    width: 100%;
    border-radius: 10px;
  }

  .lawyer-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }

  .card-right {
    width: 100%;
    align-items: center;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
  }

  .star-rating {
    justify-content: center;
  }

  .pricing-section {
    text-align: center;
  }

  .view-profile-btn {
    max-width: 220px;
  }
}

/* ========================================
   UKILKHUJUN PAGE FINAL FIX + PAGINATION
   Keeps structure same, prevents DB content overflow
   ======================================== */
.ukilkhujun-page,
.ukilkhujun-page * {
  box-sizing: border-box;
}

.ukilkhujun-page {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: #f3f8f4;
}

.ukilkhujun-page .navbar {
  width: 100%;
  max-width: 100vw;
  overflow: visible;
}

.ukilkhujun-page .find-lawyers-section {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: #f3f8f4;
  padding: 48px 20px;
}

.ukilkhujun-page .find-lawyers-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
  overflow: visible;
}

.ukilkhujun-page .filter-panel {
  width: 100%;
  max-width: 280px;
  min-width: 0;
  position: sticky;
  top: 105px;
  background: #fff;
  border: 1px solid rgba(var(--secondary-rgb), 0.12);
  box-shadow: 0 14px 35px rgba(var(--primary-rgb), 0.08);
  overflow: hidden;
}

.ukilkhujun-page .content-area {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(var(--secondary-rgb), 0.12);
  box-shadow: 0 14px 35px rgba(var(--primary-rgb), 0.08);
}

.ukilkhujun-page .search-wrapper {
  width: 100%;
  min-width: 0;
  display: flex;
}

.ukilkhujun-page .search-input {
  min-width: 0;
  width: 100%;
}

.ukilkhujun-page .search-button {
  flex: 0 0 150px;
}

.ukilkhujun-page .lawyers-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  overflow: visible;
}

.ukilkhujun-page .lawyer-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 118px;
  gap: 16px;
  align-items: start;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #dbe5ee;
  border-radius: 18px;
  background: #fff;
}

.ukilkhujun-page .card-left,
.ukilkhujun-page .card-middle,
.ukilkhujun-page .card-right,
.ukilkhujun-page .rating-section,
.ukilkhujun-page .pricing-section,
.ukilkhujun-page .service-tags,
.ukilkhujun-page .lawyer-name,
.ukilkhujun-page .lawyer-degree,
.ukilkhujun-page .lawyer-bio,
.ukilkhujun-page .price-item,
.ukilkhujun-page .price-value {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ukilkhujun-page .card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.ukilkhujun-page .lawyer-avatar {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  object-fit: cover;
  border-radius: 16px;
}

.ukilkhujun-page .lawyer-name {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  font-size: 16px;
  line-height: 1.35;
  color: var(--primary-color);
}

.ukilkhujun-page .lawyer-name span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ukilkhujun-page .verified-badge {
  flex: 0 0 auto;
}

.ukilkhujun-page .lawyer-degree {
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
}

.ukilkhujun-page .availability-badge {
  width: auto;
  max-width: 100%;
  min-width: 0;
  padding: 8px 12px;
  white-space: normal;
}

.ukilkhujun-page .card-middle {
  overflow: hidden;
  padding-top: 2px;
}

.ukilkhujun-page .services-title {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.ukilkhujun-page .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ukilkhujun-page .service-tag {
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  padding: 7px 12px;
  border-radius: 18px;
  font-size: 13px;
  background: #f8fafc;
}

.ukilkhujun-page .lawyer-bio {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ukilkhujun-page .card-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
  gap: 13px;
  overflow: hidden;
}

.ukilkhujun-page .rating-number {
  font-size: 26px;
  line-height: 1;
  color: var(--primary-color);
}

.ukilkhujun-page .star-rating {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 2px;
  font-size: 14px;
  color: #fbbf24;
}

.ukilkhujun-page .review-count,
.ukilkhujun-page .price-item,
.ukilkhujun-page .price-value {
  font-size: 13px;
  line-height: 1.35;
}

.ukilkhujun-page .pricing-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.ukilkhujun-page .price-item-court {
  margin-top: 8px;
}

.ukilkhujun-page .view-profile-btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ukilkhujun-page .view-profile-btn:hover {
  background: var(--primary-color);
}

.lawyer-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}

.lawyer-pagination .page-link,
.lawyer-pagination .page-dots {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid #dbe5ee;
  background: #fff;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.lawyer-pagination .page-link:hover,
.lawyer-pagination .page-link.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.lawyer-pagination .page-prev,
.lawyer-pagination .page-next {
  min-width: 92px;
}

.lawyer-pagination .page-dots {
  border-color: transparent;
  background: transparent;
  min-width: 26px;
  padding: 0 4px;
}

@media (max-width: 1280px) {
  .ukilkhujun-page .find-lawyers-container {
    max-width: 100%;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
  }

  .ukilkhujun-page .lawyers-grid {
    grid-template-columns: 1fr;
  }

  .ukilkhujun-page .lawyer-card {
    grid-template-columns: 140px minmax(0, 1fr) 130px;
  }
}

@media (max-width: 900px) {
  .ukilkhujun-page .find-lawyers-container {
    grid-template-columns: 1fr;
  }

  .ukilkhujun-page .filter-panel {
    position: relative;
    top: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .ukilkhujun-page .find-lawyers-section {
    padding: 24px 12px;
  }

  .ukilkhujun-page .content-area,
  .ukilkhujun-page .filter-panel {
    padding: 18px;
  }

  .ukilkhujun-page .search-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ukilkhujun-page .search-button {
    width: 100%;
    flex-basis: auto;
    border-radius: 10px;
  }

  .ukilkhujun-page .search-input {
    border-radius: 10px;
  }

  .ukilkhujun-page .lawyer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ukilkhujun-page .card-right {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
  }

  .ukilkhujun-page .star-rating {
    justify-content: center;
  }

  .ukilkhujun-page .view-profile-btn {
    max-width: 230px;
    margin: 0 auto;
  }
}

/* =====================================================
   UKILKHUJUN FINAL DYNAMIC CARD SOLUTION
   Fixes database content overflow after JS rendering
   ===================================================== */
.ukilkhujun-page .find-lawyers-section {
  padding: 42px 18px !important;
  background: #f3f8f4 !important;
}

.ukilkhujun-page .find-lawyers-container {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: flex-start !important;
}

.ukilkhujun-page .content-area {
  min-width: 0 !important;
  width: 100% !important;
  padding: 34px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #fff !important;
}

.ukilkhujun-page .lawyers-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
}

.ukilkhujun-page .lawyer-card {
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto !important;
  gap: 16px 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 315px !important;
  padding: 22px !important;
  border-radius: 18px !important;
  border: 1px solid #dbe5ee !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.04) !important;
}

.ukilkhujun-page .lawyer-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.10) !important;
}

.ukilkhujun-page .card-left {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.ukilkhujun-page .card-middle {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
  padding-top: 2px !important;
}

.ukilkhujun-page .card-right {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) 148px !important;
  align-items: center !important;
  gap: 14px !important;
  padding-top: 14px !important;
  margin-top: 2px !important;
  border-top: 1px solid #e2e8f0 !important;
  text-align: left !important;
  overflow: hidden !important;
}

.ukilkhujun-page .lawyer-avatar {
  width: 106px !important;
  height: 106px !important;
  flex: 0 0 106px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  border: 1px solid #dbe5ee !important;
}

.ukilkhujun-page .lawyer-name {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  overflow: hidden !important;
}

.ukilkhujun-page .lawyer-name span:first-child {
  min-width: 0 !important;
  max-width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  overflow-wrap: anywhere !important;
}

.ukilkhujun-page .verified-badge {
  flex: 0 0 auto !important;
  color: var(--secondary-color) !important;
}

.ukilkhujun-page .lawyer-degree {
  width: 100% !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: #64748b !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
}

.ukilkhujun-page .availability-badge {
  width: 100% !important;
  max-width: 128px !important;
  min-width: 0 !important;
  padding: 8px 8px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  background: rgba(var(--secondary-rgb), 0.12) !important;
  color: var(--secondary-color) !important;
}

.ukilkhujun-page .services-title {
  margin: 0 0 10px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.ukilkhujun-page .service-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 0 0 12px !important;
  max-height: 94px !important;
  overflow: hidden !important;
}

.ukilkhujun-page .service-tag {
  max-width: 100% !important;
  padding: 7px 11px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  color: var(--primary-color) !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
}

.ukilkhujun-page .lawyer-bio {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
}

.ukilkhujun-page .rating-section {
  width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
}

.ukilkhujun-page .rating-number {
  font-size: 24px !important;
  line-height: 1 !important;
  color: var(--primary-color) !important;
  font-weight: 800 !important;
}

.ukilkhujun-page .star-rating {
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 1px !important;
  margin: 5px 0 !important;
}

.ukilkhujun-page .star,
.ukilkhujun-page .star i {
  font-size: 12px !important;
  line-height: 1 !important;
}

.ukilkhujun-page .review-count {
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

.ukilkhujun-page .pricing-section {
  width: 100% !important;
  min-width: 0 !important;
  border-top: 0 !important;
  padding-top: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px 10px !important;
  text-align: left !important;
}

.ukilkhujun-page .price-item,
.ukilkhujun-page .price-value {
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.ukilkhujun-page .price-item {
  color: #64748b !important;
}

.ukilkhujun-page .price-value {
  color: var(--secondary-color) !important;
  font-weight: 800 !important;
}

.ukilkhujun-page .price-item-court {
  margin-top: 0 !important;
}

.ukilkhujun-page .view-profile-btn {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--secondary-color) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.ukilkhujun-page .view-profile-btn:hover {
  background: var(--primary-color) !important;
}

.ukilkhujun-page .lawyer-pagination {
  margin-top: 30px !important;
}

@media (max-width: 1250px) {
  .ukilkhujun-page .find-lawyers-container {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .ukilkhujun-page .content-area {
    padding: 26px !important;
  }

  .ukilkhujun-page .lawyers-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)) !important;
  }

  .ukilkhujun-page .lawyer-card {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    padding: 18px !important;
  }

  .ukilkhujun-page .card-right {
    grid-template-columns: 96px minmax(0, 1fr) 130px !important;
  }

  .ukilkhujun-page .lawyer-avatar {
    width: 96px !important;
    height: 96px !important;
    flex-basis: 96px !important;
  }
}

@media (max-width: 1020px) {
  .ukilkhujun-page .lawyers-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .ukilkhujun-page .find-lawyers-container {
    grid-template-columns: 1fr !important;
  }

  .ukilkhujun-page .filter-panel {
    position: relative !important;
    top: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 620px) {
  .ukilkhujun-page .find-lawyers-section {
    padding: 24px 12px !important;
  }

  .ukilkhujun-page .content-area,
  .ukilkhujun-page .filter-panel {
    padding: 18px !important;
  }

  .ukilkhujun-page .lawyers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ukilkhujun-page .lawyer-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    min-height: 0 !important;
    text-align: center !important;
  }

  .ukilkhujun-page .card-left,
  .ukilkhujun-page .card-middle,
  .ukilkhujun-page .card-right {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .ukilkhujun-page .card-right {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .ukilkhujun-page .rating-section,
  .ukilkhujun-page .pricing-section {
    text-align: center !important;
  }

  .ukilkhujun-page .star-rating {
    justify-content: center !important;
  }

  .ukilkhujun-page .pricing-section {
    grid-template-columns: 1fr !important;
  }

  .ukilkhujun-page .price-item,
  .ukilkhujun-page .price-value {
    white-space: normal !important;
  }

  .ukilkhujun-page .view-profile-btn {
    max-width: 230px !important;
    margin: 0 auto !important;
  }
}


/* =====================================================
   UKILKHUJUN NAME + PAGINATION FINAL FIX
   Long lawyer names stay in 2 lines and cannot break cards
   ===================================================== */
.ukilkhujun-page .lawyer-card,
.ukilkhujun-page .lawyer-card * {
  box-sizing: border-box !important;
}

.ukilkhujun-page .card-left {
  width: 132px !important;
  max-width: 132px !important;
  min-width: 0 !important;
}

.ukilkhujun-page .lawyer-name {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 132px !important;
  min-width: 0 !important;
  min-height: 43px !important;
  max-height: 43px !important;
  padding: 0 16px 0 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  overflow: hidden !important;
}

.ukilkhujun-page .lawyer-name .lawyer-name-text,
.ukilkhujun-page .lawyer-name span:first-child {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
}

.ukilkhujun-page .verified-badge {
  position: absolute !important;
  right: 0 !important;
  top: 4px !important;
  width: 14px !important;
  height: 14px !important;
  line-height: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--secondary-color) !important;
  background: #fff !important;
  border-radius: 50% !important;
}

.ukilkhujun-page .verified-badge i {
  font-size: 12px !important;
  line-height: 1 !important;
}

.ukilkhujun-page .lawyer-degree,
.ukilkhujun-page .availability-badge {
  max-width: 132px !important;
}

.ukilkhujun-page .lawyers-grid {
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)) !important;
}

.ukilkhujun-page .lawyer-card {
  grid-template-columns: 132px minmax(0, 1fr) !important;
}

.ukilkhujun-page .lawyer-pagination {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 34px auto 0 !important;
  padding: 14px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(var(--secondary-rgb), 0.18) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.08) !important;
}

.ukilkhujun-page .lawyer-pagination .page-link,
.ukilkhujun-page .lawyer-pagination .page-dots {
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid #dbe5ee !important;
  background: #f8fafc !important;
  color: var(--primary-color) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: 0.2s ease !important;
}

.ukilkhujun-page .lawyer-pagination .page-link:hover,
.ukilkhujun-page .lawyer-pagination .page-link.active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(var(--secondary-rgb), 0.28) !important;
  transform: translateY(-1px) !important;
}

.ukilkhujun-page .lawyer-pagination .page-prev,
.ukilkhujun-page .lawyer-pagination .page-next {
  min-width: 105px !important;
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.ukilkhujun-page .lawyer-pagination .page-prev:hover,
.ukilkhujun-page .lawyer-pagination .page-next:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.ukilkhujun-page .lawyer-pagination .page-dots {
  min-width: 28px !important;
  padding: 0 4px !important;
  border-color: transparent !important;
  background: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
}

@media (max-width: 1250px) {
  .ukilkhujun-page .card-left {
    width: 120px !important;
    max-width: 120px !important;
  }

  .ukilkhujun-page .lawyer-name,
  .ukilkhujun-page .lawyer-degree,
  .ukilkhujun-page .availability-badge {
    max-width: 120px !important;
  }

  .ukilkhujun-page .lawyers-grid {
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)) !important;
  }

  .ukilkhujun-page .lawyer-card {
    grid-template-columns: 120px minmax(0, 1fr) !important;
  }
}

@media (max-width: 620px) {
  .ukilkhujun-page .card-left,
  .ukilkhujun-page .lawyer-name,
  .ukilkhujun-page .lawyer-degree,
  .ukilkhujun-page .availability-badge {
    width: 100% !important;
    max-width: 230px !important;
  }

  .ukilkhujun-page .lawyer-name {
    padding-right: 18px !important;
  }

  .ukilkhujun-page .lawyer-pagination {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .ukilkhujun-page .lawyer-pagination .page-link,
  .ukilkhujun-page .lawyer-pagination .page-dots {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }
}

/* Common logo from assets/images/logo.png */
.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.site-logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  white-space: nowrap;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.footer-logo span {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
}

@media (max-width: 768px) {
  .site-logo img {
    width: 42px;
    height: 42px;
  }

  .site-logo span {
    font-size: 18px;
  }
}

/* Service page */
.service-hero {
  background: linear-gradient(135deg, #f4faf5, #e9f8ee);
  padding: 80px 0 50px;
  text-align: center;
}

.service-hero h1 {
  color: var(--primary-color);
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 14px;
}

.service-hero p {
  color: #45624b;
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
}

.service-list-section {
  background: #f8fbf9;
  padding: 50px 0 80px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e6f0e8;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(var(--primary-rgb), 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(var(--primary-rgb), 0.12);
}

.service-card i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f7ee;
  color: #0f7a3a;
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-card p {
  color: #57705d;
  line-height: 1.7;
}


/* =========================================================
   FINAL NAV / BUTTON / FOOTER FIXES
   ========================================================= */
.nav-wrapper .logo a,
.nav-wrapper .logo a:hover,
.footer a,
.footer a:hover,
.bdlaw-btn,
.bdlaw-btn:hover,
.view-profile-btn,
.view-profile-btn:hover {
  text-decoration: none !important;
}

.mobile-login-item,
.nav-menu li.mobile-login-item {
  display: none !important;
}

.nav-right .btn-login,
.mobile-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 126px;
  border-radius: 12px;
  background: var(--secondary-color);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  line-height: 1;
}

.menu-toggle {
  border-radius: 10px !important;
}

.footer-menu a,
.footer .social a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-menu a:hover,
.footer .social a:hover {
  color: var(--secondary-color);
}

.footer .social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-inner .social i {
  margin-left: 0;
}

.bdlaw-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 44px;
  line-height: 1 !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border: 1px solid #dbe8df !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--primary-color) !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.08) !important;
  }

  .nav-right {
    display: none !important;
  }

  .mobile-login-item,
  .nav-menu li.mobile-login-item {
    display: flex !important;
  }

  .mobile-login-link {
    width: 100%;
    margin-top: 8px;
  }

  .nav-menu a.mobile-login-link {
    justify-content: center;
    padding: 0 16px;
    height: 44px;
  }
}

/* =====================================================
   SEARCH ADVOCATE MOBILE RESPONSIVE FIX
   Primary: var(--primary-color) | Secondary: var(--secondary-color)
   ===================================================== */
.ukilkhujun-page .mobile-filter-open,
.ukilkhujun-page .mobile-filter-close,
.ukilkhujun-page .mobile-filter-backdrop {
  display: none;
}

.ukilkhujun-page .filter-header {
  gap: 10px;
}

.ukilkhujun-page .mobile-filter-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ukilkhujun-page .filter-input,
.ukilkhujun-page .search-input {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.ukilkhujun-page .filter-checkbox {
  accent-color: var(--secondary-color);
}

@media (max-width: 768px) {
  html,
  body.ukilkhujun-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .ukilkhujun-page .mobile-filter-open {
    position: sticky !important;
    top: 64px !important;
    z-index: 850 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: calc(100% - 24px) !important;
    height: 48px !important;
    margin: 14px 12px 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.16) !important;
    cursor: pointer !important;
  }

  .ukilkhujun-page .mobile-filter-open i {
    color: var(--secondary-color) !important;
  }

  .ukilkhujun-page .mobile-filter-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 990 !important;
    display: block !important;
    background: rgba(var(--primary-rgb), 0.48) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: 0.22s ease !important;
  }

  body.ukil-filter-open.ukilkhujun-page .mobile-filter-backdrop,
  body.ukil-filter-open .ukilkhujun-page .mobile-filter-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.ukil-filter-open {
    overflow: hidden !important;
  }

  .ukilkhujun-page .find-lawyers-section {
    padding: 14px 0 28px !important;
    background: #f3f8f4 !important;
  }

  .ukilkhujun-page .find-lawyers-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ukilkhujun-page .filter-panel {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) scale(0.96) !important;
    z-index: 1000 !important;
    display: block !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 70px) !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow-y: auto !important;
    border: 1px solid rgba(var(--secondary-rgb), 0.22) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 70px rgba(var(--primary-rgb), 0.28) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: 0.22s ease !important;
  }

  body.ukil-filter-open.ukilkhujun-page .filter-panel,
  body.ukil-filter-open .ukilkhujun-page .filter-panel {
    transform: translateY(-50%) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .ukilkhujun-page .filter-header {
    position: sticky !important;
    top: -18px !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin: -18px -18px 16px !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5efe9 !important;
  }

  .ukilkhujun-page .filter-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    color: var(--primary-color) !important;
    font-weight: 900 !important;
  }

  .ukilkhujun-page .mobile-filter-close {
    display: inline-flex !important;
    order: 3 !important;
  }

  .ukilkhujun-page .reset-filters {
    order: 2 !important;
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    background: rgba(var(--secondary-rgb), 0.12) !important;
    color: var(--primary-color) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .ukilkhujun-page .filter-group {
    margin-bottom: 15px !important;
  }

  .ukilkhujun-page .filter-title {
    margin-bottom: 8px !important;
    color: var(--primary-color) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  .ukilkhujun-page .filter-input {
    height: 46px !important;
    border: 1px solid #dbe5ee !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--primary-color) !important;
    font-size: 14px !important;
  }

  .ukilkhujun-page .checkbox-group {
    gap: 8px !important;
  }

  .ukilkhujun-page .checkbox-label {
    width: 100% !important;
    padding: 11px 12px !important;
    border: 1px solid #e5efe9 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: var(--primary-color) !important;
    box-sizing: border-box !important;
  }

  .ukilkhujun-page .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .ukilkhujun-page .search-container {
    width: 100% !important;
    margin: 0 0 12px !important;
  }

  .ukilkhujun-page .search-wrapper {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 8px !important;
    border: 1px solid rgba(var(--primary-rgb), 0.08) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.06) !important;
    box-sizing: border-box !important;
  }

  .ukilkhujun-page .search-icon {
    position: static !important;
    width: 34px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    color: var(--secondary-color) !important;
  }

  .ukilkhujun-page .search-input {
    grid-column: 2 !important;
    height: 44px !important;
    padding: 0 10px !important;
    border: 1px solid #e5efe9 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }

  .ukilkhujun-page .search-button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 44px !important;
    margin-top: 8px !important;
    border-radius: 12px !important;
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
  }

  .ukilkhujun-page .results-info {
    margin: 0 0 12px !important;
    padding: 0 2px !important;
  }

  .ukilkhujun-page .results-info p {
    color: var(--primary-color) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .ukilkhujun-page .lawyers-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .ukilkhujun-page .lawyer-card {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    gap: 12px !important;
    border: 1px solid #e5efe9 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.07) !important;
    overflow: hidden !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .ukilkhujun-page .card-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 92px !important;
    max-width: 92px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    text-align: center !important;
  }

  .ukilkhujun-page .lawyer-avatar {
    width: 78px !important;
    height: 78px !important;
    flex: 0 0 78px !important;
    border-radius: 14px !important;
  }

  .ukilkhujun-page .lawyer-name,
  .ukilkhujun-page .lawyer-degree,
  .ukilkhujun-page .availability-badge {
    width: 92px !important;
    max-width: 92px !important;
  }

  .ukilkhujun-page .lawyer-name {
    min-height: 38px !important;
    max-height: 38px !important;
    padding-right: 14px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .ukilkhujun-page .verified-badge {
    top: 2px !important;
  }

  .ukilkhujun-page .lawyer-degree {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .ukilkhujun-page .availability-badge {
    padding: 5px 6px !important;
    font-size: 10px !important;
    border-radius: 999px !important;
  }

  .ukilkhujun-page .card-middle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ukilkhujun-page .services-title {
    margin-bottom: 7px !important;
    font-size: 14px !important;
    color: var(--primary-color) !important;
  }

  .ukilkhujun-page .service-tags {
    gap: 6px !important;
    margin-bottom: 8px !important;
    max-height: 68px !important;
  }

  .ukilkhujun-page .service-tag {
    padding: 5px 8px !important;
    border-radius: 999px !important;
    background: rgba(var(--secondary-rgb), 0.10) !important;
    color: var(--primary-color) !important;
    border-color: rgba(var(--secondary-rgb), 0.18) !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  .ukilkhujun-page .lawyer-bio {
    font-size: 12px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 3 !important;
  }

  .ukilkhujun-page .card-right {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) 118px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-top: 12px !important;
    margin-top: 0 !important;
    border-top: 1px solid #e5efe9 !important;
    text-align: left !important;
  }

  .ukilkhujun-page .rating-section {
    text-align: left !important;
  }

  .ukilkhujun-page .rating-number {
    font-size: 20px !important;
  }

  .ukilkhujun-page .star-rating {
    justify-content: flex-start !important;
    margin: 3px 0 !important;
  }

  .ukilkhujun-page .star,
  .ukilkhujun-page .star i,
  .ukilkhujun-page .review-count {
    font-size: 10px !important;
  }

  .ukilkhujun-page .pricing-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2px !important;
    text-align: left !important;
  }

  .ukilkhujun-page .price-item,
  .ukilkhujun-page .price-value {
    font-size: 10px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .ukilkhujun-page .view-profile-btn {
    width: 118px !important;
    max-width: 118px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border-radius: 11px !important;
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }
}

@media (max-width: 420px) {
  .ukilkhujun-page .lawyer-card {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    padding: 12px !important;
    gap: 10px !important;
  }

  .ukilkhujun-page .card-left,
  .ukilkhujun-page .lawyer-name,
  .ukilkhujun-page .lawyer-degree,
  .ukilkhujun-page .availability-badge {
    width: 82px !important;
    max-width: 82px !important;
  }

  .ukilkhujun-page .lawyer-avatar {
    width: 70px !important;
    height: 70px !important;
    flex-basis: 70px !important;
  }

  .ukilkhujun-page .card-right {
    grid-template-columns: 70px minmax(0, 1fr) 106px !important;
    gap: 8px !important;
  }

  .ukilkhujun-page .view-profile-btn {
    width: 106px !important;
    max-width: 106px !important;
    font-size: 10px !important;
  }
}

/* =====================================================
   INDEX MOBILE UI FIX
   Primary: var(--primary-color) | Secondary: var(--secondary-color)
   ===================================================== */
.bd-map .district {
  text-decoration: none !important;
  color: var(--primary-color);
  font-weight: 700;
}

.bd-map .district:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .bdlaw-header {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 18px;
    padding: 0 16px;
  }

  .bdlaw-header h2,
  .bd-map-header h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    color: var(--primary-color) !important;
  }

  .bdlaw-header p,
  .bd-map-header p {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #243b2d !important;
  }

  .bdlaw-slider {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 12px 34px !important;
    overflow: hidden !important;
  }

  .bdlaw-window {
    width: 100% !important;
    overflow: hidden !important;
  }

  .bdlaw-row {
    gap: 20px !important;
    align-items: stretch !important;
  }

  .bdlaw-card {
    min-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 14px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.10) !important;
  }

  .bdlaw-img {
    width: 76px !important;
    height: 76px !important;
    border-radius: 14px !important;
  }

  .bdlaw-name {
    font-size: 16px !important;
    line-height: 1.35 !important;
    min-height: auto !important;
    word-break: break-word !important;
  }

  .bdlaw-top {
    gap: 8px !important;
    align-items: center !important;
  }

  .bdlaw-rating,
  .bdlaw-location {
    flex: 1 !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .bdlaw-tags {
    justify-content: flex-start !important;
    padding-bottom: 4px !important;
  }

  .bdlaw-desc {
    min-height: auto !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .bdlaw-btn {
    width: 100% !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: var(--primary-color) !important;
    color: #ffffff !important;
  }

  .bdlaw-bars {
    margin-top: 14px !important;
    gap: 7px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  .bdlaw-bar {
    width: 18px !important;
    min-width: 18px !important;
    height: 5px !important;
  }

  .bdlaw-bar.active {
    width: 30px !important;
    min-width: 30px !important;
    background: var(--secondary-color) !important;
  }

  .bd-map {
    padding: 32px 12px !important;
    background: #f4faf5 !important;
  }

  .bd-map-header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0 6px !important;
  }

  .bd-map-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .bd-map-left {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.08) !important;
  }

  .division {
    border: 1px solid #e0eee5 !important;
    border-radius: 12px !important;
    padding: 11px 8px !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    background: #f8fffb !important;
  }

  .division.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
  }

  .bd-map-right {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  .district {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid #e0eee5 !important;
    color: var(--primary-color) !important;
    font-size: 14px !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.06) !important;
  }

  .district::after {
    content: '→';
    margin-left: auto;
    color: var(--secondary-color);
    font-weight: 900;
  }

  .district:hover,
  .district:focus {
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
  }

  .district:hover::after,
  .district:focus::after {
    color: #ffffff;
  }
}

.customer-auth-page,
.customer-landing-page,
.customer-panel-page {
  background: #f4faf5;
  min-height: 80vh;
  padding: 72px 0;
  color: var(--primary-color);
}

.customer-auth-card,
.customer-landing-card,
.customer-panel-container {
  width: min(92%, 1180px);
  margin: 0 auto;
}

.customer-auth-card {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 28px;
  align-items: stretch;
}

.customer-auth-card.reverse {
  grid-template-columns: 460px 1fr;
}

.customer-auth-left,
.customer-auth-form-wrap,
.customer-landing-card,
.customer-panel-card,
.customer-welcome-card,
.customer-stat-card,
.customer-quick-card,
.customer-record-card,
.customer-empty-card {
  background: #fff;
  border: 1px solid #e3f2e8;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(var(--primary-rgb), .08);
}

.customer-auth-left {
  padding: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.customer-auth-left:before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(var(--secondary-rgb), .35);
}

.customer-mini-title {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #d9ffe6;
  font-size: 13px;
  margin-bottom: 18px;
}

.customer-auth-left h1,
.customer-landing-card h1,
.customer-page-head h1,
.customer-welcome-card h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  color: inherit;
}

.customer-auth-left p,
.customer-landing-card p,
.customer-welcome-card p,
.customer-quick-card p,
.customer-empty-card p {
  color: inherit;
  opacity: .78;
  line-height: 1.8;
}

.customer-auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: #f0fff5;
}

.customer-auth-feature i,
.customer-stat-card i,
.customer-empty-card i {
  color: var(--secondary-color);
}

.customer-auth-form-wrap {
  padding: 36px;
}

.customer-auth-form-wrap h2,
.customer-panel-card h2 {
  margin: 0 0 22px;
  color: var(--primary-color);
  font-size: 24px;
}

.customer-form {
  display: grid;
  gap: 12px;
}

.customer-form label {
  font-weight: 700;
  color: #244533;
  font-size: 14px;
}

.customer-form input,
.customer-form textarea,
.customer-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7eadf;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  background: #fbfffc;
  color: var(--primary-color);
  font: inherit;
}

.customer-form textarea {
  resize: vertical;
}

.customer-form input:focus,
.customer-form textarea:focus,
.customer-form select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), .10);
}

.customer-submit,
.customer-outline-btn,
.customer-auth-link-btn {
  min-height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.customer-submit {
  background: var(--secondary-color);
  color: #fff !important;
  border-color: var(--secondary-color);
  width: 100%;
}

.customer-submit.small {
  width: auto;
  min-width: 150px;
}

.customer-outline-btn,
.customer-auth-link-btn {
  background: #fff;
  color: var(--primary-color) !important;
  border-color: #cbe9d5;
}

.customer-auth-link-btn {
  margin-top: 18px;
  background: var(--secondary-color);
  color: #fff !important;
  border-color: var(--secondary-color);
}

.customer-auth-switch {
  margin: 18px 0 0;
  text-align: center;
  color: #486050;
}

.customer-auth-switch a,
.customer-inline-link {
  color: var(--secondary-color);
  font-weight: 800;
  text-decoration: none !important;
}

.customer-alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 700;
}

.customer-alert.success {
  background: #e9fbef;
  color: #137739;
  border: 1px solid #bbefcc;
}

.customer-alert.error {
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #ffd1d1;
}

.customer-landing-card {
  padding: 60px;
  text-align: center;
  max-width: 820px;
}

.customer-landing-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

.customer-landing-actions .customer-submit,
.customer-landing-actions .customer-outline-btn {
  width: 180px;
}

.customer-welcome-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 34px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
  color: #fff;
}


.customer-dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.customer-logout-btn {
  min-height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none !important;
  background: var(--primary-color);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .25);
  white-space: nowrap;
}

.customer-logout-btn:hover {
  background: #123d28;
  color: #fff !important;
}

.customer-welcome-card span,
.customer-page-head span {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 8px;
}

.customer-stats-grid,
.customer-quick-grid,
.customer-settings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.customer-settings-grid {
  grid-template-columns: 1fr 1fr;
}

.customer-quick-grid {
  grid-template-columns: repeat(3, 1fr);
}

.customer-stat-card,
.customer-quick-card {
  padding: 24px;
  text-decoration: none !important;
  color: var(--primary-color);
}

.customer-stat-card {
  display: grid;
  gap: 8px;
}

.customer-stat-card i {
  font-size: 28px;
}

.customer-stat-card strong {
  font-size: 30px;
  color: var(--primary-color);
}

.customer-stat-card span,
.customer-quick-card p,
.customer-record-top p,
.customer-info-grid span,
.customer-record-body small,
.customer-reply-box small {
  color: #5f7467;
}

.customer-quick-card h3 {
  margin: 0 0 8px;
  color: var(--primary-color);
}

.customer-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.customer-page-head h1 {
  color: var(--primary-color);
  font-size: clamp(26px, 4vw, 38px);
}

.customer-panel-card {
  padding: 28px;
}

.customer-record-list {
  display: grid;
  gap: 18px;
}

.customer-record-card {
  padding: 24px;
}

.customer-record-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf5ef;
}

.customer-record-top h3,
.customer-record-top p,
.customer-record-body h4,
.customer-reply-box h4,
.customer-record-body p,
.customer-reply-box p {
  margin: 0;
}

.customer-status {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef6f1;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.customer-status.accepted,
.customer-status.replied,
.customer-status.completed {
  background: #dcfce7;
  color: var(--secondary-color);
}

.customer-status.rejected,
.customer-status.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.customer-status.pending,
.customer-status.new,
.customer-status.seen {
  background: #fef9c3;
  color: #854d0e;
}

.customer-record-body,
.customer-reply-box {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  line-height: 1.8;
}

.customer-reply-box {
  background: #f7fbf8;
  border: 1px solid #e3f2e8;
  border-radius: 16px;
  padding: 16px;
}

.customer-reply-box.has-reply {
  background: #ecfdf3;
  border-color: #c7efd3;
}

.customer-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.customer-info-grid div {
  background: #f8fcf9;
  border: 1px solid #ebf5ee;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 5px;
}

.customer-info-grid strong {
  color: var(--primary-color);
  word-break: break-word;
}

.customer-empty-card {
  padding: 48px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.customer-empty-card i {
  font-size: 40px;
}

@media (max-width: 900px) {
  .customer-auth-card,
  .customer-auth-card.reverse,
  .customer-settings-grid,
  .customer-quick-grid {
    grid-template-columns: 1fr;
  }

  .customer-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .customer-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .customer-welcome-card,
  .customer-page-head,
  .customer-record-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .customer-auth-page,
  .customer-landing-page,
  .customer-panel-page {
    padding: 42px 0;
  }

  .customer-auth-left,
  .customer-auth-form-wrap,
  .customer-landing-card,
  .customer-welcome-card,
  .customer-panel-card,
  .customer-record-card {
    padding: 22px;
    border-radius: 18px;
  }

  .customer-stats-grid,
  .customer-info-grid {
    grid-template-columns: 1fr;
  }

  .customer-landing-actions {
    flex-direction: column;
  }

  .customer-landing-actions .customer-submit,
  .customer-landing-actions .customer-outline-btn,
  .customer-submit.small {
    width: 100%;
  }

  .customer-dashboard-actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
  }

  .customer-dashboard-actions .customer-submit.small,
  .customer-dashboard-actions .customer-logout-btn {
    width: 100%;
  }
}

/* =========================
   GLOBAL FONT FIX - ADOR NOIRRIT
   Keeps font size visually close to the original system font
========================= */

:root {
  --site-font-family: "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
body * {
  font-family: var(--site-font-family);
  font-size-adjust: 0.58;
}

input,
select,
textarea,
button,
option {
  font-family: var(--site-font-family) !important;
  font-size-adjust: 0.58;
}

.selection-box {
  padding: 40px 38px 34px !important;
}

.selection-title {
  font-size: 1.55rem !important;
  line-height: 1.28 !important;
  margin-bottom: 28px !important;
}

.select-header,
.search-btn {
  min-height: 50px !important;
  height: 50px !important;
  padding: 0 16px !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
  border-radius: 8px !important;
}

.select-header span:first-child {
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
}

.arrow {
  font-size: 0.9rem !important;
}

.search-btn {
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .selection-box {
    padding: 28px 18px 24px !important;
  }

  .selection-title {
    font-size: 1.22rem !important;
    margin-bottom: 22px !important;
  }

  .select-header,
  .search-btn {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 14px !important;
    font-size: 0.86rem !important;
  }

  .select-header span:first-child {
    font-size: 0.86rem !important;
  }
}


/* =========================
   PROJECT THEME COLORS
   Primary: var(--primary-color) | Secondary/Hover: var(--secondary-color)
========================= */
.nav-menu a:hover,
.footer a:hover,
.district-link:hover,
.service-card:hover h3,
.profile-section-title i,
.rating-score,
.star.filled,
.verified-icon {
  color: var(--secondary-color) !important;
}

button:hover,
.btn:hover,
.search-btn:hover,
.hero-btn:hover,
.cta-btn:hover,
.bdlaw-btn:hover,
.btn-login:hover,
.profile-action-btn:hover,
.profile-tab.active,
.pagination .active,
.pagination a:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.footer,
.profile-cover,
.section-dark,
.dark-section {
  background-color: var(--primary-color);
}

input:focus,
select:focus,
textarea:focus,
.select-box:hover,
.custom-select.open .select-header {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.14) !important;
}


/* Profile Page Common CSS */
    .profile-page {
      background: #f4faf5;
      min-height: 100vh;
      padding: 42px 0 56px;
      color: #1f3b22
    }

    .profile-container {
      width: min(92%, 1200px);
      margin: auto
    }

    .profile-cover {
      min-height: 230px;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      border-radius: 24px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 45px rgba(var(--primary-rgb), .15)
    }

    .profile-cover:before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 18% 15%, rgba(255, 255, 255, .28), transparent 28%), radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .16), transparent 25%)
    }

    .profile-top-card {
      background: #fff;
      border: 1px solid #e6f0e8;
      border-radius: 22px;
      margin: -86px auto 28px;
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 170px 1fr 300px;
      gap: 24px;
      padding: 26px;
      box-shadow: 0 18px 45px rgba(var(--primary-rgb), .10)
    }

    .profile-photo-wrap {
      display: flex;
      align-items: flex-start;
      justify-content: center
    }

    .profile-photo {
      width: 150px;
      height: 150px;
      border-radius: 20px;
      object-fit: cover;
      border: 6px solid #fff;
      box-shadow: 0 18px 35px rgba(var(--primary-rgb), .18)
    }

    .profile-title {
      padding-top: 6px
    }

    .profile-title h1 {
      font-size: 30px;
      color: var(--primary-color);
      margin: 0 0 7px;
      font-weight: 800;
      line-height: 1.25
    }

    .verified {
      color: var(--secondary-color);
      font-size: 16px
    }

    .profile-subtitle,
    .profile-location {
      font-size: 14px;
      color: #64748b;
      margin: 4px 0
    }

    .profile-location i {
      color: var(--secondary-color)
    }

    .profile-rate-box {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 18px;
      padding: 20px;
      height: max-content
    }

    .rate-line {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      font-size: 13px;
      margin-bottom: 10px;
      color: #334155
    }

    .rate-value {
      font-weight: 800;
      color: var(--secondary-color)
    }

    .profile-main {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 26px
    }

    .side-card,
    .content-card {
      background: #fff;
      border: 1px solid #e6f0e8;
      border-radius: 18px;
      margin-bottom: 18px;
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(var(--primary-rgb), .07)
    }

    .side-card h3,
    .content-card h2 {
      font-size: 20px;
      color: var(--primary-color);
      border-bottom: 1px solid #e6f0e8;
      padding: 15px 18px;
      margin: 0;
      font-weight: 800;
      background: #fbfefc
    }

    .side-body,
    .content-body {
      padding: 18px
    }

    .stat-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px
    }

    .stat-item {
      text-align: center;
      padding: 14px 8px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 14px
    }

    .stat-number {
      font-weight: 800;
      color: var(--secondary-color);
      font-size: 20px
    }

    .stat-label {
      font-size: 11px;
      color: #64748b;
      margin-top: 4px
    }

    .availability-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(var(--secondary-rgb), .10);
      color: var(--secondary-color);
      border: 1px solid rgba(var(--secondary-rgb), .25);
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 800;
      margin-bottom: 10px
    }

    .book-item {
      border-top: 1px solid #e6f0e8;
      padding: 12px 0
    }

    .book-item:first-of-type {
      border-top: 0
    }

    .book-item h4 {
      font-size: 14px;
      color: var(--primary-color);
      margin: 0 0 4px
    }

    .book-item p {
      font-size: 12px;
      color: #64748b;
      margin: 0 0 10px
    }

    .book-now-small,
    .action-outline,
    .action-primary {
      border: 0;
      border-radius: 999px;
      padding: 11px 18px;
      cursor: pointer;
      font-weight: 800;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      transition: .2s ease;
      font-family: inherit
    }

    .book-now-small,
    .action-primary {
      background: var(--secondary-color);
      color: #fff;
      box-shadow: 0 14px 28px rgba(var(--primary-rgb), .12)
    }

    .book-now-small:hover,
    .action-primary:hover {
      background: var(--primary-color);
      transform: translateY(-1px);
      color: #fff
    }

    .action-outline {
      background: #fff;
      color: var(--secondary-color);
      border: 1px solid var(--secondary-color)
    }

    .action-outline:hover {
      background: #f0fdf4;
      color: var(--primary-color)
    }

    .action-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 14px
    }

    .content-card p,
    .section-text {
      font-size: 14px;
      color: #334155;
      line-height: 1.75;
      margin: 0
    }

    .profile-list-item {
      font-size: 14px;
      color: #334155;
      padding: 11px 0;
      border-bottom: 1px solid #eef6f0
    }

    .profile-list-item:last-child {
      border-bottom: 0
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px
    }

    .tag-list span {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      color: #166534;
      padding: 7px 12px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800
    }

    .review-summary {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 24px;
      align-items: center
    }

    .rating-big {
      text-align: center;
      border: 1px solid #e6f0e8;
      border-radius: 18px;
      padding: 24px;
      background: #f8fafc
    }

    .rating-big h3 {
      font-size: 44px;
      color: var(--secondary-color);
      margin: 0
    }

    .stars {
      color: #fbbf24;
      margin: 6px 0
    }

    .bar-row {
      display: grid;
      grid-template-columns: 50px 1fr 45px;
      gap: 10px;
      align-items: center;
      font-size: 13px;
      margin: 8px 0
    }

    .bar-bg {
      height: 12px;
      background: #e5e7eb;
      border-radius: 50px;
      overflow: hidden
    }

    .bar-fill {
      height: 100%;
      background: var(--secondary-color)
    }

    .review-card {
      border: 1px solid #e6f0e8;
      border-radius: 18px;
      padding: 16px;
      margin-top: 14px;
      background: #fff
    }

    .review-head {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 8px
    }

    .review-avatar {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: #d1d5db;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 22px
    }

    .review-name {
      font-weight: 800;
      color: var(--primary-color)
    }

    .review-meta {
      font-size: 12px;
      color: #64748b
    }

    .profile-form {
      display: grid;
      gap: 10px
    }

    .profile-form input,
    .profile-form select,
    .profile-form textarea {
      width: 100%;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 14px;
      font-family: inherit;
      background: #fff
    }

    .profile-form input:focus,
    .profile-form select:focus,
    .profile-form textarea:focus {
      outline: 3px solid rgba(var(--secondary-rgb), .16);
      border-color: var(--secondary-color)
    }

    .profile-form textarea {
      min-height: 96px;
      resize: vertical
    }

    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px
    }

    .notice {
      padding: 13px 16px;
      border-radius: 14px;
      margin-bottom: 16px;
      font-weight: 800
    }

    .notice.success {
      background: #dcfce7;
      color: #166534
    }

    .notice.error {
      background: #fee2e2;
      color: #991b1b
    }

    .locked-actions {
      background: #fff7ed;
      color: #9a3412;
      border: 1px solid #fed7aa;
      border-radius: 14px;
      padding: 12px;
      font-size: 14px;
      font-weight: 800
    }

    .faq-row {
      border-top: 1px solid #e6f0e8;
      padding: 14px 0;
      display: flex;
      justify-content: space-between;
      font-weight: 800;
      color: var(--primary-color)
    }

    .faq-row i {
      color: var(--secondary-color)
    }

    .profile-not-found {
      background: #fff;
      border: 1px solid #e6f0e8;
      border-radius: 22px;
      padding: 42px;
      text-align: center;
      box-shadow: 0 15px 35px rgba(var(--primary-rgb), .09)
    }

    .profile-not-found h1 {
      color: var(--primary-color)
    }

    @media(max-width:900px) {
      .profile-page {
        padding-top: 24px
      }

      .profile-top-card,
      .profile-main {
        grid-template-columns: 1fr
      }

      .profile-top-card {
        margin-top: -70px
      }

      .profile-photo-wrap {
        justify-content: flex-start
      }

      .profile-rate-box {
        padding-top: 18px
      }

      .review-summary {
        grid-template-columns: 1fr
      }

      .stat-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .form-grid-2 {
        grid-template-columns: 1fr
      }
    }

    @media(max-width:520px) {
      .profile-top-card {
        padding: 18px
      }

      .profile-photo {
        width: 125px;
        height: 125px
      }

      .profile-title h1 {
        font-size: 24px
      }

      .profile-main {
        gap: 18px
      }
    }


    .profile-button-standard,
    .book-now-small,
    .action-outline,
    .action-primary,
    .profile-form .action-primary {
      width: 100%;
      min-width: 0;
      height: 46px;
      padding: 0 18px;
      border-radius: 12px;
      background: var(--secondary-color);
      color: #fff;
      border: 0;
      text-decoration: none;
      font-size: 14px;
      line-height: 1;
      box-shadow: 0 14px 28px rgba(var(--primary-rgb), .12);
      box-sizing: border-box;
      white-space: nowrap;
    }

    .action-outline {
      border: 0;
    }

    .profile-rate-box .action-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 10px;
      margin-top: 16px;
      width: 100%;
      overflow: hidden;
    }

    .profile-rate-box .action-row .action-outline,
    .profile-rate-box .action-row .action-primary {
      width: 100%;
      min-width: 0;
      max-width: 100%;
      padding-left: 10px;
      padding-right: 10px;
    }

    .book-item .book-now-small {
      width: 100%;
    }

    .book-now-small:hover,
    .action-outline:hover,
    .action-primary:hover,
    .profile-form .action-primary:hover {
      background: var(--primary-color);
      color: #fff;
      text-decoration: none;
    }


    .profile-tags-top {
      margin-top: 12px;
    }

    .bar-fill-0 { width: 0%; }
    .bar-fill-1 { width: 1%; }
    .bar-fill-2 { width: 2%; }
    .bar-fill-3 { width: 3%; }
    .bar-fill-4 { width: 4%; }
    .bar-fill-5 { width: 5%; }
    .bar-fill-6 { width: 6%; }
    .bar-fill-7 { width: 7%; }
    .bar-fill-8 { width: 8%; }
    .bar-fill-9 { width: 9%; }
    .bar-fill-10 { width: 10%; }
    .bar-fill-11 { width: 11%; }
    .bar-fill-12 { width: 12%; }
    .bar-fill-13 { width: 13%; }
    .bar-fill-14 { width: 14%; }
    .bar-fill-15 { width: 15%; }
    .bar-fill-16 { width: 16%; }
    .bar-fill-17 { width: 17%; }
    .bar-fill-18 { width: 18%; }
    .bar-fill-19 { width: 19%; }
    .bar-fill-20 { width: 20%; }
    .bar-fill-21 { width: 21%; }
    .bar-fill-22 { width: 22%; }
    .bar-fill-23 { width: 23%; }
    .bar-fill-24 { width: 24%; }
    .bar-fill-25 { width: 25%; }
    .bar-fill-26 { width: 26%; }
    .bar-fill-27 { width: 27%; }
    .bar-fill-28 { width: 28%; }
    .bar-fill-29 { width: 29%; }
    .bar-fill-30 { width: 30%; }
    .bar-fill-31 { width: 31%; }
    .bar-fill-32 { width: 32%; }
    .bar-fill-33 { width: 33%; }
    .bar-fill-34 { width: 34%; }
    .bar-fill-35 { width: 35%; }
    .bar-fill-36 { width: 36%; }
    .bar-fill-37 { width: 37%; }
    .bar-fill-38 { width: 38%; }
    .bar-fill-39 { width: 39%; }
    .bar-fill-40 { width: 40%; }
    .bar-fill-41 { width: 41%; }
    .bar-fill-42 { width: 42%; }
    .bar-fill-43 { width: 43%; }
    .bar-fill-44 { width: 44%; }
    .bar-fill-45 { width: 45%; }
    .bar-fill-46 { width: 46%; }
    .bar-fill-47 { width: 47%; }
    .bar-fill-48 { width: 48%; }
    .bar-fill-49 { width: 49%; }
    .bar-fill-50 { width: 50%; }
    .bar-fill-51 { width: 51%; }
    .bar-fill-52 { width: 52%; }
    .bar-fill-53 { width: 53%; }
    .bar-fill-54 { width: 54%; }
    .bar-fill-55 { width: 55%; }
    .bar-fill-56 { width: 56%; }
    .bar-fill-57 { width: 57%; }
    .bar-fill-58 { width: 58%; }
    .bar-fill-59 { width: 59%; }
    .bar-fill-60 { width: 60%; }
    .bar-fill-61 { width: 61%; }
    .bar-fill-62 { width: 62%; }
    .bar-fill-63 { width: 63%; }
    .bar-fill-64 { width: 64%; }
    .bar-fill-65 { width: 65%; }
    .bar-fill-66 { width: 66%; }
    .bar-fill-67 { width: 67%; }
    .bar-fill-68 { width: 68%; }
    .bar-fill-69 { width: 69%; }
    .bar-fill-70 { width: 70%; }
    .bar-fill-71 { width: 71%; }
    .bar-fill-72 { width: 72%; }
    .bar-fill-73 { width: 73%; }
    .bar-fill-74 { width: 74%; }
    .bar-fill-75 { width: 75%; }
    .bar-fill-76 { width: 76%; }
    .bar-fill-77 { width: 77%; }
    .bar-fill-78 { width: 78%; }
    .bar-fill-79 { width: 79%; }
    .bar-fill-80 { width: 80%; }
    .bar-fill-81 { width: 81%; }
    .bar-fill-82 { width: 82%; }
    .bar-fill-83 { width: 83%; }
    .bar-fill-84 { width: 84%; }
    .bar-fill-85 { width: 85%; }
    .bar-fill-86 { width: 86%; }
    .bar-fill-87 { width: 87%; }
    .bar-fill-88 { width: 88%; }
    .bar-fill-89 { width: 89%; }
    .bar-fill-90 { width: 90%; }
    .bar-fill-91 { width: 91%; }
    .bar-fill-92 { width: 92%; }
    .bar-fill-93 { width: 93%; }
    .bar-fill-94 { width: 94%; }
    .bar-fill-95 { width: 95%; }
    .bar-fill-96 { width: 96%; }
    .bar-fill-97 { width: 97%; }
    .bar-fill-98 { width: 98%; }
    .bar-fill-99 { width: 99%; }
    .bar-fill-100 { width: 100%; }


/* =====================================================
   STICKY MAIN MENU + SEARCH ADVOCATE FILTER CARD
   ===================================================== */
.navbar,
header.navbar {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  background: #f4faf5 !important;
  isolation: isolate;
}

.ukilkhujun-page .find-lawyers-section,
.ukilkhujun-page .find-lawyers-container {
  overflow: visible !important;
}

@media (min-width: 769px) {
  .ukilkhujun-page .filter-panel {
    position: sticky !important;
    top: 96px !important;
    z-index: 50 !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 116px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #eef7f0;
  }

  .ukilkhujun-page .filter-panel::-webkit-scrollbar {
    width: 6px;
  }

  .ukilkhujun-page .filter-panel::-webkit-scrollbar-track {
    background: #eef7f0;
    border-radius: 10px;
  }

  .ukilkhujun-page .filter-panel::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .navbar,
  header.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }

  .ukilkhujun-page .mobile-filter-open {
    top: 76px !important;
  }
}

/* =====================================================
   FINAL STICKY FIX - MAIN MENU + SEARCH ADVOCATE FILTER
   ===================================================== */
html {
  overflow-x: clip !important;
}

body {
  padding-top: 78px !important;
  overflow-x: clip !important;
}

.navbar,
header.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: #f4faf5 !important;
  border-bottom: 1px solid #dfeee3 !important;
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.10) !important;
  transform: translateZ(0);
}

.ukilkhujun-page,
.ukilkhujun-page .find-lawyers-section,
.ukilkhujun-page .find-lawyers-container {
  overflow: visible !important;
  overflow-x: clip !important;
}

@media (min-width: 769px) {
  .ukilkhujun-page .filter-panel {
    position: sticky !important;
    top: 100px !important;
    z-index: 1000 !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 66px !important;
  }

  .navbar,
  header.navbar {
    height: 66px !important;
  }

  .nav-wrapper {
    height: 66px !important;
  }

  .ukilkhujun-page .mobile-filter-open {
    position: sticky !important;
    top: 78px !important;
    z-index: 900 !important;
  }
}


/* =====================================================
   FINAL LOGO SIZE FIX - HEADER + FOOTER
   ===================================================== */
.site-logo span,
.footer-logo span {
  display: none !important;
}

.site-logo img {
  width: 92px !important;
  height: auto !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

.footer-logo img {
  width: 120px !important;
  height: auto !important;
  max-height: 76px !important;
  object-fit: contain !important;
}

.nav-wrapper .logo,
.nav-wrapper .site-logo {
  flex: 0 0 auto !important;
}

@media (max-width: 768px) {
  .site-logo img {
    width: 78px !important;
    max-height: 52px !important;
  }

  .footer-logo img {
    width: 105px !important;
    max-height: 68px !important;
  }
}

/* ========================================
   RESPONSIVE FEEDBACK BUTTON & MODAL FIX
   ======================================== */
.feedback-overlay {
  z-index: 10000;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.feedback-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-modal {
  width: min(640px, 100%);
  max-width: 640px;
  max-height: calc(100dvh - 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10001;
}

.feedback-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.feedback-header {
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
}

.feedback-header-controls {
  flex-wrap: nowrap;
  margin-left: auto;
}

.feedback-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
}

.feedback-btn {
  z-index: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.feedback-overlay.active ~ .feedback-btn,
body.feedback-modal-open .feedback-btn {
  display: none;
}

@media (max-width: 768px) {
  .feedback-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .feedback-modal {
    width: 100%;
    max-width: 100%;
    max-height: 88dvh;
    border-radius: 20px 20px 0 0;
    animation: feedbackSheetIn 0.28s ease;
  }

  .feedback-overlay.closing .feedback-modal {
    animation: feedbackSheetOut 0.24s ease forwards;
  }

  .feedback-header {
    padding: 14px 16px;
    border-radius: 20px 20px 0 0;
  }

  .feedback-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .language-toggle {
    padding: 3px;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .feedback-close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .feedback-body {
    padding: 16px;
  }

  .feedback-section {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
  }

  .rating-question {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .rating-scale {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .rating-btn {
    min-width: 0;
    height: 40px;
    font-size: 13px;
    border-radius: 10px;
  }

  .rating-labels {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-label,
  .checkbox-label,
  .form-input,
  .form-textarea {
    font-size: 13px;
  }

  .form-input {
    padding: 11px 12px;
  }

  .checkbox-group {
    gap: 8px;
  }

  .checkbox-item {
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
  }

  .checkbox-label {
    padding: 0;
    line-height: 1.35;
  }

  .feedback-submit {
    position: sticky;
    bottom: 0;
    padding: 12px 18px;
    margin-top: 18px;
    border-radius: 12px;
  }

  .feedback-btn {
    right: 14px;
    bottom: 18px;
    top: auto;
    transform: none;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .feedback-btn:hover {
    right: 14px;
  }
}

@media (max-width: 420px) {
  .feedback-header {
    align-items: flex-start;
  }

  .feedback-header-controls {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .language-toggle {
    flex: 1;
  }

  .lang-btn {
    flex: 1;
  }

  .rating-scale {
    gap: 6px;
  }

  .rating-btn {
    height: 38px;
    font-size: 12px;
  }
}

@keyframes feedbackSheetIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes feedbackSheetOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}

/* ========================================
   FINAL FEEDBACK BUTTON WIDTH FIX
   Stops global button min-width from making মতামত button too wide
   ======================================== */
body .feedback-btn,
body button.feedback-btn {
  min-width: 0 !important;
  width: 54px !important;
  max-width: 54px !important;
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  padding: 12px 6px !important;
  right: 0 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px 0 0 10px !important;
  line-height: 1.1 !important;
  font-size: 15px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

body .feedback-btn:hover,
body button.feedback-btn:hover {
  right: 0 !important;
  transform: translateY(-50%) !important;
  background: var(--primary-color) !important;
}

body.feedback-modal-open .feedback-btn,
.feedback-overlay.active ~ .feedback-btn {
  display: none !important;
}

@media (max-width: 768px) {
  body .feedback-btn,
  body button.feedback-btn {
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    min-width: 0 !important;
    right: 16px !important;
    bottom: 16px !important;
    top: auto !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  body .feedback-btn:hover,
  body button.feedback-btn:hover {
    right: 16px !important;
    transform: none !important;
  }
}

/* =========================
   BLOG PAGES FIX
========================= */
.blog-page,
.blog-details-page,
.admin-blog-page {
  background: linear-gradient(180deg, #f4faf5 0%, #ffffff 46%, #f4faf5 100%);
  min-height: 70vh;
}

.blog-archive-hero,
.blog-details-hero,
.admin-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background: radial-gradient(circle at top left, rgba(var(--secondary-rgb), 0.18), transparent 34%), linear-gradient(135deg, var(--primary-color), #123d27 58%, #0b2417);
  color: #ffffff;
}

.blog-archive-hero::after,
.blog-details-hero::after,
.admin-blog-hero::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: -110px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.blog-archive-hero .container,
.blog-details-hero .container,
.admin-blog-hero .container {
  position: relative;
  z-index: 1;
}

.blog-archive-hero h1,
.blog-details-hero h1,
.admin-blog-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.blog-archive-hero p,
.admin-blog-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

.blog-archive-section,
.blog-details-section,
.admin-blog-section {
  padding: 64px 0 86px;
}

.blog-archive-wrap,
.blog-details-layout,
.admin-blog-layout {
  width: min(92%, 1200px);
}

.blog-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.blog-list-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(var(--primary-rgb), 0.09);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(var(--primary-rgb), 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-list-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--secondary-rgb), 0.45);
  box-shadow: 0 28px 70px rgba(var(--primary-rgb), 0.16);
}

.blog-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8f5eb;
}

.blog-card-image img,
.blog-details-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-image img {
  transition: transform 0.35s ease;
}

.blog-list-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.blog-category,
.blog-status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(var(--secondary-rgb), 0.13);
  color: var(--primary-color);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.blog-card-content h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.34;
}

.blog-card-content h2 a,
.recent-blog-item,
.blog-back-link,
.blog-back-btn {
  color: inherit;
  text-decoration: none;
}

.blog-card-content h2 a:hover,
.blog-back-link:hover,
.recent-blog-item:hover span {
  color: var(--secondary-color);
}

.blog-card-content p {
  margin: 0;
  color: #526257;
  font-size: 15px;
  line-height: 1.72;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
  color: #65756b;
  font-size: 14px;
}

.blog-meta i {
  color: var(--secondary-color);
}

.blog-empty-card,
.blog-details-card,
.blog-sidebar,
.admin-blog-form-card,
.admin-blog-list-card {
  background: #ffffff;
  border: 1px solid rgba(var(--primary-rgb), 0.09);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(var(--primary-rgb), 0.10);
}

.blog-empty-card {
  padding: 54px 28px;
  text-align: center;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}

.blog-pagination a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-color);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.07);
}

.blog-pagination a:hover,
.blog-pagination a.active {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #ffffff;
}

.blog-details-head {
  max-width: 980px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.blog-details-head .blog-category {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.details-meta {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
}

.blog-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}

.blog-details-card {
  overflow: hidden;
  min-width: 0;
}

.blog-details-image {
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  background: #e8f5eb;
}

.blog-details-content {
  padding: clamp(24px, 4vw, 44px);
  color: #213628;
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.blog-details-content p,
.blog-details-content div {
  max-width: 100%;
}

.blog-details-content img,
.blog-details-content iframe,
.blog-details-content video {
  max-width: 100%;
  border-radius: 18px;
}

.blog-details-content h1,
.blog-details-content h2,
.blog-details-content h3,
.blog-details-content h4 {
  margin: 28px 0 12px;
  color: var(--primary-color);
  line-height: 1.35;
}

.blog-sidebar {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.blog-sidebar h3 {
  margin: 0 0 16px;
  color: var(--primary-color);
  font-size: 24px;
}

.recent-blog-item {
  display: block;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  padding: 14px 0;
}

.recent-blog-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.recent-blog-item span,
.recent-blog-item small {
  display: block;
}

.recent-blog-item span {
  color: #213628;
  font-weight: 700;
  line-height: 1.45;
}

.recent-blog-item small {
  margin-top: 5px;
  color: #738077;
}

.blog-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--secondary-color);
  color: #ffffff;
  padding: 12px 22px;
  font-weight: 700;
}

.admin-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.admin-blog-form-card,
.admin-blog-list-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
}

.admin-blog-form-card h2,
.admin-blog-list-card h2 {
  margin: 0 0 22px;
  color: var(--primary-color);
  font-size: clamp(24px, 3vw, 34px);
}

.admin-blog-form .form-group {
  margin-bottom: 18px;
}

.admin-blog-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 700;
}

.admin-blog-form input,
.admin-blog-form select,
.admin-blog-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  border-radius: 16px;
  background: #fbfffc;
  color: #213628;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-blog-form textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-blog-form textarea[name="content"] {
  min-height: 330px;
}

.admin-blog-form input:focus,
.admin-blog-form select:focus,
.admin-blog-form textarea:focus {
  border-color: var(--secondary-color);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), 0.15);
}

.admin-blog-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-blog-actions,
.admin-blog-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-blog-submit,
.admin-blog-cancel,
.admin-blog-view,
.admin-blog-row-actions a,
.admin-blog-row-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-blog-submit,
.admin-blog-view,
.admin-blog-row-actions a {
  background: var(--secondary-color);
  color: #ffffff;
}

.admin-blog-cancel {
  background: rgba(var(--primary-rgb), 0.09);
  color: var(--primary-color);
}

.admin-blog-row-actions button {
  background: #fee2e2;
  color: #991b1b;
  box-shadow: none;
}

.admin-blog-submit:hover,
.admin-blog-view:hover,
.admin-blog-row-actions a:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-1px);
}

.admin-blog-alert {
  margin-bottom: 20px;
  border-radius: 16px;
  padding: 13px 16px;
  font-weight: 700;
}

.admin-blog-alert.success {
  background: rgba(var(--secondary-rgb), 0.13);
  color: var(--primary-color);
}

.admin-blog-alert.error {
  background: #fee2e2;
  color: #991b1b;
}

.admin-blog-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-blog-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.admin-blog-table th {
  color: #66756b;
  padding: 0 12px 6px;
  text-align: left;
  font-size: 13px;
}

.admin-blog-table td {
  background: #f8fcf9;
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  padding: 14px 12px;
  vertical-align: middle;
}

.admin-blog-table td:first-child {
  border-left: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: 16px 0 0 16px;
}

.admin-blog-table td:last-child {
  border-right: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: 0 16px 16px 0;
}

.admin-blog-table strong,
.admin-blog-table small {
  display: block;
}

.admin-blog-table strong {
  color: var(--primary-color);
  line-height: 1.4;
}

.admin-blog-table small {
  margin-top: 4px;
  color: #6b7a70;
}

.blog-status-badge.published {
  background: rgba(var(--secondary-rgb), 0.15);
  color: var(--primary-color);
}

.blog-status-badge.draft {
  background: #fef3c7;
  color: #92400e;
}

.admin-blog-image-preview {
  display: none;
  overflow: hidden;
  width: 180px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: 16px;
  background: #eef8f0;
}

.admin-blog-image-preview.show {
  display: block;
}

.admin-blog-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 0;
  height: 4px;
  background: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.34);
}

@media (max-width: 1100px) {
  .blog-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-details-layout,
  .admin-blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-archive-hero,
  .blog-details-hero,
  .admin-blog-hero {
    padding: 58px 0 48px;
  }

  .blog-archive-section,
  .blog-details-section,
  .admin-blog-section {
    padding: 36px 0 58px;
  }

  .blog-grid-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-list-card,
  .blog-empty-card,
  .blog-details-card,
  .blog-sidebar,
  .admin-blog-form-card,
  .admin-blog-list-card {
    border-radius: 20px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-details-image {
    aspect-ratio: 16 / 10.5;
  }

  .blog-details-content {
    font-size: 16px;
    line-height: 1.85;
  }

  .admin-blog-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .admin-blog-actions,
  .admin-blog-row-actions {
    align-items: stretch;
  }

  .admin-blog-submit,
  .admin-blog-cancel,
  .admin-blog-view,
  .admin-blog-row-actions a,
  .admin-blog-row-actions button {
    width: 100%;
  }

  .admin-blog-table {
    min-width: 560px;
  }
}

@media (max-width: 480px) {
  .blog-archive-wrap,
  .blog-details-layout,
  .admin-blog-layout {
    width: min(94%, 1200px);
  }

  .blog-archive-hero h1,
  .blog-details-hero h1,
  .admin-blog-hero h1 {
    font-size: 31px;
  }

  .blog-card-image {
    aspect-ratio: 16 / 11;
  }

  .blog-pagination a {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 13px;
  }
}

/* =========================
   ADMIN BLOG RESPONSIVE PATCH
========================= */
.admin-blog-responsive-layout {
  width: min(94%, 1240px);
}

.admin-blog-panel {
  overflow: hidden;
}

.admin-blog-list-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-blog-list-head h2 {
  margin: 0;
}

.admin-blog-list-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--secondary-rgb), 0.12);
  color: var(--primary-color);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-blog-table-wrap {
  border-radius: 20px;
}

.admin-blog-table {
  table-layout: auto;
}

.admin-blog-title-cell {
  min-width: 230px;
}

.admin-blog-row-actions form {
  margin: 0;
}

.admin-blog-empty-row {
  text-align: center;
  color: #66756b;
  font-weight: 700;
}

.admin-blog-form input[type="file"] {
  line-height: 1.4;
  padding: 10px 14px;
}

@media (max-width: 1200px) {
  .admin-blog-layout,
  .admin-blog-responsive-layout {
    grid-template-columns: 1fr !important;
  }

  .admin-blog-list-card {
    order: 2;
  }
}

@media (max-width: 768px) {
  .admin-blog-responsive-layout {
    width: min(94%, 1240px);
  }

  .admin-blog-form-card,
  .admin-blog-list-card {
    padding: 20px 16px;
  }

  .admin-blog-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-blog-form input,
  .admin-blog-form select,
  .admin-blog-form textarea {
    min-height: 46px;
    border-radius: 13px;
    font-size: 14px;
  }

  .admin-blog-form textarea[name="content"] {
    min-height: 260px;
  }

  .admin-blog-table-wrap {
    overflow: visible;
  }

  .admin-blog-table,
  .admin-blog-table thead,
  .admin-blog-table tbody,
  .admin-blog-table tr,
  .admin-blog-table th,
  .admin-blog-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .admin-blog-table {
    border-spacing: 0;
  }

  .admin-blog-table thead {
    display: none;
  }

  .admin-blog-table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(var(--primary-rgb), 0.10);
    border-radius: 18px;
    background: #f8fcf9;
    padding: 14px;
  }

  .admin-blog-table td,
  .admin-blog-table td:first-child,
  .admin-blog-table td:last-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 9px 0;
    text-align: right;
  }

  .admin-blog-table td::before {
    content: attr(data-label);
    flex: 0 0 80px;
    color: #66756b;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .admin-blog-table .admin-blog-title-cell {
    display: block;
    text-align: left;
  }

  .admin-blog-table .admin-blog-title-cell::before {
    display: block;
    margin-bottom: 8px;
  }

  .admin-blog-row-actions {
    justify-content: flex-end;
  }

  .admin-blog-row-actions::before {
    align-self: center;
  }

  .admin-blog-row-actions a,
  .admin-blog-row-actions button {
    width: auto;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .admin-blog-form-card,
  .admin-blog-list-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .admin-blog-actions a,
  .admin-blog-actions button {
    width: 100%;
  }

  .admin-blog-table td,
  .admin-blog-table td:first-child,
  .admin-blog-table td:last-child {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .admin-blog-table td::before {
    flex: none;
  }

  .admin-blog-row-actions {
    justify-content: stretch;
  }

  .admin-blog-row-actions a,
  .admin-blog-row-actions button,
  .admin-blog-row-actions form {
    width: 100%;
  }
}

/* =====================================================
   FINAL FONT UPDATE - ANEK BANGLA
   Menu and headings: semibold + slight letter spacing
   Body text: regular
   ===================================================== */
:root {
  --site-font-family: "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

html,
body {
  font-family: var(--site-font-family) !important;
  font-weight: 400;
  letter-spacing: 0;
}

body,
p,
li,
span,
small,
label,
input,
select,
textarea,
option,
.footer p,
.footer li,
.footer-col p,
.footer-col ul li {
  font-family: var(--site-font-family) !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.selection-title,
.hero-content h1,
.hero h1,
.service-hero h1,
.profile-section-title,
.footer-col h4 {
  font-family: var(--site-font-family) !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em;
}

.nav-menu a,
.nav-right .btn-login,
.mobile-login-link,
.menu-toggle,
.site-logo span,
.footer-logo span {
  font-family: var(--site-font-family) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

button,
.btn,
.search-btn,
.hero-btn,
.cta-btn,
.bdlaw-btn,
.view-profile-btn,
.profile-action-btn,
.customer-submit,
.customer-logout-btn {
  font-family: var(--site-font-family) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

strong,
b,
.badge,
.tag,
.admin-blog-table td::before {
  font-weight: 600 !important;
}

/* =====================================================
   FINAL MERGED FIX - HEADER/FOOTER LOGO COLORS + ANEK FONT
   Keeps previous header/footer logo styling and applies font rules.
   ===================================================== */
:root {
  --site-font-family: "Anek Bangla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-footer-bg: var(--primary-color);
  --header-footer-text: #f8fff9;
  --header-footer-muted: #d8eadc;
  --header-footer-hover: var(--secondary-color);
  --header-menu-font-size: 15px;
}

html,
body {
  font-family: var(--site-font-family) !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}

body,
p,
li,
span,
small,
label,
input,
select,
textarea,
option,
.footer p,
.footer li,
.footer-col p,
.footer-col ul li {
  font-family: var(--site-font-family) !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.selection-title,
.hero-content h1,
.hero h1,
.service-hero h1,
.profile-section-title,
.footer-col h4 {
  font-family: var(--site-font-family) !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em;
}

.navbar,
header.navbar {
  background: var(--header-footer-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
}

.nav-wrapper {
  display: flex !important;
  align-items: center !important;
}

.nav-wrapper .logo,
.nav-wrapper .site-logo,
.site-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  line-height: 1 !important;
  color: var(--header-footer-text) !important;
  font-family: var(--site-font-family) !important;
  font-size: var(--header-menu-font-size) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.site-logo img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 auto !important;
}

.site-logo span {
  display: inline !important;
  color: var(--header-footer-text) !important;
  font-family: var(--site-font-family) !important;
  font-size: var(--header-menu-font-size) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

.nav-menu a,
.nav-right .btn-login,
.mobile-login-link,
.menu-toggle {
  color: var(--header-footer-text) !important;
  font-family: var(--site-font-family) !important;
  font-size: var(--header-menu-font-size) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu a.active,
.site-logo:hover,
.site-logo:hover span,
.nav-right .btn-login:hover,
.mobile-login-link:hover {
  color: var(--header-footer-hover) !important;
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.menu-toggle:hover {
  background: var(--header-footer-hover) !important;
  color: #ffffff !important;
}

.footer {
  background: var(--header-footer-bg) !important;
  color: var(--header-footer-muted) !important;
}

.footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--header-footer-text) !important;
  font-family: var(--site-font-family) !important;
  font-size: var(--header-menu-font-size) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  margin-bottom: 14px !important;
  white-space: nowrap !important;
}

.footer-logo img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 auto !important;
}

.footer-logo span {
  display: inline !important;
  color: var(--header-footer-text) !important;
  font-family: var(--site-font-family) !important;
  font-size: var(--header-menu-font-size) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

.footer-logo:hover,
.footer-logo:hover span,
.footer-col ul li:hover,
.footer-menu a:hover,
.footer .social a:hover,
.footer a:hover {
  color: var(--header-footer-hover) !important;
}

.footer-col h4 {
  color: var(--header-footer-text) !important;
  font-family: var(--site-font-family) !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
}

.footer p,
.footer-col p,
.footer-col li,
.footer-menu a,
.footer .contact p,
.footer-bottom p,
.footer .social a {
  color: var(--header-footer-muted) !important;
  font-family: var(--site-font-family) !important;
  font-weight: 400 !important;
}

.footer .contact i {
  color: var(--header-footer-hover) !important;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.14) !important;
}

button,
.btn,
.search-btn,
.hero-btn,
.cta-btn,
.bdlaw-btn,
.view-profile-btn,
.profile-action-btn,
.customer-submit,
.customer-logout-btn {
  font-family: var(--site-font-family) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

strong,
b,
.badge,
.tag,
.admin-blog-table td::before {
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .site-logo,
  .nav-menu a,
  .footer-logo {
    font-size: 14px !important;
  }

  .site-logo img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
  }

  .footer-logo img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  .nav-menu {
    background: var(--header-footer-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.20) !important;
  }
}

/* =====================================================
   FINAL FIX - MEGA MENU TEXT VISIBILITY
   Mega menu dropdown background is white, so its links must be dark.
   Header mega parent link stays white on dark header.
   ===================================================== */
.nav-menu > ul > li.mega-parent {
  background: transparent !important;
}

.nav-menu > ul > li.mega-parent > a.mega-link {
  color: var(--header-footer-text) !important;
  background: transparent !important;
}

.nav-menu > ul > li.mega-parent > a.mega-link:hover,
.nav-menu > ul > li.mega-parent > a.mega-link.active {
  color: var(--header-footer-hover) !important;
}

.nav-menu .mega-menu {
  background: #ffffff !important;
  color: #143321 !important;
}

.nav-menu .mega-menu .mega-column h4 {
  color: var(--primary-color) !important;
}

.nav-menu .mega-menu .mega-column a {
  height: auto !important;
  padding: 4px 0 !important;
  color: #143321 !important;
  background: transparent !important;
  font-weight: 500 !important;
}

.nav-menu .mega-menu .mega-column a:hover,
.nav-menu .mega-menu .mega-column a:focus {
  color: var(--secondary-color) !important;
}
