.city-content {
  padding-bottom: 60px;
  padding-top: 0px;
}

.course-search {
  display: flex;
  /*margin-bottom: 30px;*/
    transform: translateY(-27px);
  .search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid #e8eaff;
    border-radius: 50px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(62, 94, 192, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;

    svg {
      color: #3E5EC0;
      font-size: 16px;
      transition: all 0.3s ease;
    }

    &:focus-within {
      /*border-color: #3E5EC0;*/
      box-shadow: 0 12px 40px rgba(62, 94, 192, 0.2);
      transform: translateY(-2px);

      svg {
        transform: scale(1.1);
        color: #2d4a9e;
      }
    }
  }
}

.course-search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: #333;
  font-weight: 400;
  flex: 1;
  padding: 0;

  &::placeholder {
    color: #999;
    font-weight: 400;
  }
}

.courses-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-item {
  width: 100%;
  padding: 4px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(62, 94, 192, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration:none;

  h3 {
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    color: #3E5EC0;
  }

  .arrow-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;

    svg {
      rotate: -45deg;
      transition: 0.3s ease-in-out;
    }
  }

  &:hover {
    box-shadow: 4px 4px 40px 0px rgba(62, 94, 192, 0.20);
    transform: translateY(-2px);

    .arrow-link svg {
      rotate: 0deg;
    }
  }
}

.course-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.course-code {
  color: #555555;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 6px;
  color: #414141;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
    border: 1px solid #ccc;
    border-radius: 8px;
}
  &:hover {
    color: #3E5EC0;
  }

  &.copied {
    color: #3E5EC0;
    background: #667eea1c;
    border-radius: 8px;
  }
}

/* Categories Section */
.categories-section {
  background-color: #F2F8FF;
  padding: 32px 0;
  position: relative;
}

.categories-shape {
  position: absolute;
  left: -100px;
  top: 0;
  width: 250px;
  height: 250px;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  h2 {
    font-weight: 600;
    font-size: 28px;
    color: #000;
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;

    span {
      white-space: nowrap;
    }

    .highlight {
      color: #3E5EC0;
    }
  }
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}


/* Category Card */
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-2px);
}

.category-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: white;
  padding: 0.7rem 1rem;
  border-radius: 0.375rem;
  box-shadow: 1px 1px 37px 0 rgb(62 94 192 / 25%);
  transition: all 0.3s ease;
}

.category-card:hover .category-content {
  box-shadow: 1px 1px 37px 0 rgb(62 94 192 / 40%);
}

.category-content i:not(.category-arrow) {
  width: 1.25rem;
  height: 1.25rem;
  color: #3E5EC0;
  font-size: 1.25rem;
}

.category-content h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  flex: 1;
}

.category-arrow {
  color: #3E5EC0;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  rotate: -45deg;
}

.category-card:hover .category-arrow {
  color: #3E5EC0;
  transform: scale(1.2) rotate(0deg);
  font-weight: bold;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /*.city-content {*/
  /*  padding: 40px 0;*/
  /*}*/

  .course-search {
    justify-content: center;

    .search-input-wrapper {
      max-width: 100%;
      border-radius: 25px;
      padding: 14px 20px;
    }

  }

  .course-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .course-actions {
    width: 100%;
    justify-content: space-between;
  }

  .categories-section {
    padding: 2rem 0;
  }

  .categories-shape {
    display: none;
  }

  .section-title {
    margin-bottom: 2rem;

    h2 {
      font-size: 1.5rem;
    }
  }
}