@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: #fff;
  color: #333;
  /* padding: 30px; */
}

.study-filters-container {
  margin: -1px auto 0;
  padding: 20px;
  /* background: rgba(178, 8, 55, 0.9); */
  /* background: #191919; */
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
  background: #fff;
  box-shadow: 0px 2px 8px 0px rgba(60, 64, 67, 0.25);
  box-shadow: rgba(0, 0, 0, 0.03) 0px -1px 0px 0px,
    rgba(0, 0, 0, 0.16) 0px 2px 8px 0px, rgba(0, 0, 0, 0.16) 0px 10px 8px -5px,
    rgba(0, 0, 0, 0.16) 0px 12px 32px -2px;
  border-radius: 16px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .study-filters-container {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
  }
}

.study-filters-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.study-filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.sticky .study-filters-row {
  margin-bottom: 15px;
}

.study-filters-row:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.study-filter-container {
  width: calc(25% - 15px);
  position: relative;
}

.study-button-container {
  width: calc(25% - 15px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.sticky .study-button-container {
  flex-direction: row;
}

@media (max-width: 1100px) {
  .study-filter-container {
    width: calc(50% - 14px);
  }

  .study-button-container {
    width: calc(100% - 15px);
  }
}

@media (max-width: 768px) {
  .study-filter-container {
    width: calc(50% - 10px);
  }

  .study-button-container {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .study-filter-container {
    width: 100%;
  }
  .study-button-container {
    width: 100%;
  }
}

.study-filter-wrapper {
  position: relative;
  z-index: 10;
}

/* Custom gradient orb design */
.study-orb-filter {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  padding: 10px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid rgba(19, 63, 99, 0.1);
}

.sticky .study-orb-filter {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.sticky .study-orb-bg {
  display: none;
}

.study-orb-filter.active {
  box-shadow: 0 15px 40px rgba(178, 8, 55, 0.15),
    0 1px 3px rgba(178, 8, 55, 0.1);
}

/* Gradient orb background */
.study-orb-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
  transform: translate(30%, -30%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.filter-active .study-orb-bg {
  width: 350px;
  height: 350px;
  transform: translate(20%, -50%);
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
}

.study-filter-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sticky .study-filter-header {
  display: none;
}

.study-filter-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e98039;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.study-filter-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  background: #e98039;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.sticky .study-filter-icon {
  display: none;
}

.filter-active .study-filter-icon {
  background: #e98039;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(7, 146, 181, 0.2);
}

.study-icon-line {
  position: absolute;
  background: #fff;
  transition: all 0.3s ease;
}

.study-icon-line.horizontal {
  width: 14px;
  height: 2px;
}

.study-icon-line.vertical {
  width: 2px;
  height: 14px;
}

.fliter-active .study-icon-line {
  background: white;
}

.study-search-field {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.sticky .study-search-field {
  margin: 0;
}

.study-search-icon {
  display: none;
}
.sticky .study-search-icon {
  display: block;
  width: 27px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.study-search-input {
  width: 100%;
  border: none;
  background: #fff;
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 15px;
  color: #171f39;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sticky .study-search-input {
  border: 1.4px solid #171f39;
  padding: 12px 16px 12px 50px;
}

.study-search-input::placeholder {
  color: #171f39;
}

.filter-active .study-search-input {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.study-search-input:focus {
  outline: none;
  background: white;
  box-shadow: 0 4px 15px rgba(178, 8, 55, 0.1);
}

/* Selected tags area */
.study-selected-region-tags {
  position: absolute;
  display: none; /* Start with display none */
  justify-content: left;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
  margin-left: 6px;
  min-height: 30px;
  z-index: 2;
  width: 100%;
}

.study-selected-region-tags.has-tags {
  display: flex;
}

.study-region-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px;
  border-radius: 30px;
  background: #171f39;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 500;
  color: #e98039;
  animation: tagSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.study-tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 2px;
}

.study-tag-remove:hover {
  background: rgba(178, 8, 55, 0.25);
}

.study-tag-remove:before,
.study-tag-remove:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #e98039;
  border-radius: 1px;
}

.study-tag-remove:before {
  transform: rotate(45deg);
}

.study-tag-remove:after {
  transform: rotate(-45deg);
}

/* Dropdown panel */
.study-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 10px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transform-origin: top center;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.study-dropdown-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.study-options-container {
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: #e98039 rgba(178, 8, 55, 0.1);
}

/* Custom scrollbar for webkit browsers (Chrome, Safari, Edge) */
.study-options-container::-webkit-scrollbar {
  width: 6px;
}

.study-options-container::-webkit-scrollbar-track {
  background: rgba(178, 8, 55, 0.05);
  border-radius: 10px;
}

.study-options-container::-webkit-scrollbar-thumb {
  background: #b20837;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.study-options-container::-webkit-scrollbar-thumb:hover {
  background: #990730;
}

.study-region-option {
  position: relative;
  margin: 6px 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.study-region-option-inner {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  background: transparent;
}

.study-region-option:hover .study-region-option-inner {
  background: rgba(242, 244, 246, 0.5);
}

.study-region-option.selected .study-region-option-inner {
  background: linear-gradient(
    135deg,
    rgba(23, 31, 57, 0.05),
    rgba(23, 31, 57, 0.2)
  );
}

.study-region-name {
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.study-region-option.selected .study-region-name {
  font-weight: 500;
  color: #e98039;
}

/* Progress bar indicator for selection */
.study-selection-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.study-region-option.selected .study-selection-progress {
  width: 100%;
}

/* Wave animation on hover */
.study-region-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(178, 8, 55, 0.1),
    transparent 70%
  );
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.study-region-option:hover .study-region-wave {
  opacity: 1;
  transform: scale(2);
}

/* Dropdown footer */
.study-dropdown-footer {
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid rgba(242, 244, 246, 0.8);
}

.study-close-btn,
.study-clear-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.study-close-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* More Filters Button */
.more-filters-btn {
  max-width: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #e98039;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); */
  position: relative;
  overflow: hidden;
}

.sticky .more-filters-btn {
  max-width: 80px;
  width: 100%;
  justify-content: center;
}

.sticky .study-reset-button {
  max-width: 80px;
  width: 100%;
  justify-content: center;
}

.sticky .more-filters-text {
  display: none;
}

.more-filters-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.more-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.more-filters-btn:hover::before {
  left: 100%;
}

.more-filters-btn:active {
  transform: translateY(0);
}

.more-filters-btn:hover .more-filters-icon {
  transform: rotate(180deg);
}

.more-filters-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, 0.2); */
  border-radius: 6px;
  transition: all 0.3s ease;
}

.sticky .more-filters-icon {
  background: transparent;
}

/* Reset button */
.study-reset-button {
  max-width: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  background: white;
  color: #e98039;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  /* box-shadow: 0 8px 20px rgba(178, 8, 55, 0.1); */
  transition: all 0.3s ease;
  /* margin-left: 20px; */
  border: 1px solid #e98039;
}

.study-reset-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(178, 8, 55, 0.15);
}

.study-reset-button:active {
  transform: translateY(0);
}

.study-reset-button svg {
  width: 18px;
  height: 18px;
  stroke: #e98039;
  transition: all 0.3s ease;
}

.study-reset-button:hover svg {
  transform: rotate(90deg);
}

@media (max-width: 767px) {
  .action-buttons {
    padding: 15px 20px;
    justify-content: center;
  }

  .study-reset-button {
    width: 100%;
    justify-content: center;
  }

  .more-filters-btn,
  .reset-btn {
    max-width: none;
    width: 100%;
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

/* Animations */
@keyframes tagSlideIn {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes optionSlideIn {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.study-region-option {
  animation: optionSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.study-region-option:nth-child(1) {
  animation-delay: 0.05s;
}
.study-region-option:nth-child(2) {
  animation-delay: 0.1s;
}
.study-region-option:nth-child(3) {
  animation-delay: 0.15s;
}
.study-region-option:nth-child(4) {
  animation-delay: 0.2s;
}
.study-region-option:nth-child(5) {
  animation-delay: 0.25s;
}
.study-region-option:nth-child(6) {
  animation-delay: 0.3s;
}

.filter-cont-wrp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-100% + 225px));
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.filter-cont-wrp.show {
  opacity: 1;
  visibility: visible;
  z-index: 3333;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  margin: 90px 0;
}

.filter-cont-wrp .dropdown-menu {
  z-index: 100000 !important;
}

.study-main-wrp {
  position: relative;
}

.study-in-hero-wrp {
  height: 100vh;
  position: relative;
  background-color: #fff;
  overflow: visible;
  z-index: 999;
}

/* .hero-img-wrp {
      width: 100%;
      height: 504px;
    } */

.hero-image-wrapper {
  width: 100%;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.hero-img-usa {
  width: 100%;
  height: 90vh;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  pointer-events: none; /* Allow clicks to pass through if needed */
}

/* Universities Section */
.universities-section {
  padding: 0 0 40px;
  margin-right: 1.5rem !important;
  margin-left: 1.5rem !important;
}

.universities-container {
  /* max-width: 1200px; */
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
  font-size: 32px;
  font-weight: 600;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* Cards Container */
.cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* flex-wrap: wrap; */
  gap: 30px;
  justify-content: center;
  /* min-height: 1200px; */
}

/* Modern University Card */
.university-card {
  width: 100%;
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 8px rgba(0, 0, 0, 0.03);
}

.university-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(178, 8, 55, 0.06);
}

/* Card ribbon */
.uni-card-ribbon {
  position: absolute;
  top: 24px;
  right: -35px;
  background: linear-gradient(90deg, #b20837, #ff527a);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 40px;
  transform: rotate(45deg);
  z-index: 10;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(178, 8, 55, 0.3);
}

/* Card actions */
.uni-card-actions {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.uni-card-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #171f39;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uni-card-action-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.uni-card-action-btn i {
  font-size: 14px;
}

.uni-card-action-btn.favorite {
  color: #ff3b6b;
}

.uni-card-action-btn.favorite:hover {
  background: #fff1f5;
}

/* Card top section with image */
.uni-card-top {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.uni-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* .university-card:hover .uni-card-image {
  transform: scale(1.08);
} */

/* Image gradient overlay */
.uni-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 31, 57, 0.2),
    rgba(23, 31, 57, 0.6)
  );
  z-index: 1;
}

/* University logo */
.university-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  border-radius: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
  overflow: hidden;
  transition: all 0.4s ease;
}

.university-card:hover .university-logo {
  /* transform: translate(-50%, -50%) scale(1.05); */
  box-shadow: 0 8px 25px rgba(178, 8, 55, 0.15);
}

.logo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #b20837, #ff527a); */
  color: white;
  font-weight: 700;
  font-size: 22px;
}

/* University name and location */
.uni-card-details {
  padding: 50px 20px 25px;
  text-align: center;
  position: relative;
}

.university-name {
  height: 45px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  font-family: "Poppins";
  text-transform: uppercase;
}

.dropdown-university-name {
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  font-family: "Poppins";
  text-transform: capitalize;
}

/* .university-card:hover .university-name {
  color: #b20837;
} */

.university-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}

.dropdown-university-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: #64748b;
}

.university-location i {
  color: #b20837;
  font-size: 12px;
}

/* Rankings */
.university-ranking {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ranking-badge {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 30px;
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.university-card:hover .ranking-badge {
  background: #fff5f7;
  box-shadow: 0 4px 8px rgba(178, 8, 55, 0.1);
  transform: translateY(-2px);
}

.ranking-badge i {
  color: #b20837;
  font-size: 12px;
  margin-right: 6px;
}

.ranking-text {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.ranking-position {
  margin-left: 4px;
  font-weight: 700;
  color: #b20837;
}

/* Tags section */
.university-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}

.university-tag {
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag-primary {
  background: rgba(178, 8, 55, 0.08);
  color: #b20837;
}

.tag-secondary {
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
}

.tag-accent {
  background: rgba(245, 158, 11, 0.08);
  color: #92400e;
}

.university-card:hover .university-tag {
  transform: translateY(-2px);
}

.university-card:hover .tag-primary {
  background: rgba(178, 8, 55, 0.12);
}

.university-card:hover .tag-secondary {
  background: rgba(16, 185, 129, 0.12);
}

.university-card:hover .tag-accent {
  background: rgba(245, 158, 11, 0.12);
}

.university-card:hover .stat-item {
  transform: translateY(-2px);
}

.university-card .stat-item:nth-child(1) {
  background: rgba(178, 8, 55, 0.04);
}

.university-card .stat-item:nth-child(2) {
  background: rgba(16, 185, 129, 0.04);
}

.university-card .stat-item:nth-child(3) {
  background: rgba(245, 158, 11, 0.04);
}

.university-card .stat-item:nth-child(4) {
  background: rgba(99, 102, 241, 0.04);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-icon.icon-1 {
  color: #b20837;
}

.stat-icon.icon-2 {
  color: #10b981;
}

.stat-icon.icon-3 {
  color: #f59e0b;
}

.stat-icon.icon-4 {
  color: #6366f1;
}

.university-card:hover .stat-icon {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stat-icon i {
  font-size: 15px;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.program-name-showcase {
  margin: 16px 0 20px 0;
  position: relative;
}

.program-name-container {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.85) 100%
  );
  border-radius: 20px 20px 4px 4px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 1px 6px rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: perspective(800px) rotateY(-2deg);
}

.program-name-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to right, #b20837, #ff527a);
  border-radius: 0 0 0 4px;
}

.program-name-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to right, #b20837, #ff527a);
  border-radius: 4px 0 0 0;
}

.program-name-content {
  position: relative;
  z-index: 2;
  padding-left: 8px;
}

.program-name-label {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
  position: relative;
}

.program-name-label::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  border-radius: 18px;
  pointer-events: none;
}

.program-name-label::after {
  content: "●";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 8px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.program-name-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
  background: #1e293b;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Program Details */
/* .program-details {
            margin: 24px 0;
        } */

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.detail-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #171f39;
}

.detail-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.detail-value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Card Footer */
.uni-card-footer {
  padding: 18px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: center;
}

.uni-card-button {
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(to right, #171f39, #2c355c);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(178, 8, 55, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.uni-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(178, 8, 55, 0.3);
}

.uni-card-button:active {
  transform: translateY(0);
}

.uni-card-button i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.uni-card-button:hover i {
  transform: translateX(4px);
}

/* Main university search component */
.university-global-search-box {
  position: relative;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 50px;
  overflow: visible;
  cursor: pointer;
  max-width: 600px;
}

.university-global-search-box:hover,
.university-global-search-box:focus-within {
  max-width: 100%;
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.university-global-search-box:hover .initial-action-icons,
.university-global-search-box:focus-within .initial-action-icons {
  display: none;
}

.initial-action-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.search-filter-cards {
  flex: 1;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
  padding: 0 20px;
  position: relative;
}

.university-global-search-box:hover .search-filter-cards,
.university-global-search-box:focus-within .search-filter-cards {
  opacity: 1;
}

.university-global-search-input {
  width: 100%;
  border: none;
  outline: none;
  padding: 12px 0;
  font-size: 16px;
  color: #333;
  background: transparent;
  text-transform: capitalize;
}

.university-global-search-input::placeholder {
  color: #999;
}

.divider {
  width: 1px;
  height: 24px;
  background: #e5e7eb;
  margin: 0 8px;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.university-global-search-box:hover .divider,
.university-global-search-box:focus-within .divider {
  opacity: 1;
}

.university-global-search-box:hover .action-icons {
  display: flex;
}

.action-icons {
  display: none;
  align-items: center;
  padding: 0 15px;
  min-width: 50px;
  justify-content: center;
}

.action-icons i {
  font-size: 18px;
  color: #171f39;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.action-icons i:hover {
  background: rgba(23, 31, 57, 0.05);
  transform: scale(1.1);
  color: #171f39;
}

/* DROPDOWN STYLES - Hidden by default */
.dropdown-menu {
  display: none; /* Hidden by default */
  border-top: none;
  max-height: 400px;
  overflow-y: auto;
}

/* Show dropdown only when has content and dropdown-show class */
.dropdown-show {
  display: block;
}

.dropdown-item {
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.dropdown-item:hover {
  background-color: #f1f3f4;
}

.dropdown-program-info {
  display: flex;
  justify-content: space-between;
}

.dropdown-university-name {
  font-weight: 500;
  flex: 1;
}

.dropdown-program-location {
  color: #5f6368;
  font-size: 0.9em;
}

.no-dropdown-results {
  padding: 12px 20px;
  color: #5f6368;
  font-style: italic;
  text-align: center;
}

.search-clear-button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #70757a;
  cursor: pointer;
  padding: 5px;
  display: none;
  z-index: 5;
}

.search-clear-button:hover {
  color: #1a73e8;
}

.no-results {
  display: none;
}

/* Additional styling for demo */
.demo-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.demo-title {
  margin-bottom: 30px;
  color: #333;
  font-size: 24px;
}

.demo-description {
  margin-bottom: 50px;
  color: #666;
  font-size: 16px;
}
/* Sleek Pagination Styles */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 20px;
  padding: 0;
}

.pagination-container {
  display: flex;
  align-items: center;
  background: #171f39;
  border-radius: 16px;
  padding: 15px 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  gap: 30px;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.nav-btn {
  background: #fff;
  border: none;
  color: #171f39;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
}

.nav-btn i {
  font-size: 18px;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn:disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.1);
}

.page-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 16px;
}

.current-page {
  font-size: 20px;
  background: #fff;
  color: #171f39;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.page-text {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
  .pagination-container {
    padding: 6px 12px;
    gap: 8px;
    font-size: 13px;
  }

  .nav-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .current-page {
    padding: 4px 10px;
    font-size: 13px;
  }
}
/* Search Container Styles */
.search-filter-cards {
  position: relative;
  width: 100%;
}

/* .university-global-search-input {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  outline: none;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
  transition: box-shadow 0.3s;
} */

.university-global-search-box {
  max-width: 80%;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 99998;
  overflow: visible;
}

.university-global-search-input {
  flex: 1;
  border: none;
  outline: none;
  /* padding: 12px 16px; */
  font-size: 16px;
  color: #333;
  background: transparent;
  text-transform: capitalize;
}

.university-global-search-input::placeholder {
  color: #232637;
  font-weight: 600;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 6px rgba(32, 33, 36, 0.1);
  padding: 15px 0 5px;
  display: none;
  z-index: 99999;
  overflow: hidden;
}

.dropdown-show {
  display: block;
}

.dropdown-item {
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
  font-size: 16px;
  color: #171f39;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #f1f3f4;
}

.dropdown-item .university-name {
  font-size: 16px;
  color: #212121;
}

.dropdown-item .dropdown-university-location {
  font-size: 14px;
  color: #5f6368;
  margin-left: auto;
}

.dropdown-item .university-logo {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-item .university-logo img {
  max-width: 100%;
  max-height: 100%;
}

.recent-searches {
  padding: 8px 20px;
  color: #5f6368;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.recent-searches i {
  margin-right: 10px;
  font-size: 15px;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 20px 0;
  color: #5f6368;
  font-size: 16px;
  display: none;
}

.header {
  /* background: rgba(255, 255, 255, 0.95); */
  backdrop-filter: blur(10px);
  /* border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

.story-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .story-header {
    /* flex-direction: column; */
    text-align: center;
    gap: 15px;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }
}

.story-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.story-title-section h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.story-subtitle {
  font-size: 1rem;
  color: #888;
  font-weight: 400;
}

.story-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 30px;
  font-size: 1.1rem;
  line-height: 2;
  color: #fff;
}

.story-dropdown {
  display: inline-block;
  background: white;
  color: #333;
  border: 2px solid;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin: 4px 12px;
  transition: all 0.2s ease;
  min-width: 120px;
}

.story-dropdown:focus {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.study-level {
  border-color: #4285f4;
}

.study-area {
  border-color: #9c27b0;
}

.specialization {
  border-color: #ff9800;
}

.region {
  border-color: #2196f3;
}

.country {
  border-color: #4caf50;
}

.city {
  border-color: #00bcd4;
}

.university-input {
  border-color: #ffc107;
  max-width: 350px;
}

.intake {
  border-color: #e91e63;
}

.pills-main-container {
  position: relative;
  top: -85px;
  z-index: 3323;
  display: flex;
  flex-direction: column;
}

.pills-main-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3323;
  /* background: rgba(255, 255, 255, 0.95); */
  /* backdrop-filter: blur(10px); */
  /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); */
  /* padding: 10px 0; */
  display: flex;
  flex-direction: column-reverse;
}

.sticky .study-filters-container {
  border-radius: 0 0 32px 32px;
  padding: 15px;
  margin: 0;
}

.pills-main-container.sticky .pills-contaniner {
  margin-bottom: 0;
}

/* Tabs move down when sticky */
.pills-main-container.sticky .nav.nav-pills {
  /* margin-top: 60px; */
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.03) 0px -1px 0px 0px,
    rgba(0, 0, 0, 0.16) 0px 2px 8px 0px, rgba(0, 0, 0, 0.16) 0px 10px 8px -5px,
    rgba(0, 0, 0, 0.16) 0px 12px 32px -2px;
}

/* Content spacing when sticky */
.pills-main-container.sticky + .content-spacer {
  height: 200px; /* Adjust based on your filter height */
}

.pills-contaniner {
  display: flex;
  justify-content: center;
}
.nav.nav-pills {
  background: white;
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 6px 6px;
  gap: 5px;
}

.nav.nav-pills .nav-link {
  width: 250px;
  /* background-color: transparent; */
  border-radius: 0.5rem 0.5rem;
  /* text-shadow: 1px 1px 1px #1f2a1f; */
  color: #fff;
  padding: 15px 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav.nav-pills .nav-link:hover {
  background: rgba(0, 0, 0, 0.7);
}

.nav.nav-pills .nav-link.active {
  color: #fff;
  /* text-shadow: 1px 1px 1px #1f2a1f; */
  background: #171f39;
  line-height: none;
}

.nav.nav-pills .nav-link:not(.active) {
  color: #e98039;
  background-color: #fff;
}

.nav.nav-pills .nav-link:hover:not(.active) {
  color: #fff;
  background: #171f39;
}

#pills-tabContent {
  min-height: 300px; /* Adjust this value based on your tallest content */
  position: relative;
}

.sticky #pills-tabContent {
  min-height: 120px;
}

#pills-tabContent .tab-pane:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
}

#pills-tabContent .tab-pane.active {
  position: relative;
  opacity: 1;
}

.sticky .pills-contaniner {
  display: none;
}

@media (max-width: 1200px) {
  #pills-tabContent {
    min-height: 500px;
  }

  /* .filter-cont-wrp {
    transform: translate(-50%, -50%);
  } */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .university-card {
    max-width: 100%;
  }

  .universities-section {
    margin-top: 0;
    padding: 20px 0 !important;
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }

  .details-grid {
    gap: 10px;
  }

  .detail-item {
    padding: 10px;
  }

  .detail-label {
    font-size: 10px;
  }

  .detail-value {
    font-size: 14px;
  }

  /* .filter-cont-wrp {
    bottom: 25%;
    transform: translate(-50%);
  } */
}
.modal-header {
  flex-shrink: 0;
  padding: 15px 30px;
  position: relative;
  background: white;
  border-bottom: 1px solid #f1f5f9;
}

.modal-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, #e98039, #f2a663);
  border-radius: 2px;
}

.modal-body-filter {
  flex: 1;
  max-height: 350px;
  height: 100%;
  overflow-y: auto;
  padding: 0 2rem;
  background: #fafbfc;
}

.modal-footer {
  flex-shrink: 0;
  padding: 15px 30px;
  display: flex;
  gap: 1rem;
  border-top: 1px solid #f1f5f9;
  background: white;
  justify-content: center;
}

.smart-fltr-close-btn {
  position: absolute;
  top: 8px;
  right: 14px;
  background: #f8fafc;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  color: #64748b;
}

.smart-fltr-close-btn:hover {
  background: #e2e8f0;
  color: #475569;
}

.smart-fltr-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin: 0;
  font-family: "Poppins";
}

.smart-fltr-subtitle {
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.4;
}

.smart-fltr-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.95rem;
  background: white;
  color: #475569;
}

.smart-fltr-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.smart-fltr-btn-primary {
  background: #e98039;
  border-color: #e98039;
  color: white;
}

.smart-fltr-btn-primary:hover {
  background: #d16729;
  border-color: #d16729;
  box-shadow: 0 4px 12px rgba(233, 128, 57, 0.25);
}

/* Form Elements */
.smart-fltr-form-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.smart-fltr-form-section:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.smart-fltr-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.smart-fltr-section-title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: #e98039;
  border-radius: 2px;
}

.smart-fltr-dropdown {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fafbfc;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.875rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.75rem;
  font-size: 0.9rem;
  color: #374151;
  transition: all 0.2s;
}

.smart-fltr-dropdown:focus {
  outline: none;
  border-color: #e98039;
  box-shadow: 0 0 0 3px rgba(233, 128, 57, 0.1);
  background: white;
}

.smart-fltr-dropdown:hover {
  border-color: #9ca3af;
  background: white;
}

.smart-fltr-slider-container {
  text-align: center;
  padding: 1rem 0;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.smart-fltr-slider-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e98039;
  margin-bottom: 1rem;
}

.smart-fltr-slider-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.smart-fltr-slider {
  width: calc(100% - 2rem);
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s;
}

.smart-fltr-slider:hover {
  background: #cbd5e1;
}

.smart-fltr-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #e98039;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(233, 128, 57, 0.3);
  transition: all 0.2s;
}

.smart-fltr-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(233, 128, 57, 0.4);
}

.smart-fltr-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #e98039;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(233, 128, 57, 0.3);
}

.smart-fltr-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.smart-fltr-option-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
  position: relative;
}

.smart-fltr-option-btn:hover {
  border-color: #cbd5e1;
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.smart-fltr-option-btn.active {
  background: #f1b288;
  color: white;
  border-color: #e98039;
  box-shadow: 0 2px 8px rgba(233, 128, 57, 0.25);
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media (max-width: 640px) {
  .modal {
    width: calc(100vw - 2rem);
    max-width: none;
  }

  .smart-fltr-options-grid {
    grid-template-columns: 1fr;
  }

  .smart-fltr-search-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

.mob-flt-btn-wrp {
  position: absolute;
  display: flex;
  justify-content: center;
  top: 0;
  left: 50%;
  z-index: 9999;
  margin: 90px 0;
  transform: translate(-50%);
}

/* Mobile Filter Button */
.mobile-filter-btn {
  background: #e98039;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  padding: 8px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  display: none;
}

.mobile-filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: white;
}

.filter-icon {
  width: 20px;
  height: 20px;
}

/* Content area */
.content-area {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-align: center;
}

.content-area h2 {
  margin-bottom: 20px;
  font-weight: 700;
}

.content-area p {
  margin-bottom: 0;
  opacity: 0.8;
  line-height: 1.6;
}

/* Offcanvas styles */
.offcanvas {
  background: #fff;
  width: 90% !important;
}

.offcanvas.show {
  z-index: 9999;
}

.offcanvas-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 20px;
}

.offcanvas-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, #e98039, #f2a663);
  border-radius: 2px;
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.25rem;
}

.btn-close {
  filter: invert(1);
}

.offcanvas-body {
  padding: 20px;
  overflow-y: auto;
}

/* Filter Section Styles */
.filter-section {
  margin-bottom: 25px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.filter-section h6 {
  color: #374151;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-select,
.form-control {
  background: #fafbfc !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  width: 100%;
}

.form-select:focus,
.form-control:focus {
  background: #fafbfc !important;
  border-color: #374151 !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.form-select option {
  color: #333;
  background: white;
}

/* Range Slider */
.tuition-slider-container {
  text-align: center;
  padding: 10px 0;
}

.form-range {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}

.form-range::-webkit-slider-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.form-range::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Option Buttons Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.option-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  padding: 12px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}

.option-btn:hover,
.option-btn.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Story Form Styles */
.story-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #e2e8f0;
}

.story-section h6 {
  color: white;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: center;
}

.story-text {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
  text-align: center;
}

/* Action Buttons */
.action-buttons {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-reset {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
}

.btn-reset:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.btn-apply {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-weight: 600;
}

.btn-apply:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  margin: 30px 0;
}

/* Scrollbar Styling */
.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Animation for filter button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.mobile-filter-btn:hover {
  animation: pulse 1.5s infinite;
}

@media (max-width: 767px) {
  .pills-contaniner {
    display: none;
  }

  #pills-tabContent {
    display: none;
  }

  .mobile-filter-btn {
    display: block;
  }
}

.stats-banner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Background */
.stats-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

/* Disable animation on mobile for better performance */
@media (max-width: 768px) {
  .stats-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 170%;
    background: radial-gradient(
      circle,
      rgba(255, 107, 0, 0.5) 0%,
      transparent 70%
    );
    animation: rotate 20s linear infinite;
    pointer-events: none;
    transform: rotate(45deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Main Stats Text Container */
.stats-text {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  opacity: 0;
  animation: fadeInScale 0.8s ease-out forwards;
}

/* Discover Text */
.discover-text {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  animation: slideInTop 0.6s ease-out 0.2s forwards;
}

/* Main Stats Container */
.stats-main {
  margin-bottom: 20px;
}

/* Stats Line */
.stats-line {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
  display: flex;
  align-items: end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Animated Numbers Container */
.numbers-group {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
}

/* Individual Number */
.stat-number {
  display: inline-block;
  position: relative;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(20px);
}

.icon {
  color: white;
}

.university-count {
  color: #ffb366;
  animation: countIn 0.8s ease-out 0.4s forwards;
}

.program-count {
  color: #ffb366;
  animation: countIn 0.8s ease-out 0.6s forwards;
}

/* Reduce glow on mobile for performance */
@media (max-width: 768px) {
  .stat-number::after {
    filter: blur(4px);
    opacity: 0.3;
  }
}

.university-count::after {
  color: #4da3ff;
}

.program-count::after {
  color: #ff6b00;
}

/* Separator */
.stat-separator {
  color: #fff;
  font-weight: 400;
  font-size: 32px;
  margin: 0 5px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.5s forwards;
}

/* Labels */
.stat-label {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  opacity: 0.9;
  color: #ffffff;
}

/* Location/Filter Text */
.filter-context {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInRight 0.8s ease-out 0.8s forwards;
  flex-wrap: wrap;
  justify-content: center;
}

.context-suffix {
  white-space: nowrap;
}

/* Highlight Text */
.highlight-text {
  position: relative;
  display: inline-block;
  font-weight: 700;
  background: #e98039;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Opportunity Text */
.opportunity-text {
  font-size: 20px;
  color: #e0e0e0;
  font-weight: 400;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1s forwards;
  line-height: 1.6;
}

.opportunity-text strong {
  color: #ff6b00;
  font-weight: 600;
}

.opportunity-text .accent {
  color: #4da3ff;
  font-weight: 600;
}

/* Pulse Animation for New Results */
.pulse {
  animation: pulse 0.6s ease-out;
}

/* Animations */
@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Simplified animations on mobile */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes slideInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .stats-banner {
    padding: 0 10px;
  }

  .stats-text {
    padding: 20px 10px;
  }

  .discover-text {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .stats-main {
    margin-bottom: 15px;
  }

  .stats-line {
    font-size: 24px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .stat-separator {
    font-size: 20px;
    display: block;
    margin: 10px 0;
  }

  .opportunity-text {
    font-size: 16px;
    line-height: 1.4;
  }

  .opportunity-text br {
    display: none;
  }

  .stat-label {
    font-size: 12px;
    display: inline;
    margin-left: 6px;
    margin-top: 0;
  }

  .numbers-group {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .stat-number {
    font-size: 28px;
  }

  .filter-context {
    font-size: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 5px;
  }

  .context-suffix {
    display: inline;
    width: auto;
  }

  @media (max-width: 380px) {
    .context-suffix {
      display: block;
      width: 100%;
    }
  }

  .highlight-text {
    font-size: 22px;
  }

  /* Adjust icon size on mobile */
  .icon {
    width: 16px;
    height: 16px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .stats-text {
    padding: 15px 5px;
  }

  .discover-text {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .stats-line {
    font-size: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }

  .filter-context {
    font-size: 18px;
  }

  .highlight-text {
    font-size: 20px;
  }

  .opportunity-text {
    font-size: 14px;
    padding: 0 10px;
  }

  /* Stack the stats vertically on very small screens */
  .numbers-group {
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }

  .stat-separator {
    display: none;
  }
}
:root {
  --primary: #171f39;
  --primary-light: #ff527a;
  --primary-dark: #8a062a;
  --secondary: #ffffff;
  --secondary-light: #f8f9fa;
  --accent: #fbbf24;
  --dark: #0f172a;
  --light: #f8f9fa;
  --gray: #64748b;
}
.program-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 6px;
}

.program-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
/* Program section */
.program-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  animation: programSlide 1s ease-out 0.8s backwards;
}
/* Animated border */
.program-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary),
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: borderSlide 5s linear infinite;
}
@keyframes programSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes borderSlide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.stat-item {
  flex-direction: column;
  text-align: center;
  padding: 16px 8px;
  background: #fafbfc;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: statPulse 4s ease-in-out infinite;
  animation-delay: calc(var(--stat-index) * 0.3s);
}

@keyframes statPulse {
  0%,
  100% {
    transform: scale(1);
    background: #fafbfc;
  }
  50% {
    transform: scale(1.05);
    background: rgba(23, 31, 57, 0.05);
  }
}
/* Header Info - University Name and Location */
.header-info {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  color: white;
  animation: headerSlideDown 1s ease-out 0.3s backwards;
  padding: 0 10px; /* Add padding to avoid overlap with buttons */
}

/* Decorative element */
.header-info::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: decorativePulse 4s ease-in-out infinite;
  z-index: -1;
}

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 15px;
  animation: locationGlow 4s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

/* Animated line below location */
.header-location::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: lineExpand 3s ease-in-out infinite;
}

.header-location i {
  font-size: 12px;
  animation: pinBounce 3s ease-in-out infinite;
}

.header-university-name {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  position: relative;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.5),
    0 0 60px rgba(178, 8, 55, 0.3);
  animation: titleGlow 3s ease-in-out infinite,
    titleFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  text-stroke: 0.5px rgba(0, 0, 0, 0.2);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-header {
    height: 160px;
  }

  .logo-container {
    width: 70px;
    height: 70px;
    bottom: -35px;
  }

  .card-content {
    padding: 50px 20px 20px;
  }

  .university-name {
    font-size: 18px;
  }

  .stat-value {
    font-size: 16px;
  }

  .header-university-name {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .header-location {
    font-size: 12px;
    padding: 6px 16px;
  }

  .header-info {
    top: 10px;
    padding: 0 50px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .header-university-name {
    font-size: 18px;
    letter-spacing: 0.5px;
  }

  .header-info {
    padding: 0 20px;
  }
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
}

.search-section {
  max-width: 700px;
  margin: 0 auto;
}

.search-box {
  background: white;
  border-radius: 60px;
  padding: 5px 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 10px 30px;
  border: none;
  font-size: 16px;
  background: transparent;
}
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

:root {
  --primary-color: #8263a3;
  --text-dark: #232637;
  --white: #ffffff;
  --max-width: 1200px;
  --orange: #ea8038;
}

.program-main-ctr {
  position: relative;
  height: 100vh;
}

.container-wrp {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #dbdce0;
  position: relative;
  isolation: isolate;
  height: 100vh;
  /* max-width: var(--max-width); */
  margin-inline: auto;
  overflow: visible;
  z-index: 999;
}

.container-wrp::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 0;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  z-index: -1;
  width: 50%;
}

@keyframes body-bg {
  100% {
    width: 50%; /* Changed from 50vw to 50% to be relative to container */
  }
}

.container-wrp::before {
  position: absolute; /* Changed from fixed to absolute */
  content: "0";
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  font-size: 70rem;
  font-weight: 200;
  color: var(--white);
  z-index: -1;
  opacity: 0.5;
}

.scholarship-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 300px;
  height: 300px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scholarship-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.scholarship-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
}

/* Rotating arc animation around the circle */
.scholarship-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: 4px solid transparent;
  border-top: 4px solid var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: rotateArc 3s linear infinite;
  animation-delay: 2s; /* Start after ScrollReveal completes */
}

@keyframes rotateArc {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.container-wrp img {
  position: absolute;
  width: 100%;
  max-width: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
}

.container-wrp h4 {
  position: absolute;
  top: 50%;
  left: 52%;
  font-size: 4rem;
  color: var(--white);
  letter-spacing: 0px;
}

.text__left {
  color: #171e38 !important;
}

.text__right {
  color: #fff !important;
}

.text__left {
  transform: translate(calc(-50% - 250px), -50%);
}

.text__right {
  transform: translate(calc(-50% + 250px), -50%);
}

.container-wrp .explore {
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 225px));
  color: var(--text-dark);
  background-color: var(--white);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
}

.container-wrp .print {
  top: 50%;
  right: 0;
  transform: translate(0, -50%) rotate(90deg);
  padding: calc(1rem - 4px) calc(2rem - 4px);
  color: var(--white);
  background-color: transparent;
  border: 1px solid var(--white);
}

.container-wrp .catalog {
  top: 25%;
  left: 0;
  transform: translate(0, -50%) rotate(-90deg);
  padding: calc(1rem - 4px) calc(2rem - 4px);
  color: var(--text-dark);
  background-color: transparent;
  border: 1px solid var(--text-dark);
}

.container-wrp h5 {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 5rem;
  font-weight: 600;
}

.feature-1 {
  color: var(--text-dark);
  transform: translate(calc(-50% - 215px), calc(-50% - 70px));
}

.feature-2 {
  color: var(--white);
  transform: translate(calc(-50% + 290px), calc(-50% - 70px));
}

.feature-3 {
  color: var(--text-dark);
  transform: translate(calc(-50% - 300px), calc(-50% + 200px));
}

.feature-4 {
  color: var(--white);
  transform: translate(calc(-50% + 300px), calc(-50% + 200px));
}

.feature-1::after,
.feature-3::after {
  right: 0;
  transform: translate(calc(100% + 40px), -50%);
  background-color: var(--text-dark);
}

.feature-2::after,
.feature-4::after {
  left: 0;
  transform: translate(calc(-100% - 40px), -50%);
  background-color: var(--white);
}

.mob-container-wrp {
  display: none;
}

@media (max-width: 768px) {
  .container-wrp {
    display: none;
  }

  .mob-container-wrp {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #dbdce0;
    position: relative;
    isolation: isolate;
    height: 100vh;
    margin-inline: auto;
    overflow: hidden;
    z-index: 999;
  }

  .mob-container-wrp::after {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: -1;
    animation: mob-body-bg-mobile 1s ease-in-out forwards;
  }

  @keyframes mob-body-bg-mobile {
    0% {
      height: 0vh;
    }
    100% {
      height: 50vh;
    }
  }

  .mob-container-wrp::before {
    position: absolute;
    content: "0";
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40rem;
    font-weight: 200;
    color: var(--white);
    z-index: -1;
    opacity: 0.5;
  }

  .mob-scholarship-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .mob-scholarship-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .mob-scholarship-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
  }

  .mob-scholarship-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    border: 4px solid transparent;
    border-top: 4px solid var(--orange);
    border-radius: 50%;
    opacity: 0;
    animation: mob-rotateArc 3s linear infinite;
    animation-delay: 2s;
  }

  @keyframes mob-rotateArc {
    0% {
      opacity: 1;
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  .mob-container-wrp img {
    position: absolute;
    width: 100%;
    max-width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
    z-index: 10;
  }

  .mob-container-wrp h4 {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 11;
  }

  .mob-text__top {
    color: var(--text-dark) !important;
    transform: translate(-50%, calc(-150% - 120px)) !important;
  }

  .mob-text__bottom {
    color: var(--white) !important;
    transform: translate(-50%, calc(50% + 180px)) !important;
  }

  .mob-container-wrp h5 {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.5rem;
    font-weight: 800;
    z-index: 11;
  }

  .mob-number-top {
    color: var(--text-dark);
    transform: translate(-50%, calc(-150% - 160px));
  }

  .mob-number-bottom {
    color: var(--white);
    transform: translate(-50%, calc(50% + 120px));
  }

  .mob-container-wrp h5::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 30px));
  }

  .mob-number-top::after {
    background-color: var(--text-dark);
  }

  .mob-number-bottom::after {
    background-color: var(--white);
  }

  .mob-filter-cont-wrp {
    position: absolute;
    bottom: 7vh;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
    transition: all 0.8s ease-in-out;
    z-index: 20;
  }

  .mob-filter-cont-wrp.mob-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .mob-demo-container {
    margin-bottom: 15px;
  }

  .mob-university-global-search-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mob-university-global-search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 12px;
    background: transparent;
  }

  .mob-university-global-search-input::placeholder {
    color: #999;
  }

  .mob-pills-contaniner {
    margin-bottom: 15px;
  }

  .mob-nav-pills {
    display: flex;
    list-style: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
  }

  .mob-nav-pills .mob-nav-item {
    flex: 1;
  }

  .mob-nav-pills .mob-nav-link {
    display: block;
    padding: 8px 12px;
    text-align: center;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mob-nav-pills .mob-nav-link.mob-active {
    background: var(--primary-color);
    color: white;
  }

  .mob-tab-content {
    min-height: 200px;
  }

  .mob-study-filters-container {
    padding: 10px 0;
  }

  .mob-study-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
  }

  .mob-study-filter-container {
    position: relative;
  }

  .mob-study-orb-filter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 12px;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .mob-study-orb-filter:hover {
    transform: translateY(-2px);
  }

  .mob-study-filter-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .mob-study-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    color: white;
    font-size: 11px;
  }

  .mob-study-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
  }

  .mob-story-container {
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    line-height: 1.6;
  }

  .mob-story-text {
    font-size: 14px;
    color: #333;
  }

  .mob-story-dropdown {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    margin: 0 2px;
    cursor: pointer;
  }

  .mob-footer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 21;
  }

  .mob-footer p {
    font-size: 0.8rem;
    color: var(--text-dark);
  }

  .mob-footer__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .mob-footer__links li {
    opacity: 0;
    animation: mob-fade__in 0.3s ease-in-out forwards;
  }

  .mob-footer__links li:nth-child(1) {
    animation-delay: 6s;
  }
  .mob-footer__links li:nth-child(2) {
    animation-delay: 6.5s;
  }
  .mob-footer__links li:nth-child(3) {
    animation-delay: 7s;
  }

  @keyframes mob-fade__in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .mob-footer__links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
  }

  .mob-footer__links a:hover {
    color: var(--primary-color);
  }

  /* Responsive adjustments for very small screens */
  @media (max-width: 375px) {
    .mob-container-wrp h4 {
      font-size: 2rem;
    }

    .mob-container-wrp h5 {
      font-size: 2.5rem;
    }

    .mob-container-wrp img {
      max-width: 240px;
    }

    .mob-scholarship-circle {
      width: 200px;
      height: 200px;
    }
  }

  /* Hide elements that don't work well on mobile */
  .mob-study-dropdown-panel,
  .mob-study-filter-icon,
  .mob-study-selected-region-tags,
  .mob-study-button-container {
    display: none;
  }
}
/* Your original sticky CSS - unchanged */
.sticky-filter-container {
  display: none;
}
@media (max-width: 767px) {
  .pills-main-container.sticky {
    display: none;
  }
  /* Sticky Filter Styles */
  /* Your exact original CSS */
  /* Your exact original CSS */
  .sticky-filter-container {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 3334;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body.filter-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .filter-backdrop.show {
    opacity: 1;
    visibility: visible;
  }

  .sticky-filter-container.show {
    transform: translateY(0);
  }

  .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  }

  .filter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
  }

  .filter-icon {
    width: 20px;
    height: 20px;
    background: #ea8038;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
  }

  .filter-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s;
  }

  .filter-toggle:hover {
    background-color: rgba(226, 232, 240, 0.5);
  }

  .filter-content {
    padding: 1rem 1.5rem;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  }

  .filter-content.expanded {
    max-height: 40vh;
    overflow-y: auto;
  }

  .filter-content.collapsed {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
  }

  .search-section {
    margin-bottom: 1.5rem;
  }

  .search-box {
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .search-input {
    width: 100%;
    padding: 10px 30px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
  }

  .search-input::placeholder {
    color: #94a3b8;
  }

  .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
  }

  /* Filter Sections */
  .filter-section {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
  }

  .filter-section:last-child {
    margin-bottom: 0;
  }

  .filter-section h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .smart-fltr-section-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-bottom: 0.5rem;
  }

  .mb-3 {
    margin-bottom: 1rem;
  }

  .mb-0 {
    margin-bottom: 0;
  }

  .mb-2 {
    margin-bottom: 0.5rem;
  }

  /* Slider Styles */
  .smart-fltr-slider-container {
    margin-top: 0.5rem;
  }

  .smart-fltr-slider-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    color: #e98039;
  }

  .smart-fltr-slider-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
  }

  .smart-fltr-slider {
    width: calc(100% - 2rem);
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    appearance: none;
    cursor: pointer;
  }

  .smart-fltr-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--orange));
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .smart-fltr-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--orange));
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  /* Option Grid Styles */
  .options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .option-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
  }

  .option-btn:hover,
  .option-btn.active {
    background: #f1b288;
    color: white;
    border-color: #e98039;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(233, 128, 57, 0.25);
  }

  /* Action Buttons */
  .mob-action-buttons {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
  }

  .more-filters-btn,
  .study-reset-button {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }

  .more-filters-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--orange));
    color: white;
    border: none;
  }

  .more-filters-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
  }

  .mob-study-reset-button {
    background: white;
    color: #e98039;
    border: 1px solid #e98039;
    padding: 12px 24px;
    max-width: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
  }

  .mob-study-reset-button svg {
    width: 18px;
    height: 18px;
    stroke: #e98039;
    transition: all 0.3s ease;
  }

  .mob-study-reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(178, 8, 55, 0.15);
  }

  .d-grid {
    display: grid;
  }

  .gap-2 {
    gap: 0.5rem;
  }

  /* Multi-select dropdown styles */
  .multi-select-wrapper {
    position: relative;
  }

  .multi-select-display {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
  }

  .multi-select-display:hover {
    border-color: #cbd5e1;
  }

  .multi-select-display.active {
    box-shadow: 0 0 0 3px rgba(233, 128, 57, 0.1);
  }

  .display-text {
    flex: 1;
    color: var(--text-dark);
  }

  .display-text.placeholder {
    color: #94a3b8;
  }

  .dropdown-arrow {
    color: #6b7280;
    transition: transform 0.3s ease;
  }

  .dropdown-arrow.rotated {
    transform: rotate(180deg);
  }

  .multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .multi-select-dropdown.show {
    display: block;
  }

  .dropdown-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
  }

  .dropdown-option:hover {
    background: #f1f5f9;
  }

  .dropdown-option.selected {
    background: #eff6ff;
    color: var(--primary-color);
    font-weight: 500;
  }

  .dropdown-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 10px;
    flex-shrink: 0;
  }

  .dropdown-option.selected .dropdown-checkbox {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
  }

  .dropdown-option.selected .dropdown-checkbox::after {
    content: "✓";
    font-weight: bold;
  }

  /* Selected items display */
  .selected-items {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .selected-item {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .remove-item {
    cursor: pointer;
    font-weight: bold;
    padding: 0 0.25rem;
    border-radius: 2px;
    transition: background-color 0.2s;
  }

  .remove-item:hover {
    background: var(--primary-color);
    color: white;
  }
  /* Results count indicator */
  .results-indicator {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 375px) {
  .mob-container-wrp h4 {
    font-size: 1.25rem;
  }

  .mob-container-wrp h5 {
    font-size: 2rem;
  }

  .mob-container-wrp img {
    max-width: 180px;
  }

  .mob-scholarship-circle {
    width: 200px;
    height: 200px;
  }

  .filter-header {
    padding: 0.75rem 1rem;
  }

  .filter-content {
    padding: 0.75rem 1rem;
  }

  .filter-section {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .option-btn {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .form-select {
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  .filter-section h6 {
    font-size: 0.9rem;
  }
}
.goals-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.goals-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.icon-container {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
}

.section-description {
  color: #6b7280;
}

.goals-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 1rem;
  padding: 1.5rem;
}

.goals-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.goals-dropdown {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  border: 2px solid;
  background: white;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 120px;
}

.goals-dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.job-role-dropdown {
  border-color: #a7f3d0;
  color: #059669;
}

.job-role-dropdown:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.industry-dropdown {
  border-color: #99f6e4;
  color: #0d9488;
}

.industry-dropdown:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
}

.career-level-dropdown {
  border-color: #dbeafe;
  color: #1d4ed8;
}

.career-level-dropdown:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.work-style-dropdown {
  border-color: #e9d5ff;
  color: #7c3aed;
}

.work-style-dropdown:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.1);
}

.salary-range-dropdown {
  border-color: #dcfce7;
  color: #16a34a;
}

.salary-range-dropdown:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.career-goal-dropdown {
  border-color: #fed7aa;
  color: #ea580c;
}

.career-goal-dropdown:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.1);
}

.timeline-dropdown {
  border-color: #fecaca;
  color: #dc2626;
}

.timeline-dropdown:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.skills-dropdown {
  border-color: #c7d2fe;
  color: #4338ca;
}

.skills-dropdown:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.demo-section {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.demo-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.goals-display {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.875rem;
  color: #475569;
  white-space: pre-wrap;
  border: 1px solid #e2e8f0;
}

.reset-button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, #10b981, #14b8a6);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reset-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
  .goals-card {
    padding: 1.5rem;
  }

  .goals-text {
    font-size: 1rem;
  }

  .goals-dropdown {
    min-width: 100px;
    font-size: 0.875rem;
  }
}

.modal-backdrop.show {
  --bs-backdrop-zindex: 3332;
}

/* Performance optimizations */
.university-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.2s ease-out;
  contain: layout style paint;
}

.university-card:hover {
  transform: translateY(-2px) translateZ(0);
}

/* Optimized lazy loading */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  background-color: #f8f9fa;
}

img.lazy.loaded {
  opacity: 1;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  #university-cards-container {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 0 10px;
  }

  .university-card {
    width: 100%;
    max-width: none;
    will-change: auto; /* Reduce GPU usage on mobile */
  }

  .unlock-content-wrapper {
    max-width: 90% !important;
    margin: 20px 10px !important;
  }

  .unlock-content {
    padding: 30px 20px !important;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  #university-cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    padding: 0 15px;
  }
}

/* Desktop optimizations */
@media (min-width: 1025px) {
  #university-cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

/* Optimized animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(23, 31, 57, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(23, 31, 57, 0);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* GPU acceleration for sticky elements */
.sticky {
  transform: translateZ(0);
  will-change: transform;
}

/* Reduce motion for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Search functionality styles */
.search-section {
  position: relative;
  z-index: 999;
}

.search-box {
  position: relative !important;
  overflow: visible !important;
  transition: all 0.3s ease;
}

.search-box.dropdown-active {
  border-radius: 25px 25px 0 0 !important;
  border-bottom-color: transparent !important;
}

.dropdown-menu.dropdown-show {
  display: block !important;
}

.dropdown-item {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f1f3f4;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-program-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dropdown-program-name {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

.dropdown-school-name {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.no-dropdown-results {
  padding: 20px;
  text-align: center;
  color: #6c757d;
  font-style: italic;
  font-size: 14px;
}

.search-clear-button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: none;
  z-index: 10;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.search-clear-button:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.university-card.highlight {
  border: 2px solid #007bff !important;
  background-color: #f8f9ff !important;
  transition: all 0.3s ease;
  transform: scale(1.02);
}

.search-input {
  padding-right: 50px !important;
}

.university-global-search-input {
  padding-right: 50px !important;
}

.simple-dropdown::-webkit-scrollbar {
  width: 6px;
}

.simple-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.simple-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.simple-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Unlock Content Wrapper Styles */
.unlock-content-wrapper {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border-radius: 24px;
  overflow: hidden;
  max-width: 650px;
  width: 90%;
  margin: 40px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.unlock-content-wrapper:hover {
  transform: translateY(-8px);
}

.unlock-content {
  padding: 50px 40px;
  background: linear-gradient(
    135deg,
    rgba(250, 250, 250, 0.8) 0%,
    rgba(245, 245, 245, 0.7) 100%
  );
  text-align: center;
  position: relative;
}

.unlock-content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
  border-radius: 50%;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

.unlock-content::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(19, 63, 99, 0.2),
    rgba(7, 146, 181, 0.2)
  );
  border-radius: 50%;
  opacity: 0.9;
  animation: float 4s ease-in-out infinite reverse;
}

.unlock-icon {
  width: 140px;
  height: 140px;
  background: #171f39;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  color: white;
  margin: 0 auto 25px;
  position: relative;
  animation: pulse 3s ease-in-out infinite;
}

.unlock-icon::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

.unlock-icon::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite 0.5s;
}

.unlock-title {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.unlock-title-highlight {
  background: #e98039;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.unlock-divider {
  width: 60px;
  height: 3px;
  background: #e98039;
  margin: 15px auto 25px;
  border-radius: 2px;
}

.unlock-description {
  font-size: 18px;
  color: #555;
  margin: 0 0 35px 0;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.unlock-button {
  background: linear-gradient(to right, #171f39, #2c355c);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.unlock-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.unlock-button:hover {
  transform: translateY(-4px) scale(1.05);
}

.unlock-button:hover::after {
  left: 100%;
}

.unlock-button-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.unlock-button:hover .unlock-button-icon {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .unlock-content-wrapper {
    max-width: 90%;
    margin: 20px 10px;
  }

  .unlock-content {
    padding: 30px 20px;
  }

  .unlock-icon {
    width: 100px;
    height: 100px;
    font-size: 40px;
  }

  .unlock-title {
    font-size: 24px;
  }

  .unlock-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .unlock-button {
    padding: 16px 32px;
    font-size: 15px;
  }
}

/* Placeholder Card Styles */
.university-card.placeholder-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.university-card.placeholder-card:hover {
  border-color: #adb5bd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.placeholder-card-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.university-card.placeholder-card:hover .placeholder-card-header {
  opacity: 0.4;
}

.placeholder-card-content {
  position: relative;
  text-align: center;
  color: #6c757d;
  z-index: 2;
  margin-top: 40px;
  transition: transform 0.3s ease;
}

.university-card.placeholder-card:hover .placeholder-card-content {
  transform: translateY(-4px);
}

.placeholder-card-icon {
  width: 60px;
  height: 60px;
  background: #dee2e6;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.university-card.placeholder-card:hover .placeholder-card-icon {
  background: #cbd2d9;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.placeholder-card-title {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
  color: #6c757d;
  transition: color 0.3s ease;
}

.placeholder-card-subtitle {
  font-size: 12px;
  margin: 5px 0 0 0;
  opacity: 0.7;
  color: #6c757d;
  transition: opacity 0.3s ease;
}

.university-card.placeholder-card:hover .placeholder-card-title {
  color: #495057;
  font-weight: 600;
}

.university-card.placeholder-card:hover .placeholder-card-subtitle {
  opacity: 0.9;
}

/* Responsive adjustments for placeholder cards */
@media (max-width: 768px) {
  .university-card.placeholder-card {
    min-height: 320px;
  }

  .placeholder-card-header {
    height: 100px;
  }

  .placeholder-card-content {
    margin-top: 30px;
  }

  .placeholder-card-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .placeholder-card-title {
    font-size: 13px;
  }

  .placeholder-card-subtitle {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .university-card.placeholder-card {
    min-height: 280px;
  }

  .placeholder-card-header {
    height: 80px;
  }

  .placeholder-card-content {
    margin-top: 20px;
  }

  .placeholder-card-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin-bottom: 10px;
  }
}

/* No Results Message Styles */
.no-results-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
  background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.no-results-message::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(226, 232, 240, 0.3) 0%,
    transparent 50%
  );
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.no-results-icon {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 20px;
  animation: pulse 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.no-results-message:hover .no-results-icon {
  color: #94a3b8;
  transform: scale(1.1);
}

.no-results-title {
  color: #64748b;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.no-results-message:hover .no-results-title {
  color: #475569;
}

.no-results-description {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
  margin: 0;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.no-results-message:hover .no-results-description {
  color: #64748b;
}

/* Add subtle animation to the entire message */
.no-results-message {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

/* Enhanced styling for better user experience */
.no-results-message::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .no-results-message {
    padding: 40px 15px;
    min-height: 250px;
  }

  .no-results-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .no-results-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .no-results-description {
    font-size: 13px;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .no-results-message {
    padding: 30px 10px;
    min-height: 200px;
    border-radius: 12px;
  }

  .no-results-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .no-results-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .no-results-description {
    font-size: 12px;
    max-width: 250px;
    line-height: 1.4;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .no-results-message {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #475569;
  }

  .no-results-icon {
    color: #64748b;
  }

  .no-results-title {
    color: #cbd5e1;
  }

  .no-results-description {
    color: #94a3b8;
  }

  .no-results-message:hover .no-results-icon {
    color: #94a3b8;
  }

  .no-results-message:hover .no-results-title {
    color: #e2e8f0;
  }

  .no-results-message:hover .no-results-description {
    color: #cbd5e1;
  }
}

/* ==================== SIMPLIFIED HIGH-PERFORMANCE CSS ==================== */

/* ==================== BASIC CARD STYLING ==================== */
.university-card {
  /* Minimal acceleration - only what's needed */
  contain: layout style;

  /* Simple transition */
  transition: box-shadow 0.2s ease;
}

.university-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ==================== CONTAINER OPTIMIZATION ==================== */
#university-cards-container {
  /* No complex containment */
  overflow: visible;

  /* Simple scroll behavior */
  scroll-behavior: smooth;
}

/* ==================== SIMPLE LAZY LOADING ==================== */
.uni-card-image.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: #f0f0f0;
}

.uni-card-image.lazy.loaded {
  opacity: 1;
}

.uni-card-image.lazy.error {
  opacity: 0.7;
  background-color: #f8f9fa;
}

/* ==================== SIMPLE BLUR SECTION ==================== */
.blurred-cards-background {
  /* Simple CSS blur - no complex acceleration */
  filter: blur(4px);
  opacity: 0.8;
}

.blurred-card {
  /* No additional properties */
  opacity: 1;
}

/* ==================== SIMPLE OVERLAY ==================== */
.unlock-container-overlay {
  /* Simple background - no backdrop filter */
  background: rgba(240, 240, 240, 0.9);

  /* Basic positioning */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ==================== RESPONSIVE GRID ==================== */
@media (max-width: 768px) {
  #university-cards-container {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #university-cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1025px) {
  #university-cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ==================== SIMPLE IMAGE OPTIMIZATION ==================== */
img {
  /* Basic optimization */
  image-rendering: auto;
  decoding: async;
}

.university-logo img {
  min-height: 60px;
  background-color: #fff;
}

/* ==================== MOTION PREFERENCES ==================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .blurred-cards-background {
    filter: blur(2px);
  }
}

/* ==================== SIMPLE BUTTON STYLING ==================== */
.uni-card-button,
.uni-card-action-btn,
.unlock-button {
  /* Basic touch optimization */
  touch-action: manipulation;

  /* Simple transition */
  transition: background-color 0.2s ease;
}

/* ==================== SIMPLE PAGINATION ==================== */
#prev-btn,
#next-btn {
  /* Basic touch optimization */
  touch-action: manipulation;
  transition: opacity 0.2s ease;
}

#prev-btn:disabled,
#next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== NO RESULTS STYLING ==================== */
.no-results-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.no-results-icon {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.no-results-title {
  color: #64748b;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
}

.no-results-description {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
  margin: 0;
}

/* ==================== UNLOCK CONTENT STYLING ==================== */
.unlock-content-wrapper {
  background: white;
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  margin: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.unlock-content {
  padding: 40px 30px;
  text-align: center;
}

.unlock-icon {
  width: 80px;
  height: 80px;
  background: #171f39;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  margin: 0 auto 20px;
}

.unlock-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.unlock-title-highlight {
  color: #e98039;
}

.unlock-divider {
  width: 60px;
  height: 3px;
  background: #e98039;
  margin: 15px auto 20px;
  border-radius: 2px;
}

.unlock-description {
  font-size: 16px;
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.unlock-button {
  background: #171f39;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.unlock-button:hover {
  background: #2c355c;
}

.unlock-button-icon {
  width: 16px;
  height: 16px;
}

/* ==================== PROGRAM SECTION STYLING ==================== */
.program-section {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.program-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #171f39;
  margin-bottom: 6px;
}

.program-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

/* ==================== DETAILS GRID ==================== */
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.detail-item {
  background: #fafbfc;
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.detail-item:hover {
  background: #f1f5f9;
}

.detail-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

/* ==================== HEADER INFO ==================== */
.header-info {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  color: white;
  padding: 0 10px;
}

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-location i {
  font-size: 10px;
}

.header-university-name {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-item {
    padding: 12px;
  }

  .header-university-name {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .header-info {
    padding: 0 40px;
    top: 15px;
  }

  .unlock-content {
    padding: 30px 20px;
  }

  .unlock-title {
    font-size: 20px;
  }

  .unlock-description {
    font-size: 14px;
  }

  .unlock-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .header-university-name {
    font-size: 14px;
  }

  .header-info {
    padding: 0 20px;
  }

  .header-location {
    font-size: 11px;
    padding: 4px 12px;
  }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
/* Remove complex animations and effects that cause scroll lag */

/* Disable heavy animations on mobile */
@media (max-width: 768px) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .university-card:hover {
    box-shadow: none;
  }

  .unlock-button,
  .uni-card-button {
    transition: none;
  }
}

/* Simplify scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* ==================== SEARCH FUNCTIONALITY ==================== */
.university-card.highlight {
  border: 2px solid #007bff;
  background-color: #f8f9ff;
}

.search-clear-button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  display: none;
  z-index: 10;
}

.search-clear-button:hover {
  color: #495057;
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-contrast: high) {
  .unlock-container-overlay {
    background: rgba(255, 255, 255, 0.95);
  }

  .blurred-cards-background {
    filter: blur(2px) contrast(1.2);
  }
}

.university-card:focus-within,
.uni-card-button:focus,
.unlock-button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ==================== PRINT OPTIMIZATION ==================== */
@media print {
  .blurred-cards-background {
    filter: none !important;
  }

  .unlock-container-overlay {
    display: none !important;
  }

  .university-card {
    break-inside: avoid;
  }
}

/* ==================== SMOOTH STICKY FILTER TRANSITIONS ==================== */

/* Main sticky container - smooth transition */
.pills-main-container {
  position: relative;
  top: -85px;
  z-index: 3323;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0); /* GPU acceleration */
  will-change: transform, position;
}

.pills-main-container.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3323;
  display: flex;
  flex-direction: column-reverse;
  transform: translateY(0) translateZ(0);
  animation: slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Smooth slide in animation */
@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%) translateZ(0);
    opacity: 0;
  }
  100% {
    transform: translateY(0) translateZ(0);
    opacity: 1;
  }
}

/* Filters container smooth transition */
.sticky .study-filters-container {
  border-radius: 0 0 32px 32px;
  padding: 15px;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

/* Pills container smooth transition */
.pills-main-container.sticky .pills-contaniner {
  margin-bottom: 0;
  transition: margin 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tabs smooth transition when sticky */
.pills-main-container.sticky .nav.nav-pills {
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.03) 0px -1px 0px 0px,
    rgba(0, 0, 0, 0.16) 0px 2px 8px 0px, rgba(0, 0, 0, 0.16) 0px 10px 8px -5px,
    rgba(0, 0, 0, 0.16) 0px 12px 32px -2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== MOBILE STICKY FILTERS ==================== */

@media (max-width: 767px) {
  /* Hide desktop sticky on mobile */
  .pills-main-container.sticky {
    display: none;
  }

  /* Mobile sticky filter container */
  .sticky-filter-container {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 3334;
    transform: translateY(100%) translateZ(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  /* Smooth show transition */
  .sticky-filter-container.show {
    transform: translateY(0) translateZ(0);
    animation: slideInFromBottom 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  /* Smooth slide in from bottom animation */
  @keyframes slideInFromBottom {
    0% {
      transform: translateY(100%) translateZ(0);
      opacity: 0.8;
    }
    100% {
      transform: translateY(0) translateZ(0);
      opacity: 1;
    }
  }

  /* Filter header smooth transition */
  .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
  }

  /* Filter content smooth expand/collapse */
  .filter-content {
    padding: 1rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
  }

  .filter-content.expanded {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
    padding: 1rem 1.5rem;
  }

  .filter-content.collapsed {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }

  /* Smooth backdrop transition */
  .filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filter-backdrop.show {
    opacity: 1;
    visibility: visible;
  }

  /* Smooth body lock when filter is open */
  body.filter-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    transition: none; /* Immediate lock */
  }
}

/* ==================== ENHANCED STICKY BEHAVIOR ==================== */

/* Add smooth shadow transition when sticky */
.pills-main-container.sticky .study-filters-container {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth height transition for content spacing */
.content-spacer {
  height: 0;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pills-main-container.sticky + .content-spacer {
  height: 200px; /* Adjust based on your filter height */
}

/* ==================== IMPROVED FILTER TOGGLE ANIMATION ==================== */

@media (max-width: 767px) {
  .filter-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
  }

  .filter-toggle:hover {
    background-color: rgba(226, 232, 240, 0.5);
    transform: scale(1.1) translateZ(0);
  }

  .filter-toggle i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filter-content.expanded ~ .filter-header .filter-toggle i {
    transform: rotate(180deg);
  }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */

/* GPU acceleration for smooth transitions */
.pills-main-container,
.sticky-filter-container,
.filter-content,
.filter-backdrop {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* Optimize for mobile performance */
@media (max-width: 767px) {
  .sticky-filter-container {
    -webkit-transform: translateY(100%) translateZ(0);
    transform: translateY(100%) translateZ(0);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sticky-filter-container.show {
    -webkit-transform: translateY(0) translateZ(0);
    transform: translateY(0) translateZ(0);
  }
}

/* ==================== INTERSECTION OBSERVER READY STYLES ==================== */

/* Initial state - hidden above viewport */
.pills-main-container:not(.sticky) {
  position: relative;
  top: -85px;
  z-index: 3323;
}

/* Trigger point indicator (optional - for debugging) */
.sticky-trigger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: transparent;
  z-index: 1;
}

/* ==================== REDUCED MOTION SUPPORT ==================== */

@media (prefers-reduced-motion: reduce) {
  .pills-main-container,
  .sticky-filter-container,
  .filter-content,
  .filter-backdrop,
  .filter-toggle i {
    transition: none !important;
    animation: none !important;
  }

  .pills-main-container.sticky {
    animation: none;
    transform: translateY(0);
  }

  .sticky-filter-container.show {
    animation: none;
    transform: translateY(0);
  }
}

/* ==================== ENHANCED VISUAL FEEDBACK ==================== */

/* Mobile filter visual enhancement */
@media (max-width: 767px) {
  .sticky-filter-container.show {
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15),
      0 -2px 10px rgba(0, 0, 0, 0.05);
  }

  .filter-header {
    position: relative;
  }

  .filter-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #e98039;
    border-radius: 2px;
    transition: width 0.3s ease;
  }

  .filter-content.expanded ~ .filter-header::after {
    width: 60px;
  }
}
