/* 1) Define all your vars at the top of your main CSS */
:root {
  /* colors */
  --color-primary: #531e52;
  --color-secondary: #3fa6c3;
  --color-accent: #3fa6c3;
  --color-tertiary: #ffa334; /* e.g. a green accent */

  --color-body-text: #3d3d3d;

  /* shadows */
  --card-shadow: 6px 9px 40px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);

  /* border radii */

  --card-radius: 20px;
  --button-radius: 40px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* 2) Use them anywhere with var() */
.button {
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5em 1em;
}

.btn-secondary {
  color: var(--color-primary);
  border-radius: var(--button-radius);
  font-weight: 600;
  border-color: var(--color-primary);
  font-size: 20px;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}
/* another example */
.card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

[x-cloak] {
  display: none !important;
}

body {
  font-family: "Montserrat";
}
/* === BASE (Mobile-first default) === */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.hidek {
  display: none !important;
}
.showk {
  display: block !important;
}

.filter {
}

.filtersdesktop {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 80px;
  margin-top: 64px;
}

.filtersdesktop h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
}

.filtersdesktop .filter {
  width: 320px;
}

.filtersdesktop .clear-filter-btn {
	margin: initial;
	margin-top: 0px;
}

.fitleractive {
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fitleractive span {
  font-weight: 500;
  font-size: 20px;
  color: var(--color-primary);
  padding: 4px 16px;
}
.filteroptions {
}
.filter-item {
  border-bottom: 1px solid var(--color-primary);
  padding: 4px 16px;
  cursor: pointer;
}

.filter-item:last-of-type {
  border-bottom: none;
}
.filter-item span {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-primary);
}
.filter-item:hover span {
  color: var(--color-secondary);
}
/** Provider Cards **/

.discipline-group h2 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.provider-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Always 2 columns */
  gap: 24px;
}

.provider-card {
  background-color: #f4f4f4;
  padding: 24px;
  border-radius: 24px;
  margin-bottom: 24px;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
}

.provider-card .cardimg {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px; /* Rounds the container and clips inside */
  max-width: 350px;
  margin: auto;
  margin-bottom: 16px;
}

.provider-card .cardimg img {
  height: 100%;
  max-width: 100%;
  border-radius: 24px; /* Rounds the container and clips inside */
}

.provider-card .pservices p {
  background-color: #fff;
  padding: 0 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  display: inline-block;
  white-space: nowrap;
  margin: 8px 16px 8px 0;
}

/**
.provider-card .pservices p:nth-child(3n + 1) {
  color: var(--color-primary);
}
.provider-card .pservices p:nth-child(3n + 2) {
  color: var(--color-tertiary);
}
.provider-card .pservices p:nth-child(3n + 3) {
  color: var(--color-secondary);
}
**/

.provider-card .pservices p {
	color: var(--color-secondary);
}

.provider-card .plocations p {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-body-text);
}

.provider-card .ptitle {
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4em;
  margin-bottom: 24px;
  margin-top: 24px;
}

.provider-card .pctabtn {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 40px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
  display: block;
}

.clear-filter-btn {
	display: block;
	margin: auto;
	margin-top: 10px;
}

.provider-card .pctabtn:hover {
	color: #FFF;
}

.koda-provider-list {
  padding: 24px;
}

.koda-provider-list .pageTitle {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin: 48px 24px;
  color: var(--color-primary);
}

.searchdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  align-items: center;
  padding: 24px;
}
.filterbtn {
  border: none;
}
.filterbtn:hover,
.filterbtn:focus {
  background-color: transparent;
}
.searchbtn {
  border: transparent;
}
.searchbtn:hover,
.searchbtn:focus {
  background-color: transparent;
}
.searchbar {
  max-width: 342px;
  display: flex;
  background-color: #fff;
  border-radius: 40px;
  justify-content: space-between;
  padding: 2px 10px;
  align-items: center;
}

.searchbar input[type="text"] {
  border: none;
  outline: none;
}

/** Identify Condition Widget**/

.svg-label {
  display: none;
  pointer-events: auto;
}

.marker:hover .svg-label {
  display: inline;
}

.svg-label rect {
  fill: #531e52;
  rx: 4;
  ry: 4;
}

.svg-label text {
  fill: white;
  font-size: 14px;
  font-family: sans-serif;
}

.marker {
  cursor: pointer;
}

.mainImageholder {
  position: relative;
  display: flex;
  justify-content: center;
  width: 360px;
  margin: auto;
}

.koda-identify-condition .touchpoint {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 24px;
}
.koda-identify-condition .touchcircle:hover {
  animation: pulse 1s infinite;
}

.touchlabel {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(83, 30, 82, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(83, 30, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(83, 30, 82, 0);
  }
}

.koda-identify-condition .touchcircle {
  width: 20px;
  height: 20px;
  background: white;
  border: 3px solid #531e52;
  border-radius: 50%;
  cursor: pointer;
}

.koda-identify-condition .touchlabel span {
  background: #531e52;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.koda-identify-condition .instruction-bubble {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 200px;
  min-height: 200px;
  border-radius: 50%;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: -1;
  display: none;
}

.koda-identify-condition .instruction-bubble .bubble-content {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

/** FAQS **/
.ajax-loading {
  filter: blur(3px);
  opacity: 0.5;
  pointer-events: none; /* Prevent clicks while loading */
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.searchbarfaqdiv {
  display: flex;
  align-items: center;
  justify-content: center;
}
#searchbarfaq input:focus {
  border: none;
  outline: none;
}
/* Style the entire search bar when the input is focused */
#searchbarfaq:focus-within {
  border: 2px solid var(--color-primary); /* Example border color on focus */
  border-radius: 40px;
}

#faq-container {
  padding: 24px;
  margin: auto;
}

.faq-category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 24px 24px 24px;
  align-items: center;
}

.faq-chips-heading {
  width: 100%;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--color-primary);
  text-align: center;
}

.faq-chip {
  display: inline-block;
  padding: 6px 14px;
  background: #f2f2f2;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.2s ease;
}

.faq-chip:hover {
  background: #ddd;
}

.faq-category-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 56px;
  color: var(--color-primary);
}

.faq-item-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.faq-item .type-faq {
  border-bottom: 1px solid #000 !important;
}
.faq-item
  .elementor-325
  .elementor-element.elementor-element-a1f965d
  > .elementor-widget-container
  > .e-n-accordion
  > .e-n-accordion-item
  > .e-n-accordion-item-title {
  min-height: 70px;
}

.faq-item .elementor-widget-n-accordion .e-n-accordion-item-title-icon {
  margin-top: 6px;
}
.faq-item .type-faq .elementor-widget-n-accordion .e-n-accordion-item-title {
  align-items: flex-start;
}

.faq-custom-heading {
  text-align: center;
}

.education-section h3 {
  font-weight: 700;
  color: #3d3d3d;
  font-size: 18px;
  margin-bottom: 16px;
}

.education-section ul,
.expertise-section ul {
  padding-left: 0;
  margin-bottom: 24px;
}
.education-section li,
.expertise-section li {
  list-style-type: none;
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--color-body-text);
}

.ProviderServicesLoopGrid {
}
.provider-services-chip .elementor-heading-title {
  white-space: nowrap;
}
.provider-services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.provider-services a {
  background-color: #fff;
  padding: 0 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  display: inline-block;
  white-space: nowrap;
  margin: 8px 16px 8px 0;
}

/**
.provider-services a:nth-child(3n + 1) {
  color: var(--color-primary);
}

.provider-services a:nth-child(3n + 2) {
  color: var(--color-secondary);
}

.provider-services a:nth-child(3n + 3) {
  color: var(--color-tertiary);
} **/

.provider-services a {
	color: var(--color-secondary);
}

.provider-expertise {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Always 2 columns */
  gap: 16px;
}
.provider-expertise p {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-body-text);
  margin-bottom: 0;
}

.provider-locations {
  padding-left: 0;
}
.provider-locations li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.provider-locations li img {
  max-width: 20px;
}
.provider-locations li a {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-body-text);
}
.provider-locations li a:hover {
  color: var(--color-primary);
}

.find-provider-wrapper {
  background-color: #3fa6c3;
  padding: 120px 24px;
}
.find-provider-header {
  text-align: center;
  font-weight: 700;
  font-size: 48px;
  color: #fff;
  margin-bottom: 64px;
}

@media only screen and (max-width: 768px) {
  .find-provider-wrapper {
	  padding: 100px 24px;
	}
}

.filterformdiv .filter {
  margin-bottom: 24px;
}
.find-provider-wrapper .searchbtnfilter {
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  border-radius: 40px;
  width: 100%;F
  margin: 40px 0;
}
.searchbtnfilter:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
}

.article-loop {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.articlefilters .filter-item span {
  font-weight: 400;
}
.articlefilters .fitleractive span {
  font-weight: 400;
}
.articlefilters {
}
.articlefilters h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.articles-view-more-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 54px;
}

.articles-view-more-wrap .view-more-articles {
  border-color: var(--color-primary);
  border-radius: 40px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  width: 100%;
}

.articles-view-more-wrap .view-more-articles:hover {
  background-color: var(--color-primary);
  color: white;
}

.recent-posts li {
  margin-bottom: 16px;
}
.recent-posts li a {
  font-size: 16px;
  color: black;
}
.recent-posts li a:hover {
  color: var(--color-secondary);
}
.popular-tags li {
  margin-bottom: 16px;
}
.popular-tags li a {
  font-size: 16px;
  color: black;
}
.popular-tags li a:hover {
  color: var(--color-secondary);
}

/* === TABLET (≥768px) === */
@media (min-width: 768px) {
  .tablet\:hide {
    display: none !important;
  }
  .tablet\:show {
    display: block !important;
  }
  .mainImageholder {
    width: 512px;
  }
  .discipline-group h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 36px;
    color: var(--color-primary);
  }
  .provider-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Always 2 columns */
    gap: 24px;
  }
  .provider-card {
    display: flex;
    padding: 0;
  }
  .provider-card .cardimg {
    max-width: 230px;
    margin: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .provider-card .cardimg img {
    object-fit: cover;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .provider-card .cardcontent {
    flex: 1;
    border: 4px solid #fff;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 24px 24px 24px 24px;
  }
  .provider-card .pctabtn {
    max-width: 273px;
  }
  .koda-identify-condition .instruction-bubble {
    display: flex;
  }
  .articles-view-more-wrap .view-more-articles {
    max-width: 300px;
  }
  /*Ends Tablet*/
}

/* === DESKTOP (≥1024px) === */
@media (min-width: 1024px) {
  .desktop\:hide {
    display: none !important;
  }
  .desktop\:show {
    display: block !important;
  }
  .desktophidek {
    display: none !important;
  }
  .desktopshowk {
    display: block !important;
  }
  .desktopshowkflex {
    display: flex !important;
  }
  .mainImageholder {
    width: 918px;
  }
  #faq-container {
    max-width: 1440px;
    padding: 0;
  }
  .faq-item-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-category-chips {
    margin: 88px 24px 88px 24px;
  }
  .provider-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
    gap: 36px;
  }
	.koda-provider-list > .provider-cards {
		grid-template-columns: repeat(4, 1fr);
	}
  .koda-provider-list > .provider-cards > .provider-card {
		grid-column: span 2;
  }
  .koda-provider-list > .provider-cards > .provider-card:last-child:nth-child(odd) {
		grid-column: 2 / span 2;
  }

  .provider-card .cardcontent {
    display: flex;
    height: 100%;
    flex-direction: column;
  }
  .provider-card .pctabtn {
    margin-top: auto;
  }
  .provider-card .plocations {
    margin-bottom: 24px;
  }

  .provider-expertise {
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
    gap: 16px;
  }

  .searchdiv {
    justify-content: center;
  }
  .koda-provider-list {
    max-width: 1440px;
    margin: auto;
  }

  .filtersdesktop {
    max-width: 1440px;
    margin: 64px auto 80px auto;
  }

  .filtersdesktop .filter {
    position: relative;
  }

  .filtersdesktop .filteroptions {
    position: absolute;
    box-shadow: var(--shadow-md);

    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    left: 0;
    width: 100%;
  }

  .filterformdiv .filters {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .filterformdiv .filter {
    width: 400px;
    position: relative;
  }
  .filterformdiv .filteroptions {
    position: absolute;
    box-shadow: var(--shadow-md);

    background-color: rgba(255, 255, 255, 0.9);
    max-height: 200px;
    overflow-y: auto;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  .filterformdiv .filter-item:hover {
    color: var(--color-secondary);
  }

  .filterformdiv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
  }
  .filterformdiv .searchbtnfilter {
    width: 152px;
  }

  .articles-list {
    max-width: 1440px;
    margin: auto;
  }
  .article-loop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
  }
  .article-loop-item {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .article-loop-item .e-loop-item {
    height: 100%;
  }
  .article-loop-item .article-card {
    height: 100%;
  }

  .articlefilters {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 80px auto;
  }

  .articlefilters .filter {
    width: 400px;
    position: relative;
  }
  .articlefilters .filter-options {
    position: absolute;
    box-shadow: var(--shadow-md);

    background-color: rgba(255, 255, 255, 0.9);
    max-height: 200px;
    overflow-y: auto;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  
  .locationAlternateGrids .elementor-grid
    .e-loop-item:nth-child(odd)
    .locationGridItem >
	div:first-child {
    order: 2;
  }

  .announcemnt-contentwithicon {
    padding-left: 210px;
  }
} /** Desktop End **/
