/**
 * KEMTEX WELLNESS - MODERN REDESIGN
 * Premium, Clean, and Professional Design
 * Light Green Wellness Theme with Modern Styling
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-green: #4CAF50;
  --primary-dark: #3D8B40;
  --primary-light: #81C784;
  --dark-text: #1a1a1a;
  --light-text: #555;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  color: var(--light-text);
  background: #ffffff;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1, .h1 { font-size: 3rem; font-weight: 700; }
h2, .h2 { font-size: 2.25rem; font-weight: 700; }
h3, .h3 { font-size: 1.75rem; font-weight: 700; }
h4, .h4 { font-size: 1.3rem; font-weight: 600; }
h5, .h5 { font-size: 1.1rem; font-weight: 600; }
h6, .h6 { font-size: 1rem; font-weight: 600; }

p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--light-text);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ============================================================
   UTILITY CLASSES
============================================================ */

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 60px 0;
}

.text-color {
  color: var(--primary-green);
}

.text-black {
  color: var(--dark-text);
}

.subtitle {
  color: var(--primary-green);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.3rem; }
}

@media (max-width: 576px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.1rem; }
}

/* ============================================================
   HEADER & NAVIGATION
============================================================ */

.navigation {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: #f8f9fa;
  color: var(--light-text);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  font-size: 0.9rem;
}

.header-top-socials a {
  color: var(--light-text);
  margin: 0 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
}

.header-top-socials a:hover {
  color: var(--primary-green);
  transform: translateY(-2px);
}

.header-top-info a {
  color: var(--light-text);
  margin: 0 25px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.header-top-info a:hover {
  color: var(--primary-green);
}

.header-top-info span {
  color: var(--dark-text);
  font-weight: 600;
}

#navbar {
  background: #ffffff;
  padding: 15px 0;
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-text);
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.navbar-brand span {
  color: var(--primary-green);
}

.navbar-brand:hover {
  color: var(--primary-green);
}

.navbar-nav .nav-item {
  padding: 0 8px;
}

.navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--dark-text);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-green);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  bottom: -5px;
  left: 50%;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 10px 0;
  background: #ffffff;
}

.dropdown-item {
  padding: 10px 20px;
  color: var(--dark-text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: #f0f7f0;
  color: var(--primary-green);
  padding-left: 25px;
}

.dropdown-item.active {
  background: #f0f7f0;
  color: var(--primary-green);
}

.navbar-toggler {
  border: none;
  padding: 5px 10px;
  font-size: 1.3rem;
  color: var(--dark-text);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 992px) {
  .header-top-info {
    flex-direction: column;
  }
  
  .header-top-info a {
    margin: 5px 0;
    display: block;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 20px;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0;
  }
  
  .dropdown-menu {
    background: #f8f9fa;
    margin-top: 10px;
  }
}

/* ============================================================
   BUTTONS
============================================================ */

.btn {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.btn-main {
  background: var(--primary-green);
  color: #ffffff;
  border: 2px solid var(--primary-green);
}

.btn-main:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-main:active {
  transform: translateY(0);
}

.btn-solid-border {
  border: 2px solid var(--primary-green);
  background: transparent;
  color: var(--primary-green);
}

.btn-solid-border:hover {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-transparent {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid transparent;
  padding: 10px 20px;
}

.btn-transparent:hover {
  background: transparent;
  color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--dark-text);
}

.btn-outline:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #ffffff;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-round-full {
  border-radius: 50px;
}

.btn-icon i {
  margin-right: 8px;
  transition: all 0.3s ease;
}

.btn:hover .btn-icon i {
  transform: translateX(2px);
}

/* ============================================================
   FORMS
============================================================ */

input[type=email],
input[type=password],
input[type=text],
input[type=tel],
input[type=number],
textarea,
select {
  box-shadow: none;
  height: 48px;
  outline: none;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
}

.form-control {
  box-shadow: none;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.15);
  border: 2px solid var(--primary-green);
  background: #ffffff;
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.form-label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.input-group-text {
  background: #f8f9fa;
  border: 2px solid var(--border-color);
  color: var(--dark-text);
  font-weight: 600;
}

.input-group-lg > .input-group-prepend > .input-group-text {
  padding: 12px 16px;
}

.custom-control-label {
  font-size: 0.9rem;
  color: var(--light-text);
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

/* ============================================================
   HERO / SLIDER SECTION
============================================================ */

.slider {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(129, 199, 132, 0.05) 100%), url("../images/bg/home-1.jpg") no-repeat center/cover;
  padding: 200px 0;
  position: relative;
  overflow: hidden;
}

.slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.3);
  z-index: 1;
}

.slider .block {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.slider .block span {
  display: block;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-green);
}

.slider .block h1 {
  font-size: 60px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
}

.slider .block p {
  font-size: 1.1rem;
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 40px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .slider {
    padding: 120px 0;
  }
  
  .slider .block h1 {
    font-size: 40px;
  }
  
  .slider .block p {
    font-size: 1rem;
  }
}

/* ============================================================
   CARDS & COMPONENTS
============================================================ */

.card {
  border: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-body {
  padding: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 24px;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card i {
  font-size: 48px;
  color: var(--primary-green);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover i {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.25rem;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--light-text);
}

.feature-box {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary-green);
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   TESTIMONIALS
============================================================ */

.testimonial-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-item i {
  font-size: 32px;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author-info h6 {
  margin-bottom: 5px;
}

.testimonial-author-info p {
  font-size: 0.85rem;
  color: var(--light-text);
}

/* ============================================================
   SECTIONS
============================================================ */

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title .subtitle {
  display: block;
  margin-bottom: 12px;
}

.section-title h2 {
  margin-bottom: 0;
  color: var(--dark-text);
}

.about-content {
  padding: 20px;
}

.about-content h4 {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.about-content p {
  color: var(--light-text);
  line-height: 1.8;
}

/* ============================================================
   FOOTER
============================================================ */

.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer h5 {
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer a {
  color: #ccc;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--primary-green);
  padding-left: 5px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  color: #ffffff;
  border-radius: 50%;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-btm {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.footer-copyright {
  margin-bottom: 0;
}

.footer-copyright a {
  display: inline;
  margin: 0;
  padding: 0;
}

/* ============================================================
   PAGE SECTIONS
============================================================ */

.page-title {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  padding: 50px 0;
  color: #ffffff;
}

.page-title h1 {
  color: #ffffff;
  font-size: 48px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-title {
    padding: 40px 0;
  }
  
  .page-title h1 {
    font-size: 32px;
  }
}

/* ============================================================
   PRICING SECTION
============================================================ */

.pricing-card {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.pricing-card.active {
  border-color: var(--primary-green);
  background: #f0f7f0;
  transform: scale(1.02);
}

.pricing-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.pricing-card .price-unit {
  font-size: 0.9rem;
  color: var(--light-text);
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.pricing-features i {
  width: 24px;
  height: 24px;
  background: var(--primary-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 0.75rem;
}

/* ============================================================
   CONTACT FORM
============================================================ */

.contact-form-wrap {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap .form-group {
  margin-bottom: 20px;
}

.contact-form-wrap textarea {
  min-height: 150px;
  resize: vertical;
}

.address-block {
  list-style: none;
  margin-bottom: 30px;
}

.address-block li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.address-block i {
  width: 24px;
  height: 24px;
  background: var(--primary-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

.address-block h5 {
  margin-bottom: 5px;
  color: var(--dark-text);
}

.address-block p {
  font-size: 0.95rem;
  color: var(--light-text);
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */

@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  
  .section-sm {
    padding: 40px 0;
  }
  
  h1, .h1 { font-size: 2.25rem; }
  h2, .h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
  .service-card {
    margin-bottom: 20px;
  }
  
  .pricing-card {
    margin-bottom: 25px;
  }
  
  .gallery-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .pricing-card {
    padding: 20px;
  }
  
  .testimonial-item {
    padding: 20px;
  }
}

/* ============================================================
   UTILITIES & MODIFIERS
============================================================ */

.bg-gray {
  background: #f8f9fa;
}

.bg-light-green {
  background: #f0f7f0;
}

.bg-dark {
  background: #1a1a1a;
  color: #ffffff;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding: 0.5rem 0; }
.py-2 { padding: 1rem 0; }
.py-3 { padding: 1.5rem 0; }
.py-4 { padding: 2rem 0; }
.py-5 { padding: 3rem 0; }
.py-7 { padding: 4rem 0; }

.px-1 { padding: 0 0.5rem; }
.px-2 { padding: 0 1rem; }
.px-3 { padding: 0 1.5rem; }
.px-4 { padding: 0 2rem; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 50px; }

/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON
============================================================ */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 576px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ============================================================
   RESPONSIVE IMAGES
============================================================ */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-fluid {
  width: 100%;
  height: auto;
}

/* ============================================================
   DISPLAY & VISIBILITY
============================================================ */

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.flex-grow-1 {
  flex-grow: 1;
}

.text-muted {
  color: #999;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .hidden-md {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .hidden-sm {
    display: none !important;
  }
}

/* ============================================================
   LINKS & HOVER EFFECTS
============================================================ */

.link-hover {
  position: relative;
  overflow: hidden;
}

.link-hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
  bottom: -2px;
  left: -100%;
  transition: all 0.3s ease;
}

.link-hover:hover::after {
  left: 0;
}

/* ============================================================
   BADGES
============================================================ */

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--primary-green);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}

.badge-secondary {
  background: #999;
}

/* ============================================================
   HORIZONTAL RULES
============================================================ */

hr {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 30px 0;
}

/* ============================================================
   PRINT STYLES
============================================================ */

@media print {
  .navigation,
  .footer,
  .scroll-to-top {
    display: none;
  }
}

 /*  genelogy tree */

/* Tree layout */
.genealogy-tree ul {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.genealogy-tree li {
    list-style: none;
    text-align: center;
    margin: 0 15px;
}

/* Node */
.member-view-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 🎨 LEVEL COLORS (0–20) */

.level-0 { background: #6a5acd; }  /* Purple */
.level-1 { background: #28a745; }  /* Green */
.level-2 { background: #ffc107; }  /* Yellow */
.level-3 { background: #17a2b8; }  /* Cyan */
.level-4 { background: #dc3545; }  /* Red */
.level-5 { background: #6f42c1; }  /* Violet */
.level-6 { background: #fd7e14; }  /* Orange */
.level-7 { background: #20c997; }  /* Teal */
.level-8 { background: #0d6efd; }  /* Blue */
.level-9 { background: #6610f2; }
.level-10 { background: #198754; }
.level-11 { background: #e83e8c; }
.level-12 { background: #343a40; }
.level-13 { background: #ff5733; }
.level-14 { background: #00bcd4; }
.level-15 { background: #8bc34a; }
.level-16 { background: #ff9800; }
.level-17 { background: #9c27b0; }
.level-18 { background: #3f51b5; }
.level-19 { background: #795548; }
.level-20 { background: #607d8b; }

/* Remove extra circle */
.member-view-box::before {
    display: none;
}

/* Icon */
.member-image i {
    font-size: 22px;
}

/* Name */
.member-name {
    font-size: 12px;
    margin-top: 5px;
}

/* Expand button */
.expand-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}

/* Dropdown readability fix across site */
select.form-control,
.custom-select,
select {
    min-height: 42px;
    line-height: 1.45;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 2rem;
}

select.form-control option,
.custom-select option,
select option {
    color: #1f2d3d;
    background-color: #fff;
}