/* ===================================
FILTER BAR
=================================== */

.csf-filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.csf-solution-dropdown,
.csf-subsolution-dropdown {
  flex: 1 1 42%;
}

.csf-clear-filters {
  flex: 0 0 180px;
  height: 60px;
  border: 1px solid #001b5d;
  border-radius: 18px;
  background: #00235a;
  color: #fff;
  font-size: 15px !important;
  transition: all 0.3s ease;
  text-transform: capitalize;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.csf-clear-filters:hover {
  background-color: #fff;
  color: #001b5d;
  border-color: #001b5d;
}
.csf-clear-filters:focus{
	  background-color: #fff !important;
  color: #001b5d !important;
  border-color: #001b5d !important;
}
/* ===================================
CUSTOM DROPDOWN
=================================== */

.csf-dropdown {
  position: relative;
  width: 100%;
}

.csf-dropdown-trigger {
  height: 60px;
  padding: 0 22px;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;

  color: #4b5563;
  font-size: 15px;
  font-weight: 500;

  transition: 0.3s ease;
}

.csf-dropdown-trigger:hover {
  border-color: #c5c5c5;
}

.csf-dropdown.active .csf-dropdown-trigger {
  border-color: #00a3ad;
  box-shadow: 0 0 0 3px rgba(0, 163, 173, 0.12);
}

.csf-arrow {
  color: #00a3ad;
  font-size: 18px;
  transition: 0.3s;
}

.csf-dropdown-menu {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;

  background: #fff;
  border-radius: 18px;
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;

  padding: 12px;

  display: none;

  z-index: 999;

  max-height: 350px;
  overflow-y: auto;
}

.csf-dropdown.active .csf-dropdown-menu {
  display: block;
}

.csf-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.csf-dropdown-menu::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 20px;
}

.csf-option {
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;

  color: #001b5d;
  font-size: 15px;
  line-height: 1.4;

  transition: 0.25s ease;
}

.csf-option:hover {
  background: #f3f4f6;
}

.csf-option.active {
  background: #e9e9e9;
}
.case-card-description ul {
  margin: 0 0 1.5em 2.1em !important;
}
.case-card-description ul li {
  color: #5c6670;
  font-size: 0.85rem;
  line-height: 1.6rem;
}
.case-card-description ul li::marker {
  color: #00a3ad;
  font-size: 1.45rem;
  line-height: 1.95rem;
}
.case-pillar-card {
  color: #00a3ad;
  font-weight: 700;
}
/* ===================================
CARDS GRID
=================================== */

.csf-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.csf-hidden {
  display: none;
}

/* ===================================
LOAD MORE
=================================== */

.csf-load-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.csf-load-more {
  background: #00235a;
  color: #fff;
  border: 1px solid #00235a  ;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}
.csf-load-more:hover{
	background-color: #fff !important;
	color: #00235a ;
}
.csf-load-more:focus{
	background-color: #fff !important;
	color: #00235a ;
}
/* ===================================
SOLUTION TITLE
=================================== */

.case-solutions-pillar {
  font-size: 16px;
  font-weight: 600;
  color: #00235a;
  margin-bottom: 12px;
  text-align: center;
}

/* ===================================
SUB SOLUTION BADGES
=================================== */

.csf-sub-solutions-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.csf-sub-solution-badge {
  background: #f1f3f5;
  color: #5c6670;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.csf-results-count {
  width: 100%;
  margin: 0 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;

  font-size: 18px;
  font-weight: 600;
  color: #00235a;
}

.csf-count-number {
  color: #00a3ad;
  font-weight: 700;
}
/* =========================
   CASE STUDY POPUP
========================= */

body.csf-popup-open {
  overflow: hidden;
}

.csf-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  opacity: 0;
  visibility: hidden;

  transition: 0.35s ease;

  z-index: 99999;
}

.csf-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.csf-popup-modal {
  width: 96%;
  max-width: 1700px;

  height: 88vh;

  background: #f6f6e9;
  color: #00235a !important;

  padding: 4rem;

  border-radius: 30px 30px 0 0;

  overflow-y: auto;

  transform: translateY(100%);

  transition: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.csf-popup-overlay.active .csf-popup-modal {
  transform: translateY(0);
}

.csf-popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50% !important;
  background: #fff;
  color: #00235a;
  font-size: 28px !important;
  line-height: 6px !important;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}
.csf-popup-close:hover{
	box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
background-color: #00b4a7 !important;
}
.csf-popup-close:focus{
background-color: #00b4a7 !important;
}



.csf-popup-modal::-webkit-scrollbar {
  width: 8px;
}

.csf-popup-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
}
.case-popup-modal {
  padding: 7px 30px;
  background-color: #fccf17;
  color: #0e0e55;
  text-transform: capitalize;
  font-size: 1rem !important;
	font-weight: 500;
  line-height: 1.8rem !important;
  border: 1px solid #fccf17;
border-radius: 8px !important;
  transition: all 0.4s ease;
}
.case-popup-modal:hover {
  background-color: #fff !important;
  color: #0e0e55 !important;
  border: 1px solid #fccf17 !important;
}
.case-popup-modal:focus {
  background-color: #fff !important;
  color: #0e0e55 !important;
  border: 1px solid #fccf17 !important;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .csf-popup-modal {
    width: 100%;
    height: 92vh;

    padding: 20px;

    border-radius: 24px 24px 0 0;
  }

  .csf-popup-close {
    right: 15px;
    top: 15px;

    width: 40px;
    height: 40px;
  }
}
/* ===================================
TABLET
=================================== */

@media (max-width: 1024px) {
  .csf-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
MOBILE
=================================== */

@media (max-width: 991px) {
  .csf-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .csf-solution-dropdown,
  .csf-subsolution-dropdown,
  .csf-clear-filters {
    width: 100%;
    flex: none;
  }

  .csf-clear-filters {
    height: 60px;
  }
}

@media (max-width: 767px) {
  .csf-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet (767px to 568px) */
@media (max-width: 767px) and (min-width: 568px) {
    .csf-popup-modal {
        padding: 2rem;
    }

    .csf-popup-content h4 {
        font-size: 1.6rem !important;
    }

    .csf-popup-content p {
        font-size: 1.1rem !important;
        line-height: 1.8rem !important;
    }

    .csf-popup-content ul li {
        font-size: 1.1rem !important;
        line-height: 1.8rem !important;
    }
}

/* Mobile (567px and below) */
@media (max-width: 567px) {
    .csf-popup-modal {
        padding: 1.5rem;
    }

    .csf-popup-content h4 {
        font-size: 1.4rem !important;
	line-height: 1.8rem !important;
		        margin-bottom: 1.6rem !important;
    }

    .csf-popup-content p {
        font-size: 1rem !important;
        line-height: 1.7rem !important;
    }

    .csf-popup-content ul li {
        font-size: 1rem !important;
        line-height: 1.7rem !important;
    }
}