.hero-service-bg {
  background-image: url("../images/Frame-8-1.webp");
  background-size: cover;
  width: 100%
}
.bg-black {
  background: #121212;
}
.services-hero-section {
  background-image: url("../images/picture3.png");
  background-size: cover
}
.marquee-content {
  gap: 32px;
}
.marquee-item>img {
  max-width: none;
}
.progress-bar {
  height: 4px !important;
  background-color: rgba(75, 85, 99, 0.6) !important;
}
.progress-bar div {
  height: 4px !important;
  background-color: #914EFE !important;
}
.bg-purple {
  background: #914EFE !important;
}
.text-purple {
  color: #914EFE !important;
}

/* Contact Form 7 Custom Styling */
.wpcf7-form {
  max-width: 32rem;
}

.wpcf7-form .flex {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
  margin-bottom: 0.75rem;
}

.wpcf7-form .flex > div {
  flex: 1;
  padding: 1rem;
}

.wpcf7-form label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: black;
  color: white;
  border: 1px solid #374151;
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s;
}

.wpcf7-form textarea {
  border-radius: 1.5rem;
  resize: none;
  rows: 5;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus {
  ring: 4px;
  ring-color: rgba(229, 231, 235, 0.5);
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="url"]::placeholder,
.wpcf7-form textarea::placeholder {
  color: #6B7280;
}

/* Radio Buttons Styling */
.wpcf7-form .cf7-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.wpcf7-form .cf7-radio-group .wpcf7-list-item {
  margin: 0;
  display: inline-block;
}

.wpcf7-form .cf7-radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wpcf7-form .cf7-radio-group label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid #374151;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
  margin-bottom: 0;
}

.wpcf7-form .cf7-radio-group input[type="radio"]:checked + label,
.wpcf7-form .cf7-radio-group label:hover {
  background-color: white;
  color: black;
  border-color: white;
}

.wpcf7-form .cf7-radio-group label:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.wpcf7-form .cf7-radio-group input[type="radio"]:checked + label {
  background-color: white;
  color: black;
  border-color: white;
}

/* Alternative radio styling if use_label_element doesn't work as expected */
.wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.wpcf7-radio .wpcf7-list-item input[type="radio"] {
  display: none;
}

.wpcf7-radio .wpcf7-list-item-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid #374151;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  background-color: white;
  color: black;
  border-color: white;
}

.wpcf7-radio .wpcf7-list-item-label:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Checkbox Buttons Styling - Same as Radio */
.wpcf7-form .cf7-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.wpcf7-form .cf7-checkbox-group .wpcf7-list-item {
  margin: 0;
  display: inline-block;
}

.wpcf7-form .cf7-checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wpcf7-form .cf7-checkbox-group label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid #374151;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
  margin-bottom: 0;
  position: relative;
}

.wpcf7-form .cf7-checkbox-group input[type="checkbox"]:checked + label {
  background-color: white;
  color: black;
  border-color: white;
}

.wpcf7-form .cf7-checkbox-group label:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.wpcf7-form .cf7-checkbox-group input[type="checkbox"]:checked + label:hover {
  background-color: #f3f4f6;
  color: black;
  border-color: #f3f4f6;
}

/* Alternative checkbox styling if use_label_element doesn't work as expected */
.wpcf7-checkbox .wpcf7-list-item {
  display: inline-block;
}

.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
  display: none;
}

.wpcf7-checkbox .wpcf7-list-item-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid #374151;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
  background-color: white;
  color: black;
  border-color: white;
}

.wpcf7-checkbox .wpcf7-list-item-label:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:hover {
  background-color: #f3f4f6;
  color: black;
  border-color: #f3f4f6;
}

/* Budget Range Slider Styling */
.budget-slider-container {
  position: relative;
  margin: 1rem 0;
}

.budget-display {
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #374151;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

/* Custom HTML Range Slider */
#budget-slider,
.budget-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100% !important;
  height: 8px !important;
  border-radius: 50px !important;
  background: #6b7280 !important; /* Lighter gray instead of dark */
  outline: none !important;
  opacity: 1 !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
  border: none !important;
  margin: 10px 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

.budget-range-slider:hover {
  opacity: 1;
}

/* Webkit thumb styling */
#budget-slider::-webkit-slider-thumb,
.budget-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: white !important;
  cursor: pointer !important;
  border: 3px solid #914EFE !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s !important;
}

.budget-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.budget-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 3px solid #914EFE;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.budget-range-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Range track styling for Firefox */
.budget-range-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #374151;
  border-radius: 9999px;
  border: none;
}

.budget-range-slider::-moz-range-progress {
  background-color: #914EFE;
  height: 8px;
  border-radius: 9999px;
}

/* Progress fill effect - positioned correctly */
.budget-slider-container {
  position: relative;
}

.budget-slider-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #914EFE 0%, #914EFE var(--progress, 25%), transparent var(--progress, 25%));
  border-radius: 50px;
  pointer-events: none;
  z-index: 0;
  margin-top: -4px;
  width: 100%;
  transform: translateY(-50%);
}

/* Alternative progress styling using data attributes */
.budget-slider-container[data-progress] .wpcf7-form-control.wpcf7-range {
  background: linear-gradient(90deg, #914EFE var(--progress, 25%), #374151 var(--progress, 25%)) !important;
}

.budget-labels {
  margin-top: 0.5rem;
  user-select: none;
}

/* Contact Form 7 Range Slider - Plugin Integration */

/* Plugin range slider wrapper styling */
.wpcf7-form-control-wrap[data-name*="range"] {
  position: relative;
  margin: 1rem 0;
}

/* Add value display above slider */
.wpcf7-form-control-wrap[data-name*="range"]::before {
  content: attr(data-current-value);
  display: block;
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #374151;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Add min/max labels */
.wpcf7-form-control-wrap[data-name*="range"]::after {
  content: attr(data-min-label) " — " attr(data-max-label);
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
  pointer-events: none;
}

/* Contact Form 7 Range field support - More specific selectors */
.wpcf7-form .wpcf7-form-control.wpcf7-range,
.wpcf7-form input[type="range"],
input.wpcf7-form-control.wpcf7-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100% !important;
  height: 8px !important;
  border-radius: 50px !important;
  background: #374151 !important;
  outline: none !important;
  opacity: 1 !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
  border: none !important;
  padding: 0 !important;
  margin: 10px 0 !important;
}

.wpcf7-form .wpcf7-form-control.wpcf7-range:hover,
.wpcf7-form input[type="range"]:hover,
input.wpcf7-form-control.wpcf7-range:hover {
  opacity: 1 !important;
}

/* Webkit browsers (Chrome, Safari) */
.wpcf7-form .wpcf7-form-control.wpcf7-range::-webkit-slider-thumb,
.wpcf7-form input[type="range"]::-webkit-slider-thumb,
input.wpcf7-form-control.wpcf7-range::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: white !important;
  cursor: pointer !important;
  border: 3px solid #914EFE !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s !important;
}

.wpcf7-form .wpcf7-form-control.wpcf7-range::-webkit-slider-thumb:hover,
.wpcf7-form input[type="range"]::-webkit-slider-thumb:hover,
input.wpcf7-form-control.wpcf7-range::-webkit-slider-thumb:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Firefox */
.wpcf7-form .wpcf7-form-control.wpcf7-range::-moz-range-thumb,
.wpcf7-form input[type="range"]::-moz-range-thumb,
input.wpcf7-form-control.wpcf7-range::-moz-range-thumb {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: white !important;
  cursor: pointer !important;
  border: 3px solid #914EFE !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s !important;
}

.wpcf7-form .wpcf7-form-control.wpcf7-range::-moz-range-track,
.wpcf7-form input[type="range"]::-moz-range-track,
input.wpcf7-form-control.wpcf7-range::-moz-range-track {
  width: 100% !important;
  height: 8px !important;
  cursor: pointer !important;
  background: #374151 !important;
  border-radius: 50px !important;
  border: none !important;
}

.wpcf7-form input[type="submit"] {
  background-color: white;
  height: 4rem;
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: bold;
  letter-spacing: -0.025em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:focus {
  background-color: #F3F4F6;
  ring: 4px;
  ring-color: rgba(229, 231, 235, 0.5);
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  color: white;
}

.wpcf7-mail-sent-ok {
  background-color: rgba(34, 197, 94, 0.2);
  border: 1px solid #22C55E;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid #EF4444;
}

.wpcf7-not-valid-tip {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* CF7 form wrapper animations */
.cf7-custom-form .animate-element {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .wpcf7-form .flex {
    flex-direction: column;
  }
  
  .wpcf7-form .flex > div {
    width: 100%;
  }
}

/* Navigation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  background-color: rgb(247 247 247) !important;
  /* height: 500vh; */
}
.header {
  position: fixed;
  top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
  gap: 64px;
}
@media (max-width: 768px) {
  .header {
    border: 1px solid #D9DEE0;
    border-radius: 100px;
  }
}

.navbar {
  display: flex;
  align-items: center;
  border: 1px solid #D9DEE0;
  padding: 0 20px;
  border-radius: 100px;
  height: 52px;
}
.blur-bg {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* for Safari */
  background-color: rgba(255, 255, 255, 0.3); /* semi-transparent to show blur */
}

.logo {
  text-decoration: none;
  color: #121212;
  position: relative;
  z-index: 1000;
  border: 1px solid #D9DEE0;
  padding: 0 20px;
  border-radius: 100px;
  height: 52px;
  align-items: center;
  display: flex;
}
.logo img {
  height: 100%;
  max-height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.navbar a {
  font-size: 14px;
  color: #121212;
  text-decoration: none;
  font-weight: 500;
  transition: .3s;
  display: flex;
  justify-content: flex-start;
}
.mpd-link-industries {
  font-size: 14px;
  color: #121212;
  text-decoration: none;
  font-weight: 500;
  transition: .3s;
  display: flex;
  justify-content: flex-start;
}
.btn-contact.mobile-btn {
  color: #fff;
  text-align: center !important;
  justify-content: center !important;
}

.nav-item:hover > .nav-item-header > a,
.navbar a:hover {
  color: #914EFE;
}

.nav-item {
  position: relative;
  /* width: 100%; */
}


@media screen and (min-width: 992px) {
  .nav-item-header {
    padding: 0 24px;
  }
  .btn-contact.mobile-btn,
  .mobile-btn {
    display: none !important;
  }
  .menu-icon {
    display: none !important;
  }

  .nav-item {
      height: 48px;
      display: flex;
      align-items: center;
  }

  .nav-item::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 64px;
      pointer-events: none;
  }

  .nav-item:hover::after {
      pointer-events: auto;
  }
}

.nav-item-header {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 100%;
}
.dropdown {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  overflow: hidden;
  left: 0;
  background: #fff;
  border-radius: 24px;
  min-width: 480px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  transform: translateY(10px);
  display: flex;
  width: max-content;
  top: 64px;
  left: -64px;
}

@media screen and (min-width: 992px) {
  .nav-item:hover .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
}

.tabs {
  min-width: fit-content;
  display: flex;
  flex-direction: column;
  padding: 10px 0px 10px 10px;
}

.tab {
  cursor: pointer;
  transition: background 0.3s;
}

.tab-wrap {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 24px 0 0 24px;
  transition: all .3s ease;
}
.tab.active .tab-wrap {
  background-color: #F8F8F8;
}

.tab img {
  width: 24px;
  height: 24px;
}

.tab:hover, .tab.active {
  background-position-x: -130px;
  background-position-y: center;
}

.tab-text {
  font-size: 14px;
  line-height: 160%;
  font-weight: 500;
}
.tab-text p {
  line-height: 160%;
  font-weight: 400;
  color: #7c8698;
  max-width: 300px;
}

.content {
  display: flex;
  flex-wrap: nowrap;
  margin: 10px 10px 10px 0;
  flex: 1;
  flex-direction: row;
  border-radius: 24px;
  overflow: hidden;
  transition: border-radius 0.3s ease;
}

.content.first-tab-active {
  border-radius: 0 24px 24px 24px;
}

.content.last-tab-active {
  border-radius: 24px 24px 24px 0;
}

.content-item {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  background-color: #F8F8F8;
  transition: background 0.3s;
  padding-top: 16px;
}
a.content-item-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 24px;
  color: #666;
  transition: all .4s ease;
}
a.content-item-link svg {
  width: 30px;
  height: 12px;
  fill: #666;
  opacity: 0;
  transition: all .4s ease;
}

a.content-item-link:hover {
  color: #914EFE; 
  opacity: 1;
}

a.content-item-link:hover svg {
  opacity: 1;
  fill: #914EFE;
}

/* Кастомний перемикач мови */
.language-switcher-nav {
  position: relative;
}

.language-switcher-nav .nav-item-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-language {
  font-size: 14px;
  color: #121212;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.current-language img {
  width: 16px;
  height: 16px !important;
  border-radius: 2px;
}

.language-switcher-nav .chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  stroke: #121212;
  display: block;
}

.language-switcher-nav:hover .chevron {
  transform: rotate(180deg);
  stroke: #914EFE;
}

.language-dropdown {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 64px;
  right: 0;
  background: #fff;
  border-radius: 12px;
  min-width: 140px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  transform: translateY(10px);
  z-index: 1000;
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .language-switcher-nav:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.language-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: #121212;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid #F3F4F6;
}

.language-item:last-child {
  border-bottom: none;
}

.language-item img {
  width: 16px;
  height: 12px;
  border-radius: 2px;
}

.language-item:hover {
  background-color: #F8F9FA;
  color: #914EFE;
}

.language-item.current {
  background-color: #914EFE;
  color: #fff;
}

.language-item.current:hover {
  background-color: #7C3AED;
  color: #fff;
}

.language-switcher-nav:hover .current-language {
  color: #914EFE;
}

.btn-contact {
  padding: 0 32px;
  background: #914EFE;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: .3s;
  height: 48px;
  line-height: 48px;
}

.btn-contact:hover {
  background: #121212;
  color: #fff;
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  z-index: 10000; /* Higher z-index to ensure it's above custom cursor */
  background: none;
  border: none;
  padding: 8px;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  touch-action: manipulation; /* Optimize touch interactions */
}

.menu-icon i {
  transition: transform 0.3s ease;
}

.menu-icon.active .fa-bars {
  display: none;
}

.menu-icon:not(.active) .fa-times {
  display: none;
}

.chevron {
  display: none;
}

@media screen and (max-width: 991px) and (min-width: 0px) {
  .chevron {
      display: inline-block;
      width: 24px;
      height: 24px;
      transition: transform 0.3s ease;
  }
  .nav-item {
    position: relative;
    width: 100%;
  }
}

.mobile-tab-title {
  display: none;
}

.mobile-btn {
  display: none;
}

@media screen and (max-width: 991px) and (min-width: 0px) {
  .header {
      width: 100%;
      padding: 20px 5%;
      top: 0;
      background: transparent;
      border: none;
  }
  .tabs {
      display: none;
  }
  .mobile-tab-title {
      display: block;
  }

  .menu-icon {
      display: flex;
      width: 52px;
      height: 52px;
      align-items: center;
      justify-content: center;
      border: 1px solid #D9DEE0;
      border-radius: 100px;
  }

  .navbar {
      position: fixed;
      top: -100vh;
      left: 0;
      width: 100%;
      height: 100vh;
      padding: 120px 0 30px;
      background: #fff;
      border-top: 1px solid rgba(0,0,0,0.1);
      border-radius: 0;
      display: flex;
      flex-direction: column;
      gap: 15px;
      overflow-y: scroll;
      -webkit-overflow-scrolling: touch;
      visibility: visible;
      pointer-events: none;
  }

  .navbar.active {
      pointer-events: all;
  }

  .dropdown {
      display: none;
      margin-top: 0px;
      position: static;
      opacity: 0;
      border-radius: 0;
      visibility: hidden;
      width: 100%;
      min-width: auto;
      box-shadow: none;
      transform: none;
      height: 0;
      transition: all 0.4s ease;
      transform: translateY(0);
      overflow: visible;
  }

  .nav-item.active .dropdown {
      display: block;
      opacity: 1;
      visibility: visible;
      height: auto;
  }
  .nav-item-header {
      justify-content: space-between;
      height: fit-content;
      padding: 0 20px;
  }

  .content {
      padding: 0;
      border-radius: 0;
      display: block;
  }

  .content-item {
      display: flex !important;
      transition: all 0.3s ease;
      background: none;
      padding-top: 0;
  }

  .content-item a {
      padding: 8px 0px 8px 20px;
      transition: all 0.3s ease;
      color: #666;
  }

  .mobile-tab-title {
      color: #121212;
      font-weight: 500;
      font-size: 14px;
      padding: 16px 20px 0;
  }

  .btn-contact:not(.mobile-btn) {
      display: none !important;
  }
  .mobile-btn {
      margin: auto 20px 0;
      display: block !important;
      width: calc(100% - 40px) !important;
      text-align: center !important;
      background: #914EFE !important;
      color: white !important;
      padding: 16px 24px !important;
      height: 56px !important;
      border-radius: 40px !important;
      text-decoration: none !important;
      font-weight: 500 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
  }

  /* Мобільні стилі для перемикача мови */
  .language-switcher-nav .chevron {
      display: inline-block;
      width: 24px;
      height: 24px;
  }
  
  .language-dropdown {
      position: static;
      opacity: 0;
      visibility: hidden;
      height: 0;
      border-radius: 0;
      box-shadow: none;
      border: none;
      margin-top: 0;
      transition: all 0.4s ease;
      overflow: hidden;
  }
  
  .language-switcher-nav.active .language-dropdown {
      opacity: 1;
      visibility: visible;
      height: auto;
      margin-top: 8px;
  }
  
  .language-item {
      padding: 12px 20px;
      border-bottom: 1px solid #F3F4F6;
  }
}

/* NEW Tag Styles */
.new-tag {
    display: inline-block;
    background: #8B5CF6;
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    vertical-align: middle;
    /* line-height: 1.2; */
}

/* NEW Tag in Service Title */
.service-title {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.service-title .new-tag {
    margin-left: 0;
    font-size: 9px;
    padding: 1px 6px;
}

/* NEW Tag in Mobile Tab Title */
.mobile-tab-title .new-tag {
    font-size: 8px;
    padding: 1px 5px;
    margin-left: 6px;
}

/* NEW Tag in Sub-Services */
.sub-service-title {
    display: flex;
    justify-content: flex-start;
}

/* NEW Tag in Header Menu Sub-Services */
.content-item-link .sub-service-title {
    flex: 1;
    justify-content: space-between;
}

.content-item-link .sub-service-title .new-tag {
    margin-left: auto;
}

/* Service Title Link on Homepage */
.service-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.service-title-link:hover {
    color: #8b5cf6;
    text-decoration: none;
}

.service-title-link .new-tag {
    margin-left: 0;
}

/* Service Title Link in Gray Context (archive page) */
.text-gray-500 .service-title-link {
    color: #6b7280;
}

.text-gray-500 .service-title-link:hover {
    color: #8b5cf6;
}

/* Mobile Service Tab Styles */
.mobile-tab-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.mobile-tab-title:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

.mobile-service-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.mobile-title-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-service-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Industries Dropdown */
.industries-mobile-nav .nav-item-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.industries-mobile-nav .chevron {
    transition: transform 0.3s ease;
}

.industries-mobile-nav.open .chevron {
    transform: rotate(180deg);
}

.industries-mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    /* padding-left: 16px; */
}

.industries-mobile-nav.open .industries-mobile-dropdown {
    max-height: 300px;
}

.mobile-industry-item {
    display: block;
    padding: 8px 0;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-industry-item:hover {
    color: #914EFE;
}

.mobile-industry-item:last-child {
    border-bottom: none;
}

/* Desktop: приховати мобільну версію Industries */
@media screen and (min-width: 992px) {
    .industries-mobile-nav {
        display: none !important;
    }
}

/* Tab wrap as clickable link */
.tab-wrap {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    width: 100%;
    height: 100%;
}

.tab-wrap:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.tab-wrap:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Mobile: приховати десктопну версію Industries */
@media screen and (max-width: 991px) {
    .industries-nav {
        display: none !important;
    }
}

/* Menu headings (disabled links) */
.menu-heading,
.menu-heading a {
    cursor: default !important;
    pointer-events: none !important;
    color: #6b7280 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.menu-heading:hover,
.menu-heading a:hover {
    color: #6b7280 !important;
    text-decoration: none !important;
}

/* Prevent JavaScript void links from showing in status bar */
a[href="javascript:void(0);"] {
    cursor: default;
}

/* Industries Nav Positioning */
.industries-nav {
    position: relative;
}

.industries-nav:hover .nav-item-header a {
    color: #914EFE;
}

/* Industries Dropdown Styles (same as language dropdown) */
.industries-dropdown {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 64px;
    left: 0;
    background: #fff;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: translateY(10px);
    z-index: 1000;
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

/* Mobile: приховати dropdown назовсім */
@media screen and (max-width: 991px) {
    .industries-dropdown {
        display: none !important;
    }
    
    .industries-nav .chevron {
        display: none !important;
    }
}

/* Desktop: показати dropdown on hover */
@media screen and (min-width: 992px) {
    .industries-nav:hover .industries-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .mobile-tab-title {
        display: none !important;
    }
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: #121212;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #F3F4F6;
}

.industry-item:last-child {
    border-bottom: none;
}

.industry-item:hover {
    background-color: #F8F9FA;
    color: #914EFE;
}

/* Mobile Industries Dropdown */
@media (max-width: 991px) {
    .mobile-tab-title {
      background: #F8F8F8;
      padding: 4px 12px;
      border-radius: 8px;
      margin-bottom: 0;
    }
    .content {
      margin: 0;
      margin-top: 12px;
      display: flex;
      gap: 10px;
      flex-direction: column;
    }
    .content-item {
      padding-bottom: 8px;
      border-bottom: 1px solid #D9D9D9;
    }
}

@media (max-width: 768px) {
  .nav-item-header>span {
    padding: 12px 16px;
    font-size: 14px;
    color: #121212;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
  }
  .industries-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    min-width: auto;
}

.industry-item {
    padding: 8px 16px;
    border-bottom: 1px solid #E5E7EB;
}
}


/* WordPress Content Styling - Blog Article Styles */
.wordpress-content h1 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 2.625rem;
  line-height: 1;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

.wordpress-content h2 {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.3;
  color: #111827;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.wordpress-content h3 {
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.3;
  color: #1f2937;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.wordpress-content h4 {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1f2937;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.wordpress-content h5 {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #1f2937;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.wordpress-content h6 {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  color: #1f2937;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

.wordpress-content p {
  font-size: 1.125rem;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.wordpress-content ul {
  list-style: none;
  margin-bottom: 2.25rem;
  padding-left: 0;
}

.wordpress-content ol {
  list-style: decimal;
  margin-left: 1.5rem;
  margin-bottom: 2.25rem;
}

.wordpress-content li {
  font-size: 1.125rem;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.wordpress-content blockquote {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 2.25rem;
}

.wordpress-content blockquote p {
  flex: 1;
  margin-bottom: 1.25rem;
  font-size: 1.625rem;
  line-height: 1.3;
  color: #374151;
  letter-spacing: -0.03em;
}

.wordpress-content img {
  margin-bottom: 1rem;
  width: 100%;
  border-radius: 1rem;
}

.wordpress-content a {
  color: #914EFE;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.wordpress-content a:hover {
  color: #7c3aed;
}

.wordpress-content strong {
  color: #111827;
  font-weight: 600;
}

.wordpress-content em {
  color: #4b5563;
  font-style: italic;
}

.wordpress-content code {
  color: #914EFE;
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.wordpress-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d1d5db;
}

.wordpress-content th {
  border: 1px solid #d1d5db;
  background-color: #f3f4f6;
  padding: 0.75rem;
  font-weight: 600;
  text-align: left;
}

.wordpress-content td {
  border: 1px solid #d1d5db;
  padding: 0.75rem;
}

.wordpress-content hr {
  border-color: #d1d5db;
  margin: 2rem 0;
}

/* Footer Styles - Force Maximum Specificity */
/* Target footer element directly with multiple selectors */
footer,
footer.bg-gray-900,
body footer,
html body footer {
  background-color: #111827 !important;
  color: #ffffff !important;
  margin-bottom: 2rem !important;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Ensure footer is visible */
footer * {
  color: inherit !important;
}

/* Force container styling */
footer .container,
footer div.container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

/* MyPlanet Purple Logo - Force Purple Color */
footer .text-purple-500,
footer div.text-purple-500,
.text-purple-500 {
  color: #a855f7 !important;
  font-weight: 700 !important;
}

/* Force grid layout */
footer .grid,
footer div.grid {
  display: grid !important;
  gap: 2rem !important;
  margin-bottom: 4rem !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

/* Responsive grid */
@media (min-width: 768px) {
  footer .grid,
  footer div.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  footer .grid,
  footer div.grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Footer headings */
footer h3 {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  margin-bottom: 1rem !important;
}

/* Footer links */
footer a {
  color: #d1d5db !important;
  transition: color 0.3s ease !important;
}

footer a:hover {
  color: #ffffff !important;
}

/* Social media section */
footer .flex {
  display: flex !important;
  flex-direction: row;
}

footer .space-x-4 > * + * {
  margin-left: 1rem !important;
}

/* Bottom border section */
footer .border-t {
  border-top: 1px solid #374151 !important;
  padding-top: 2rem !important;
}

/* Copyright text */
footer .text-gray-400 {
  color: #9ca3af !important;
}

/* Footer Grid Layout */
footer .grid {
  display: grid !important;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Footer Spacing and Layout */
.gap-8 {
  gap: 2rem !important;
}

.mb-16 {
  margin-bottom: 4rem !important;
}

.py-16 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Footer Typography */
footer h3 {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  margin-bottom: 1rem !important;
}

footer .text-gray-300 {
  color: #d1d5db !important;
}

footer .text-gray-300:hover {
  color: #ffffff !important;
}

footer .text-gray-400 {
  color: #9ca3af !important;
}

/* Footer Links */
footer a {
  transition: color 0.3s ease !important;
}

/* Footer spacing between items */
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
}

/* Footer bottom border */
.border-t {
  border-top-width: 1px !important;
}

.border-gray-700 {
  border-color: #374151 !important;
}

.pt-8 {
  padding-top: 2rem !important;
}

/* Social media icons spacing */
footer .flex.space-x-4 > * + * {
  margin-left: 1rem !important;
}

/* Footer container */
footer .container {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.footer-last-line {
  align-items: center;
  justify-content: space-between;
}
.swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal {
  position: relative !important;
  width: 100% !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
}
.badge-tag {
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
  padding: 8px 12px;
  border-radius: 40px;
  color: #999999;
}
.badge-tag-dark {
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid rgb(0, 0, 0);
  display: inline-block;
  padding: 8px 12px;
  border-radius: 40px;
  color: black;
}
.badge-tag-grey {
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid #999999;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 40px;
  color: #999999;
}

/* Базово: мобільний 1–2–2 (як домовлялися) */
.footer-cards {
  --gap: 0px;               /* зручно міняти відступи в одному місці */
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.footer-card {
  flex: 0 0 50%;             /* мобільно: по 2 в ряд */
  min-width: 0;
  margin-bottom: 20px;              /* дозволяє елементам стискатися всередину */
}

/* перший – на всю ширину */
.footer-cards > :nth-child(1) { flex-basis: 100%; }
/* якщо з’явиться 6-й – теж на всю ширину (1–2–2–1) */
.footer-cards > :nth-child(6) { flex-basis: 100%; }

@media (max-width: 768px) {
  .dropdown>.content {
    display: flex;
    gap: 12px;
    flex-direction: column;
  }
  .badge-tag, .badge-tag-dark, .badge-tag-grey {
    font-size: 11px;
  }
  .mobile-industry-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 4px;
    padding: 6px 8px 6px 24px;
    color: #666;
    transition: all .4s ease;
    justify-content: flex-start;
  }
}
/* Планшет/десктоп: рівно 5 в один ряд */
@media (min-width: 768px) {
  .footer-cards {
    flex-wrap: nowrap; /* один ряд */
  }
  .footer-card {
    /* 5 колонок з урахуванням 4 проміжків по gap між ними */
    flex: 0 0 calc((100% - (4 * var(--gap))) / 5);
    max-width: calc((100% - (4 * var(--gap))) / 5);
  }
}
.contact-map > iframe {
  width: 100% !important;
}
.wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7-form-control.wpcf7-checkbox {
  display: flex !important;
  gap: 10px !important;
}

/* ==============================================
   MYPLANET DESIGN SYSTEM - PRODUCTION COMPONENTS
   ============================================== */

/* Base Component Variables */
:root {
  --mpd-brand-purple: #914EFF;
  --mpd-brand-purple-hover: #7c3aed;
  --mpd-component-size-md: 16px;
  --mpd-padding-y-md: 12px;
  --mpd-padding-x-md: 24px;
  --mpd-border-radius-md: 12px;
  --mpd-icon-size-md: 20px;
  --mpd-social-size-md: 48px;
  --mpd-badge-padding-y-md: 6px;
  --mpd-badge-padding-x-md: 12px;
  --mpd-badge-font-size-md: 14px;
}

/* 1. PURPLE FILLED BUTTONS */
.mpd-btn-purple-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", Arial, sans-serif;
  font-size: var(--mpd-component-size-md);
  font-weight: 500;
  padding: var(--mpd-padding-y-md) var(--mpd-padding-x-md);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: var(--mpd-brand-purple);
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.5;
  box-shadow: 0 2px 8px -1px rgba(145, 78, 255, 0.32);
}

.mpd-btn-purple-filled:hover {
  background: var(--mpd-brand-purple-hover);
  box-shadow: 0 4px 20px -2px rgba(145, 78, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
}

/* 2. UNIVERSAL LINKS WITH ROLLING ANIMATION */
.mpd-link-universal {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.mpd-link-universal:hover {
  color: var(--mpd-brand-purple);
  text-decoration: none;
}

/* Rolling animation structure */
.mpd-link-rolling .char-container {
  display: inline-block;
  position: relative;
  overflow: hidden;
  /* height: 1.4em; */
}

.mpd-link-rolling .char {
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mpd-link-rolling .char.clone {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}

.mpd-link-rolling:hover .char.original {
  transform: translateY(-100%);
}

.mpd-link-rolling:hover .char.clone {
  transform: translateY(0%);
}

/* 3. ADAPTIVE BADGES */
.mpd-badge-adaptive {
  display: inline-block;
  font-size: var(--mpd-badge-font-size-md);
  font-weight: 500;
  padding: var(--mpd-badge-padding-y-md) var(--mpd-badge-padding-x-md);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Light theme - Grey outline */
.mpd-badge-adaptive.mpd-theme-light,
.mpd-theme-light .mpd-badge-adaptive {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
}

.mpd-badge-adaptive.mpd-theme-light:hover,
.mpd-theme-light .mpd-badge-adaptive:hover {
  color: #ffffff;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Light theme animated fill - same as Icon Button Light */
.mpd-badge-adaptive.mpd-theme-light::after,
.mpd-theme-light .mpd-badge-adaptive::after {
  position: absolute;
  content: "";
  inset: 100% 0 0;
  pointer-events: none;
  transition: inset 0.3s ease-in-out;
  z-index: -1;
  border-radius: inherit;
  background: #000000;
}

.mpd-badge-adaptive.mpd-theme-light:hover::after,
.mpd-theme-light .mpd-badge-adaptive:hover::after {
  inset-block-start: 0;
}

/* Dark theme - Border style like Icon Button Dark */
.mpd-badge-adaptive.mpd-theme-dark,
.mpd-theme-dark .mpd-badge-adaptive {
  background: transparent;
  color: #d1d5db;
  border: 1px solid #374151;
}

.mpd-badge-adaptive.mpd-theme-dark:hover,
.mpd-theme-dark .mpd-badge-adaptive:hover {
  color: #1f2937;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Dark theme animated fill - same as Icon Button Dark */
.mpd-badge-adaptive.mpd-theme-dark::after,
.mpd-theme-dark .mpd-badge-adaptive::after {
  position: absolute;
  content: "";
  inset: 100% 0 0;
  pointer-events: none;
  transition: inset 0.3s ease-in-out;
  z-index: -1;
  border-radius: inherit;
  background: #ffffff;
}

.mpd-badge-adaptive.mpd-theme-dark:hover::after,
.mpd-theme-dark .mpd-badge-adaptive:hover::after {
  inset-block-start: 0;
}

/* 4. ICON BUTTONS WITH ANIMATED FILL */
.mpd-btn-icon {
  position: relative;
  width: var(--mpd-social-size-md);
  height: var(--mpd-social-size-md);
  padding: 0;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Light theme - grey icon, black fill */
.mpd-btn-icon.mpd-theme-light,
.mpd-theme-light .mpd-btn-icon {
  color: #6b7280;
  border-color: #d1d5db;
}

.mpd-btn-icon.mpd-theme-light:hover,
.mpd-theme-light .mpd-btn-icon:hover {
  color: #ffffff;
}

.mpd-btn-icon.mpd-theme-light::after,
.mpd-theme-light .mpd-btn-icon::after {
  background: #000000;
}

/* Dark theme - light grey icon, white fill */
.mpd-btn-icon.mpd-theme-dark,
.mpd-theme-dark .mpd-btn-icon {
  color: #BDBFC0; /* Lighter gray for better visibility on dark background */
  border-color: #BDBFC0;
}

.mpd-btn-icon.mpd-theme-dark:hover,
.mpd-theme-dark .mpd-btn-icon:hover {
  color: #000000 !important; /* Black icon on white background */
}

.mpd-btn-icon.mpd-theme-dark::after,
.mpd-theme-dark .mpd-btn-icon::after {
  background: #ffffff;
}

/* Animated fill effect */
.mpd-btn-icon::after {
  position: absolute;
  content: "";
  inset: 100% 0 0;
  pointer-events: none;
  transition: inset 0.3s ease-in-out;
}

.mpd-btn-icon:hover::after {
  inset-block-start: 0;
}

.mpd-btn-icon svg,
.mpd-btn-icon i {
  position: relative;
  z-index: 1;
  width: var(--mpd-icon-size-md);
  height: var(--mpd-icon-size-md);
  font-size: var(--mpd-icon-size-md);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease-in-out;
}

/* Ensure Font Awesome icons inherit color */
.mpd-btn-icon i::before {
  color: inherit;
}

/* 5. ADAPTIVE OUTLINE BUTTONS */
.mpd-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", Arial, sans-serif;
  font-size: var(--mpd-component-size-md);
  font-weight: 500;
  padding: var(--mpd-padding-y-md) var(--mpd-padding-x-md);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  background: transparent;
  letter-spacing: 0.5px;
  line-height: 1.5;
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1;
}

/* Animated fill pseudo-element - same as Icon Button */
.mpd-btn-outline::after {
  position: absolute;
  content: "";
  inset: 100% 0 0;
  pointer-events: none;
  transition: inset 0.3s ease-in-out;
  z-index: -1;
  border-radius: inherit;
}

/* Light theme - Black outline */
.mpd-btn-outline.mpd-theme-light,
.mpd-theme-light .mpd-btn-outline {
  color: #1f2937;
  border: 1px solid #1f2937;
}

.mpd-btn-outline.mpd-theme-light:hover,
.mpd-theme-light .mpd-btn-outline:hover {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  text-decoration: none;
  color: #000000;
}

/* Light theme animated fill - white background on hover */
.mpd-btn-outline.mpd-theme-light::after,
.mpd-theme-light .mpd-btn-outline::after {
  background: #ffffff;
}

.mpd-btn-outline.mpd-theme-light:hover::after,
.mpd-theme-light .mpd-btn-outline:hover::after {
  inset-block-start: 0;
}

/* Dark theme - White outline */
.mpd-btn-outline.mpd-theme-dark,
.mpd-theme-dark .mpd-btn-outline {
  color: #ffffff;
  border: 1px solid #ffffff;
}

.mpd-btn-outline.mpd-theme-dark:hover,
.mpd-theme-dark .mpd-btn-outline:hover {
  box-shadow: 0 4px 20px -2px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  text-decoration: none;
  color: #000000;
}

/* Dark theme animated fill - white background on hover (same as Icon Button Dark) */
.mpd-btn-outline.mpd-theme-dark::after,
.mpd-theme-dark .mpd-btn-outline::after {
  background: #ffffff;
}

.mpd-btn-outline.mpd-theme-dark:hover::after,
.mpd-theme-dark .mpd-btn-outline:hover::after {
  inset-block-start: 0;
}
.mpd-link-rolling-purple-color:hover {
  color: #7C3AED;
}